I say engine crash but probably my bad script code so I'll open with that.
Did a release build and getting crashes at various parts of script execution. Got in the engine and altered a couple defines and it's a bit more stable.
#define TORQUE_TOOLS commented out and removed tools directory from release
#define TORQUE_SHIPPING added in
Other than these two are there any other defines or flags that should be set ?
The crash mostly happens on a zone switch. I use triggers to call a zone switch and tried to follow the cyclegame routines.
Stop all schedules, wait for any mid schedule events to complete, stop all client side actions kill the server, endgame etc then load the new zone. The transition seems to be the crash point. Is there a "safe" order to shutdown one zone and load another? Yeah I know big ask in the blind but any suggestions would help... thanks....