Set::getObject index out of range?
by Stefan Lundmark · in Torque Game Engine · 04/13/2004 (10:30 am) · 3 replies
Quote:
Got Connect challenge Response
Sending Connect Request
Connection established 1374
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Set::getObject index out of range.
Set::getObject index out of range.
It does not exactly say what is out of range, just that it is an object. Is there some way to see this?
About the author
#2
I set trace(1) and got alot of information.
I also enabled the debug build which now didn't crash but show an error message instead, very helpful - except that I don't have a clue about what it means.
A closer look leads to some kind of CRC code in resmanager.cc.
The console says this;
The same message is given on 3 more places.
I haven't touched the source in 2 weeks.
04/14/2004 (6:46 am)
My build is really starting to act strange.I set trace(1) and got alot of information.
I also enabled the debug build which now didn't crash but show an error message instead, very helpful - except that I don't have a clue about what it means.
Quote:Line 723 in Resmanager.ccThat's from the debugger. It comes up when the DataBlock phase has been completed when loading a mission on a dedicated server, but not on any listen servers. Then crashes.
ResourceObject::construct: NULL resource create function.
A closer look leads to some kind of CRC code in resmanager.cc.
The console says this;
Quote:
Mapping string: MsgConnectionError to index: 1
Entering clientCmdServerMessage(5 MsgConnectionError, , Version mismatch, please reinstall.)
Entering defaultMessageCallback(5 MsgConnectionError, , Version mismatch, please reinstall., , , , , , , , , )
The same message is given on 3 more places.
I haven't touched the source in 2 weeks.
#3
04/14/2004 (2:03 pm)
It looks like a resource type isn't being registered properly, as suggested by the ResourceObject::construct error. Have you tried doing a clean rebuild?
Associate Kyle Carter