Raised This Month: $ Target: $400
 0% 

Advanced Bans (Real Time) by Exolent


Post New Thread Reply   
 
Thread Tools Display Modes
Mlk27
Veteran Member
Join Date: May 2008
Old 03-24-2009 , 09:02   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #281

This plugin add an extra param. in the addban command

amx_addban "name" "steamid or ip" "minutes" "reasons"

I think I got the syntax correct but I dont why it keep giving errror about invalid steamid or something..
Mlk27 is offline
Bojangles
Senior Member
Join Date: Sep 2007
Location: Over there
Old 03-24-2009 , 21:02   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #282

Quote:
Originally Posted by Mlk27 View Post
This plugin add an extra param. in the addban command

amx_addban "name" "steamid or ip" "minutes" "reasons"

I think I got the syntax correct but I dont why it keep giving errror about invalid steamid or something..
EX:

amx_addban "Bojangles" "STEAM_0:0:12345" "100" "Idiot"

Make sure you use that format for the SteamID and you are using quotes in all of it.
__________________
Bojangles is offline
Send a message via AIM to Bojangles
Mlk27
Veteran Member
Join Date: May 2008
Old 03-26-2009 , 06:23   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #283

nah. I was trying to addban the steamid of a player that wasnt in server at that time. I did:

amx_addban "" "STEAM_0:0:12345" "100" "another idiot"

but it told me it was invalid steamid or something like that. Never mind.

By the way, Exolent when you load the banlist file in the data folder could you make it to skip blank lines or lines that are commented out?
Mlk27 is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-26-2009 , 06:44   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #284

just dont make blank or commented lines there
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Mlk27
Veteran Member
Join Date: May 2008
Old 03-26-2009 , 07:11   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #285

No you don't seem to see the point of comments.

Sometime people use comments to skip reading a line when they don't want to delete it to retain the strings in the line

Last edited by Mlk27; 03-26-2009 at 10:01.
Mlk27 is offline
Old 03-26-2009, 07:12
BOYSplayCS
This message has been deleted by BOYSplayCS. Reason: woops
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-26-2009 , 09:44   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #286

you can't do that, bans are stored in an array, file is used only to write that array in or to read it from on map start, nothing else
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-26-2009 , 20:55   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #287

Updated to v0.7!

Changelog:
  • Version 0.7
    - Changed the "unlimited bans" version to be faster (Thanks to joaquimandrade)
    - Added check when adding bans if the player is already banned.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 03-27-2009 , 07:13   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #288

lol, when i ban a guy for 5mins, he stilll cant connect..

cs quit, connect, connected :O
KadiR is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-27-2009 , 08:25   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #289

how did you make it "faster"? O_o
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Thrill
Member
Join Date: Apr 2007
Old 03-27-2009 , 13:20   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #290

Exolent im using original plugin settings and it wont show when i ban but it will show "ban time up".

Code:
ACTIVITY_SHOW, // amx_show_activity 2 = show admin name to everyone
amx_show_activity = register_cvar("amx_show_activity", "2");
Whats wrong?
Thrill 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 12:40.


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