Page 1 of 2

turning grass off in slaves

Posted: Thu Jun 16, 2005 11:05 pm
by Sword
i have a master and a slave
when my slave connects up to the master (master running radar)
clients on the slave and see the grass on radar

i was wondering how you could turn off grass on the server side of slave
so clients dont see the grass when they are viewing

cuz ive noticed that euro ETTV servers have grass off for viewers but ive never figured that out

Posted: Thu Jun 16, 2005 11:19 pm
by Deus
maybe they play without grass oO?

Posted: Fri Jun 17, 2005 3:27 am
by jump3r
hmm, did you try
forcecvar r_drawfoliage 0
on the slave server?

Posted: Fri Jun 17, 2005 6:22 am
by Locked_On
Or sv_cvar better.

Posted: Fri Jun 17, 2005 7:44 am
by gotenks
Locked_On wrote:Or sv_cvar better.
iirc, forcecvar is what is needed here as sv_cvar is for enforcement, forcecvar also changes server side (which is what is required) and it is protected which sv_cvars don't have the authority to change

Posted: Fri Jun 17, 2005 10:04 am
by Sword
well for the slave i have a mapdefault.cfg
with the forcecvar r_drawfoliage 0 but if i connect to the slave thats connected to the master
grass is still on even tho r_drawfoliage is 0

so i have no idea why it doesnt enforce it on the slave

Posted: Fri Jun 24, 2005 11:54 am
by Lekdevil.NL
As far as I can tell, the slave servers act as mere pass-throughs of the settings that are in effect on the master. Hence, the local config of the slave has no effect on cvar enforcement.

Posted: Fri Jun 24, 2005 12:40 pm
by ReyalP
Lekdevil.NL wrote:As far as I can tell, the slave servers act as mere pass-throughs of the settings that are in effect on the master. Hence, the local config of the slave has no effect on cvar enforcement.
but apperently forcecvar isn't passed on, since even when the actual game is being played on a config that forces foliage off, the tv specs still see it.

Posted: Fri Jun 24, 2005 1:41 pm
by Lekdevil.NL
Ahhh. Yes, you're right; I just checked. On the other hand, sv_cheats appears to default to 1 on an ETTV broadcast slave, so a viewer could just enter \r_drawfoliage 0 to remove the grass (just checked this as well and it worked). That is, if the admin didn't explicitly set sv_cheats to 0 on the ETTV server command line.

Posted: Fri Jun 24, 2005 7:23 pm
by bani
sv_cheats shouldnt default to 1 on a slave 8)

forcecvar isnt propagated down, but sv_cvar is (which is silly, and is on the list to be fixed).

Posted: Sat Jun 25, 2005 3:19 am
by Lekdevil.NL
bani wrote:sv_cheats shouldnt default to 1 on a slave 8)
I hate to contradict happy bani, but...

Code: Select all

./ettv.x86 +set net_ip x.x.x.x +set net_port 27960 +set com_watchdog 0 +set fs_homepath ~/et27960 +set fs_game etpro +tv connect sea.gamecloud.com:27970 **** ****

... bla bla bla ...

status
map: sw_goldrush_te
num score ping name            lastmsg address               qport rate
--- ----- ---- --------------- ------- --------------------- ----- -----

tv status
ettv: Connected to master server sea.gamecloud.com:27970 (66.93.87.6:27970)
sv_cheats
"sv_cheats" is:"1^7" default:"1^7"
Well, maybe it shouldn't, but it does... :shock:

Posted: Sun Jun 26, 2005 6:11 am
by deej
listofstufftofix++; ;)

Posted: Sun Jun 26, 2005 6:26 am
by gotenks
i actually think having cheats enabled on a slave is a good thing, it would allwo you to do things (such as show normals) and other things to see how well he plays (and gather other information)

Posted: Sun Jun 26, 2005 7:42 pm
by Rain
Lekdevil.NL wrote:I hate to contradict happy bani, but...
He secretly likes it.

Posted: Thu Aug 11, 2005 2:08 pm
by Sword
hmm on my slave sv_cheats defaults to 0