Re: [hlds_linux] hide rules from server queries

2010-10-13 Thread Claudio Beretta
you can remove the NOTIFY flag from the convar, by recompiling the plugin or
by doing something like this

new Handle:cv = FindConVar(sm_hidden); new flags = GetConVarFlags(cv);
flags = ~FCVAR_NOTIFY; SetConVarFlags(cv, flags);

BTW, which are the server rules you think should be hidden? and why?
for instance if you want to hide sv_steamgroup and sv_tags just to protect
your steam group id, you are out of luck since this is replicated in the
additional info field of the A2S_INFO reply


On Wed, Oct 13, 2010 at 2:00 AM, DreamsCN dream...@gmail.com wrote:

 Hi,
 There are information about how to query a server and get info,player
 and rules on this page
 http://developer.valvesoftware.com/wiki/Server_queries. My concern is
 some rules(Server Variables/cvars) shouldn't be public(non-players).
 HLSW and game-monitor.com can show most of the rules. Is there a way
 to blcok queries for some rules like sv_steamgroup and some cvars
 created by sourcemod plugins.
 Thanks.

 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] hide rules from server queries

2010-10-13 Thread realdreams
Thanks. Why some servers don't reply nextlevel(official l4d2 servers
do reply an empty filed nextlevel)? I also notice os field is always
linux, if it's a windows server, then there's no os field. Is it
possible to actually hide sv_steamgroup even it's in A2S_INFO?

On Wed, Oct 13, 2010 at 2:48 AM, Claudio Beretta
beretta.clau...@gmail.com wrote:
 you can remove the NOTIFY flag from the convar, by recompiling the plugin or
 by doing something like this

 new Handle:cv = FindConVar(sm_hidden); new flags = GetConVarFlags(cv);
 flags = ~FCVAR_NOTIFY; SetConVarFlags(cv, flags);

 BTW, which are the server rules you think should be hidden? and why?
 for instance if you want to hide sv_steamgroup and sv_tags just to protect
 your steam group id, you are out of luck since this is replicated in the
 additional info field of the A2S_INFO reply


 On Wed, Oct 13, 2010 at 2:00 AM, DreamsCN dream...@gmail.com wrote:

 Hi,
 There are information about how to query a server and get info,player
 and rules on this page
 http://developer.valvesoftware.com/wiki/Server_queries. My concern is
 some rules(Server Variables/cvars) shouldn't be public(non-players).
 HLSW and game-monitor.com can show most of the rules. Is there a way
 to blcok queries for some rules like sv_steamgroup and some cvars
 created by sourcemod plugins.
 Thanks.

 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux

 ___
 To unsubscribe, edit your list preferences, or view the list archives, please 
 visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] hide rules from server queries

2010-10-13 Thread Claudio Beretta
Yes, you can always set sv_steamgroup to ...

The master servers and/or the players must read it in order to let players
find their steam group servers.
Valve should have used a public and private keys pair to identify steam
groups, but probably they didn't think this was going to be abused or they
were just lazy ;)



On Wed, Oct 13, 2010 at 4:15 PM, realdreams dream...@gmail.com wrote:

 Is it
 possible to actually hide sv_steamgroup even it's in A2S_INFO?

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


[hlds_linux] hide rules from server queries

2010-10-12 Thread DreamsCN
Hi,
There are information about how to query a server and get info,player
and rules on this page
http://developer.valvesoftware.com/wiki/Server_queries. My concern is
some rules(Server Variables/cvars) shouldn't be public(non-players).
HLSW and game-monitor.com can show most of the rules. Is there a way
to blcok queries for some rules like sv_steamgroup and some cvars
created by sourcemod plugins.
Thanks.

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] hide rules from server queries

2010-10-12 Thread Nicholas Hastings

 Yes.

On 10/12/2010 8:00 PM, DreamsCN wrote:

Hi,
There are information about how to query a server and get info,player
and rules on this page
http://developer.valvesoftware.com/wiki/Server_queries. My concern is
some rules(Server Variables/cvars) shouldn't be public(non-players).
HLSW and game-monitor.com can show most of the rules. Is there a way
to blcok queries for some rules like sv_steamgroup and some cvars
created by sourcemod plugins.
Thanks.

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] hide rules from server queries

2010-10-12 Thread realdreams
But how? I think windows/linux servers handle queries differently.

On Tue, Oct 12, 2010 at 8:03 PM, Nicholas Hastings nshasti...@gmail.com wrote:
  Yes.

 On 10/12/2010 8:00 PM, DreamsCN wrote:

 Hi,
 There are information about how to query a server and get info,player
 and rules on this page
 http://developer.valvesoftware.com/wiki/Server_queries. My concern is
 some rules(Server Variables/cvars) shouldn't be public(non-players).
 HLSW and game-monitor.com can show most of the rules. Is there a way
 to blcok queries for some rules like sv_steamgroup and some cvars
 created by sourcemod plugins.
 Thanks.

 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux


 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux