Unknown Command on Stage 1 load
by Alex \"bathala\" Rufon · in Torque Game Engine · 09/07/2003 (2:32 am) · 4 replies
Hello guys,
Just verifying, I'm getting the following warning in the log file.
I actually went to the missionInfo.cs file to check and its pointing to this:
I'm synchronizing my game code with CVS HEAD. So I'm wondering if I'm the only one getting this because that would mean I broke my system.
Can somebody go and check please? Thanks.
Alex
Just verifying, I'm getting the following warning in the log file.
*** LOADING MISSION: game/data/missions/waterWorld.mis *** Stage 1 load common/server/missionInfo.cs (19): Unknown command delete. Object MissionInfo(1373)
I actually went to the missionInfo.cs file to check and its pointing to this:
//------------------------------------------------------------------------------
// clearLoadInfo
//
// Clears the mission info stored
//------------------------------------------------------------------------------
function clearLoadInfo() {
if (isObject(MissionInfo))
MissionInfo.delete(); // ERROR POINTS HERE
}I'm synchronizing my game code with CVS HEAD. So I'm wondering if I'm the only one getting this because that would mean I broke my system.
Can somebody go and check please? Thanks.
Alex
About the author
I am an independent game developer who's never going to make it in the industry because I'm color blind and has absolutely no imagination.
#2
Thanks. This atleast assured me that my n00bness didn't cause this. This has been one of my worries with my decision in keeping my game code compatible with the latest HEAD.
I hope somebody can come up with a fix or something. ;)
Alex
09/07/2003 (7:31 pm)
Ben,Thanks. This atleast assured me that my n00bness didn't cause this. This has been one of my worries with my decision in keeping my game code compatible with the latest HEAD.
I hope somebody can come up with a fix or something. ;)
Alex
#3
This is on my todo list, I'll try to get it sorted out ASAP. The problem may lie in ScriptObject::onAdd and its namespace linking code.
09/07/2003 (9:47 pm)
Well, it's tomorrow and I didn't get to it, sorry. :(This is on my todo list, I'll try to get it sorted out ASAP. The problem may lie in ScriptObject::onAdd and its namespace linking code.
#4
I don't know if this helps, but last night I noticed that when you select the MissionInfo object in the mission inspector and hit apply it wipes out the name 'MissionInfo'. This is because the name is never populated in the object name edit box; however this only happens with the MissionInfo object. Interestingly enough when you change the object's fields (like description) it works, so it looks like the object is there. Maybe the object is retrieved by name out of the mission group? Then the problem may only happen after the name is wiped? Just a thought...
John.
09/08/2003 (6:41 am)
Hey guys,I don't know if this helps, but last night I noticed that when you select the MissionInfo object in the mission inspector and hit apply it wipes out the name 'MissionInfo'. This is because the name is never populated in the object name edit box; however this only happens with the MissionInfo object. Interestingly enough when you change the object's fields (like description) it works, so it looks like the object is there. Maybe the object is retrieved by name out of the mission group? Then the problem may only happen after the name is wiped? Just a thought...
John.
Associate Kyle Carter
I'll look into this if I have any free time today.