Raised This Month: $12 Target: $400
 3% 

Advanced Bans (Real Time) by Exolent


Post New Thread Reply   
 
Thread Tools Display Modes
zaludan
Member
Join Date: Aug 2012
Old 06-13-2013 , 07:42   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1221

When I ban a player, it doesn'y give the adress for 'complains':

If you think you were banned unfairly, report this information to our website:
https
********************************************* ***

I've put:
ab_website https://www.facebook.com/groups/485620901451071/

Any help?
zaludan is offline
Belo95135
Member
Join Date: Jun 2012
Location: Slovakia
Old 07-03-2013 , 08:02   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1222

Slovak Translation
Code:
[sk]
AB_BAN_INFORMATION = Informacie o bane
AB_NAME = Meno
AB_IP = IP
AB_STEAMID = SteamID
AB_REASON = Dovod
AB_BAN_LENGTH = Dlzka banu
AB_UNBAN_TIME = Cas Unbanu
AB_ADMIN_NAME = Meno Admina
AB_ADMIN_STEAMID = SteamID Admina
AB_WEBSITE = Boli ste nepravom zabanovany? Napiste nam na tejto adrese:
AB_NOT_AUTHORIZED = Nemozno zabanovat! Ciel nebol autorizovany serverom!
AB_ALREADY_BANNED_STEAMID = Hracove SteamID uz je zabanovane!
AB_ALREADY_BANNED_IP = Hracova IP Adresa uz je zabanovana!
AB_PERMANENT_BAN = Permanentny Ban
AB_INVALID_STEAMID = Nespravne SteamID!
AB_VALID_STEAMID_FORMAT = Spravny format: STEAM_0:X:XXXXXXX
AB_INVALID_IP = Nespravna IP Adresa!
AB_NOT_IN_BAN_LIST = Nemozno najst %s v zozname banov!
AB_NO_BANS = Zatial este nebol nikto zabanovany.
AB_BAN_LIST_NUM = Vypis zabanovanych hracov %i - %i.
AB_BAN_LIST_NEXT = Napis amx_banlist %i pre dalsiu stranu zoznamu.
AB_MAX_BAN_TIME = Maximalna dlzka banu je %i.
Belo95135 is offline
guraba
Member
Join Date: Feb 2013
Old 07-08-2013 , 16:29   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1223

Quote:
Originally Posted by therazerspb View Post
Hi all.

I made 2 small scripts on php

1) index.php - public version, it only show current banlist. Nothing else.
2) admin.php - private version,it also show you banlist and can unban people.

Short install
1) Check access.php - there is you login and password for admin.php. Edit it first!
2) Check vars.php - there are your mysql settings. Also you can edit there your links to forum/main page and etc.
3) Go to index.php or admin.php and enjoy!




u can add www.yoursite.com/admin_list.php
??
guraba is offline
kruger
Member
Join Date: Dec 2011
Old 07-09-2013 , 07:16   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1224

Quote:
Originally Posted by guraba View Post
Be careful with this script. I had this on my webserver and I got hacked. Webhosting company said that it was through SQL injection attack
kruger is offline
Serious Guy
Junior Member
Join Date: Jul 2013
Location: Your mind
Old 07-17-2013 , 04:20   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1225

PHP Code:
L 07/17/2013 09:18:29: [AMXXPlugin ("advanced_bans_sql.amxx"is setting itself as failed.
L 07/17/2013 09:18:29: [AMXXPlugin saysCould not connect to database.
L 07/17/2013 09:18:29: [AMXXDisplaying debug trace (plugin "advanced_bans_sql.amxx")
L 07/17/2013 09:18:29: [AMXXRun time error 1forced exit 
L 07/17/2013 09:18:29: [AMXX] [042994.attach::QueryCreateTable (line 430
Help?
Serious Guy is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 07-17-2013 , 08:43   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1226

Search the thread.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
pepe_thugs
Senior Member
Join Date: Aug 2010
Location: Portugal , Braga
Old 07-17-2013 , 17:02   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1227

Someone can view the script made by therazerspb and confirm it have or not have "SQL injection attack" ??
pepe_thugs is offline
jolene
New Member
Join Date: Jul 2013
Location: UK
Old 07-20-2013 , 16:39   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1228

It seems that there's a bug with respect to SQL query string creation, the buffer allocated is far to small for the create table query.

In the course of debugging the issue, I've added optional logging of SQL queries to a file. Un-comment "#define LOG_SQL" to enable.

I modified 0.8.1 to create 0.8.1a and have attached a patch, and modified source code.
Attached Files
File Type: sma Get Plugin or Get Source (advanced_bans_sql_0.8.1a.sma - 808 views - 50.6 KB)
File Type: txt patch.txt (3.5 KB, 253 views)

Last edited by jolene; 07-20-2013 at 16:42. Reason: Fixed patch file
jolene is offline
akash_rival
Junior Member
Join Date: Jan 2013
Location: India
Old 08-02-2013 , 05:30   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1229

Errors we me:
1.advance_bans.sma is not compiling,so i use advance_bans.amxx
2.The Ban information like "name of admin banned the player , the admin's steamid, the reason of ban, the ban time, the banned player's name, the banned player's steam_id (or IP), and the estimated time of unban" are not showing after ban a player.

please help..
akash_rival is offline
Jawad_784
Member
Join Date: Jul 2013
Old 08-19-2013 , 13:01   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1230

What should i do to add sql system ?
i want that bans should be seen on my website ?
what should i do ?
Jawad_784 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 18:16.


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