Jump to content
  • 0
UprisingValkyrie

Guide for 1 Login , 2 Map , 2 Char Servers for Linux

Question

Hello

 

I am willing to know how to setup 1 Login , 2 Map , 2 Char Server in latest revision

 

i got the same problem with this topic http://rathena.org/board/topic/93734-1-login-2-map-2-char-servers/

 

Can someone make a guide or update the wiki for this? i really need this..

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

this feature i think is not possible if im not mistaken. I tried

 

2 VPS

 

VPS1 -  Login (holds only login data) - 128.1.1.1

VPS2 - Char+Map (holds all other data) 128.1.10.6

 

 

yeah i searched everywhere to make this work. but no avail.  During the run, all server are interconnected but when you try to login, it will stuck on Character Selection part.  Login Server did not forward the connection to Char Server.

 

I also tried:

 

VPS1  Login+Char (holds ALL data) - 128.1.1.1

VPS2  Map (holds map only) 128.1.10.6

 

same thing, I was success full up to character select, but will not forward to map server.

 

If somebody here can give LIGHT to this it would be a GREAT HELP!!!

Link to comment
Share on other sites

  • 0

Running multiple game server (= 1 char, 1 map each) using a single login server is definitely possible, even on the same machine (not slit into multiple VPS).

Just tested in on both, Windows and Linux (Debian 7 VM), and on both it was working fine.

http://i.imgsafe.org/dc32cb0.png

 

Are you sure you have all IP configs (char_ip, map_ip in char_athena.conf, map_athena.conf) properly set up if you're running the server on remote host(s)?

Link to comment
Share on other sites

  • 0

Im happy to know that it worked on you.  Here is my setup, can u point out where did i get wrong here?

 

A. Server 1 (Login-Server Only)

IP Address: 128.199.191.14

i run ./login-server only in this machine

 

################

# login_conf.txt

################

nothing changed

################

# char_conf.txt

################

userid: s1
passwd: p1
server_name: HappyServer
wisp_server_name: Server
//login_ip: 127.0.0.1
//bind_ip: 127.0.0.1
login_port: 6900
char_ip: 128.199.191.14
char_port: 6121

################

# char_conf.txt

################

userid: s1
passwd: p1
//char_ip: 127.0.0.1
//bind_ip: 127.0.0.1
char_port: 6121
map_ip: 128.199.191.14
map_port: 5121

 

B. Server 2 (Char & Map Server)

 

IP Address: 128.199.172.144

i run ./map-server and ./char-server in this machine

 

################

# login_conf.txt

################

nothing has changed here

 

 

################

# char_conf.txt

################

userid: s2
passwd: p2
server_name: HappyServer
wisp_server_name: Server
login_ip: 128.199.191.14
//bind_ip: 127.0.0.1
login_port: 6900
char_ip: 128.199.172.144
char_port: 6122
 

################

# map_conf.txt

################

userid: s2
passwd: p2
//char_ip: 127.0.0.1
//bind_ip: 127.0.0.1
char_port: 6122
map_ip: 128.199.172.144
map_port: 5122

 




 

Edited by jawbreaker
Link to comment
Share on other sites

  • 0

Your config looks fine.

 

I just tested it using different machines for both server as well, and now it's also no longer working.

 

Edit:

Okay, it seems it is caused by the subnet settings.

Once your IP is on the same subnet (specified in conf/subnet_athena.conf) as the specified char_ip in that file, you'll always be told to connect to that IP instead of the one the char server actually is running on.

This basically allows you to tell the server to give you a LAN IP instead of your server's WAN IP if you're connecting via LAN (and thus having a LAN IP assigned).

While this is fine for a server consisting of just one game server, it will break if you have more than a single game server registered at your login server. Or at least I haven't figured out how to properly set this up.

 

But what I can say is, you can freely remove the subnet entry (or entries) and it should work.

Edited by Toshiro
Link to comment
Share on other sites

  • 0

Yes tried commenting the subnet entry on both server and still it did not allow login server forward connection to character server when u tried to login. What could be other possible solution for this ?

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.