problem connecting to world
problem connecting to world
i can run my world once and get on. but during and after no one can get on my world it shows up as no connection even to myself this is an unregistered world
You're presumably on a home network?
http://www.theuniversal.net/forum/viewtopic.php?t=132
The reason you're able to connect to the planet the first to you claim it is because that is inital connection is done using the 'loopback' address (127.0.0.1) - i.e. the game knows you're connecting to a world thats on the same machine as your client.
Subsequent visits to the planet will attempt to connect on your external IP - some routers will convert that to the loopback address automatically, but most of the time you'll need a reroute.txt file as fooli has described on the topic above.
Other ppl will see your world offline unless you've specifically told your router that you want all the messages on your server's port sent to the server's machine.
Bit fiddly to sort out at first, but if you've got an ounce of technical knowledge and access to the router settings you should be able to sort out the procedure soon enuf
http://www.theuniversal.net/forum/viewtopic.php?t=132
The reason you're able to connect to the planet the first to you claim it is because that is inital connection is done using the 'loopback' address (127.0.0.1) - i.e. the game knows you're connecting to a world thats on the same machine as your client.
Subsequent visits to the planet will attempt to connect on your external IP - some routers will convert that to the loopback address automatically, but most of the time you'll need a reroute.txt file as fooli has described on the topic above.
Other ppl will see your world offline unless you've specifically told your router that you want all the messages on your server's port sent to the server's machine.
Bit fiddly to sort out at first, but if you've got an ounce of technical knowledge and access to the router settings you should be able to sort out the procedure soon enuf
tep One: open the ServerConfig.txt file in notepad, and add to the bottem of it EXTERNALIP=(type your external ip here). This will tell the island to listen on the external IP of the network, instead of only listening in the network. (Note: this stage is usually optional. For most setups connected to the galaxy you will not need to do this)
um what if i have a dynamic ip?
um what if i have a dynamic ip?
dam this problem
my ip changes obviously because im on a dynamic wha tthe hell should i do. . . i cant connect to my world again and this peeves me off . . . im getting agrivated with it..should i just keep rewriting that one piece of code or what?
you shouldnt need an external ip (just delete that line if you still have one) so i presume you mean its peeving you coz of having to edit the reroute.txt each time?
Assuming it is.. well, that is currently a bit of a limitation of a dynamic ip and the sort of router you have. It can be fixed, by making more stuff send messages about - confirming ip addresses with the galaxy server etc - which im always hesitant about (and too drunk to be) doing. (And in practical terms, the fewer messages the better and making more might cause problems if the game population grew)
But.. even if the reroute.txt is the issue, and you're running the world on the same machine as the client, then you should always still be able to connect to your world using the "YOur world" option on the main menu. As long as your port forwarding stuff is workin ok then other ppl will be able to get on normally, and all is good (ish) ?
Assuming it is.. well, that is currently a bit of a limitation of a dynamic ip and the sort of router you have. It can be fixed, by making more stuff send messages about - confirming ip addresses with the galaxy server etc - which im always hesitant about (and too drunk to be) doing. (And in practical terms, the fewer messages the better and making more might cause problems if the game population grew)
But.. even if the reroute.txt is the issue, and you're running the world on the same machine as the client, then you should always still be able to connect to your world using the "YOur world" option on the main menu. As long as your port forwarding stuff is workin ok then other ppl will be able to get on normally, and all is good (ish) ?
- Magicfinger
- Staff
- Posts: 1078
- Joined: Tue Sep 30, 2003 10:38 am
- Location: here,there and everywhere
can i just clarify whats changing... is it your ip address or the port number.
usually dynamic IP address only change when the connection is reset however some do change at a fixed interval but thats usually quite long.
if its the port number that is causign the problem ( its usually the problem for me) put a fixed value in the "PORT =" line and dont use 0 as that will change the port number every time you use the server.
usually dynamic IP address only change when the connection is reset however some do change at a fixed interval but thats usually quite long.
if its the port number that is causign the problem ( its usually the problem for me) put a fixed value in the "PORT =" line and dont use 0 as that will change the port number every time you use the server.
- Magicfinger
- Staff
- Posts: 1078
- Joined: Tue Sep 30, 2003 10:38 am
- Location: here,there and everywhere
maybe try the other working method then? 
i've always used the manual port forwarding and externalip= line and never had troubles. just had to edit the server config and restart the world server each time my ip changes
thier might also be a way aroudn the changing ip address. i also have a dynamic ip, and as long as something is running thats useing bandwidth, my ip wont change. but if i were to turn off the pc's in the house (or the router), it'd change over night (or right away in the case of the router). if possible, you could also try setting the router from 'connect on demand' to 'keep alive' to keep the connection active by sending out a renew request every 30 secs to prevent the ip from expiring.
another thing you could try is to use a higher port.
some isp's block certain ports for whatever reason and various windows programs also use the lower ports. so if 500 or 1000 don't work, it might be because something else on the pc is trying to accept it. i've had trouble getting port 6500 to work in the past, but so far haven't had trouble useing ports 7000 to 7010 for worlds yet and have been useing them for several years now.

i've always used the manual port forwarding and externalip= line and never had troubles. just had to edit the server config and restart the world server each time my ip changes

thier might also be a way aroudn the changing ip address. i also have a dynamic ip, and as long as something is running thats useing bandwidth, my ip wont change. but if i were to turn off the pc's in the house (or the router), it'd change over night (or right away in the case of the router). if possible, you could also try setting the router from 'connect on demand' to 'keep alive' to keep the connection active by sending out a renew request every 30 secs to prevent the ip from expiring.
another thing you could try is to use a higher port.
some isp's block certain ports for whatever reason and various windows programs also use the lower ports. so if 500 or 1000 don't work, it might be because something else on the pc is trying to accept it. i've had trouble getting port 6500 to work in the past, but so far haven't had trouble useing ports 7000 to 7010 for worlds yet and have been useing them for several years now.
- Magicfinger
- Staff
- Posts: 1078
- Joined: Tue Sep 30, 2003 10:38 am
- Location: here,there and everywhere
-
- Posts: 67
- Joined: Tue Jul 11, 2006 1:49 am
some advice?
I'm trying to route from a linksys router. Went through the guide nothing worked. when i did the externalip thing, it wouldn't let me connect using the my world option, but when i changed it back I could get on with the my world option. I then tried the reroute text. fooli's gude said to put that in theuniversal/clients folder. that didn't work either. then I tried storing that same reroute into the same folder as the serverconfig folder and that didn't work. Am I out of options?
-
- Posts: 67
- Joined: Tue Jul 11, 2006 1:49 am