About Store Forum Documentation Contact



Post Reply 
Ineisis Server Crash with modified version
Author Message
Ozmodian Offline
Member

Post: #1
Ineisis Server Crash with modified version
Hi All,

I made a change to my Ineisis server and whenever I call the function Game.World.setObjType() during initialize, the program crashes on exit. I am really not sure why this is the case. I have recorded a very short video showing the error:

http://www.youtube.com/watch?v=5I9JesCVb...e=youtu.be
04-30-2013 06:38 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Ineisis Server Crash with modified version
The problem is that you use containers allocated locally in the function.
Game.World remembers references to those containers, and operates on them in the future.
I see that you have Game.World.del at the end of the function, this however deletes the world only, however it does not reset assigned objects container references.
Solution: make the containers global.
04-30-2013 12:44 PM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #3
RE: Ineisis Server Crash with modified version
Hi Esenthel,

Thank you for the quick response. That makes sense to me, I will move them to global.

Cheers!
04-30-2013 03:37 PM
Find all posts by this user Quote this message in a reply
Post Reply