Forum

> > CS2D > General > Multiple Lua Servers
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Multiple Lua Servers

10 replies
To the start Previous 1 Next To the start

old Multiple Lua Servers

Redefinder
User Off Offline

Quote
Hi I want to know if I can create multiple servers on different lua scripts on one computer.Anyone who knows that pls reply

old Re: Multiple Lua Servers

SQ
Moderator Off Offline

Quote
Yes, you can.
Just make 2 different modes in 2 CS2D folders.
Launch Dedicaded on both games.
It should work.

old Re: Multiple Lua Servers

Sarim
User Off Offline

Quote
Or dont download the Setup, download the zip file. If you just unpack it you can launch cs2d multiple times. At least it works for me, maybe its about soemthing else, but give it a try

old Re: Multiple Lua Servers

playa slaya
COMMUNITY BANNED Off Offline

Quote
humm i sugggest to NOT create multiple lua servers with mapchange unless script is attached to the map file becuase
on a map change your lua would change if you activated/deactivated a lua

old Re: Multiple Lua Servers

Redefinder
User Off Offline

Quote
thx for help
playa slaya has written
humm i sugggest to NOT create multiple lua servers with mapchange unless script is attached to the map file becuase
on a map change your lua would change if you activated/deactivated a lua

what do you mean by that?

old Re: Multiple Lua Servers

DC
Admin Off Offline

Quote
when using a dedicated server you can run as many instances as you like.

you can even share the same cs2d folder but use different sys folders (for different settings).

to do this you have to start the dedicated server with the command line parameter -sys FOLDER
and replace FOLDER with the name of the sys directory which contains all settings (sys by default)

for example
-sys sys (use the normal sys dir)
-sys mysys (use the dir mysys instead)

this also allows you to use different lua scripts on your servers because server.lua is in a subdir of the sys dir

old Re: Multiple Lua Servers

Redefinder
User Off Offline

Quote
will my dedicated servers be running if I put my computer on stand by?
DC has written
for example
-sys sys (use the normal sys dir)
-sys mysys (use the dir mysys instead)

Do I type that in console or.....?
edited 1×, last 28.12.09 07:18:05 pm
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview