Raised This Month: $ Target: $400
 0% 

anti_speedhack2.0


Post New Thread Reply   
 
Thread Tools Display Modes
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-07-2007 , 15:21   Re: anti_speedhack2.0
Reply With Quote #21

Quote:
Originally Posted by kingfisher View Post
Now, all works except the name check, I even try with the name "SAKRUSITEL" but nothing.
Anyway,10x for the fix.
Of course, I'm checking only full names (and not SAKRUSITEL but SAKRUSYTEL)
The reason it that "Noob" is standart cheater's nick of Fighter FX, but the "Anti N00b" , for example, shouldn't be kicked (or something alike).
If you want to kick "Anti N00b" , "N00b is the best" and etc just change contain to containi as Alka said below and recompile.
draft is offline
kingfisher
Junior Member
Join Date: Dec 2006
Old 08-08-2007 , 04:53   Re: anti_speedhack2.0
Reply With Quote #22

Yes, it was my typo

Last edited by kingfisher; 08-08-2007 at 08:28.
kingfisher is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 08-11-2007 , 19:57   Re: anti_speedhack2.0
Reply With Quote #23

Code:
    if(contain(namekick,"BOTUSAY   SAKRUSYTEL"))     {     server_cmd("amx_kick BOTUSAY   SAKRUSYTEL")     }     if(contain(namekick,"NIKITA   SAKRUSYTEL"))     {     server_cmd("amx_kick NIKITA   SAKRUSYTEL")      }     if(contain(namekick,"SAKRUSITEL"))     {     server_cmd("amx_kick SAKRUSITEL")       }     if(contain(namekick,"Infinity Design"))     {     server_cmd("amx_kick Infinity Design")      }     return PLUGIN_CONTINUE

to:

Code:
    if(contain(namekick,"BOTUSAY   SAKRUSYTEL") != -1)     {         server_cmd("amx_kick BOTUSAY   SAKRUSYTEL")     }     else if(contain(namekick,"NIKITA   SAKRUSYTEL")  != -1)     {         server_cmd("amx_kick NIKITA   SAKRUSYTEL")      }     else if(contain(namekick,"SAKRUSITEL")  != -1)     {         server_cmd("amx_kick SAKRUSITEL")       }     else if(contain(namekick,"Infinity Design")  != -1)     {         server_cmd("amx_kick Infinity Design")      }

Note that I still do not support you in keeping those unrelated statements in there at all (they pretty much do nothing).
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.

Last edited by Lord_Destros; 08-11-2007 at 21:58.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-11-2007 , 20:14   Re: anti_speedhack2.0
Reply With Quote #24

Updated but without using "else if's" - there is no reason to use them.
draft is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 08-11-2007 , 22:00   Re: anti_speedhack2.0
Reply With Quote #25

Yes there is; even after they are kicked it will continue to compare their name with the ones listed below unless you use else if's (or return in all of the ifs which is pointless).
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-11-2007 , 22:29   Re: anti_speedhack2.0
Reply With Quote #26

Do you really think that kicking by names happens very often? It is good that you help with your suggestions but i suppose there is no high reason to change this part of code because kicking by names is very rare event.
draft is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-12-2007 , 03:31   Re: anti_speedhack2.0
Reply With Quote #27

This is a "new plugin" right ?! Take a look here http://forums.alliedmods.net/showthread.php?t=11201 . Lord_Destros is right.
Alka is offline
kingfisher
Junior Member
Join Date: Dec 2006
Old 08-12-2007 , 03:58   Re: anti_speedhack2.0
Reply With Quote #28

I must say that this "plug in" is not working wright!
If u try 1-2 man is ok, but when I put it on 15-20 people server everything is fucked up
After 3-4 rounds it bans almost everybody including me, which is impossible.
And I'm 100% sure that nobody is with speed hack because we are all in a cafe and can easy see.
kingfisher is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-12-2007 , 04:46   Re: anti_speedhack2.0
Reply With Quote #29

Alka: And what? I've made WORKING plugin from UNWORKING and added about 70% of new code in old DarkSnow's plugin. And if you want i can delete attachments and nobody will have anti speedhack, one of the first working anti-cheat plugins after anti-fastfire. What do you want from me exactly?

kingfisher I can't imagine how it can happen because i'm using this plugin on my own servers (19/19, 16/16) and everything works alright. I would be grateful if you make a demo file so I can see it with my own eyes. And note that lot of people already downloaded this plugin and they didn't face any problems.

Last edited by draft; 08-12-2007 at 15:39.
draft is offline
kingfisher
Junior Member
Join Date: Dec 2006
Old 08-13-2007 , 06:20   Re: anti_speedhack2.0
Reply With Quote #30

Ok, here it is: http://www.almus.net/shot/anty.cheat.2.rar

cat:
L 08/13/2007 - 12:16:56: [anti_speedhack2.amxx] [Anti Speed Hack 13/08-2007 - 12:16:56 - de_aztec] bombas<VALVE_ID_LAN> suspected of using speedhack (Ping: 12 ) - No admin online, banned from server
L 08/13/2007 - 12:24:24: [anti_speedhack2.amxx] [Anti Speed Hack 13/08-2007 - 12:24:24 - de_aztec] nRG.Simkata<^>ProTo<VALVE_ID_LAN> suspected of using speedhack (Ping: 30 ) - No admin online, banned from server
L 08/13/2007 - 12:24:25: [amxbans.amxx] ALMUS Classic 1.6 Ban edition<0><><> banned nRG.Simkata<^>ProTo<VALVE_ID_LAN> for 2 sedmici (20160 minutes). Reason: SpeedHack.
L 08/13/2007 - 12:26:40: [anti_speedhack2.amxx] [Anti Speed Hack 13/08-2007 - 12:26:40 - de_aztec] <demonss>BeRI<VALVE_ID_LAN> suspected of using speedhack (Ping: 1 ) - No admin online, banned from server
L 08/13/2007 - 12:26:41: [amxbans.amxx] ALMUS Classic 1.6 Ban edition<0><><> banned <demonss>BeRI<VALVE_ID_LAN> for 2 sedmici (20160 minutes). Reason: SpeedHack.
L 08/13/2007 - 12:29:46: [anti_speedhack2.amxx] [Anti Speed Hack 13/08-2007 - 12:29:46 - de_aztec] NooBish PLayin!<VALVE_ID_LAN> suspected of using speedhack (Ping: 14 ) - No admin online, banned from server
L 08/13/2007 - 12:29:47: [amxbans.amxx] ALMUS Classic 1.6 Ban edition<0><><> banned NooBish PLayin!<VALVE_ID_LAN> for 2 sedmici (20160 minutes). Reason: SpeedHack.
L 08/13/2007 - 1229: [anti_speedhack2.amxx] [Anti Speed Hack 13/08-2007 - 1229 - de_aztec] dNk.<EnEmY Sp0tteD><VALVE_ID_LAN> suspected of using speedhack (Ping: 18 ) - No admin online, banned from server
L 08/13/2007 - 122:40: [amxbans.amxx] ALMUS Classic 1.6 Ban edition<0><><> banned dNk.<EnEmY Sp0tteD><VALVE_ID_LAN> for 2 sedmici (20160 minutes). Reason: SpeedH
Тhis is for one round
If I can help u with something u are welcome!
kingfisher 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 23:09.


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