![]() |
|
help with add more channel - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: Ep1 Support (https://lckb.dev/forum/forumdisplay.php?fid=177) +------ Forum: Solved Topics (https://lckb.dev/forum/forumdisplay.php?fid=145) +------ Thread: help with add more channel (/showthread.php?tid=1811) |
- ArafarnCM - 05-20-2013 so, lets see. basicly, as you all know, when you put 2 gs to 1 connector, this one crashes.... so what i did? put more than 1 connector! so, i will make an example with 5 chanels. if we want 5 channels, we will need: loginserver=1 messenger=1 helper=1 connectors=5 gameserver=5 so, each connector and each gameserver must have different ports and different maxsubserver, but same databases, helper. so, see the config of the 5 connectors: connector 1: [server]Number=1 MaxSubServer=1 IP=MY_LOCAL_IP Port=4006 connector 2: [server] Number=1 MaxSubServer=2 IP=MY_LOCAL_IP Port=6006 connector 3: [server] Number=1 MaxSubServer=3 IP=MY_LOCAL_IP Port=7006 connector 4: [server] Number=1 MaxSubServer=4 IP=MY_LOCAL_IP Port=8006 connector 5: [server] Number=1 MaxSubServer=5 IP=MY_LOCAL_IP Port=9006 that is for the connectors parts, now lets make the same with the gameservers: gameserver 1: [server] Number=1 SubNumber=1 IP=MY_LOCAL_IP Port=4110 AllowExternalIP=TRUE ......... [Connector Server] IP=MY_LOCAL_IP Port=4006 gameserver 2: [server] Number=1 SubNumber=2 IP=MY_LOCAL_IP Port=6110 AllowExternalIP=TRUE ......... [Connector Server] IP=MY_LOCAL_IP Port=6006 gameserver 3: [server] Number=1 SubNumber=3 IP=MY_LOCAL_IP Port=7110 AllowExternalIP=TRUE ......... [Connector Server] IP=MY_LOCAL_IP Port=7006 gameserver 4: [server] Number=1 SubNumber=2 IP=MY_LOCAL_IP Port=8110 AllowExternalIP=TRUE ......... [Connector Server] IP=MY_LOCAL_IP Port=8006 gameserver 5: [server] Number=1 SubNumber=5 IP=MY_LOCAL_IP Port=9110 AllowExternalIP=TRUE ......... [Connector Server] IP=MY_LOCAL_IP Port=9006 great, now we got 5 gameservers and 5 login servers. now, we have to config our loginserver: [Connector_0] Number=1 MaxSubNumber=5 IP=MY_LOCAL_IP Port=9006 [Connector_1] Number=1 MaxSubNumber=4 IP=MY_LOCAL_IP Port=8006 [Connector_2] Number=1 MaxSubNumber=3 IP=MY_LOCAL_IP Port=7006 [Connector_3] Number=1 MaxSubNumber=2 IP=MY_LOCAL_IP Port=6006 [Connector_4] Number=1 MaxSubNumber=1 IP=MY_LOCAL_IP Port=4006 if in the loginserver you change the order from what i put, it will go into maintenance. must be a descresendo order of maxsubnumber. sadly, the onlything that doesnt work here, is the gametime. but i think it can mabe fixed using the t_lc_time, and adding more servers in that database, i havent tested yet. ask if you didnt understood something. ^ ^ i do this for more channel but my game client show 1 channel how i do ? thankyou ![]() |