Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Friends unable to connect to my server (Pls help)

Newbie Spellweaver
Joined
Sep 11, 2008
Messages
6
Reaction score
0
I have been trying to set my server that my friends to try out my server but they are unable to connect.

My PC IP : 192.168.1.68
My Centos IP 192.168.1.8

Both are able to communicate with each other and I was able to play it offline before. Now I am trying to make it go online to let friends connect to my server but to no avail. These were the steps I took and please tell me if I did something wrong.

1. Did a check on and got my ip.
2. edited the .ini files at /etc/cabal/ and replace the 127.0.0.1 with the IP I got from ( ).
3. run the gen_config2.sh (Since I am using chumpywumpy's server files). Set my IP to what I got from and my sql ip to 192.168.1.68
4. sorted out my port. This is how it looks like.
vzae - Friends unable to connect to my server (Pls help) - RaGEZONE Forums

vzae - Friends unable to connect to my server (Pls help) - RaGEZONE Forums

5. Ask friend to change his internal.txt IP to what is shown on my . (Friend is using GP client and login patch from GP by Darkxl guide which also work before when I managed to play offline)

Note : Centos network set to bridge.
Note : Firewall on pc and Centos was disabled.
Note : My pc is on wireless.

Many thanks in advance and every little helps :).
 
Junior Spellweaver
Joined
Sep 26, 2007
Messages
152
Reaction score
2
omg... if you setting the server on the same pc. You dont need to type your WAN ip in the cabal settings it needs to be you LAN IP.

In all the cabal settings files needs to be your LAN IP / CENTOS AND WINDOWS / try that im sure it will work.
 
Upvote 0
The Dinosaur
Loyal Member
Joined
Jun 29, 2008
Messages
5,028
Reaction score
999
This is quite a complicated answer to do in full, but the short version is that you use a router and most routers simply aren't capable of supporting both wan and lan users at the same time. ellemen's answer will only get lan players working and now wan (internet) ones.

Also, you have completely missed the point of gen_config2.sh. You do not need to edit the .ini files or the .cfg files and when you run gen_config2.sh it DELETES the ini files you have just edited, copies the template .cfg files to where the .ini files were and then does all of the editing for you. The ONLY addresses that need changing gen_config2.sh will ask you for and then make the changes for you so you do not even need to touch the .ini files.

The "bind ip" it asks you for is the address it will be handing back to players so generally the bind ip should be your wan address so your wan players can get in (they can't see your lan addresses). The problem is that with 99% of home routers people on the lan won't be able to get in as most home routers don't support loopback. If you use your lan address for the bind ip then only lan players can get in.

Try specifying the bind ip as your wan one (the whatismyip) and try that. If they can get in and you can't then your router can't do both and something like hamachi is your only choice unless you know networking well enough to use 2 network cards and how to create untrusted routes between them.

Also, i would not suggest a wireless connection fo the server. It will work but it won't be nearly as stable as a proper wired connection.
 
Upvote 0
Newbie Spellweaver
Joined
Sep 11, 2008
Messages
6
Reaction score
0
This is quite a complicated answer to do in full, but the short version is that you use a router and most routers simply aren't capable of supporting both wan and lan users at the same time. ellemen's answer will only get lan players working and now wan (internet) ones.

Also, you have completely missed the point of gen_config2.sh. You do not need to edit the .ini files or the .cfg files and when you run gen_config2.sh it DELETES the ini files you have just edited, copies the template .cfg files to where the .ini files were and then does all of the editing for you. The ONLY addresses that need changing gen_config2.sh will ask you for and then make the changes for you so you do not even need to touch the .ini files.

The "bind ip" it asks you for is the address it will be handing back to players so generally the bind ip should be your wan address so your wan players can get in (they can't see your lan addresses). The problem is that with 99% of home routers people on the lan won't be able to get in as most home routers don't support loopback. If you use your lan address for the bind ip then only lan players can get in.

Try specifying the bind ip as your wan one (the whatismyip) and try that. If they can get in and you can't then your router can't do both and something like hamachi is your only choice unless you know networking well enough to use 2 network cards and how to create untrusted routes between them.

Also, i would not suggest a wireless connection fo the server. It will work but it won't be nearly as stable as a proper wired connection.

It works. Thanks. I have been figuring out how to set that others are able to log in. I know that I won't be able to log in but previously, no one was able to log in including myself (LAN and WAN). I have re-installed my centos clean slate and use gen_config2.sh only to edit the IPs.

Now I will have to figure out how to set that LAN & WAN works :).
 
Upvote 0
Skilled Illusionist
Joined
Nov 12, 2007
Messages
333
Reaction score
3
My router is LAN&WAN and most routers are these days chumpy. Just takes alot of work.
 
Upvote 0
Back
Top