[Help] 2 servers on 1 machine

folder1989

New Member
Joined
Aug 16, 2011
Messages
26
Reaction score
1
how to run one server but with different concurrence on 1 computer? eg 1 server X10 X100 but the other 1 computer and 1 client?
 
Objective]

Run 2 servers (high rate and low rate) in single computer and clients can access both servers with same client and account but with different characters.

[Requirements]

1. GS / GSCS has an option for Account and Character Database selection.
2. Hexeditor
3. You already have a working server or you already know how to setup the server.

[Steps]

Database Connectivity

Create database for account and in this case lets choose Me_MuOnline, you can restore from the normal muonline database backup.
Create database for lowrate server: MuOnline
Create database for highrate server: MuOnline2
Create and ODBC for MuOnline2.


Server 1 (lowrate)

Configure GS/GSCS to use Me_MuOnline for account db and MuOnline for character db.

Server 2 (highrate)

Hex EXDB and change all MuOnline to MuOnline2.
Hex Dataserver1 and change MuOnline to MuOnline2, just make a copy for the second Dataserver if you will use backup. ( delete dataserver.dat if there is, it will give an error upon starting but you can safely ignore it.)
Configure GS/GSCS to use Me_MuOnline for account db and MuOnline2 for character db.

Server Shortcuts(starter) // most of the tricks are here


Common


Run Joinserver, Event Server and Ranking Server as default.


Server1 (lowrate)


Dataserver1 - path to file\dataserver.exe 55960 1
Dataserver2 - path to file\dataserver.exe 55962 2
Exdb - path to file\exdb.exe WAN_IP
Chatserver - path to file\chatserver.exe WAN_IP
GS - path to file\gameserver.exe 127.0.0.1 55970 127.0.0.1 55960 55901
GSCS - path to file\gameserverCS.exe 127.0.0.1 55970 127.0.0.1 55960 55919


Server2 (highrate)


Dataserver1 - path to file\dataserver.exe 55964 1
Dataserver2 - path to file\dataserver.exe 55966 2
Exdb - path to file\Exdb.exe 127.0.0.1 55915 //we need to run server2 exdb in other port
GS - path to file\gameserver.exe 127.0.0.1 55970 127.0.0.1 55964 55921 127.0.0.1 55966 127.0.0.1 55915 //all in one line.
GSCS - path to file\gameserverCS.exe 127.0.0.1 55970 127.0.0.1 55964 55939 127.0.0.1 55966 127.0.0.1 55915 //all in one line.

* Server2 GS/GSCS Color Legends: Green - Joinserver, Blue - Dataserver1, Brown - Gameserver port, Pink - Dataserver2, Orange - Exdb

Connect Server // server lists

Code:
0 "GSL" "WAN_IP" 55901 "SHOW"
19 "GSCSL" "WAN_IP" 55919 "HIDE"
20 "GSH" "WAN_IP" 55921 "SHOW"
39 "GSCSH" "WAN_IP" 55939 "HIDE"
Note: I cant be able to run chatserver in both server currently :( In this setup chatserver is only active in server1.
 
  • Like
Reactions: knif3r and ludlud
and for 0.97 version?
and
[Requirements]
1. GS / GVC has an option for an account and character "database selection".
 
You need to have an option in your GameServer configs so that you can use another database for the Low or High server.

The option should look like this one:
SQLDB = MuOnline

If you are editing the GameSeverLow you should create a new database.. let's name it
MuOnlineLow

so the code in GameServerLow Configs will be:
SQLDB = MuOnlineLow

Or if you have a source and you know what to do with it you can edit the database that will be used by the GameServerLow.exe ... like MuOnlineLow.dbo or smth.
 
Last edited:
Вы должны иметь возможность в вашем сервере, участвующем в статистике конфиги, так что вы можете использовать другую базу данных с низкой или высокой нагрузки на сервер. Параметр должен выглядеть так: если вы редактируете GameSeverLow вы должны создать новую базу данных.. назовем его MuOnlineLow поэтому код в GameServerLow Configs будет: или если у вас есть источник, и вы знаете, что делать с ее помощью вы можете редактировать базу данных, которая будет использоваться GameServerLow.exe ... как MuOnlineLow.dbo или smth.

I understand how I run the 0.97 server with the following parameters as this guide for more than 3 seasons and 0.97 EksDv does not start with the parameters of the IP addresses and ports as I was told