SphereCommunity
The client could not attach to the game server - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: The client could not attach to the game server (/Thread-The-client-could-not-attach-to-the-game-server)



The client could not attach to the game server - Painkiller - 04-08-2012 01:58 PM

I have a beginner question. I have my shard running but am having a problem getting clients logged in from outside my home network. I had everything configured correctly and my brother was able to login but then he received the message "The client could not attach to the game server. It must have been taken down. Please wait a few minutes and try again." After this, his client wouldn't even connect but I have not changed any settings. Any ideas? Pretty sure I have all my IP/port forwarding/firewall settings correct.


RE: The client could not attach to the game server - dagger4k - 04-08-2012 06:41 PM

The issue may be that your ip changed. make sure its still the same. For example.
Your network IP might have changed therefore the router will not allow port forwarding for your new ip. Also,
Your IP might have changed so make sure its the right one (if you are connecting over the internet. )


RE: The client could not attach to the game server - Painkiller - 04-09-2012 12:36 AM

(04-08-2012 06:41 PM)dagger4k Wrote:  The issue may be that your ip changed. make sure its still the same. For example.
Your network IP might have changed therefore the router will not allow port forwarding for your new ip. Also,
Your IP might have changed so make sure its the right one (if you are connecting over the internet. )

I just checked and my internal and external IP are both still the same. I checked my external with whatismyip.org and used ipconfig from command line for internal and everything seems like it hasn't changed. BTW thx for the reply Dagger


RE: The client could not attach to the game server - ShiryuX - 04-09-2012 01:10 AM

Maybe you'd like to try this?
http://wiki.sphere.torfo.org/index.php/Internet_and_Sphere


RE: The client could not attach to the game server - Painkiller - 04-09-2012 01:19 AM

(04-09-2012 01:10 AM)ShiryuX Wrote:  Maybe you'd like to try this?
http://wiki.sphere.torfo.org/index.php/Internet_and_Sphere

I will test it and see if it works. My external IP has not ever changed that I have noticed. I had my shard running maybe 2 years ago on my same internet and never had an issue so my guess is that something else is wrong but I am always willing to test suggestions. Thank You ShiryuX


RE: The client could not attach to the game server - Painkiller - 04-25-2012 11:41 AM

I tried your suggestion and still no connection outside of my router. Edit: Just looked again and I didn't follow all steps like most people looking for help ;P


RE: The client could not attach to the game server - Painkiller - 05-05-2012 01:03 PM

OK so I did follow all instructions and still no outside connection. My current guess is that my ISP is blocking this port or something. I tried different ports, no firewall, no antivirus and nothing. I even tried disconnecting my router and going directly out and it didn't work but I can broadcast on my router so i am pretty sure that most settings for sphere are correct. No clue where to go from here...


RE: The client could not attach to the game server - Extreme - 06-15-2012 03:32 AM

I think your problem is: your server accepts lan connections, but external don't, right?
OK, do it:
In sphere.ini
Code:
[SERVERS]
Your Shard Name
127.0.0.1
2593
Now go to sphere_serv_triggers.scp
Code:
[FUNCTION F_ONACCOUNT_LOGIN]
IF STRMATCH(10.0.0.*,<ACCOUNT.LASTIP>) // Assuming that your LAN IP begins with 10.0.0., if begin with 192.168.0.x just change
SERV.SERVIP 10.0.0.1 // YOUR LAN IP (IP of machine that is running the server)
ELSE
SERV.SERVIP YOUR.EXTERNAL.IP.HERE // LIKE 200.13.15.164
ENDIF
Try this and let me know if works.


RE: The client could not attach to the game server - holy - 07-01-2014 02:34 PM

Quote:I checked my external with whatismyip.org

There is a similar ip search site called IP-Details.com to check our External ip address. Here it display IP address, ISP, Location, Country and so on,...