Raised This Month: $75 Target: $400
 18% 

Change ""You have been banned by this server, check {1} for more info""


Post New Thread Reply   
 
Thread Tools Display Modes
animalnots
Senior Member
Join Date: Dec 2012
Old 01-10-2013 , 23:56   Re: Change ""You have been banned by this server, check {1} for more info""
Reply With Quote #21

Console working version
Turned debug on
No
Quote:
L 01/10/2013 - 18:279: [SM] Native "SQL_FetchString" reported: Current result set has no fetched rows
L 01/10/2013 - 18:279: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 01/10/2013 - 18:279: [SM] [0] Line 1509, sourcebans.sp::VerifyBan()
was found
Attached Files
File Type: smx sourcebans.smx (33.4 KB, 39 views)
File Type: sp Get Plugin or Get Source (sourcebans.sp - 46 views - 78.3 KB)
__________________
STEAM is the best of the west
Quote:
Never argue with an idiot. He lowers you to his level and then wins on experience!
animalnots is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-11-2013 , 03:58   Re: Change ""You have been banned by this server, check {1} for more info""
Reply With Quote #22

Quote:
[SourceBans] Banned player "SanKen" for 60 minutes (reason: Team Killing).
[SourceBans] ============================================= ==
[SourceBans] Banned by admin SanKen`
[SourceBans] You can complain regarding your ban @ test
[SourceBans] Reason: Team Killing
[SourceBans] Length: 60 minutes
[SourceBans] Your SteamID: STEAM_1:0:XXXXXX
[SourceBans] Your IP: 192.168.0.2
[SourceBans] ============================================= ==
Disconnect: Kicked: You are BANNED. Reason: Team Killing, Banlength: 60 minutes, Details: test .
Quote:
L 01/11/2013 - 09:56:21: Error log file session closed.
L 01/11/2013 - 09:56:22: SourceMod error session started
L 01/11/2013 - 09:56:22: Info (map "de_dust2") (file "errors_20130111.log")
L 01/11/2013 - 09:56:22: [SM] Native "SQL_FetchString" reported: Current result set has no fetched rows
L 01/11/2013 - 09:56:22: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 01/11/2013 - 09:56:22: [SM] [0] Line 1520, sourcebans.sp::VerifyBan()
When I go back to the server with the active ban
SanKen is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-11-2013 , 07:29   Re: Change ""You have been banned by this server, check {1} for more info""
Reply With Quote #23

If you put a newline (\n) before the kick message you get a bit more length.
__________________
asherkin is offline
animalnots
Senior Member
Join Date: Dec 2012
Old 01-12-2013 , 15:36   Re: Change ""You have been banned by this server, check {1} for more info""
Reply With Quote #24

Quote:
L 01/11/2013 - 09:56:22: [SM] Native "SQL_FetchString" reported: Current result set has no fetched rows
L 01/11/2013 - 09:56:22: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 01/11/2013 - 09:56:22: [SM] [0] Line 1520, sourcebans.sp::VerifyBan()
Try this )
Added SQL_FetchRow before fetching values))))))))))))
Attached Files
File Type: sp Get Plugin or Get Source (sourcebans.sp - 90 views - 78.4 KB)
File Type: smx sourcebans.smx (33.5 KB, 98 views)
__________________
STEAM is the best of the west
Quote:
Never argue with an idiot. He lowers you to his level and then wins on experience!
animalnots is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-13-2013 , 14:39   Re: Change ""You have been banned by this server, check {1} for more info""
Reply With Quote #25

No error now
But after restarting the server, I not have ban.
I can play without problems.

L 01/13/2013 - 205:24: [sourcebans.smx] Checking ban for: STEAM_1:0:1xxxxx

Maybe I will not torment you.

Clean code up and leave in the form of a kickbox.

Quote:
Disconnect: Kicked: You are BANNED. Reason: Team Killing, Banlength: 60 minutes, Details: test .
Developers can add it to SourceBans

Thank you for the good will and support.

Last edited by SanKen; 01-13-2013 at 14:42.
SanKen is offline
maxolahird
Veteran Member
Join Date: Dec 2012
Old 01-18-2014 , 05:44   Re: Change ""You have been banned by this server, check {1} for more info""
Reply With Quote #26

Do anyone have this feature bugless?

All I need is a kick message with reason, lenght and website.
maxolahird is offline
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 23:38.


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