Game Development Community

Crash on mission exit, help [RESOLVED]

by Jarrod Coolen · in Torque 3D Professional · 12/18/2011 (9:18 am) · 2 replies

Hi, im having a problem where the level im building crashes the game on exit. Im using a basic physics template.
When i try with the other levels (empty room and empty terrain) they exit no problem but my level always crashes the game and im wondering how i can fix it as i am very inexperienced with scripting and cant figure the problem out on my own. here is the error from the log

*** ENDING MISSION
scripts/server/gameCore.cs (193): Unknown command delete.
Object MissionCleanup(4710) MissionCleanup -> SimGroup
core/scripts/server/server.cs (132): Unknown command delete.
Object ServerGroup(4297) ServerGroup -> SimGroup
core/scripts/server/server.cs (135): Unknown command getCount.
Object ClientGroup(1106) ClientGroup -> SimGroup

i havent modified any of these scripts in any way, and i cant figure out why the empty rooms and terrain exit to menu fine whiel mine crashes, the only difference is mine has objects.
any help would be greatly appreciated

edit: i was able to resolve the problem for now

About the author

I live in halifax canada with my girlfriend and our son. I have been teaching myself 3d modeling off and on for a few years, finaly have the time now where i can get serious with it. will model for food btw


#1
12/19/2011 (6:32 am)
its good form to explain how you resolved it, there may be others with the same issue ;)
#2
12/19/2011 (8:10 am)
well, i figured based on the message that something in the level wasnt getting deleted during the mission cleanup, so through trial and error i removed every sim group (thank god for obssesive organization) and found that as soon as i removed the Ammo group where i had placed all the ammo objects from the garage games weapons pack that i was able to close the level fine. it was about 3 am when i figured this out so i havent investigated the problem further.
'
the objects werent being picked up properly when i walked throguh the level so i think i may have been usign the wrong ones as i have 3 options in the level editor scripted objects section, a directory for ammo, clips, and weapons, i was using the ones from the ammo directory. im goign to try using the other obejcts and seeing if i have the same problem.


Edit updtae: well through more trial and error i readded all the objects i deleted back to the level, and now its not crashign at all, and i am unable to reproduce the crashs, hrmm, im really at a loss to explain why it wasnt working before but is working now :S