problem connecting to world

Forum Archive - from http://theuniversal.net
Locked
pthm
Posts: 31
Joined: Fri Apr 29, 2005 5:47 pm
Location: Fort Hood TX

problem connecting to world

Post by pthm »

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
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

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
pthm
Posts: 31
Joined: Fri Apr 29, 2005 5:47 pm
Location: Fort Hood TX

Post by pthm »

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?
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

then you dont need to do that bit..
pthm
Posts: 31
Joined: Fri Apr 29, 2005 5:47 pm
Location: Fort Hood TX

dam this problem

Post by pthm »

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?
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

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) ?
pthm
Posts: 31
Joined: Fri Apr 29, 2005 5:47 pm
Location: Fort Hood TX

Post by pthm »

im having the same problem again but this time changing the reroute.txt isnt fixing it . . . im so bloody confused and its just pansy me off (excuse my language
User avatar
Magicfinger
Staff
Staff
Posts: 1078
Joined: Tue Sep 30, 2003 10:38 am
Location: here,there and everywhere

Post by Magicfinger »

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.
pthm
Posts: 31
Joined: Fri Apr 29, 2005 5:47 pm
Location: Fort Hood TX

Post by pthm »

well magic thats where im lost . . . first off my ip changes every sunday at noon. . . . and port value is 575 and has been when i had the world running. . . . there my prob. . . i do home netwoking as a career atm and yet this confuses the hell outta me
User avatar
Magicfinger
Staff
Staff
Posts: 1078
Joined: Tue Sep 30, 2003 10:38 am
Location: here,there and everywhere

Post by Magicfinger »

in that case every sunday at noon you will need to edit the reroute.txt if the port is fixed it shouldnt be a problem.
pthm
Posts: 31
Joined: Fri Apr 29, 2005 5:47 pm
Location: Fort Hood TX

Post by pthm »

magic thats the problem trust me. . . i hav changed the ip and double checked. . . . i even reinstalled and set it up on a different por (which is 1000) so im still haviin the problem and i am lost. . . lol
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

maybe try the other working method then? :P
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 :P

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.
User avatar
Magicfinger
Staff
Staff
Posts: 1078
Joined: Tue Sep 30, 2003 10:38 am
Location: here,there and everywhere

Post by Magicfinger »

pthm
Posts: 31
Joined: Fri Apr 29, 2005 5:47 pm
Location: Fort Hood TX

Post by pthm »

is it possible i need to hav my world reset?
pthm
Posts: 31
Joined: Fri Apr 29, 2005 5:47 pm
Location: Fort Hood TX

Post by pthm »

hey magic hey mit i hope i didnt break any rules and if i did please tell me and i will fix

i got my world running again the only thing is i renamed it and moved it and now it works great. . . . thx bye . . . check it out it is now named chu' lok
markxxx420
Posts: 67
Joined: Tue Jul 11, 2006 1:49 am

some advice?

Post by markxxx420 »

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?
markxxx420
Posts: 67
Joined: Tue Jul 11, 2006 1:49 am

Post by markxxx420 »

i also tried the port forwarding and port triggering. Thne i turned off my firewall for my local I.p address. still no connection
Locked