Raised This Month: $ Target: $400
 0% 

Global banlist


Post New Thread Reply   
 
Thread Tools Display Modes
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 02-24-2007 , 13:35   Re: Global banlist
Reply With Quote #271

Something I just realized: This version will not expire temp bans. Any temp bans will not be removed, but will just sit there.

I'll release a fix for this later (only the php file is involved)
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Sleeper_LT
Junior Member
Join Date: Feb 2007
Old 02-26-2007 , 07:38   Re: Global banlist
Reply With Quote #272

BTW, IP BAN's dont work...
Sleeper_LT is offline
SWE_Bert
Junior Member
Join Date: Oct 2006
Old 02-28-2007 , 14:53   Re: Global banlist
Reply With Quote #273

A ban has expired, but the player isn't removed.
http://www.psychoservers-bans.2u.se/
(first one)
SWE_Bert is offline
DeeJay
Junior Member
Join Date: Mar 2005
Old 03-01-2007 , 02:59   Re: Global banlist
Reply With Quote #274

when i write "banlist_kicmsg" in console my server crashes
DeeJay is offline
Depodra
Junior Member
Join Date: Feb 2007
Old 03-02-2007 , 04:11   Re: Global banlist
Reply With Quote #275

Quote:
Originally Posted by DeeJay View Post
when i write "banlist_kicmsg" in console my server crashes
You mean "banlist_kickmsg"?

Quote:
Originally Posted by SWE_Bert View Post
A ban has expired, but the player isn't removed.
http://www.psychoservers-bans.2u.se/
(first one)
I'll write a temporary fix until devicenull brings out the latest vr... Check back in 10m of this post.

EDIT: I've attached the working checkid.php in checkid.zip.
Attached Files
File Type: zip checkid.zip (707 Bytes, 136 views)

Last edited by Depodra; 03-06-2007 at 07:12. Reason: Added attachment.
Depodra is offline
Hollanda
Senior Member
Join Date: Sep 2006
Location: Netherlands
Old 03-02-2007 , 10:33   Re: Global banlist
Reply With Quote #276

Quote:
Originally Posted by SWE_Bert View Post
A ban has expired, but the player isn't removed.
http://www.psychoservers-bans.2u.se/
(first one)
How did you integrate the demo's in the amx webpart? If you're willing to share, I'd like this mod very much.

Anyways, I'm still waiting on a stable version which custom checks every connect, and not stores a database on the gameserver. Using the integrated part of Steambans now (this also just performs checks at connect and stores nothing).

Last edited by Hollanda; 03-02-2007 at 10:36.
Hollanda is offline
SWE_Bert
Junior Member
Join Date: Oct 2006
Old 03-02-2007 , 12:30   Re: Global banlist
Reply With Quote #277

Quote:
Originally Posted by Hollanda View Post
How did you integrate the demo's in the amx webpart? If you're willing to share, I'd like this mod very much.
Sure! http://www.amxbans.net/forums/viewtopic.php?t=771
SWE_Bert is offline
ferret_uk
Junior Member
Join Date: Feb 2007
Old 03-05-2007 , 18:58   Re: Global banlist
Reply With Quote #278

Quote:
Originally Posted by Depodra View Post
EDIT: I've attached the working checkid.php in checkid.zip.
thanks for the temp fix, there is just a small error in the code, amxbans stores the ban lengths in minutes.

so you need to change line 41 from

PHP Code:
$banuntil = ($row['ban_created'] + $banlength); 
to

PHP Code:
$banuntil = ($row['ban_created'] + ($banlength*60)); 
ferret_uk is offline
Depodra
Junior Member
Join Date: Feb 2007
Old 03-06-2007 , 07:11   Re: Global banlist
Reply With Quote #279

Quote:
Originally Posted by ferret_uk View Post
thanks for the temp fix, there is just a small error in the code, amxbans stores the ban lengths in minutes.

so you need to change line 41 from

PHP Code:
$banuntil = ($row['ban_created'] + $banlength); 
to

PHP Code:
$banuntil = ($row['ban_created'] + ($banlength*60)); 
Ah, true, didn't even think about that, I don't have any temporary bans when using the plugin, so never thought about the units of time amxbans used to store ban lengths.

Thanks, attached to this post, and above attachment updated too.
Attached Files
File Type: zip checkid.zip (707 Bytes, 110 views)
Depodra is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-06-2007 , 18:47   Re: Global banlist
Reply With Quote #280

Would anyone be against having this connect directly to the mysql server, and bypass the web stuff?
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull 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 17:49.


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