Re: [hlds_linux] Replicated ConVar fix for linux servers (AKAmp_tournament fix)

2008-03-16 Thread Nephyrin Zey
Replicated = copied to clients on connect/change. Notify = clients notified of its change Not sure which the exposed-in-rules-queries applies to, anyone know? - Neph bl4nkeh wrote: > Well in that case, you can just change any instance of FCVAR_NOTIFY to > FCVAR_REPLICATED and it should do what y

Re: [hlds_linux] Replicated ConVar fix for linux servers (AKAmp_tournament fix)

2008-03-16 Thread bl4nkeh
Well in that case, you can just change any instance of FCVAR_NOTIFY to FCVAR_REPLICATED and it should do what you want. Ryan Mannion wrote: > >From a cursory look at the source, it seems that your plugin simply > disables the FCVAR_NOTIFY attribute rather than directly targeting the > chat area n

Re: [hlds_linux] Replicated ConVar fix for linux servers (AKAmp_tournament fix)

2008-03-16 Thread Ryan Mannion
>From a cursory look at the source, it seems that your plugin simply disables the FCVAR_NOTIFY attribute rather than directly targeting the chat area notification aspect of it. FCVAR_NOTIFY to my knowledge exposes the cvar during server queries (e.g. via qstat) *and* causes changes to be reported i

Re: [hlds_linux] Replicated ConVar fix for linux servers (AKAmp_tournament fix)

2008-03-16 Thread bl4nkeh
I feel some people might want this (for when Valve fixes the bug for linux, or for a windows server, or for another mod), so I went ahead and wrote a quick SourceMod plugin. For those that use SM and would like this for the server, you can get it here: http://www.bl4nk.com/other/notifydisabler.

Re: [hlds_linux] Replicated ConVar fix for linux servers (AKA mp_tournament fix)

2008-03-16 Thread Nephyrin Zey
Just to clarify - Only cvars tagged by the engine/addon-that-provides-them as FCVAR_NOTIFY print notices when they change. Only addons tagged FCVAR_REPLICATED are sent to the client's engine when they change (required for things like mp_tournament to work). To see a cvar's tags, type it in cons

Re: [hlds_linux] Replicated ConVar fix for linux servers (AKAmp_tournament fix)

2008-03-16 Thread Nephyrin Zey
When valve fixes this, writing a plugin that disables notification (not replication) should be easy, so I can put out a n_disablenotify cvar plugin if there is a demand for it. - Neph Marcelo Oliveira wrote: > Thanks Neph, I'll try it later. > > I didn't knew about the FCVAR_REPLICATED or FCVAR

Re: [hlds_linux] Replicated ConVar fix for linux servers (AKAmp_tournament fix)

2008-03-16 Thread Marcelo Oliveira
Thanks Neph, I'll try it later. I didn't knew about the FCVAR_REPLICATED or FCVAR_NOTIFY flags, I thought that the mp_tournament UI used the notifications to update itself. It will be great to have a cvar to disable/enable notify (but keeping replicated). -Original Message- From: [EMAIL P

Re: [hlds_linux] Replicated ConVar fix for linux servers (AKAmp_tournament fix)

2008-03-16 Thread Marcelo Oliveira
I also need something like that, in my server we have some .cfg's to switch between public and match mode that changes a lot of cvars, flooding the client screen with each changed variable will be useless, so if I can do a sv_enablecvarnotify 0; commands...; sv_enablecvarnotify 1 will be great! Of

Re: [hlds_linux] Replicated ConVar fix for linux servers (AKA mp_tournament fix)

2008-03-16 Thread Ryan Mannion
Valve, if you do fix this "problem," I *beg* you to consider adding a cvar to disable reporting changes in the in-game chat area, but continue broadcasting the cvar in server queries (the current behavior in Linux servers). I use this "bug" to allow me to keep track of teams and classes via server