The Jedi Academy. THE Place for Jedi training.
Forums
Content
The Academy
Learn
Communicate
Personal


Forums | Jedi Knight: Jedi Academy Discussion
Running Multible JK3 Servers off of the same assets files
Sep 11 2005 12:09pm

Tido
 - Student
Tido
Got an interesting question for you server-keen folks:

I want to know if there is a smooth way to run multible jk3 servers off of the same assetsX.pk3 files. Sure I can just put multible .cfg's up there and run multible instances, but the servers overwrite the .ja/base/jampserver.cfg. How can I get each server to write their own one?

  Login and add your comment!  
Comments
Sep 12 2005 05:16pm

Orion
 - Retired
 Orion

Well the problem I see is servers trying to read/write to the same directory and files at the same time. Thats a big nono, as File read/write operations are one of the slowest operations.

You can use them, and still specifiy different configs with just the +exec myserverX.cfg for each instance on the commandline. Though they will all still write to jampserver.cfg as that is the cached file where all Archived CVars are written to, nothing you can do about that really execpt have either a shell or bat file depending on the OS to delete that file when a instance is started/restarted. Though trying to write protect the jampserver.cfg is a VERY bad idea that will probably make the server not so happy and throw a hissy fit.
_______________
When a Man lies he murder's some part of the world. These are the pale deaths which men misscall there lives. All this I cannot bear to witness any longer. Cannot the kingdom of salvation take me home? -Cliff Burton Owner of Smily's 1900th comment | <Lady_Catherine> i love your sexy white socks! | (Lady_Catherine) i adore u! | (Lady_Catherine) onion (Lady_Catherine) i lub u

Sep 12 2005 12:42am

tarpman
 - The Tarped Avenger
 tarpman

Have you tried making jampserver.cfg read-only? Then you could run each instance with +exec on its own cfg and they wouldn't overwrite the defaults.

EDIT: no, I haven't tried this, so I don't know if it works. :P
_______________
Saving the world, one kilobyte at a time.

This comment was edited by tarpman on Sep 12 2005 12:43am.

Sep 11 2005 10:49pm

Orion
 - Retired
 Orion

I've never done it, I think huxly did for the US servers and they lagged really bad...
_______________
When a Man lies he murder's some part of the world. These are the pale deaths which men misscall there lives. All this I cannot bear to witness any longer. Cannot the kingdom of salvation take me home? -Cliff Burton Owner of Smily's 1900th comment | <Lady_Catherine> i love your sexy white socks! | (Lady_Catherine) i adore u! | (Lady_Catherine) onion (Lady_Catherine) i lub u

  Login and add your comment!