Raised This Month: $ Target: $400
 0% 

admincmd.amxx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
l33tcho
Junior Member
Join Date: Oct 2005
Old 12-02-2007 , 15:18   admincmd.amxx
Reply With Quote #1

Hi, i'm a new AMXX user. I was using AMX 0.9.9. till now.
I am impressed with what AMXX has to offer but VERY pissed for one thing. I must admin that its possible to be my mistake but still i'll ask.
The admincmd.amxx as i see differs from the admincmd.amx.
The command i'm interested in is
amx_ban
So in AMX the command was as normal as it can :
amx_ban #ID
and there you go, you have banned the user permanently to his IP.
But what do i experience with AMXX?
typing amx_ban #ID gives me a hint to use amx_ban #ID [minutes] [reason] , ok no prob, but when i do that the user gets "BANNED" .. but no really , he just gets kicked with message for BAN and he joins the server immediately.
I have fixed my GeoIP so now i can resolve IPS.. so no reason to fail banning.
Through HLSW i can see the bans, but i dont see where they are listed, can you point me to that place?
I dont see why the server fails to ban with IP.
How to make amx_ban work only with "amx_ban #ID" (not to use min and reason) and still get auto-IPBAN from AMX...
Any ideas?

Last edited by l33tcho; 12-02-2007 at 15:27.
l33tcho is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-02-2007 , 20:53   Re: admincmd.amxx
Reply With Quote #2

amx_ban
amx_addban
amx_banip
__________________
M249-M4A1 is offline
l33tcho
Junior Member
Join Date: Oct 2005
Old 12-03-2007 , 09:35   Re: admincmd.amxx
Reply With Quote #3

I know the commands but they dont work as good as they should...
I Mean.. i type amx_ban #ID and has no effect
Then type .. amx_ban #ID min and reason and the user is only kicked.. but no added to ban list
l33tcho is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-03-2007 , 10:56   Re: admincmd.amxx
Reply With Quote #4

You need to add the minutes to ban, like amx_banip M2 "0"

This bans M2's IP address for 0 minutes (permanent)
__________________
M249-M4A1 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-03-2007 , 14:23   Re: admincmd.amxx
Reply With Quote #5

Quote:
Originally Posted by l33tcho View Post
Then type .. amx_ban #ID min and reason and the user is only kicked.. but no added to ban list
A ban is only written to the banned file when it is permanent. All temp bans are stored in memory and are erased when the time expires or the server is restarted.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
l33tcho
Junior Member
Join Date: Oct 2005
Old 12-03-2007 , 15:01   Re: admincmd.amxx
Reply With Quote #6

Thanks ppl You really helped me!
l33tcho is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 12-04-2007 , 22:40   Re: admincmd.amxx
Reply With Quote #7

You could always modify the admincmd.sma to default to a permanent ban. Thus making the minutes parameter optional.

Code:
 
read_argv(1, target, 31)
read_argv(2, minutes, 7)
read_argv(3, reason, 63)
 
// added default of 0 minutes (Perm ban)
if (!minutes[0])
   copy(minutes, 3, "0")
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
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:08.


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