PGD Home

P0-A3: Part 501: Persistent Server Refactor

by on Dec.30, 2018, under A3, Astral Realms, P-0, Software and Games, Spiritus Astrum

I have completed some preliminary tests for the refactoring of the persistent server.

The issue was that I was placing persistent objects using the unity transform, which stores positions in 32-bit precision, which isn’t enough.

By storing the positions in 64-bit, and performing all calculations in 64-bit, then simply setting the transform to that value, I seem to be able to maintain precision.

This will take several weeks to get working properly, but it should allow me to place or move objects anywhere in the universe sectors with no issues.

I should also be able to optimise and fix some other long-standing issues with the code, and add a better streaming and paging system.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!