Multiple World Servers, multiple ip addresses, same box bugf
This is for anyone looking to run multiple world servers on the same box. It just fixes the bind() code for the world server (I also removed some of the #ifdef WIN32s that weren't really needed for Win32). The zone servers need one fix to function correctly.
The basic setup I use is:
c:\eqemu (stable 'production' server)
c:\eqemu.dev (development server)
I have a win2k server with two static IP addresses.
I run minilogin and have both LoginServer.ini files pointing to that login server. I've dumped the eq database (mysqldump eq > eqdb.sql) and created a second eq database (eqdev). In the eqemu.dev folder, I point db.ini to the different database name. In theory I guess you could use the same database for both production and development builds if you weren't going to edit the database, but you'd still need two directories so you can have two different world / zone configs.
|