I keep getting a CDROP error....
by Dallin Wellington · in Torque Game Engine · 12/05/2007 (8:41 pm) · 5 replies
I keep getting these errors:
Connect request from: IPX:290D0A20:202020202020:8224
CDROP: 1362 local
CDROP: 1361 IPX:4D6F6473:2C20246E6578:16756
I took a look athe the scripts in starter.fps and im taking similar procedures...
Connect request from: IPX:290D0A20:202020202020:8224
CDROP: 1362 local
CDROP: 1361 IPX:4D6F6473:2C20246E6578:16756
I took a look athe the scripts in starter.fps and im taking similar procedures...
#2
here is what i got this time:
Connect request from: IP:127.0.0.1:28000
CDROP: 1362 local
CDROP: 1361 IPX:CFCFCFCF:CFCFCFCFCFCF:53199
its about the same.... well pretty much is the same... for some reason its droping me :(
12/06/2007 (5:59 pm)
Its what it says in the console log... i tried the fix, it didnt work :(here is what i got this time:
Connect request from: IP:127.0.0.1:28000
CDROP: 1362 local
CDROP: 1361 IPX:CFCFCFCF:CFCFCFCFCFCF:53199
its about the same.... well pretty much is the same... for some reason its droping me :(
#3
CDROP: 1361 IPX:CFCFCFCF:CFCFCFCFCFCF:53199 looks like uninitialized memory
This looks like an issue outside of torque.. have you tried another computer, or rebooting?
12/06/2007 (9:21 pm)
Arm chair observations:CDROP: 1361 IPX:CFCFCFCF:CFCFCFCFCFCF:53199 looks like uninitialized memory
This looks like an issue outside of torque.. have you tried another computer, or rebooting?
#4
12/07/2007 (2:40 pm)
This isnt my computer, i know this because the fps starter kit completely works.... im not using the fps starter kit as a base for my game, im going full blown my own scripts, besides common and creator.
#5
12/07/2007 (3:01 pm)
Ya, i got it fixed, its was that i wasnt setting some prefs or something, because i was curious and moved all the prefs from the start.fps kit over to mine, and it worked....
Torque Owner Michael Bacon
Default Studio Name
If its the latter than I have the fix for you!
In sim/netConnection.cc replace your connectLocal console method with this one:
ConsoleMethod(NetConnection, connectLocal, const char *, 2, 2, "Connects a connection to the server running in the same process.") { ConsoleObject *co = ConsoleObject::create(object->getClassName()); NetConnection *client = object; NetConnection *server = dynamic_cast<NetConnection *>(co); const char *error = NULL; BitStream *stream = BitStream::getPacketStream(); [b]// BW: set net address to localhost NetAddress localAddr; Net::stringToAddress("ip:127.0.0.1", &localAddr);[/b] if(!server || !server->canRemoteCreate()) goto errorOut; server->registerObject(); server->setIsLocalClientConnection(); [b]server->setNetAddress(&localAddr);[/b] server->setSequence(0); client->setSequence(0); client->setRemoteConnectionObject(server); server->setRemoteConnectionObject(client); stream->setPosition(0); client->writeConnectRequest(stream); stream->setPosition(0); if(!server->readConnectRequest(stream, &error)) goto errorOut; stream->setPosition(0); server->writeConnectAccept(stream); stream->setPosition(0); if(!client->readConnectAccept(stream, &error)) goto errorOut; [b]client->setNetAddress(&localAddr);[/b] client->onConnectionEstablished(true); server->onConnectionEstablished(false); client->setEstablished(); server->setEstablished(); client->setConnectSequence(0); server->setConnectSequence(0); NetConnection::setLocalClientConnection(server); server->assignName("LocalClientConnection"); return ""; errorOut: server->deleteObject(); client->deleteObject(); if(!error) error = "Unknown Error"; return error; }