Bug 3470 - Ban functions not working properly. [admincmd.amxx]
Ban functions not working properly. [admincmd.amxx]
Status: RESOLVED INVALID
Product: AMX Mod X
Classification: Unclassified
Component: Base Plugins
trunk
PC Linux
: P3 critical
Assigned To: amxmodx-bugs@alliedmods.net
http://www.krillinsworld.com
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-30 14:00 PST by Krillin
Modified: 2013-06-16 01:02 PDT (History)
3 users (show)

See Also:


Attachments

Description Krillin 2008-11-30 14:00:05 PST
AMX Mod X 1.8.1.3746 (http://www.amxmodx.org)
Authors:
        David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
        Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
        Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
        Borja "faluco" Ferrer, Scott "Damaged Soul" Ehlert
Compiled: Aug 16 2008, 19:59:00
Core mode: JIT+ASM32

I noticed a bit of a bug. Anything scripted to ban in AMXMOD-X doesn't ban properly. A player is banned in the server or from an admin client from the 'amxmodmenu'.

Here is a sample of what just happened:

This command was entered at the console and when enter was presses you will see what is happening but really what is not happening.

amx_ban #510 1440 "TOO MANY RULE VIOLATIONS"

L 11/30/2008 - 13:58:14: [admincmd.amxx] Ban: " SuperHero @ K|W Simply the Bes<0><><>" ban and kick "b0bby<510><STEAM_0:0:416609><>" (minutes "1440") (reason "TOO MANY RULE VIOLATIONS")
[AMXX] Client "b0bby" banned
L 11/30/2008 - 13:58:14: Kick: "b0bby<510><STEAM_0:0:416609><>" was kicked by "Console" (message ""TOO MANY RULE VIOLATIONS (banned for 1440 min)"")
L 11/30/2008 - 13:58:14: Server cvar "public_slots_free" = "3"
<stats snipped>
L 11/30/2008 - 13:58:14: Ban: "<><STEAM_ID_PENDING><>" was banned "for 1440.00 minutes" by "Console"
Writing banned.cfg

If you note here "L 11/30/2008 - 13:58:14: [admincmd.amxx] Ban: " SuperHero @ K|W Simply the Bes<0><><>" ban and kick "b0bby<510><STEAM_0:0:416609><>" (minutes "1440") (reason "TOO MANY RULE VIOLATIONS")" the SteamID is set to be banned, but if you look at the line "L 11/30/2008 - 13:58:14: Ban: "<><STEAM_ID_PENDING><>" was banned "for 1440.00 minutes" by "Console"" it is not banning the STEAMID and putting in a 'default' <STEAM_ID_PENDING>.

I can go into the code and fix this for us, but I think this may be more of a global problem than a local.

Is there a correction for this already or am I going to have to bash my head fixing this?

Thanks, in advance.
Krillin

Note You need to log in before you can comment on or make changes to this bug.