Credits to whoever posted this on former ShaiyaDevTeam forums
Quote:
First off, you need two computers, one with Sql Server and Shaiya Private Server(I used Windows XP Pro, Sql Server 2005 Standard, and Shaiya Private Server EP4), and one computer with just the private server. I will refer to the computer with the Sql Server and Shaiya
Private Server as Server 1 and the other computer as Server 2. Server 1 is going to be the main server because Server 2 will tie into the Sql database. First u have to change the .ini
files in the SHAIYA_SERVER\PSM_Client\Bin\Config\. Just so we're clear, we are in Server 2.
In the ps_dbAgent.ini file, change only the ip address to point to the Server 1's lan or wireless connection. In ps_game.ini you need to change all database ip's to match Server 1's lan, and change the public ip to match Server 2's lan ip. In ps_gameLog.ini, change the ip to
Server 1's ip. In ps_gamewar, don't mess with the ip there, unless you know what you're doing. But, on the bottom of that file, should be something like this:
[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:
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.