sv_cheats defaults to 1 ?!! wtf?!!
Hello, all!
I'm setting up E+ 1.03 TDM server and got the following problem (plz, see attached files): when i try to use config with map rotation file, i get server's cvar 'sv_cheats' set to 1! In my config I set it to 0 (when i connect my server it says that 'cheats are anabled', and when i type sv_cheats in server's console i got the response: "sv_cheats" is:"1" default:"1"). I got the same problem with 'sv_pure': when server is running, sv_pure is 0, but I set it to 1 in my config. I can't understand, what i'm doing wrong. I tried to put the strings "sv_cheats 0" and "sv_pure 1" to end of server config (just before starting map rotation), but it doesn't make any difference - I still get wrong values when server is running.
Well, sv_pure can be changed while the server is running (it's not a problem, just inconvenient), but sv_cheats can't.
And rotation can be set up using vstr (by setting 'nextmap' var) - in that case i got sv_cheats 0 (great!), and sv_pure is 0, too (awww).
Can anybody tell me what's going on and what i'm doing wrong?
I hope someone will help.
Regards.
u need to set ::: seta sv_pure 1 in the rotation file then it works....
make seta in cfg and not set... it will work
sv_pure 1 into startline, works, too.
sv_pure 1 into startline, works, too.
yes the klugscheisser say it.... its right !!! works too!!!
Try following:
Turn server off, than delete q3config, than turn server on again. U dont use any set/seta in rotation.txt, but in server.cfg u should use seta.
I am too long away of setting up servers actually, that i could help u more, u may get in touch with camel.
that invi say it i want write the same.....
u need to delete the q3 config on in ftp in server off modus....
when u changed the server cfg and the old stuff is in q3config u have always that problem . because the server look first time in the backup q3config cfg. to set it on.. ....so server off delete the q3config folder or paste there your server . cfg in and it will work ...
Try following:
Turn server off, than delete q3config, than turn server on again. U dont use any set/seta in rotation.txt, but in server.cfg u should use seta.I am too long away of setting up servers actually, that i could help u more, u may get in touch with camel.
server restart bang all is fine
Check
fs_homepath
or set it to your dir with q3config.cfg, crontab, rotation etc.
Well, thanx for answering, but sorry, guys, this doesn't work - values of cvars are not changed. Furthermore, after each server's run sv_cheats cvar in ExcessivePlus\q3config.cfg is set to 1 (and sv_pure is set to ! Where the heck do this values come from?! And yes, guys, I've already set sv_pure 1 in command line (and sv_cheats 0, too), I just forgot to mention it, sorry. And I also made sure that none of my config files contain lines with "wrong" values for sv_cheats and sv_pure cvars.
I'll repeat, just in case , that this problem only occurrs if rotation.txt is used (E+ feature), but if I loop maps using vstr inside exec'ed server config file (without E+ features, just with means of q3), that works great, and I get all my cvars with "right" values set by me.
PS. I don't get it, how do I use seta in rotation.txt? Another syntax of assigning value to a cvar is used there: cvar_name: value. So, I placed there two lines (in the beginning of file, before the first map is specified):
sv_pure: 1
sv_cheats: 0
but this didn't work, as I already mentioned