Jump to content
  • 0
Sign in to follow this  
DeviantRaze

1 Login 2 Map 2 Char Servers

Question

Im trying to create 2 Servers but 1 Login server, but i encounter this kind of problem...

 

 

[ Server 1 ] Running Good 

[ Server 2 ] Running Good 

 

but when i try to log in, i can log in on Server 2 and then i cant connect to Server 1 sad.png

 

anyone can help me with this?

 

 

Helping my friend :( please...

Edited by DeviantRaze

Share this post


Link to post
Share on other sites

22 answers to this question

Recommended Posts

  • 0

@quesoph

 

<?xml version="1.0" encoding="euc-kr" ?><clientinfo><servicetype>korea</servicetype><servertype>sakray</servertype>   <connection>      <display>Earth</display>      <balloon>NeverlastingRO</balloon>      <address>VPS IP HERE</address>      <port>6900</port>      <version>30</version>      <langtype>1</langtype>      <registrationweb>http://freeflux.net/cp/</registrationweb>        <aid>		<admin>2000100</admin>        </aid>        <loading>            <image>loadingscreen00.jpg</image>            <image>loadingscreen01.jpg</image>            <image>loadingscreen02.jpg</image>            <image>loadingscreen03.jpg</image>            <image>loadingscreen04.jpg</image>            <image>loadingscreen05.jpg</image>            <image>loadingscreen06.jpg</image>            <image>loadingscreen07.jpg</image>        </loading>   </connection></clientinfo>

Share this post


Link to post
Share on other sites
  • 0

Are you using a vps with 2 server in it?

 

I think you need something like this:

 

 

<?xml version="1.0" encoding="euc-kr" ?><clientinfo><servicetype>america</servicetype><servertype>primary</servertype><hideaccountlist></hideaccountlist>   <connection>	  <balloon>serverdesc!</balloon>	  <desc>8000x 8000x 8000x</desc>	  <address>127.0.0.1</address>	  <port>6900</port>	  <version>39</version>	  <langtype>0</langtype>	  <registrationweb></registrationweb>	    <aid>                <admin>2000000</admin>	    </aid>        <yellow>            <admin></admin>        </yellow>	    <loading>            <image>loading00.jpg</image>	    </loading>   </connection>	 <connection>	  <balloon>serverdesc!</balloon>	  <desc>8000x 8000x 8000x</desc>	  <address>127.0.0.1</address>	  <port>6900</port>	  <version>39</version>	  <langtype>0</langtype>	  <registrationweb></registrationweb>	    <aid>                <admin>2000000</admin>	    </aid>        <yellow>            <admin></admin>        </yellow>	    <loading>            <image>loading00.jpg</image>	    </loading>   </connection></clientinfo>

Its been a while since I made multiple server so I am not really sure. hehe.

 

@edit

Now I am sure cause I tested it.

Edited by quesoph

Share this post


Link to post
Share on other sites
  • 0

Are you using a vps with 2 server in it?

 

I think you need something like this:

 

 

<?xml version="1.0" encoding="euc-kr" ?><clientinfo><servicetype>america</servicetype><servertype>primary</servertype><hideaccountlist></hideaccountlist>   <connection>	  <balloon>serverdesc!</balloon>	  <desc>8000x 8000x 8000x</desc>	  <address>127.0.0.1</address>	  <port>6900</port>	  <version>39</version>	  <langtype>0</langtype>	  <registrationweb></registrationweb>	    <aid>                <admin>2000000</admin>	    </aid>        <yellow>            <admin></admin>        </yellow>	    <loading>            <image>loading00.jpg</image>	    </loading>   </connection>	 <connection>	  <balloon>serverdesc!</balloon>	  <desc>8000x 8000x 8000x</desc>	  <address>127.0.0.1</address>	  <port>6900</port>	  <version>39</version>	  <langtype>0</langtype>	  <registrationweb></registrationweb>	    <aid>                <admin>2000000</admin>	    </aid>        <yellow>            <admin></admin>        </yellow>	    <loading>            <image>loading00.jpg</image>	    </loading>   </connection></clientinfo>

Its been a while since I made multiple server so I am not really sure. hehe.

 

@edit

Now I am sure cause I tested it.

 

your clientinfo got the same login ports xd

Share this post


Link to post
Share on other sites
  • 0

^ its because he was asking for 1 Login server.

 

 

 

@quesoph Still the same bro, everytime i ./athena-start start my Server 2, Server 1 will be disconnected..

 

Create another account in your login table.

post-271-0-81138300-1396046442_thumb.jpg

user_id: s2

user_pass: p2

sex: S

 

*I assumed that your databases and ports are good to go.

Now go your char-server.conf

 

change this to

userid: s2
passwd: p2

 

And map-server.conf

userid: s2
passwd: p2

Edited by quesoph

Share this post


Link to post
Share on other sites
  • 0

I already did that one. Create user for server 2 and password for server 2 too.. both server can run smoothly but when server 1 is running then i tried to run server 2 map server 1 will be disconnected.

Share this post


Link to post
Share on other sites
  • 0

I already did that one. Create user for server 2 and password for server 2 too.. both server can run smoothly but when server 1 is running then i tried to run server 2 map server 1 will be disconnected.

Share this post


Link to post
Share on other sites
  • 0

All you have to do is to change server two's ports ( char and map ), userid, passwd, database, clientinfo.xml.

 

@edit

 

map server 1 will be disconnected.


 

Post your map-server's error.

Edited by quesoph

Share this post


Link to post
Share on other sites
  • 0

All you have to do is to change server two's ports ( char and map ), userid, passwd, database, clientinfo.xml.

 

@edit

 

map server 1 will be disconnected.

 

Post your map-server's error.

 

i used to have done this to and worked at me so :D

Share this post


Link to post
Share on other sites
  • 0

For server 1:

 

 

../conf/import/char_conf.txt

 

userid: s1passwd: p1server_name: server 1login_ip: 127.0.0.1login_port: 6900char_ip: 127.0.0.1char_port: 6121

 

../conf/import/map_conf.txt

 

userid: s1passwd: p1char_ip: 127.0.0.1char_port: 6121map_ip: 127.0.0.1map_port: 5121

 

 

../conf/import/map_conf.txt

 

sql.db_hostname: 127.0.0.1sql.db_port: 3306sql.db_username: ragnaroksql.db_password: ragnaroksql.db_database: ragnaroksql.codepage:// MySQL Character SQL serverchar_server_ip: 127.0.0.1char_server_port: 3306char_server_id: ragnarokchar_server_pw: ragnarokchar_server_db: ragnarok// MySQL Map SQL Servermap_server_ip: 127.0.0.1map_server_port: 3306map_server_id: ragnarokmap_server_pw: ragnarokmap_server_db: ragnarok// MySQL Log SQL Databaselog_db_ip: 127.0.0.1log_db_port: 3306log_db_id: ragnaroklog_db_pw: ragnaroklog_db_db: loglog_codepage:log_login_db: loginlog

 

 

 

 

 

 

For Server 2:

 

 

../conf/import/char_conf.txt

 

userid: s2passwd: p2server_name: server 2login_ip: 127.0.0.1login_port: 6900char_ip: 127.0.0.1char_port: 6122

 

../conf/import/map_conf.txt

 

userid: s2passwd: p2char_ip: 127.0.0.1char_port: 6122map_ip: 127.0.0.1map_port: 5122

 

 

../conf/import/map_conf.txt

 

sql.db_hostname: 127.0.0.1sql.db_port: 3306sql.db_username: ragnarok // same username doesn't matter if same with server 1 as long as you have right privilegessql.db_password: ragnarok // same as above.sql.db_database: ragnarok1 // new database.sql.codepage:// MySQL Character SQL serverchar_server_ip: 127.0.0.1char_server_port: 3306char_server_id: ragnarokchar_server_pw: ragnarokchar_server_db: ragnarok1// MySQL Map SQL Servermap_server_ip: 127.0.0.1map_server_port: 3306map_server_id: ragnarokmap_server_pw: ragnarokmap_server_db: ragnarok1// MySQL Log SQL Databaselog_db_ip: 127.0.0.1log_db_port: 3306log_db_id: ragnaroklog_db_pw: ragnaroklog_db_db: log1log_codepage:log_login_db: loginlog

 

 

 

clientinfo.xml

<?xml version="1.0" encoding="euc-kr" ?><clientinfo><servicetype>america</servicetype><servertype>primary</servertype><hideaccountlist></hideaccountlist>   <connection>	  <balloon>serverdesc!</balloon>	  <desc>8000x 8000x 8000x</desc>	  <address>127.0.0.1</address>	  <port>6900</port>	  <version>30</version>	  <langtype>0</langtype>	  <registrationweb></registrationweb>	    <aid>                <admin>2000000</admin>	    </aid>        <yellow>            <admin></admin>        </yellow>	    <loading>            <image>loading00.jpg</image>	    </loading>   </connection>	 <connection>	  <balloon>serverdesc!</balloon>	  <desc>8000x 8000x 8000x</desc>	  <address>127.0.0.1</address>	  <port>6900</port>	  <version>30</version>	  <langtype>0</langtype>	  <registrationweb></registrationweb>	    <aid>                <admin>2000000</admin>	    </aid>        <yellow>            <admin></admin>        </yellow>	    <loading>            <image>loading00.jpg</image>	    </loading>   </connection></clientinfo>

 

@edit

Make sure these ports are open 6122, 5122.

Edited by quesoph

Share this post


Link to post
Share on other sites
  • 0

you must insert in the 'login' table of the server 1 the password and username of your server2, the s2 and p2. just copy the 1st line of the login table which is the server's username and password.

Share this post


Link to post
Share on other sites
  • 0

@quesoph still the same thing. nothing happens. now this one

 

account_id:2000016/login_id1:1767763888/login_id2:1629305181

 

 

@frost i actually did that but no hope :(

Edited by DeviantRaze

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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