Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

DoD Antihax

by h0_noMan · 2010-05-10 · 26 replies · 24267 views · 350 downloads

Read the thread (27 posts)

From the first post


n
nDoD Antihax v1.11 by h0_noMan (Last Update : 14 May 2010)
n
nFeatures :
n- Check Player's Config for Bad CVARs
n- Prevent Players to use modified models or WAD
n- AutoUpdate Data Files (CVARs, General Models and Map Dependencies)
n- Warn admins when a new version of the plugin is available
n- Multilingual (French + English)
n
nChangelog :
n
nVersion 1.01 :
n- Fixed an issue with query_client_cvar() returning a value of "Bad cvar request"
n
nVersion 1.02 :
n- Plugin will now ban player after 3 warnings (Kick was only in Beta)
n- Plugin will now display the correct default value for a CVAR when a detection is displayed
n- Plugin will now load CVARs even if the "antihax_cvars" is 0 (but not detect, it will detect only if the cvar is 1)
n
nVersion 1.03 :
n- Use of PCVARs
n
nVersion 1.10 :
n- Improving sending parameters with set_task()
n- Fixing a "index out of bound" with the number of players
n- Delay for displaying Informations to admins increased by 5 seconds
n
nVersion 1.11 :
n- Improving the construction of the log filename
n- Fixed a "index out of bounds" with the number of CVARs
n
nCVARs :
nantihax_banlength (Default: 1440)
n- When a player is detected with Bad CVARs 3 times he will be banned for this time (in seconds)
n
nantihax_cvars | 0 = off | 1 = on (Default: 1)
n- Disable or Enable the scanning Player's Config function
n
nRequired Modules :
n-
n
nInstallation :
n- Compile the .sma file | An online compiler can be found here:
n http:www.amxmodx.org/webcompiler.cgi
n- Copy the compiled .amxx file into your addonsamxmodxplugins folder
n- Add the name of the compiled .amxx to the bottom of your addonsamxmodxconfigsplugins.ini
n- Copy the .txt file to your addonsamxmodxdatalang folder
n- Copy all .dat file to your addonsamxmodxconfigsdod_antihax folder
n- Change the map or restart your server to start using the plugin!
n
nProblems :
nIf you have some problems with files that differs from the server, you can download a Restore Pack that will restore the original files :
n- Restore Pack for Players (42 Mb)
n- Restore Pack for Servers (116 Mb)
n
nWebsite : http://dod.antihax.free.fr
n
nEnjoy !

Files

dod_antihax.zip Archive 11 KB 88 dl Download
dod_antihax.txt Config / Docs 848 B 91 dl Download
dod_antihaxx.sma Plugin Source 31 KB 97 dl Download Compile

Added later in the thread

dod_antihax.txt Config / Docs 1 KB 54 dl Download
dod_antihax.rar Archive 37 KB 11 dl Download
zhlt-linux-master.zip Archive 755 KB 9 dl Download

The thread

All 27 posts from 13 people on DoD Antihax, kept as they were written.

H h0_noMan
started this thread
Posts: 80
Threads: 11
Joined: Dec 2007
05-09-2010, 09:39 PM #1

nnDoD Antihax v1.11 by h0_noMan (Last Update : 14 May 2010)nnFeatures :n- Check Player's Config for Bad CVARsn- Prevent Players to use modified models or WADn- AutoUpdate Data Files (CVARs, General Models and Map Dependencies)n- Warn admins when a new version of the plugin is availablen- Multilingual (French + English)nnChangelog :nnVersion 1.01 :n- Fixed an issue with query_client_cvar() returning a value of "Bad cvar request"nnVersion 1.02 :n- Plugin will now ban player after 3 warnings (Kick was only in Beta)n- Plugin will now display the correct default value for a CVAR when a detection is displayedn- Plugin will now load CVARs even if the "antihax_cvars" is 0 (but not detect, it will detect only if the cvar is 1)nnVersion 1.03 :n- Use of PCVARsnnVersion 1.10 :n- Improving sending parameters with set_task()n- Fixing a "index out of bound" with the number of playersn- Delay for displaying Informations to admins increased by 5 secondsnnVersion 1.11 :n- Improving the construction of the log filenamen- Fixed a "index out of bounds" with the number of CVARsnnCVARs :nantihax_banlength (Default: 1440)n- When a player is detected with Bad CVARs 3 times he will be banned for this time (in seconds)nnantihax_cvars | 0 = off | 1 = on (Default: 1)n- Disable or Enable the scanning Player's Config functionnnRequired Modules :n- <sockets>nnInstallation :n- Compile the .sma file | An online compiler can be found here:n http:www.amxmodx.org/webcompiler.cgin- Copy the compiled .amxx file into your addonsamxmodxplugins foldern- Add the name of the compiled .amxx to the bottom of your addonsamxmodxconfigsplugins.inin- Copy the .txt file to your addonsamxmodxdatalang foldern- Copy all .dat file to your addonsamxmodxconfigsdod_antihax foldern- Change the map or restart your server to start using the plugin!nnProblems :nIf you have some problems with files that differs from the server, you can download a Restore Pack that will restore the original files :n- Restore Pack for Players (42 Mb)n- Restore Pack for Servers (116 Mb)nnWebsite : http://dod.antihax.free.frnnEnjoy !

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
05-10-2010, 06:19 PM #2

I think you should post this at alliedmodders to get some good feedback. I dont have time nor the knowledge to check that socket stuff.rnrnrnThis:rnrn

new param[2]rn			param[0] = idrn			set_task(20.0 , "display_errorMessage", 0, param,1) 
rnrncan and should be :rnrn
set_task(20.0 , "display_errorMessage", id)
rnrnrnDo not use set_task in a loop, the loop will happen so fast that the delay only will happen for the first player, here Iam think of the manage_ticket() function.. Overall that function looks weird...rnrnSeveral times you run thru loops 32 (MAX_PLAYERS) times without knowing if they are on the server, watch out for Index is out of bounds errors. rnDid you test this on a server with bots? It doesnt look like that, ignore then by using is_user_bot(id).rnrnrnagain -> I think you should post this at alliedmodders to get some good feedback..rnrnrn- Cheers!

H h0_noMan
started this thread
Posts: 80
Threads: 11
Joined: Dec 2007
05-10-2010, 08:38 PM #3
I think you should post this at alliedmodders to get some good feedback. I dont have time nor the knowledge to check that socket stuff.
nnI will do it.nn
n
set_task(20.0 , "display_errorMessage", id)
n
nnThe 3rd parameter of the function is the ID of the task, i dont want to use it to send parameters.nn
Do not use set_task in a loop, the loop will happen so fast that the delay only will happen for the first player
nnThe main loop task have a 5 seconds minimum delay.nI cant launch more than 1 extra loop from that main loop. I call a return after launching my task (line 360) so that i dont make a task for each player during one loop of the main task. I check one player during each loop of the main task.nn
here Iam think of the manage_ticket() function.. Overall that function looks weird...
nnThis function is a loop task, during each loop it will scan one player.nIt takes me a lot of times to find a method that wont check more than 2 players at the same time.nSo i launch a loop task, that will control one player during each loop.nn
Several times you run thru loops 32 (MAX_PLAYERS) times without knowing if they are on the server, watch out for Index is out of bounds errors.
nnI think you did not understant how manage_ticket() works, this function is pretty tricky.nn
Did you test this on a server with bots? It doesnt look like that, ignore then by using is_user_bot(id).
nnBots are not scanned, the plugin do not give them a scanning ticket.

H h0_noMan
started this thread
Posts: 80
Threads: 11
Joined: Dec 2007
05-13-2010, 02:23 PM #4

New version.nnVersion 1.10 :n- Improving sending parameters with set_task()n- Fixing a "index out of bound" with the number of playersn- Delay for displaying Informations to admins increased by 5 seconds

A Alien
posted here
Posts: 3
Threads: 0
Joined: Oct 2007
05-20-2010, 05:29 AM #5

Nice work h0_noManrnrnThanks,rnrnAlien

B bozdw
posted here
Posts: 23
Threads: 4
Joined: Jul 2009
06-18-2010, 03:20 PM #6

will it work on the maps that are not in the dat folder like dod_purple or dod_orange?nthanks boz

H h0_noMan
started this thread
Posts: 80
Threads: 11
Joined: Dec 2007
06-19-2010, 11:18 PM #7

For the maps that are not present in the dat folder, the plugin will check the client's CVAR but wont check the models.

B bozdw
posted here
Posts: 23
Threads: 4
Joined: Jul 2009
06-20-2010, 09:41 AM #8

hi i will give it a try nfor the Copy all .dat file to your addonsamxmodxconfigsdod_antihax foldernndoes that mean just put the full folder in addonsamxmodxconfigs or ndo i need to put all the files in individual nthanks boz

B bozdw
posted here
Posts: 23
Threads: 4
Joined: Jul 2009
06-21-2010, 07:29 AM #9

wownone night of the plugin used this is just some of themnnBad File models/player/us-inf/us-inf.mdlnBad CVAR rate=3500 (25000)nBad CVAR rate=9999 (25000) n Bad CVAR rate=9999 (25000)nBad File sprites/scope_spring.sprnBad CVAR rate=10000 (25000)nmodels/player/us-para/us-para.mdlnmodels/p_fg42sr.mdln"Player" Bad CVAR rate=2000 (25000) thats unbelievable to put it so low to have a lagging effect and so hard to hit

B bozdw
posted here
Posts: 23
Threads: 4
Joined: Jul 2009
06-21-2010, 03:09 PM #10

ok getting a little worried nwhere is the ban list?nnmodels/player/us-para/us-para.mdlnmodels/p_fg42sr.mdl are these worthy of a ban because im not sure that these models could be different from server to server ?

H h0_noMan
started this thread
Posts: 80
Threads: 11
Joined: Dec 2007
06-22-2010, 10:57 PM #11

There are 3 kind of configuration files :n- data_cvars.dat (Contain all CVARs that are scanned)n- data_models.dat (Contain all Player/Weapons models that must be the same on the server and on the client)n- <mapname>.dat (Contain MDL/WAD that are related to the map and must be the same on the server and on the client)nnIf a dat file is modified, deleted or corrupted the plugin will delete it and download a fresh copy.

L loon_on_a_stick
posted here
Posts: 23
Threads: 2
Joined: Nov 2011
02-23-2012, 01:16 PM #12

It has been eight months since the last post, has development of this stopped?

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
03-03-2012, 12:53 AM #13

2 years, 10 months. guessing so

Grillo
posted here
Posts: 6
Threads: 0
Joined: May 2007
03-16-2012, 09:53 AM #14

Add [bp] Brasil_Portugues :)

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
12-07-2012, 04:39 AM #15
It has been eight months since the last post, has development of this stopped?
rnrnDeader than dead...

{RSR}Crazyhorse_cdn
posted here
Posts: 219
Threads: 47
Joined: Sep 2006
11-08-2013, 08:53 AM #16

ok so all is good but here is a error message that I just got after I loaded everything on server : rn[AMXX] Plugin file open error (plugin "dod_antihax.amxx")rnrnnow what went wrong besides me adding it to my server lol

S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
11-09-2013, 07:49 AM #17
{RSR}Crazyhorse_cdn
posted here
Posts: 219
Threads: 47
Joined: Sep 2006
11-09-2013, 09:17 AM #18

that's the one I put on my server Sparky and got the error message do I put it at the top of my plug ins list or leave it at the bottom ?? I was wondering if I put something in the wrong spot but did everything it said and placed everything where it was suppose to go

S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
11-11-2013, 06:26 PM #19

Did you copy and compile the sma from your scripting folder or did you just copy over the .amxx file?nnAlso you spelt it wrong its got two xx in it. dod_antihaxx.amxx

{RSR}Crazyhorse_cdn
posted here
Posts: 219
Threads: 47
Joined: Sep 2006
11-11-2013, 09:04 PM #20

I copied the amxx file sorry my bad

{RSR}Crazyhorse_cdn
posted here
Posts: 219
Threads: 47
Joined: Sep 2006
11-11-2013, 09:11 PM #21

Here is the new error message I get after I fixed the spelling on it : rnrn19:06:15 L 11/11/2013 - 18:06:16: [dod_antihaxx.amxx] Antihax File addons/amxmodx/configs/dod_antihax/dod_horror.dat is missing - Starting Downloadrn19:06:15 L 11/11/2013 - 18:06:16: [dod_antihaxx.amxx] File is missing on DoD Antihax Serverrn19:06:15 L 11/11/2013 - 18:06:16: [dod_antihaxx.amxx] DoD Antihax File dod_horror.dat is missingrn19:06:15 L 11/11/2013 - 18:06:17: [META] ERROR: Couldn't find game entity 'item_healthkit' in game DLL 'dod': The specified procedure could not be found.<0D>rn19:06:15 rn19:06:15 L 11/11/2013 - 18:06:17: [META] ERROR: Couldn't find game entity 'armoury_entity' in game DLL 'dod': The specified procedure could not be found.<0D>rn19:06:15 rn19:06:15 L 11/11/2013 - 18:06:17: [META] ERROR: Couldn't find game entity 'func_hostage_rescue' in game DLL 'dod': The specified procedure could not be found.<0D>rn19:06:15 rnrnrnnow do I have to make a dat file for all my maps ??

S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
11-13-2013, 05:58 PM #22

Bad conversion from CS or HL map I think.nnIn super half life tools there is a map editing program where you can delete these entities and resave to the map. Google SHLT Half life tools there are links in other threads on this site. You might want to move and rotate the spawn points too as this map has some bad ones.nnFor the other non META errors you going to have to create a dod_horror.dat in the config directory to remove the error, follow the other examples in there for the format, use resgen to find the things you might want to put in your config file if you want to do it properly.nn"now do I have to make a dat file for all my maps ?? " just the ones your using,,, after all what would be the point of having this plugin otherwise?nnpost your packaged .dat files here if you likennI have over 4000 maps on my archive server so if you want to do mine.........

S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
11-14-2013, 05:42 PM #23

Ripent was the program I was thinking of, maybe.nnhttp://www.joe.to/cstrike/ents/nhttp://carlfoust.tripod.com/ripent/ripent.htmlnnI'm sure tho this function is available in a map viewer program somewhere tho.nnUsed to have a plugin that loaded the ents separatly from a ripent generated list then selected randomly from 5 edited entlist files. Meaning spawn points, teams , sky, gravity, flags, smoke rain etc could be different when the map loaded even tho the same .bsp map was used with no download to clients. Used to add rain and dark sky map and change light level and ambient colour to blue to ava to make it night like dod_knight. What ever happens to these things..........nnAnd for those lousy useless Admin who dont think people cheat much and cheating clan servers check out the screenies in the Banlist, now you know why there are just people that are "too good" who say i've been playing forever, liars. VAC is not good enough. This program will detect them and ban them, they wont play at your server.nn http://www.sxe-injected.com/banlist-45

dimon1052
posted here
Posts: 65
Threads: 15
Joined: Sep 2012
11-23-2013, 11:51 PM #24

Very useful, thank you...

{RSR}Crazyhorse_cdn
posted here
Posts: 219
Threads: 47
Joined: Sep 2006
10-10-2014, 04:25 PM #25

where can I find the ini file for this plug in ??

F Fysiks
posted here
Posts: 108
Threads: 3
Joined: Aug 2007
10-11-2014, 03:10 PM #26
where can I find the ini file for this plug in ??
rnrnThis plugin does not use an ini file. There are however a couple .dat files (data_models.dat and data_cvars.dat).rnrnI personally would not recommend using this but it's ultimately up to you.

J Jackal
posted here
Posts: 2
Threads: 1
Joined: Aug 2015
02-14-2016, 07:21 AM #27

I just put this plugin on my server today, I am using amx mod 1.83 and the plugin works great. Thanks for this plugin. :D

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC