PGD Home

P0-A7: Part 776: Debugging, Improvements, etc.

by on Aug.02, 2020, under Astral Realms, P-0, P0_A7, Software and Games, Spiritus Astrum

I have added “persistence” support to the “items” base class in my project.

Previous, items could be picked up, moved, combined, used, etc, but these changes would not save, and the items would be back in their original positions when the user quit and restarted.

Now, the positions of all items can be added to the server (and to the database) and are saved between runs (even if the server itself is shut down). This gives powerful virtual world and persistence features to the project.

There is still some work to do with this system, for example persistent items are not parented properly, so if the item is on board a moving object (such as a ship) it will not move with the ship.

In addition, for performance reasons, not all items are persistent, and currently the user must manually select which items should be made persistent. This should be done automatically.

I have also fixed some bugs regarding the placement of cities, etc.

Facebooktwitterredditpinterestlinkedinmail

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!