Because of a bug that (I'm assuming) only Valve can fix, Orangebox game server responses to A2S_RULES queries are truncated if there are too many ConVars with the Notify flag set.
This bug affects TF2, DOD:S, Garry's Mod and maybe others.
Side effects include the rules list in HLSW missing rules (ones from the game, like mp_maxrounds, mp_timelimit, sv_gravity, etc. get cut off before ones from plugins), and plugin trackers such as Sourcemod.net's own
stats page showing lower-than-actual counts. This plugin works around the A2S_RULES issue by removing the notify flag from cvars the don't fit one of the two usual reasons for having it:
1) To alert players ingame when something that will noticeably affect gameplay changes (mp_friendlyfire, sv_gravity, mp_winlimit, etc.)
2) To respond to rules queries by various tracking utilities (this is why most "_version" cvars on plugins have this flag)
You can edit the notifystrip.txt file to add/remove cvars from the list of ones to remove the notify flag from. The ones already in the list consist of the following:
- Useless cvars leftover from HL2 that serve no purpose on these games (ex. r_AirboatViewDampenFreq)
- Non-version or redundant cvars belonging to plugins that "abuse" the notify flag
To install, put the smx file in sourcemod/plugins and put the notifystrip.txt in sourcemod/configs.