PDA

View Full Version : Fixed AMXBANS for rcon usage


diamond-optic
11-24-2008, 01:11 PM
Well i remember figuring this out over a year ago but had forgot all about it (and it was ignored by amxbans.net themselves anyway) but due to some recent confusion over why DoD Block Exploits wasnt properly banning/kicking players when using amxbans i randomly seemed to recall this as the problem..

Basically due to the code of amxbans when you ban someone thru rcon (such as thru hlsw or via the server thru a plugin) the ban gets added but the client does not get kicked

So here's the fixed cmdBan.inl file to resolve this problem (its the default file with only this change btw)

so download this file and replace the one that comes with amxbans and recompile the plugin :)

if you have any problems or questions or want details as to what the actual problem was feel free to ask...

diamond-optic
11-26-2008, 08:17 PM
alright fixed the forum permissions on the file attachments for this section so you can actually download the file now lol...

sorry bout that :P

Dr.G
11-27-2008, 10:49 AM
Thanks alot for this one! Works perfect... ppl who runs amxbans on amxx 1.8 + might wanna check this out aswell http://amxbans.net/forums/viewtopic.php?t=1001