Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to start multiples instance maps from same gs (GameDaemon) process?

Newbie Spellweaver
Joined
Jun 14, 2009
Messages
26
Reaction score
3
I was checking how much memory the GS use from each instance, and on my VPN it was taking around ~650MB without using SWAP. But i remebered that I saw once a way to start more map instances in same process, but I do not know how to execute it.

Actually I start GS this way:
Code:
./gs is10 > logs/is10.log &

And I tried something like this:
Code:
./gs is10 is11 is12 > logs/is.log &

Does anyone know something about this?
 
Newbie Spellweaver
Joined
Apr 24, 2010
Messages
8
Reaction score
3
you need to start one map at a time

Code:
./gs is10 > logs/is10.log &
./gs is11 > logs/is11.log &
./gs is12 > logs/is12.log &
./gs is13 > logs/is13.log &
etc ...
 
Skilled Illusionist
Joined
Feb 2, 2011
Messages
382
Reaction score
200
or posh way lol


Code:
[COLOR="#008000"]#!/bin/bash[/COLOR]

[COLOR="#0000CD"]cd[/COLOR] /home/gamed
[COLOR="#0000CD"]for[/COLOR] map [COLOR="#0000CD"]in[/COLOR] is01 is02 is05 is06 is07 [COLOR="#008000"]#Add Each map you want to start[/COLOR] 
[COLOR="#0000CD"]do[/COLOR]
[COLOR="#0000CD"]echo[/COLOR] [COLOR="#A9A9A9"]"loading $map"[/COLOR]
[COLOR="#0000FF"]sleep[/COLOR] [COLOR="#FFA500"]3[/COLOR]
./gs [COLOR="#FFA500"]$map[/COLOR] > /home/logs/[COLOR="#FFA500"]$map[/COLOR].log [COLOR="#A52A2A"]&[/COLOR]
[COLOR="#0000CD"]done[/COLOR]
 
Back
Top