Page 1 of 1

2 servers same users?

Posted: Tue Nov 24, 2009 5:06 am
by ami9620
hi
can i use 2 servers and if 1 user register on 1 he can get into the other but the chips balance at every server is not the same?

Re: 2 servers same users?

Posted: Tue Nov 24, 2009 10:23 am
by Kent Briggs
ami9620 wrote:hi
can i use 2 servers and if 1 user register on 1 he can get into the other but the chips balance at every server is not the same?
One way to handle that is to use the Callback Event system to run a script every time a player logs out of a server. That script will call the AccountsGet API on that server to get the player's settings and then AccountsEdit on the other server to sync them up. Another way is to maintain your own player database outside of the game and have a web interface for logging in. Then use the API to sync up the in-game account balance with the one you have in your database. In either case, you need a separate license for each running game server.