Jump to content
  • 0

2 servers.


greenieken

Question


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   1
  • Joined:  05/02/12
  • Last Seen:  

Could anyone post a guide in making 2 servers in one IP? thanks.

Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  382
  • Reputation:   38
  • Joined:  01/17/12
  • Last Seen:  

You just have to use different ports.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   1
  • Joined:  05/02/12
  • Last Seen:  

Yea, can you tell me the whole process? I need a guide because i don't know how to do it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  382
  • Reputation:   38
  • Joined:  01/17/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   1
  • Joined:  05/02/12
  • Last Seen:  

Is that all? Like, do i need to change anything from my sclientinfo?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  382
  • Reputation:   38
  • Joined:  01/17/12
  • Last Seen:  

You have to change your port in the clientinfo.xml:

<port>6900</port>

to:

<port>7900</port>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   1
  • Joined:  05/02/12
  • Last Seen:  

So you mean, i will be having 2 client info already?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   1
  • Joined:  05/02/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   1
  • Joined:  05/02/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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

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