Yoona Posted March 27, 2014 Posted March 27, 2014 Im trying to create 2 Servers but 1 Login server, but 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 not on Server 1 anyone can help me with this? @bump! Quote
Yoona Posted March 28, 2014 Author Posted March 28, 2014 @Akkarin Yes i follow this Guide http://www.eathena.ws/board/index.php?showtopic=279692&view=findpost&p=1532918 When i run the First Server I can Login but when i start to run the Second Server i cant login on the First Server anymore, instead i can log in on the 2nd Server.. How do you run the char and map server only for the second server... L_SRV=./server1/login-server_sql C_SRV1=./server1/char-server_sql M_SRV1=./server1/map-server_sql C_SRV2=./server2/char-server_sql M_SRV2=./server2/map-server_sql check_files() { for i in ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2} do if [ ! -f ./$i ]; then echo "$i does not exist, or can't run." echo "Stop. Check your compile." exit 1; fi done # more << EOF echo "Check complete." echo "Looks good, a nice Athena!" #EOF } 'start') print_start check_files exec .{L_SRV}& exec .{C_SRV1}& exec .{M_SRV1}& exec .{C_SRV2}& exec .{M_SRV2}& 'stop') killall ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2} can someone tell me where can i add this one? Quote
Yoona Posted March 28, 2014 Author Posted March 28, 2014 @Akkarin how can i apply those things?.. Quote
Cydh Posted March 28, 2014 Posted March 28, 2014 /me is following this topic since I'm curious about this (read: I don't know how) Quote
iubantot Posted April 10, 2014 Posted April 10, 2014 Me too i have also Im trying to create 2 Servers but 1 Login server, but 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 not on Server 1 anyone can help me with this? @bump! i got the same problem as you i also followed that guide and test it on windows pc. and it worked but when i tried it on my vps i got the same results as you. when i rung the first server its ok. when i run the second servers char server and map server using ./map-server and ./char-server the map server of the first server disconnects. then now i can login on the second but rejected on the first can anyone help us? Quote
Cydh Posted June 12, 2014 Posted June 12, 2014 I know how to make connection for 1 login-server 2 char-servers 9with each 1 map-server). but I don't get "how client decide which game (char&map-server) will be connected?", since the clientinfo.xml uses login port only. Ohh lol, I get what's "Service select" mean now. to be honest, this my first time using 1 login server. @Akkarin Yes i follow this Guide http://www.eathena.ws/board/index.php?showtopic=279692&view=findpost&p=1532918 When i run the First Server I can Login but when i start to run the Second Server i cant login on the First Server anymore, instead i can log in on the 2nd Server.. How do you run the char and map server only for the second server... L_SRV=./server1/login-server_sql C_SRV1=./server1/char-server_sql M_SRV1=./server1/map-server_sql C_SRV2=./server2/char-server_sql M_SRV2=./server2/map-server_sql check_files() { for i in ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2} do if [ ! -f ./$i ]; then echo "$i does not exist, or can't run." echo "Stop. Check your compile." exit 1; fi done # more << EOF echo "Check complete." echo "Looks good, a nice Athena!" #EOF } 'start') print_start check_files exec .{L_SRV}& exec .{C_SRV1}& exec .{M_SRV1}& exec .{C_SRV2}& exec .{M_SRV2}& 'stop') killall ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2} can someone tell me where can i add this one? it's on function.sh once u edit it, when u run runserver-sql.bat, that file will run your 1 login-server, 2 char-servers, & 2 map-server Quote
Yoona Posted July 8, 2014 Author Posted July 8, 2014 (edited) I know how to make connection for 1 login-server 2 char-servers 9with each 1 map-server). but I don't get "how client decide which game (char&map-server) will be connected?", since the clientinfo.xml uses login port only. Ohh lol, I get what's "Service select" mean now. to be honest, this my first time using 1 login server. @Akkarin Yes i follow this Guide http://www.eathena.ws/board/index.php?showtopic=279692&view=findpost&p=1532918 When i run the First Server I can Login but when i start to run the Second Server i cant login on the First Server anymore, instead i can log in on the 2nd Server.. How do you run the char and map server only for the second server... L_SRV=./server1/login-server_sql C_SRV1=./server1/char-server_sql M_SRV1=./server1/map-server_sql C_SRV2=./server2/char-server_sql M_SRV2=./server2/map-server_sql check_files() { for i in ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2} do if [ ! -f ./$i ]; then echo "$i does not exist, or can't run." echo "Stop. Check your compile." exit 1; fi done # more << EOF echo "Check complete." echo "Looks good, a nice Athena!" #EOF } 'start') print_start check_files exec .{L_SRV}& exec .{C_SRV1}& exec .{M_SRV1}& exec .{C_SRV2}& exec .{M_SRV2}& 'stop') killall ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2} can someone tell me where can i add this one? it's on function.sh once u edit it, when u run runserver-sql.bat, that file will run your 1 login-server, 2 char-servers, & 2 map-server On this part i want to make sure, i should put the directory of where i put the 2nd server files right? and 1 problem about rathena.. if you recompile server 2 ==> Server 1 will be stop same with recompile Server 1 ==> Server 2 stops. please correct me if im wrong.. thanks! C_SRV1=./server1/char-server_sql M_SRV1=./server1/map-server_sql C_SRV2=./server2/char-server_sql M_SRV2=./server2/map-server_sql Edited July 8, 2014 by Yoona Quote
Question
Yoona
Im trying to create 2 Servers but 1 Login server, but 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 not on Server 1
anyone can help me with this?
@bump!
6 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.