Raised This Month: $51 Target: $400
 12% 

svc_bad explained / need module


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pamaliska
Senior Member
Join Date: Apr 2006
Location: Edinburgh, UK
Old 05-28-2009 , 15:05   svc_bad explained / need module
Reply With Quote #1

Hi. I've found some usefull info on svc_bad errors in cs. the only problem is that we need some sort of metamod module that would allow us to filter out userinfo fields by a cvar (or set only those userinfo fields we want to be identified). The cvar could look like that: allowed_fields "rate/_pw/_customstring". We should be able to specify any possible info fields we want.

The info: http://ewg.su/hbads/hbads.htm
Pamaliska is offline
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 05-28-2009 , 17:10   Re: svc_bad explained / need module
Reply With Quote #2

Quote:
need some sort of metamod
Just use dproto (this is doubleprotocoling plugin for metamod, with your features - but you can disable doubleprotocoling in config file, and leave userinfo fields verifications).
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 07-04-2009 , 11:09   Re: svc_bad explained / need module
Reply With Quote #3

I'm interested of having this fixed with an amxx plugin. And I trust that info because sometimes in my server the same guys trigger SVC_BAD after entering the server and joining a team (it's fully confirmed) and I have to ban them.

If I'm not overlooking this, it would be very easy to solve. But, since I'm not an expert in configs, what would be the by default allowed?
__________________
joaquimandrade is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 07-04-2009 , 12:23   Re: svc_bad explained / need module
Reply With Quote #4

Here it goes, my first try on it

Edit: plugin updated. Just added info (name,steamID) of the user that is getting fixed. (And left "lang" as an allowed field as per Connor's indication)

Edit2: plugin updated to have a config file.

Edit3: switched get_user_name to get_user_info(id,"name" to give accurate results

Debug example:
Code:
L 07/04/2009 - 18:35:58: [svc.amxx] sto adriao<STEAM_X:X:X> Pair name "steam_auth" is invalid. Clearing
L 07/04/2009 - 18:35:58: [svc.amxx] sto adriao<STEAM_X:X:X> Pair name "autobind" is invalid. Clearing
L 07/04/2009 - 18:36:02: [svc.amxx] VilaN<STEAM_X:X:X> Pair name "lang" is invalid. Clearing
L 07/04/2009 - 18:36:02: [svc.amxx] AnZdOiiiiiiiiiiiiiiiiiiiiiiiiii<STEAM_X:X:X> Pair name "steam_auth" is invalid. Clearing
L 07/04/2009 - 18:36:02: [svc.amxx] AnZdOiiiiiiiiiiiiiiiiiiiiiiiiii<STEAM_X:X:X> Pair name "autobind" is invalid. Clearing
L 07/04/2009 - 18:36:02: [svc.amxx] /<.41<STEAM_X:X:X> Pair name "Svamp" is invalid. Clearing
L 07/04/2009 - 18:36:02: [svc.amxx] /<.41<STEAM_X:X:X> Pair name "lang" is invalid. Clearing
L 07/04/2009 - 18:36:02: [svc.amxx] /<.41<STEAM_X:X:X> Pair name "_connect_sound" is invalid. Clearing
L 07/04/2009 - 18:36:03: [svc.amxx] Erbucha<STEAM_X:X:X> Pair name "autobind" is invalid. Clearing
L 07/04/2009 - 18:36:04: [svc.amxx] LoBO<STEAM_X:X:X> Pair name "autobind" is invalid. Clearing
L 07/04/2009 - 18:36:04: [svc.amxx] EET FUCK!<STEAM_X:X:X> Pair name "lang" is invalid. Clearing
L 07/04/2009 - 18:36:05: [svc.amxx] handorinha<STEAM_X:X:X> Pair name "sredir" is invalid. Clearing
L 07/04/2009 - 18:36:07: [svc.amxx] Must@nG<STEAM_X:X:X> Pair name "_dm" is invalid. Clearing
L 07/04/2009 - 18:36:10: [svc.amxx] moE<STEAM_X:X:X> Pair value for "cl_updaterate" had an invalid length. Truncating
L 07/04/2009 - 18:36:10: [svc.amxx] moE<STEAM_X:X:X> Pair name "autobind" is invalid. Clearing
L 07/04/2009 - 18:36:10: [svc.amxx] moE<STEAM_X:X:X> Pair value for "rate" had an invalid length. Truncating
L 07/04/2009 - 18:37:12: [svc.amxx] /<.41<STEAM_X:X:X> Pair name "x" is invalid. Clearing
L 07/04/2009 - 18:37:12: [svc.amxx] /<.41<STEAM_X:X:X> Pair name "xd" is invalid. Clearing
L 07/04/2009 - 18:37:33: [svc.amxx] CFT | LusoPete<STEAM_X:X:X> Pair name "Svamp" is invalid. Clearing
L 07/04/2009 - 18:37:33: [svc.amxx] CFT | LusoPete<STEAM_X:X:X> Pair name "lang" is invalid. Clearing
L 07/04/2009 - 18:37:33: [svc.amxx] CFT | LusoPete<STEAM_X:X:X> Pair name "_connect_sound" is invalid. Clearing
L 07/04/2009 - 18:39:29: [svc.amxx] Player<STEAM_X:X:X> Pair name "ax" is invalid. Clearing
Attached Files
File Type: sma Get Plugin or Get Source (svc.sma - 1986 views - 3.1 KB)
File Type: cfg svc.cfg (159 Bytes, 855 views)
__________________

Last edited by joaquimandrade; 07-04-2009 at 16:52.
joaquimandrade is offline
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 07-04-2009 , 13:44   Re: svc_bad explained / need module
Reply With Quote #5

Additionally, newest version od HLShield has this feature.

@up - hmm, sounds well. But one mistake,
Code:
"*sid"
would be
Code:
"*fid"
Optionally, you should add
Code:
*bot
field, and configurable custom userinfos.
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 07-04-2009 , 13:48   Re: svc_bad explained / need module
Reply With Quote #6

Where you get that *fid?

About *bot is it for bots? Maybe I, instead, leave bots out of the verification.

About the customization, I can add a config file but I need to know first if this is enough to fix the svc issue.
__________________
joaquimandrade is offline
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 07-04-2009 , 14:21   Re: svc_bad explained / need module
Reply With Quote #7

If its possible those values should be in .ini file. There are info fields like these from hlmp

hlmp_repeat 0
hlmp_volume 1

and maybe some other ones from different plugins, and with .ini file everyone can configure what values are alowed on their server.
Jack86 is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 07-04-2009 , 14:42   Re: svc_bad explained / need module
Reply With Quote #8

Ok, updated the plugin. It reads from svc.cfg (and automatically creates it if it isn't found).

Apart from that, i'm curious to know what does the info ghosts and Svamp do.
__________________

Last edited by joaquimandrade; 07-04-2009 at 14:45.
joaquimandrade is offline
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 07-05-2009 , 07:24   Re: svc_bad explained / need module
Reply With Quote #9

Im using it, works ok, well see in time will svc error reduce.
Jack86 is offline
koleos
Senior Member
Join Date: Jul 2008
Old 07-05-2009 , 13:28   Re: svc_bad explained / need module
Reply With Quote #10

can a noob ask a question? If you dont mind to explain, What does this plugin do exactly?
koleos is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode