ProjectSWGCore/NGECore2 — pull request #1157 by wallaceg09 (2014-08-13 20:07:17+00:00)
Title: Waypoints

This is my first attempt at a contribution to an external project, so if I did anything wrong please forgive me.

I managed to fix waypoints defaulting to (0,0,0). it was a simple fix, however there seems to be a problem in the Engine Code concerning engine.resources.objects.SWGObject with respect to IntangibleObject's "super" call. It seems that when "super" is called to SWGObject, it passes a legitimate "position" object, however the SWGObject that is created seems to always have a "null" position parameter. So it seems to me that the constructor call to SWGObject doesn't actually initialize its position parameter. This bug doesn't appear to be game breaking, however when ObjectService.destroy() is called in the Python script "serverdestroyobject.py" the server receives a NullPointerException. This leads me to believe that objects aren't being deleted server side, only client side, leading to possible memory leaks. Well, at least for waypoints that is.