Multiple data dirs?

Multiple data dirs?

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Multiple data dirs?

Post by Jools »

springDataDir (global setting)
Explicit name Spring data directory
Description Absolute path of the Spring directory containing maps, mods, base files...
Format / Allowed values Any writable directory
Default value %dataDir% (set during installation, examples: "/share/games/spring", "C:\Program files\Spring")
Is there a way to specify multiple datadirs? I was thinking of having most mods and maps locally, but also having one online folder from where it could read.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: SPADS AutoHost beta release

Post by Forboding Angel »

I'd like info on how other hosts manage maps, because my local maps folder includes a lot of maps that have never been put on plasmaserver.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Jools wrote:Is there a way to specify multiple datadirs? I was thinking of having most mods and maps locally, but also having one online folder from where it could read.
I believe there are multiple ways of specifying data directories at engine level. The SPRING_DATADIR environment variable used by springDataDir SPADS setting is just one of them. Maybe you can use other ways to declare additional data directories (in spring settings configuration file for example)?

Also, concerning your question on IRC, in case of false positive you can disable smurf detection on a specific account using following command: "!chrank <playerName> account".
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

The case is the fact that my autohost is detected as my smurf, but since my main account already has higher rank it doesn't really matter. It's just the message shown when balancing "1 smurf found" that might cause people to wonder.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Hum I don't get it, the autohost can't be detected as a smurf during balancing, it's a spectator...
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

I don't know exactly how, but I think it's because the autohost has the same IP as my main (or had before) that it's detected as a smurf.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

The message shown during balancing doesn't count spectators.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SPADS AutoHost beta release

Post by hoijui »

wherever you can specify a data-dir, you can actually specify multiple data-dirs. just separate them by ';' (windows) or ':' (linux).
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

You mean in spads? I tried that but it will only use the first dir.
Post Reply

Return to “SPADS AutoHost”