Hosting server, client cant join, invalid packet
by wingman · in Torque Game Engine · 09/13/2003 (3:10 pm) · 8 replies
Ok, me and my graphics guru have the exact same game files. Everything is identical. I have only made a couple of changes to the engine, one being map radar (matt websters).
I can host, or he can host, and neither of us can join the others server. Keeps giving an invalid packet connetion error stating the torque version or art is different.
Can someone please help?
I can host, or he can host, and neither of us can join the others server. Keeps giving an invalid packet connetion error stating the torque version or art is different.
Can someone please help?
#2
Yes, single player game is not a problem. Is there something simple ive not done?
09/13/2003 (8:13 pm)
That is exactly what we did. That is why im confused.Yes, single player game is not a problem. Is there something simple ive not done?
#3
09/13/2003 (10:39 pm)
Not that I can think of. Why not look in console.log and see if it says where things broke?
#4
09/14/2003 (4:44 am)
Console.log didnt shed any light...
#5
It is strange that you can do a single player but not multiplayer game.
If the erroneous object is doing this typically then it will caused because it found a problem in its 'OnAdd' function such as a missing resource etc. You can track this by putting a breakpoint in "SimManager.cc" (around line 344) in function 'bool SimObject::registerObject()'. Put a breakpoint on the 'unregisterObject();' line. If you hit it then you can look at the call-stack and see which object it is that's failing. I've had to use this technique a number of times to trace a similar problem. In debug mode, you should be triggering the 'assert' in that function though.
This, of course, is not the only way that this connection error can ocurr but it could be.
Hope this helps,
- Melv.
09/14/2003 (5:29 am)
Jason,It is strange that you can do a single player but not multiplayer game.
If the erroneous object is doing this typically then it will caused because it found a problem in its 'OnAdd' function such as a missing resource etc. You can track this by putting a breakpoint in "SimManager.cc" (around line 344) in function 'bool SimObject::registerObject()'. Put a breakpoint on the 'unregisterObject();' line. If you hit it then you can look at the call-stack and see which object it is that's failing. I've had to use this technique a number of times to trace a similar problem. In debug mode, you should be triggering the 'assert' in that function though.
This, of course, is not the only way that this connection error can ocurr but it could be.
Hope this helps,
- Melv.
#6
01/15/2004 (3:09 am)
Im having the same problem
#7
We have created a copy of one of the game data dirs so we have isolation from the code we cribbed from. But we get an invalid packet when trying to play.
03/04/2004 (1:50 pm)
Same here.We have created a copy of one of the game data dirs so we have isolation from the code we cribbed from. But we get an invalid packet when trying to play.
nding request for file bb/data/missions/default.gif Sending request for file bb/data/missions/default.bmp Sending request for file bb/data/default Sending request for file bb/data/default.jpg Sending request for file bb/data/default.png Sending request for file bb/data/default.gif Sending request for file bb/data/default.bmp Sending request for file bb/default Sending request for file bb/default.jpg Sending request for file bb/default.png Sending request for file bb/default.gif Sending request for file bb/default.bmp Missing terrain texture: bb/data/missions/fps/data/terrains/test/default Connection error: Invalid packet.. Issuing Disconnect packet.
#8
The reason for this bug is basically that one of your terrain textures is missing. Try to open the texture painter in the world editor, check the terrain bitmaps in the right side. One or more of them are missing and therefore reverted back to some default value with the path bb/data......
Just load a texture into the missing slot, save your mission and thats it
03/04/2004 (11:24 pm)
I ran into the same problem, and managed to isolate/fix it!The reason for this bug is basically that one of your terrain textures is missing. Try to open the texture painter in the world editor, check the terrain bitmaps in the right side. One or more of them are missing and therefore reverted back to some default value with the path bb/data......
Just load a texture into the missing slot, save your mission and thats it
Associate Kyle Carter