About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Game::World.del() calling save.
Author Message
Zervox Offline
Silver Supporter

Post: #1
Game::World.del() calling save.
this behaviour seem to be a bug.
When using Game::World.del() after having a world loaded, it automatically calls the Game::World.save() on all objects, I wouldn't expect a world I told to delete to save without me actually telling it by calling Game::World.save(file);
07-24-2013 04:12 AM
Find all posts by this user Quote this message in a reply
dylantan Offline
Member

Post: #2
RE: [Bug]Game::World.del() calling save.
Hi Esenthel, would you have any idea on how we could solve this issues that Zervox mentioned above? Its something really urgent for us and we having the same issues which you can see on the following thread: http://www.esenthel.com/community/showth...p?tid=6669

Appreciate it sir if you could help us on this issues. Thanks in advance
(This post was last modified: 07-28-2013 10:09 AM by dylantan.)
07-28-2013 07:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: [Bug]Game::World.del() calling save.
Hi, that's not a bug, it's made on purpose, for example if your world is dynamic (like in Ineisis) then when releasing the world, all changes to the areas must be flushed to the disk, hence all areas and objects have 'save' called on world deletion.
08-15-2013 09:42 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Silver Supporter

Post: #4
RE: Game::World.del() calling save.
My question then would still be why, this should atleast be possible to disable when you use projects which has static worlds.
08-16-2013 05:25 AM
Find all posts by this user Quote this message in a reply
MrPi Offline
Member

Post: #5
RE: Game::World.del() calling save.
I agree with Zervox here. It should be made optional whether save is called or not. A simple boolean argument for del() should suffice.
09-11-2013 04:25 PM
Find all posts by this user Quote this message in a reply
Post Reply