Jump to content
  • 0

How to add 2nd server ?


Poring King

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  952
  • Reputation:   176
  • Joined:  11/27/14
  • Last Seen:  

Good Day rAthena

I have a working multi server for windows but i want to make my select server would display 2 or more server example :

1st : Select Connection
2.png.2acb2a7415936b288269000cf1707028.png

2nd : After Selecting a connection above login interface will shown
 3.png.b6b1936cc33b72611452148f91d7d8d9.png


3rd : Select Server after login 

1.png.33d907e86080b562d7aef58cacf66dea.png

Is  this possible ?
if yes : Any little bit guide or idea how to make this ?
if no : is there any guide how to display 2 server in select server ?
or Selection of connection is also a selection on server ?

if im not mistaken i remember on "Aero Server" they have 1login for all server . But after login they display more Server on Seletion Server .
or i should use other Client Version that dosen't have a Service select on First UI before login so all the service selection will move to select server ? im i right or wrong ? correct me if im wrong . 

 

This Below picture is my current Select Connection before log in UI display it's working but it display 1server after log in . every time i select connection on Selection server it display different server but only 1 . i want to make it 1 connection with displaying more server on selection server so player will see if what server have more player currently online . no need to switch connection to see if there is more player playing on that server .

4.png


thx Best Regard's

Edited by Poring King
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  952
  • Reputation:   176
  • Joined:  11/27/14
  • Last Seen:  

Up for this

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3128
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

Please start using the search functions.

https://github.com/rathena/rathena/wiki/Multiple_Servers

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  952
  • Reputation:   176
  • Joined:  11/27/14
  • Last Seen:  

@Akkarin i already read those 3 :(

 i have working multi server but my only problem i want to display the 2nd server on server selection like this on wiki
"As a result, we succeeded 2 servers (server selection appears after entering a username and password in the game) "

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3128
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

1 login server and 2 char/map servers will give you an additional server to select on the Service Select. The instructions in any of those links i gave you will achieve what you want. Basically you just configure a second rAthena server, but only change the char and map configs (ports, s1/p1) and then only run those instead of a second login server. That will tie them all to the Service Select box after you've entered your user/pass.

You only need to put 1 connection block in your clientinfo.xml

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  952
  • Reputation:   176
  • Joined:  11/27/14
  • Last Seen:  

Here my files and how i setup :

Server 1 login_athena.conf

Spoiler

// The login 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

Server 2 login_athena.conf

Spoiler

// The login 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

Server 1 char_athena.conf

Spoiler

// Server Communication username and password.
userid: logintableCHANGEMEUSER
passwd: logintableCHANGEMEPASS

// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: Do not use spaces or any of these characters which are not allowed in
//       Windows filenames \/:*?"<>|
//       ... or else guild emblems won't work client-side!
server_name: Vanilla Server

// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: Server

// 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: 0.0.0.0

// 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: 0.0.0.0

// Character Server Port
char_port: 6121

Server 2 char_athena.conf
 

Spoiler

// Server Communication username and password.
userid: logintableCHANGEMEUSER
passwd: logintableCHANGEMEPASS

// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: Do not use spaces or any of these characters which are not allowed in
//       Windows filenames \/:*?"<>|
//       ... or else guild emblems won't work client-side!
server_name: Valkyrie Server

// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: Server

// 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: 0.0.0.0

// 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: 0.0.0.0

// Character Server Port
char_port: 6122

Server 1 map_athena.conf

Spoiler

// Interserver communication passwords, set in account.txt (or equiv.)
userid: logintableCHANGEMEUSER
passwd: logintableCHANGEMEPASS

// 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: 0.0.0.0

// 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: 0.0.0.0

// Map Server Port
map_port: 5121

Server 2 map_athena.conf
 

Spoiler

// Interserver communication passwords, set in account.txt (or equiv.)
userid: logintableCHANGEMEUSER
passwd: logintableCHANGEMEPASS

// 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: 0.0.0.0

// 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: 6122

// 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: 0.0.0.0

// Map Server Port
map_port: 5122


Server 1 inter_athena.conf

Spoiler

// MySQL Login server
login_server_ip: 127.0.0.1
login_server_port: 3306
login_server_id: ragnarok_db_user
login_server_pw: ragnarok_db_pass
login_server_db: rathena_db
login_codepage:
login_case_sensitive: no

ipban_db_ip: 127.0.0.1
ipban_db_port: 3306
ipban_db_id: ragnarok_db_user
ipban_db_pw: ragnarok_db_pass
ipban_db_db: rathena_db
ipban_codepage:

// MySQL Character server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: ragnarok_db_user
char_server_pw: ragnarok_db_pass
char_server_db: rathena_db

// MySQL Map Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: ragnarok_db_user
map_server_pw: ragnarok_db_pass
map_server_db: rathena_db

// MySQL Log Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: ragnarok_db_user
log_db_pw: ragnarok_db_pass
log_db_db: rathena_log
log_codepage:
log_login_db: loginlog

Server 2 inter_athena.conf
 

Spoiler

// MySQL Login server
login_server_ip: 127.0.0.1
login_server_port: 3306
login_server_id: ragnarok_db_user
login_server_pw: ragnarok_db_pass
login_server_db: rathena_db
login_codepage:
login_case_sensitive: no

ipban_db_ip: 127.0.0.1
ipban_db_port: 3306
ipban_db_id: ragnarok_db_user
ipban_db_pw: ragnarok_db_pass
ipban_db_db: rathena_db
ipban_codepage:

// MySQL Character server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: ragnarok_db_user
char_server_pw: ragnarok_db_pass
char_server_db: rathena_db

// MySQL Map Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: ragnarok_db_user
map_server_pw: ragnarok_db_pass
map_server_db: rathena_db

// MySQL Log Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: ragnarok_db_user
log_db_pw: ragnarok_db_pass
log_db_db: rathena_log
log_codepage:
log_login_db: loginlog


phpmyadmin 
 

Spoiler

1.thumb.png.8d1e2b5d94518a3c4698db5bf877aec6.png


 Server 2: Char and Map

 

Spoiler

1.thumb.png.82680885e8b7709d0d04aa0cfde4b602.png

Got this error when i try to follow the 1st guide on wiki

Best Regard's

Edited by Poring King
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   1
  • Joined:  07/12/17
  • Last Seen:  

@Poring King you must make account id 2 with S sex

then set account 2 to your char and map second server

please check my attachment

Tanpa judul.png

Edited by mazvi92
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  952
  • Reputation:   176
  • Joined:  11/27/14
  • Last Seen:  

@mazvi92 Sounds new for me i check it out when im not busy anymore thx for your reply :))

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