Hello! I tried to reproduce Minecraft building and deplacements systems with bge but i get an error with mouselook script when i reload (with Monster SaveLoader python script) saved objects. My mouselook freezes and i have this error in console:
KX_GameObject.GetPropertyNames() - Blender Game Engine data has been freed, cannot use this python variable
It seems that it is a problem when i try to load mouselook.py line 288, but i don’t understand what is wrong. "G"etPropertyNames instead of "g"etPropertyNames?
To test the game:
-up: R key
-down: F key
-left: D key
-right: G key
-Left clik to add a cube (when added the first, you have to look for it with the mouse because the camera isn’t well positioned)
-right clik to delete a cube.
-S to save
-L to load
Thank you very much for your help!
(i solved the problem using another mouselook script but i am curious to understand what is wrong with the .blend i’ve uploaded. Anyway, Thank you Monster for this amazing and very usefull script!)
Monster, i need your help!! hehe. It’s a good challenge for you! And an occasion to improve your saveloader. Precision: I’ve used saveloader.manual in my game…