Setting up different physical servers but connect using 1 main - How?
Okay here is the situation.
Currently I got my server running perfectly fine using TT files, the physical server is running in USA.
One of my Chinese friends donated me with a Hong Kong VPS, so that Chinese players may have better speed. Now I can install my files over at that machine, but here comes the problem.
I want both my Chinese players and English players to connect using the same main (since all the localization are in place and the files are the same so no use building a different main or clients) So how can I do that to build the physically different servers as different zones so players can select their servers when log-in?
I assume both the two server sides and the client need to be reconfigured, but how?
- - - Updated - - -
follow up:
Main now connect to old server:
Old Server SCF_Serverlist.cfg
Code:
0 1 "<US IP>" 55901 "SHOW"
0 19 "<US IP>" 55909 "HIDE"
1 2 "<HK IP>" 55901 "SHOW"
1 18 "<HK IP>" 55909 "HIDE"
MapServerInfo.dat
Code:
0
1 0 1 S<US IP> 55901
19 0 0 S<US IP> 55909
2 1 1 S<HK IP> 55901
18 1 0 S<HK IP> 55909
end
1
1 0 30 19
1 0 31 19
1 0 34 19
1 0 41 19
1 0 42 19
1 0 56 19
19 1 30 -1
19 1 31 -1
19 1 34 -1
19 1 41 -1
19 1 42 -1
19 1 56 -1
end
Currently: Connected to US IP, fail to see HK Server on Login menu.
Re: Setting up different physical servers but connect using 1 main - How?
I dont think thats kind of possible, since main.exe connects into a single IP adress.
maybe if you make custom launcher that people will choose which IP your main.exe it should connect
that might help cus sky team launcher for example conencts to the ip you settled up.
if you build other sky team launcher with different ip it will connect to the different one.
so build something similar inside your launcher that will connect to different server IP.
Good luck.
Re: Setting up different physical servers but connect using 1 main - How?
In fact I already solved it.
The solution is posted here for reference:
First, use BoR's CS since it supports that.
Then, on the server that your Main.exe doesn't connect to, set Titan Link Server so it connects to the other BoR CS.
Then config the other files, including BoR's CS Config just as above.
Lastly, go to IPLIST on both servers, it's a file in /data, and add the other respective server's IPs in there.
and it works.