Jump to content
Sign in to follow this  
emofc

How to do GameServer01

Recommended Posts

You do exactly the same as you did with the first GameServer. 


Change IP, DB user login data, choose which maps to open.

Example below:


GameServer.cfg

[ID]
name 				= GameServer00
equment 			= system

[Gate]
gate                 = 127.0.0.1, 1971 

[Map]
map                  = garner
map                  = DreamIsland

[DB]
db_ip               = 127.0.0.1
db_usr              = sa
db_pass             = EZCpyYOZVofugqDFBZrLKw==

 

GameServer1.cfg

[ID]
name                 = GameServer01
equment             = system

[Gate]
gate                 = 127.0.0.1, 1971

[Map]
map                  = darkblue

[DB]
db_ip               = 127.0.0.1
db_usr              = sa
db_pass             = EZCpyYOZVofugqDFBZrLKw==

 

Share this post


Link to post
Share on other sites

Hello @emofc!

 

Make three .cfg for GameServer.exe:

GameServer1.cfg:

[ID]
name 				= GameServer01
equment 			= system

GameServer2.cfg:

[ID]
name 				= GameServer02
equment 			= system

GameServer3.cfg:

[ID]
name 				= GameServer03
equment 			= system

Also configure map list and DB connection in every .cfg.

 

Then you need run GameServer.exe with param - .cfg name. You can use .bat file:

start GameServer.exe GameServer1.cfg
start GameServer.exe GameServer2.cfg
start GameServer.exe GameServer3.cfg

It will start three GameServer.exe with different .cfg's.


Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...