Jump to content
  • 0

"Can't Connect" Character Server.


Discount Ninja

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   3
  • Joined:  08/23/12
  • Last Seen:  

(Story, you can skip this) Some of my friends wanted me to start a Ragnarok server again. They got spoiled on my server about 3 years ago. They complained to me about every server afterward, heh. Anyways so I started an old school eAthena server. Got it working, everyone could connect. Found out that the third job classes were not available. Oh well... lets move to.... rAthena! Well I basically copied my working config over to the new one.

The login, character and map servers all talk to each other, no warning messages or errors. I found my client "20120410" and found a client to patch. "Woo, almost done," so I thought. Username and Password goes in, my login server acknowledges this. I can see my new server with zero people online. However, when I try to connect to my character server. Please wait... "Failed to Connect to Server." Grr. If I can get an error message that's not so generalized I could work with it.

My Character server doesn't display anything. Of course it wouldn't until I had a character created.

Looking around the forums, I should check and recheck my configurations, right?

These are copied from my import folder:

char_conf.txt
login_ip: 192.168.0.10
login_port: 6900
//bind_ip: 192.168.0.10
char_ip: diro.no-ip.org
char_port: 6121

map_conf.txt
char_ip: 192.168.0.10
char_port: 6121
//bind_ip: 192.168.0.10
map_ip: diro.no-ip.org
map_port: 5121

My subnet:
subnet: 255.0.0.0:127.0.0.1:127.0.0.1
subnet: 0.0.0.0:diro.no-ip.org:diro.no-ip.org <- This is a new one after reading some other posts.

I'm running CENTOS, 6.3 with the latest updates.

My server is using SQL, all users and permissions are set correctly.

My ISP want's $40 a month for a single static IP. Pfft. So I'm using dynamic. Portforwarding is set, I poked holes in my firewalls for all the right ports.

Don't ask me to go to the loop back IP's. (localhost or 127.0.0.1) My server likes to complain if I do that. Not to mention it didn't work with my eAthena server.

What's strange to me is that with the same configuration, my old server worked just fine. I was able to connect behind my router on the LAN and my friends were able to connect on the WAN, through the dynamic IP, through the router and firewall. Copy Pasta should work with the import files, right? Well mostly as I found out. Just need to get the client setup right. But it's something else.

I'm not sure what's different with rAthena to have it not work. It could be the config, an isolated incident with my current computer (which would be worse). I suspect that I didn't diff the client right? It's been a while since I've setup a server. So it could be something simple.

If it's any modivation to help me out, I can donate or give away some of my old scripts and NPC's that I've worked on through out the years.

Edited by Discount Ninja
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Have you diff your client.exe?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

char_athena.conf

// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 192.168.0.10
// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
// Login Server Port
login_port: 6900
// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: diro.no-ip.org
// Character Server Port
char_port: 6121

map_athena.conf

// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 192.168.0.10
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
// Character Server Port
char_port: 6121
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: diro.no-ip.org
// Map Server Port
map_port: 5121

subnet_athena.conf

subnet: 255.0.0.0:192.168.0.10:192.168.0.10

and for your clientinfo.xml.

for local connection use this ip 192.168.0.10 for online connection use diro.no-ip.org

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   3
  • Joined:  08/23/12
  • Last Seen:  

Not sure that the post was entirly read but that's OK. My problem was with the subnet. Thanks Brynner.

Edited by Discount Ninja
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  390
  • Reputation:   27
  • Joined:  07/12/12
  • Last Seen:  

shouldn't your subnet be 250.250.250.0: (then 2 ipv4's) ??

as far as i know it shouldn't be "127.0.0.1:127.0.0.1"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...