Raised This Month: $ Target: $400
 0% 

Advanced Bans (Real Time) by Exolent


Post New Thread Reply   
 
Thread Tools Display Modes
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-28-2009 , 19:03   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #361

Quote:
Originally Posted by .Owyn. View Post
why is SQL better?
Because it will work like AMXBans, where if you ban a player in one server, then your other servers that use the same SQL database will have that player banned.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-28-2009 , 22:28   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #362

Updated to version 0.8!

Changelog:
  • Version 0.8
    - Added SQL support.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 05-29-2009 , 01:31   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #363

Good job Exolent!
You did it yourserf or you got help with SQL?
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 05-29-2009 , 03:36   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #364

the sql version doesn't have any connection to database function , or i can't see it
__________________

[IMG]http://img188.**************/img188/5787/banner2rcw.png[/IMG]
alexinno is offline
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 05-29-2009 , 09:35   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #365

Exloent, why you have two different plugins, advanced_bans and advanced_bans_sql, when that's the same plugin exept the comment for
PHP Code:
#define USING_SQL 
Just make a cvar.
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-29-2009 , 10:10   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #366

Quote:
Originally Posted by LaineN View Post
Exloent, why you have two different plugins, advanced_bans and advanced_bans_sql, when that's the same plugin exept the comment for
PHP Code:
#define USING_SQL 
Just make a cvar.
lol
__________________
joaquimandrade is offline
prabalgarina
Senior Member
Join Date: Mar 2009
Old 05-29-2009 , 10:47   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #367

Code:
[bg]
AB_BAN_INFORMATION = Ban informaciq
AB_NAME = Ime
AB_IP = IP
AB_STEAMID = SteamID
AB_REASON = Prichina
AB_BAN_LENGTH = Ban duljina
AB_UNBAN_TIME = Unban vreme
AB_ADMIN_NAME = Admin ime
AB_ADMIN_STEAMID = Admin SteamID
AB_WEBSITE = Ako mislite che ste bannati nespravedlivo,suobshtete v nashiq sait :: 
AB_NOT_AUTHORIZED = Celta ne e upulnomoshtena s survara!Ne uspeh pri bavnane!
AB_ALREADY_BANNED_STEAMID = SteamID to na igracha e veche bannato!
AB_ALREADY_BANNED_IP = IP to na igracha e veche bannato!
AB_PERMANENT_BAN = Permamenten bann!
AB_INVALID_STEAMID = NE validno SteamID!
AB_VALID_STEAMID_FORMAT = Pravilen format: STEAM_0:X:XXXXXXX
AB_INVALID_IP = Ne validno IP!
AB_NOT_IN_BAN_LIST = Ne moje da se nameri %s v ban listata!
AB_NO_BANS = Nqma nikoi bannat na tozi etap. 
AB_BAN_LIST_NUM = Listvane na bannatite igrachi  %i - %i.  
AB_BAN_LIST_NEXT = Izpolzvaite amx_banlist %i za sledvashtite hora v listata
AB_MAX_BAN_TIME = Maximalnoto vreme za banvane e  %i
good plugin
prabalgarina is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-29-2009 , 12:55   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #368

Quote:
Originally Posted by LaineN View Post
Good job Exolent!
You did it yourserf or you got help with SQL?
I had a few friends help me with learning SQL.

Quote:
Originally Posted by alexinno View Post
the sql version doesn't have any connection to database function , or i can't see it
The tuple is handled in plugin_init() and then the table is created in PrepareTable() right after the plugin_init().
All the queries are threaded so it may look different.

Quote:
Originally Posted by LaineN View Post
Exloent, why you have two different plugins, advanced_bans and advanced_bans_sql, when that's the same plugin exept the comment for
PHP Code:
#define USING_SQL 
Just make a cvar.
Because it's easier for people who want SQL to just download that version, even if the only difference is that uncommented line.
Also, a cvar would be MUCH more difficult.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 05-29-2009 , 13:15   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #369

Quote:
Originally Posted by Exolent[jNr] View Post
I had a few friends help me with learning SQL.


The tuple is handled in plugin_init() and then the table is created in PrepareTable() right after the plugin_init().
All the queries are threaded so it may look different.
it says "Can't connect to database" , but admin_sql it's working

Code:
L 05/29/2009 - 20:18:13: [AMXX] Plugin ("advanced_bans_sql.amxx") is setting itself as failed.
L 05/29/2009 - 20:18:13: [AMXX] Plugin says: Could not connect to database.
L 05/29/2009 - 20:18:13: [AMXX] Displaying debug trace (plugin "advanced_bans_sql.amxx")
L 05/29/2009 - 20:18:13: [AMXX] Run time error 1: forced exit
L 05/29/2009 - 20:18:13: [AMXX]    [0] 42862.attach::QueryCreateTable (line 402)
amx_sqladmins
[AMXX] Loaded 2 admins from database
__________________

[IMG]http://img188.**************/img188/5787/banner2rcw.png[/IMG]

Last edited by alexinno; 05-29-2009 at 13:20.
alexinno is offline
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 05-29-2009 , 13:27   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #370

Quote:
Originally Posted by Exolent[jNr] View Post
Because it's easier for people who want SQL to just download that version, even if the only difference is that uncommented line.
Also, a cvar would be MUCH more difficult.
Okey, but then you don't need the difines.
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN 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 23:55.


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