greenieken Posted June 29, 2012 Posted June 29, 2012 Could anyone post a guide in making 2 servers in one IP? thanks. Quote
greenieken Posted June 29, 2012 Author Posted June 29, 2012 Yea, can you tell me the whole process? I need a guide because i don't know how to do it. Quote
Bahmut Posted June 29, 2012 Posted June 29, 2012 Just setup the server as usual and the change the ports in your config files (map_athena.conf, char_athena.conf, login_athena.conf): For example you could change: login_port: 6900 char_port: 6121 map_port: 5121 to login_port: 7900 char_port: 7121 map_port: 7121 Quote
greenieken Posted June 29, 2012 Author Posted June 29, 2012 Is that all? Like, do i need to change anything from my sclientinfo? Quote
Bahmut Posted June 29, 2012 Posted June 29, 2012 You have to change your port in the clientinfo.xml: <port>6900</port> to: <port>7900</port> Quote
greenieken Posted June 29, 2012 Author Posted June 29, 2012 So you mean, i will be having 2 client info already? Quote
JoWei Posted June 29, 2012 Posted June 29, 2012 All you need is this part, <connection> <display>SERVER NAME HERE</display> <desc>Ragnarok Online</desc> <balloon>this is a tool tip</balloon> <address>SERVER IP HERE</address> <port>6900</port> <version>20</version> <langtype>1</langtype> <registrationweb>REGISTRATION URL HERE</registrationweb> </connection> to appear twice but with different port in your (s)clientinfo.xml. Example: <connection> <display>Server 1</display> <desc>Ragnarok Online</desc> <balloon>this is a tool tip</balloon> <address>127.0.0.1</address> <port>6900</port> <version>20</version> <langtype>1</langtype> <registrationweb>REGISTRATION URL HERE</registrationweb> </connection> <connection> <display>Server 2</display> <desc>Ragnarok Online</desc> <balloon>this is a tool tip</balloon> <address>127.0.0.1</address> <port>7900</port> <version>20</version> <langtype>1</langtype> <registrationweb>REGISTRATION URL HERE</registrationweb> </connection> With that you should have 2 server appearing in selection list in the beginning. Quote
greenieken Posted June 30, 2012 Author Posted June 30, 2012 OK so what i will do is to just change the LOGIN_PORT? And how about in the winscp, will I be copying another eAthena folder there? and change its loginport aswell? Quote
Asura Posted June 30, 2012 Posted June 30, 2012 Hi greenieken, Yes; that is what you'd need to do. Alternatively... you can actually use the same login server with the same usernames/passwords, but different char/map servers. But if you are starting a brand new RO server on the same VPS; then yes, you need to edit the ports so that they do not conflict with your 1st server. Quote
Euphy Posted June 30, 2012 Posted June 30, 2012 As a follow-up to what Asura posted, you would then set up your first server normally, but for your second server drop the "login" SQL table and do not run the logserv. Configure the second server to use the first's login table in inter_athena.conf, and you should be set. Quote
greenieken Posted July 3, 2012 Author Posted July 3, 2012 So you mean I will be importing another Trunk in my winscp for my second server huh? Then just change its configuration, (except for the login) then create a table in the SQL for the 2nd server, and it is all set? Quote
Euphy Posted July 3, 2012 Posted July 3, 2012 That's correct! If you need step-by-step instruction, Brian posted a guide on eA a while back (you'll have to ignore all the eA-specific config, i.e. log tables): http://www.eathena.ws/board/index.php?showtopic=279692&view=findpost&p=1532918 Quote
Question
greenieken
Could anyone post a guide in making 2 servers in one IP? thanks.
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.