The online racing simulator
Add /banlist = bans.ban
(8 posts, started )
Add /banlist = bans.ban
Scawen, can you add
/banlist = bans.ban

in setup.cfg?
reason: 10 servers use 1 LFS.exe => 1 server ban user on himself and others 9 servers
Why would it be necessary to use the same folder/lfs.exe for all those servers? I guess it could be convenient like that, but lfs dedi takes up hardly any disk space, so having one folder/lfs.exe per server or ban list shouldn't cause any problems.

I'm not saying it's a bad idea to have it as an option in the config, but it should be an easy problem to solve without the config option if you need separate ban lists.
i'm using php for manage servers, and make new forder for new server - BAD.

lfs.exe can understand "lfs.exe /cfg=somefile.cfg"
Do that with an insim application.
oh .... *facepalm*
can insim shutdown server or powerup?
DONT OFFTOP

why lfs.exe can use any cfg files but using 1 banlist file?
Perhaps hex-edit LFS.exe file to hardcode filenames ranging from ban0.ban to ban9.ban, and have 10 LFS.exe files, but still in 1 folder?
Quote from denis-takumi :oh .... *facepalm*
can insim shutdown server or powerup?
DONT OFFTOP

why lfs.exe can use any cfg files but using 1 banlist file?

An insim would be able to do that if you would make it. No reason to get all butthurt.
NO INSIM!!! *facepalm*

scawen can write this in lfs.exe


<?php 
char banfile
[MAX_PATH];
if ( ( 
strstr(line,"/banlist=") != false ) and ( *(strstr(line,"/banlist=")) == ) )
strcpybanfileline+);
else
strcpybanfile"data\\misc\\bans.ban" );
?>

and just use

<?php 
fopen
(banfile,"r");
?>

if use unsim it will be about 100 lines
and run 10 copyes? nonsense
i dont have access to use insim

Add /banlist = bans.ban
(8 posts, started )
FGED GREDG RDFGDR GSFDG