[Help]How to add new server

07/19/2016 00:21 Flogolo#16
Maybe u PM @[Only registered and activated users can see links. Click Here To Register...] , his server has 3 Cluster
07/19/2016 05:06 -Venom'#17
Quote:
Originally Posted by banktakung View Post
yeah it not work.

may be i should run on 2 pc. to make it work.
Dont forgett the Database changes.
07/23/2016 15:44 NickHough#18
Quote:
Originally Posted by Flogolo View Post
Maybe u PM @[Only registered and activated users can see links. Click Here To Register...] , his server has 3 Cluster
Thanks for the mention :)

Yes you will need to run it on 2 seperate computers with the following setup

PC 1:
Account
Certifier
Database
Core
Login
Cache
World

PC 2:
Database
Core
Login
Cache
World

AccountServer.ini requires the IP of PC 1 for cluster 1 and PC 2 for cluster 2
Certifier requires just the AccountServer IP (So PC 1 in this setup).

All PC 1 other bits can be set to 127.0.0.1 (Where LoginServers' AddCache is set to the IP of the PC it is on)

PC 2 however needs all AccountServer IP's to be set to the IP the Account Server is on (PC 1's IP) and the LoginServer AddCache to be set to PC 2 ip, all other IPs are the PC 2's IPs.

Not exactly overly informative, but with this you should be able to work out how to get multiple clusters working.

As for DB fixes, mostly look in CHARACTER_STR for anywhere it looks for m_idPlayer and ensure it looks for serverindex as well. (Few other procedures will need to be looked at too -> most notably banking and guild banking)

You will also need to setup ODBC to work over TCP/IP, google this to find a step by step setup. It is quite simple but frustrating.

P.S the reason for needing 2 or more computers is to ensure the ServerIndex is stored correctly as this is vital to making multiple clusters and is coded in the source extremely badly (which i decided against changing at the time)
07/23/2016 18:17 - DK#19
Quote:
Originally Posted by banktakung View Post
yeah it not work.

may be i should run on 2 pc. to make it work.
Then you have a problem with your firewall .. You dont have any connection ^^ Check your intern network :D Dont forget ODBC :P
07/23/2016 18:59 NickHough#20
Quote:
Originally Posted by .ACE. View Post
Then you have a problem with your firewall .. You dont have any connection ^^ Check your intern network :D Dont forget ODBC :P
As i stated there are several places you need to put different IPs to make multi cluster work, the problem isn't always firewall based, it can sometimes be an incorrect AccountServer setup where it isn't re-directing you to the new IP for the 2nd cluster (if you have a second IP). As stated by so many people, multi cluster doesn't work on a single IP, you need multiple IPs to run multiple DatabaseServer.exe's to ensure the Sys (serverindex) is set properly.
07/23/2016 20:21 xTwiLightx#21
Quote:
Originally Posted by NickHough View Post
As i stated there are several places you need to put different IPs to make multi cluster work, the problem isn't always firewall based, it can sometimes be an incorrect AccountServer setup where it isn't re-directing you to the new IP for the 2nd cluster (if you have a second IP). As stated by so many people, multi cluster doesn't work on a single IP, you need multiple IPs to run multiple DatabaseServer.exe's to ensure the Sys (serverindex) is set properly.
It could work, but some ports of your 2nd Cluster need to be changed then. :)
07/23/2016 23:57 Sedrika#22
Quote:
Originally Posted by xTwiLightx View Post
It could work, but some ports of your 2nd Cluster need to be changed then. :)
No need. Also no need to change database or whatever. And the tutorial above is kinda bullshit ;)
07/27/2016 10:16 NickHough#23
Quote:
Originally Posted by Sedrika View Post
No need. Also no need to change database or whatever. And the tutorial above is kinda bullshit ;)
Cool story bro, correct my tutorial rather then cursing me. I wrote a quick explanation of how to get it working AS I'VE GOT IT WORKING CURRENTLY AND EFFICIENTLY :P

Quote:
Originally Posted by xTwiLightx View Post
It could work, but some ports of your 2nd Cluster need to be changed then. :)
Definitely not true, no need to change the 2nd clusters ports as the account server is used to redirect your IP to the new IP of the 2nd cluster and it would have to use the same port to work properly.

But if you are referring to having it run on a single PC, that also won't work as you would need 2 separate sources for each cluster as the database server port is the one that is needed to be used for the "sys" value, and you simply can not run 2 database exes on the same machine.

Quote:
Originally Posted by .ACE. View Post
Then you have a problem with your firewall .. You dont have any connection ^^ Check your intern network :D Dont forget ODBC :P
As he stated, best way to test if it is a firewall problem is to just temporarily disable it to test, then re-enable it and add known ports needed and test again.

If it doesn't work, it will be your ODBC connection or even your AccountServer.ini setup.
10/14/2016 01:56 banktakung#24
Quote:
Originally Posted by .ACE. View Post
Then you have a problem with your firewall .. You dont have any connection ^^ Check your intern network :D Dont forget ODBC :P

just enable 2nd ip to connect main server and boom.