Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The client could not attach to the game server
Author Message
Painkiller
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #1
The client could not attach to the game server
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.
04-08-2012 01:58 PM
Find all posts by this user Like Post Quote this message in a reply
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #2
RE: The client could not attach to the game server
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. )
(This post was last modified: 04-08-2012 06:44 PM by dagger4k.)
04-08-2012 06:41 PM
Find all posts by this user Like Post Quote this message in a reply
Painkiller
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #3
RE: The client could not attach to the game server
(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
04-09-2012 12:36 AM
Find all posts by this user Like Post Quote this message in a reply
ShiryuX
Journeyman
*

Posts: 249
Likes Given: 1
Likes Received: 19 in 14 posts
Joined: Mar 2010
Reputation: 4



Post: #4
RE: The client could not attach to the game server
04-09-2012 01:10 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Painkiller
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #5
RE: The client could not attach to the game server
(04-09-2012 01:10 AM)ShiryuX Wrote:  Maybe you'd like to try this?
http://wiki.sphere.torfo.org/index.php/I...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
(This post was last modified: 04-09-2012 01:26 AM by Painkiller.)
04-09-2012 01:19 AM
Find all posts by this user Like Post Quote this message in a reply
Painkiller
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #6
RE: The client could not attach to the game server
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
(This post was last modified: 04-25-2012 11:42 AM by Painkiller.)
04-25-2012 11:41 AM
Find all posts by this user Like Post Quote this message in a reply
Painkiller
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #7
RE: The client could not attach to the game server
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...
05-05-2012 01:03 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #8
RE: The client could not attach to the game server
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.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
06-15-2012 03:32 AM
Find all posts by this user Like Post Quote this message in a reply
holy
Apprentice
*

Posts: 3
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2014
Reputation: 0



Post: #9
RE: The client could not attach to the game server
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,...
07-01-2014 02:34 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)