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

Advanced Bans (Real Time) by Exolent


Post New Thread Reply   
 
Thread Tools Display Modes
Visy
New Member
Join Date: May 2013
Old 05-01-2018 , 17:31   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1421

Anyone can tell me why when i try to unban an steam id or ip he say's
[AdvancedBans] Could not find STEAM_0:1:429875236 in the ban list! ...i use this one from here
Visy is offline
Old 05-01-2018, 18:21
ZEDD_Intensity
This message has been deleted by ZEDD_Intensity.
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-06-2018 , 16:35   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1422

this plugins work on SourceBans? or any plugin can work on it?
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
WhiteFang1319
Senior Member
Join Date: Jan 2017
Old 05-07-2018 , 03:13   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1423

Quote:
Originally Posted by Fuck For Fun View Post
this plugins work on SourceBans? or any plugin can work on it?
This is a plugin for AmxModX not SourceMod.
WhiteFang1319 is offline
badrosad
Junior Member
Join Date: Apr 2018
Location: on CS
Old 05-09-2018 , 12:53   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1424

he say is locked why ????



image : https://imgur.com/a/IBIWq9I

Last edited by badrosad; 05-09-2018 at 12:54.
badrosad is offline
ZEDD_Intensity
Senior Member
Join Date: Jun 2016
Old 06-08-2018 , 04:26   Advanced Bans (SQL) | for WEBSITE / PHP
Reply With Quote #1425

Greetings,

2018(19-20), but if someone still needs it, here's a BugFixed/Edited version for Advanced_Bans.php for advanced_bans_sql users. Originally made/postedby cRaNnK on GitHub. Whenever I've seen someone asking about a php code for advanced_bans, they've always been given the link to AMXBans, even though the guy(like me) never wanted to use AMXBans. cRaNnk's code had a Bunch of errors as well and I decided to editit for my servers to match my preferences.
  • EDIT THE LIST TITLE ON LINE 15 : $sname.
  • The file is set to sort bans according to the ban times from Longest to Shortest and then Permanent Bans. So all Permas will always be at the end. I wanted to sort the bans from newest to oldest, but I couldn't find any field that sent a detail for when the ban was issued, like a BanID or something.
  • Admin SteamIDs are masked with the format : STEAM_0.1.***.***. Hyperlink to visit admin's steam profile from maskedIDs removed. At this point you're thinking why to even have the "Admin SteamIDs" field if it's just gonna be some censored crap, I know. I say, have it because it looks cool!
  • Added Search Feature based on letters. This is why I didn't add alphabetical sorting. Type "A" in the search field and it'll show only the banned names starting with A.
  • All warnings/errors fixed. You won't see an error unless you decide to turn the code upside down or edit it wildly. There always used to be an "Undefined : "page" and "s" Notice, which won't go away until another page for bans was created - Fixed and Hidden.
  • Default table-name that the script will query is "advanced_bans". If you've edited the source and changed the name, edit Line 16.

If you're running your SQLDatabase on the same server as your website, leave the Line 2 : $sql_host = ""; BLANK. Putting your actual host-address there will cause "Access Denied" Warning. Also remember to Whitelist your GameServer IP in your Remote SQL if haven't done already and using for the first time. Failing to do that will deny your access to database connection and "error" the plugin.

The COLORS (by default) of the table are preset the way I use 'em, because I've embedded the whole page in my website and it has it's own background image, so that cherry red with white color looks kinda cute altogether. To edit colors yourself, Just Ctrl/Cmd+F "color" and look around to make sure you're editing the right color. Visit this website to know the #C0D3S of your favourite colors.

I'm NOT willing to edit the php any further 'for anyone', so I hope you find someone to do it if you need anything majorly changed.

NOTE : If your advanced_bans_uncensored won't show "Name" and "SteamID" of banned players, Replace it with the FIXED version through the link(advanced_bans_uncensored_fix), or from the attachments below. Use the FIX version ONLY IF you're facing any problems or seeing disappeared data in the normal 'uncensored' file. This isn't a GENERAL fix. The original file should be tried and used first.

Hope this helps.

Regards,
ZEDD


Update Log (sort of) :
Attachment Updated :
  • Previous code had Code Injection Vulnerabilities. Fixed!
Updated again :
  • When you ban an IP Address, it's approaches an array that isn't set and echoes an error. Fixed!
Final Update :
  • Don't wanna hide Admin SteamIDs? Download advanced_bans_uncensored instead, and all SteamIDs will be publicly visible.
Attached Files
File Type: zip advanced_bans_php_updated2.zip (3.2 KB, 291 views)
File Type: zip advanced_bans_uncensored.zip (3.1 KB, 141 views)
File Type: zip advanced_bans_uncensored_fix.zip (3.1 KB, 120 views)
__________________

Last edited by ZEDD_Intensity; 05-06-2019 at 23:27. Reason: Added advanced_bans_uncensored_fix
ZEDD_Intensity is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 06-09-2018 , 02:00   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1426

NICE
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Old 06-18-2018, 00:33
Cd5ssmffan
This message has been deleted by Cd5ssmffan.
Cd5ssmffan
BANNED
Join Date: Feb 2017
Location: GB
Old 06-18-2018 , 00:52   Re: Advanced Bans (SQL) | for WEBSITE / PHP
Reply With Quote #1427

Quote:
Originally Posted by Visy View Post
Anyone can tell me why when i try to unban an steam id or ip he say's
[AdvancedBans] Could not find STEAM_0:1:429875236 in the ban list! ...i use this one from here
its an issue with quotation marks I believe, try with or without them

Quote:
L 06/18/2018 - 07:59:06: [AMXX] Plugin ("advanced_bans_sql.amxx") is setting itself as failed.
L 06/18/2018 - 07:59:06: [AMXX] Plugin says: Could not connect to database.
L 06/18/2018 - 07:59:06: [AMXX] Run time error 1 (plugin "advanced_bans_sql.amxx") - forced exit
I am running my database and a website on one single server
I've tried the "threaded version" but it's not working.

Last edited by Cd5ssmffan; 06-18-2018 at 03:54.
Cd5ssmffan is offline
Send a message via ICQ to Cd5ssmffan Send a message via AIM to Cd5ssmffan Send a message via Yahoo to Cd5ssmffan Send a message via Skype™ to Cd5ssmffan
Old 06-18-2018, 05:31
ZEDD_Intensity
This message has been deleted by ZEDD_Intensity. Reason: Possibly helped someone temporarily
Old 06-18-2018, 17:34
ZEDD_Intensity
This message has been deleted by ZEDD_Intensity.
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-18-2018 , 18:03   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1428

Hey, any can help me:

- How can I block ADMIN can't ban himself?
- Admin can giving a ban to another admin?
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-18-2018 , 18:23   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1429

Immunity should do ?
__________________
stuff
maqi is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-19-2018 , 12:13   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1430

Quote:
Originally Posted by maqi View Post
Immunity should do ?
ofc Immunity can Ban all admins/Players.

- Normal Admin can not give Ban another ADMIN.

Last edited by Fuck For Fun; 06-19-2018 at 12:17.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply


Thread Tools
Display Modes

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 07:36.


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