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

Sourcebans ban problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 02-17-2013 , 05:08   Sourcebans ban problem
Reply With Quote #1

If I give a player a time ban by server, he is immediately Expiered by Console.

But

If i give a player a time ban by WI it will works.

The unban reason : Unbanned by Admin CONSOLE

When a player is votebanned it will works too.


PS: It runs the latest versions

Also I want to translate the banreasons, how I can do this?

And is it possible to set up the WI in german ?

thanks a lot
__________________
SRY FOR MY BAD ENGLISH
I'm german

Last edited by stoneyschillhouse; 02-17-2013 at 05:48.
stoneyschillhouse is offline
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 02-24-2013 , 13:13   Re: Sourcebans ban problem
Reply With Quote #2

Is it possible that the problem is, i've installt the lates version once and I dont update an older version?
But I've saw some SB sites wich was updatet and it works perfectly

Code:
Unban reason no reason present 
Unbanned by Admin CONSOLE
Expires on Thu, 01 Jan 1970 02:00:00 (unixtimestamp??)
A bug in the DB ?
__________________
SRY FOR MY BAD ENGLISH
I'm german

Last edited by stoneyschillhouse; 02-24-2013 at 13:18.
stoneyschillhouse is offline
Blacksilver
Member
Join Date: Aug 2011
Location: G E R M A N Y
Old 02-24-2013 , 15:41   Re: Sourcebans ban problem
Reply With Quote #3

Wrong servertime?
__________________
Come to the dark side, we have cookies *muhaha*
Visit us!

Blacksilver is offline
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 02-24-2013 , 16:38   Re: Sourcebans ban problem
Reply With Quote #4

lol. no

that would be the easiest.

look @ the screenshot

I think sourcebans sets up even if a timeban given to a player over admin menu or over the webpanel every time on 01 Jan 1970 02:00:00 to the unixtimestamp.

But is a player votebanned it does set this timesamp.

I dont know. I'm going crazy about this -.-
__________________
SRY FOR MY BAD ENGLISH
I'm german
stoneyschillhouse is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-28-2013 , 07:19   Re: Sourcebans ban problem
Reply With Quote #5

Quote:
Originally Posted by stoneyschillhouse View Post
lol. no

that would be the easiest.

look @ the screenshot

I think sourcebans sets up even if a timeban given to a player over admin menu or over the webpanel every time on 01 Jan 1970 02:00:00 to the unixtimestamp.

But is a player votebanned it does set this timesamp.

I dont know. I'm going crazy about this -.-
Check what
PHP Code:
SELECT UNIX_TIMESTAMP(); 
returns on your mysql server.
__________________
Peace-Maker is offline
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 02-28-2013 , 13:12   Re: Sourcebans ban problem
Reply With Quote #6

Code:
select unix_timestamp(  )1362075037
__________________
SRY FOR MY BAD ENGLISH
I'm german
stoneyschillhouse is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-28-2013 , 16:05   Re: Sourcebans ban problem
Reply With Quote #7

Maybe you've got different timezones set on your webserver and gameserver. Does it still expire bans directly if you ban for 1 day or a week?

Don't know why it' setting the end date to 0 though. The query in the plugin uses UNIX_TIMESTAMP().
__________________
Peace-Maker is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 03-01-2013 , 19:18   Re: Sourcebans ban problem
Reply With Quote #8

He forgot to mention that he's using 1.5.0 (or that WI means web interface), which didn't set the end date. Fixed in SVN.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 03-02-2013 , 13:38   Re: Sourcebans ban problem
Reply With Quote #9

Thanks DJ Tsunami

It works with the r150

can be closed
__________________
SRY FOR MY BAD ENGLISH
I'm german

Last edited by stoneyschillhouse; 03-02-2013 at 14:50.
stoneyschillhouse is offline
AlfredSpain
Senior Member
Join Date: Oct 2010
Old 03-03-2013 , 00:23   Re: Sourcebans ban problem
Reply With Quote #10

i use r150, my error log this is:

[SM] Failed to load plugin "sb_bans.smx": Unable to load plugin (error 1: Unrecognizable file format).
__________________
AlfredSpain 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 10:10.


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