Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Closed Thread   
 
Thread Tools Display Modes
animalnots
Senior Member
Join Date: Dec 2012
Old 01-09-2013 , 01:42   Re: Change ""You have been banned by this server, check {1} for more info""
#11

the prev worked ?
__________________
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-09-2013 , 10:08   Re: Change ""You have been banned by this server, check {1} for more info""
#12

I have not checked, I thought if you did something like this can do it Then check and find problems.
SanKen is offline
animalnots
Senior Member
Join Date: Dec 2012
Old 01-09-2013 , 12:15   Re: Change ""You have been banned by this server, check {1} for more info""
#13

I did not check either, you should check, if everything works, ill try do what you proposed (aka amx bans)
__________________
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-09-2013 , 17:53   Re: Change ""You have been banned by this server, check {1} for more info""
#14

does not work "You have been banned. Reason check site, Banlength check site, check <sitename> for more info"
SanKen is offline
animalnots
Senior Member
Join Date: Dec 2012
Old 01-10-2013 , 01:05   Re: Change ""You have been banned by this server, check {1} for more info""
#15

try this one
Code:
	"Banned Check Site"
	{
		"#format"		"{1:s},{2:s},{3:s}"
		"en"			"You have been banned. Reason: {1}, Banlength: {2} minutes, check {3} for more info"
	}
Print to console unfortenaly does not work, it seems that client is kicked too quickly before any message could be printed to him.
Attached Files
File Type: smx sourcebans.smx (31.7 KB, 82 views)
File Type: sp Get Plugin or Get Source (sourcebans.sp - 95 views - 75.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!

Last edited by animalnots; 01-10-2013 at 01:07.
animalnots is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-10-2013 , 08:39   Re: Change ""You have been banned by this server, check {1} for more info""
#16

Quote:
Disconnect: You have been banned. Reason: Aimbot, Banlength: 10 minutes, check test for more info.
work, but (L 01/10/2013 - 14:418: [sourcebans.smx] Verify Ban Query Failed: Unknown column 'sb_admins' in 'field list')

A different solution that was similar to amxbans?
maybe PrintToConsole and after 10sec kick

Last edited by SanKen; 01-10-2013 at 08:42.
SanKen is offline
animalnots
Senior Member
Join Date: Dec 2012
Old 01-10-2013 , 11:06   Re: Change ""You have been banned by this server, check {1} for more info""
#17

This should not throw error. The idea with timer is not new, I thought about it, but I don't know how to call a timer function with params (reason, time, etc.) without creating datapacks.
Attached Files
File Type: sp Get Plugin or Get Source (sourcebans.sp - 91 views - 75.3 KB)
File Type: smx sourcebans.smx (31.7 KB, 90 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!

Last edited by animalnots; 01-10-2013 at 11:06.
animalnots is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-10-2013 , 11:21   Re: Change ""You have been banned by this server, check {1} for more info""
#18

When bans and wants to join the server
Quote:
L 01/10/2013 - 17:19:09: [sourcebans.smx] Verify Ban Query Failed: Column 'authid' in where clause is ambiguous
Can you make a new line example:

Quote:
You have been banned.
Reason: Aimbot.
Banlength: 10 minutes.
You can complain regarding your ban @:

Last edited by SanKen; 01-10-2013 at 11:25.
SanKen is offline
animalnots
Senior Member
Join Date: Dec 2012
Old 01-10-2013 , 11:35   Re: Change ""You have been banned by this server, check {1} for more info""
#19

Checked that query. Try now.
New line ? Ill try that in 2-4h.
Try to edit sp file adding \n in message.

PS: I don't like that the kick box is too small to show reason, length, admin name, website and etc. It would be cool if there's a way to enlarge it.
Attached Files
File Type: smx sourcebans.smx (31.7 KB, 85 views)
File Type: sp Get Plugin or Get Source (sourcebans.sp - 93 views - 75.4 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!

Last edited by animalnots; 01-10-2013 at 11:41.
animalnots is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-10-2013 , 12:29   Re: Change ""You have been banned by this server, check {1} for more info""
#20

Quote:
L 01/10/2013 - 18:279: SourceMod error session started
L 01/10/2013 - 18:279: Info (map "de_dust2") (file "errors_20130110.log")
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()
All the time the problem of verifying ban

Quote:
PS: I don't like that the kick box is too small to show reason, length, admin name, website and etc. It would be cool if there's a way to enlarge it.
Not all ... Mainly reason, length, website

Last edited by SanKen; 01-10-2013 at 12:31.
SanKen is offline
Closed Thread


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 13:03.


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