Zones
by mb · in Torque Game Engine · 05/06/2007 (10:13 pm) · 2 replies
I'm trying to get this resource working. Map Triggers that send you to another server I'm testing it on a lan using different ports for each zone. I'm only using two zones. I've gotten it to connect to the second zone but only by taking out the ServerConnection.delete(); code. The code I use to connect is:
When I enter the trigger it tries to connect but then times out. If i take out the ServerConnection.delete(); it will go into the 2nd server wih port 28002 but it will eventually crash, and the old player object is visible for some reason. I watch it in the 2 msdos consoles and it leaves the 1st server and loads on the 2nd server.
Anyone have any ideas that might help me get this working?
{
ServerConnection.delete();
clearTextureHolds();
purgeResources();
connect("192.168.1.101:28002",$Client::Password,$pref::Player::Name);
}When I enter the trigger it tries to connect but then times out. If i take out the ServerConnection.delete(); it will go into the 2nd server wih port 28002 but it will eventually crash, and the old player object is visible for some reason. I watch it in the 2 msdos consoles and it leaves the 1st server and loads on the 2nd server.
Anyone have any ideas that might help me get this working?
Torque 3D Owner mb