Originally Posted by TeddyBear
Creating muliply logins
[GAMESERVERS]
// Game01 = name, Mapping ServerID, Mapping DB ID(use prev server id), GameServer IP, DBAgent IP, GameLog IP
GameServerCount=1
Game01=Gaia, 1, 1, 127.0.0.1, 127.0.0.1, 127.0.0.1
Make it look like this, but add you're Server 1's ip to the Game02 and change the names of course:
[GAMESERVERS]
// Game01 = name, Mapping ServerID, Mapping DB ID(use prev server id), GameServer IP, DBAgent IP, GameLog IP
GameServerCount=2
Game01=Gaia, 1, 1, 127.0.0.1, 127.0.0.1, 127.0.0.1
Game02=Teos, 2, 2, 192.168.1.1, 192.168.1.1, 192.168.1.1
Now, in ps_login, we need to change the file to look like this
[GAMESERVERS]
// Game01 = name, Mapping ServerID, Mapping DB ID(use prev server id)
GameServerCount=2
Game02=Teos, 2, 2
Use the same mapping server and database id's as the ps_gamewar.ini file and change any ip's here to your Server 1's ip.
In ps_session, change the ip and the Game01=Gaia to Game02=Yourname under [GAMESERVERS]. Leave the GameServerCount at 1.
And, finally, in ps_userlog, change the ip to Server 1's ip.
That's just Server 2 files.
Now we move on to Server 1.
There's not really much to do here, just add your server 2 GameName in a couple of files.
In ps_gamewar.ini, add the line like above posted under gamewar, only change the ip's to match your Sql Server ip.
In ps_login.ini, add the line like above posted under login.
In ps_session.ini, change the [GAMESERVERS] to look like this:
[GAMESERVERS]
GameServerCount=2
Game01=Gaia
Game02=Teos
One other thing, to get it to show up in the PSM_Server Manager, add these lines in the PSMServer_Config.ini
in your PSM_Server\Config directory.
[Login_002]
<sv_maxuser> = 5000
<ip_login> = Server 2 lan ip
[GameGroup_002]
Copy the [GameGroup_001] lines here and change the ip's for public ip, ip game, dbagent, and gamelog to Server 2's ip,
leave the db ip's set your Sql Server ip.
credits to Rocky
|