1 Login 2 Map 2 Char Servers

DeviantRaze

New member
Messages
53
Points
0
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
default_sad.png
please...

 
Last edited by a moderator:
Whe you got connected to server 2. What happen with the server 1?  It comes down?

 
@quesoph

Code:
<?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>[URL="http://freeflux.net/cp/"]http://freeflux.net/cp/</registrationweb>[/URL]        <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>
 
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.

 
Last edited by a moderator:
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

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

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

 
Last edited by a moderator:
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.

 
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.

 
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.

 
Last edited by a moderator:
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

Code:
<?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.

 
Last edited by a moderator:
Back
Top