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

[ANY] SM Warn System 1.1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Keros
Member
Join Date: Aug 2013
Old 08-23-2014 , 06:18   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #171

work in csgo?
Keros is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 08-24-2014 , 02:55   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #172

This stopped working for me yesterday =(
The Game is Day of Defeat Source and we used it quite long. For some reason popping up MOTD didnt work quite a long time. It just pops up and closes instant. So no one can read my warning and the rules. So I decided to switch to the agreement. This does not work anymore since yesterday.

I got only two SM_warn related Errors in my logs. I do not know if this will help
Quote:
L 08/23/2014 - 14:44:21: [SM] Native "VFormat" reported: Client index 13 is invalid
L 08/23/2014 - 14:44:21: [SM] Displaying call stack trace for plugin "SM_warn.smx":
L 08/23/2014 - 14:44:21: [SM] [0] Line 1497, SM_warn.sp:rintToAdmins()
L 08/23/2014 - 14:44:21: [SM] [1] Line 318, SM_warn.sp::SQL_CheckWarnings()
L 08/23/2014 - 14:49:23: Error log file session closed.
Quote:
L 08/24/2014 - 08:43:12: SourceMod error session started
L 08/24/2014 - 08:43:12: Info (map "dod_argentan") (file "errors_20140824.log")
L 08/24/2014 - 08:43:12: [SM] Native "GetClientAuthString" reported: Client index 0 is invalid
L 08/24/2014 - 08:43:12: [SM] Displaying call stack trace for plugin "SM_warn.smx":
L 08/24/2014 - 08:43:12: [SM] [0] Line 444, SM_warn.sp::SQL_WarnPlayer()
And yes I have set up a MySQL Database for Warnings ;)

Edit:
After restarting Server twice it works again with the agreement -.-
So only thing left, that is not working is the motd
__________________

Last edited by micazoid; 08-24-2014 at 03:00.
micazoid is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 12-28-2014 , 22:19   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #173

One Question, can we have someone make a sourcebans page to show the warnings on sourcebans?
__________________
Sarabveer is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 12-28-2014 , 23:28   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #174

Quote:
Originally Posted by Sarabveer View Post
One Question, can we have someone make a sourcebans page to show the warnings on sourcebans?
Showing them wouldn't be hard i guess since it's just a loop and some text, but getting admin on editing them and permissions and such, then we're speaking on a higher level. I see you have custom sourcebans edited a bit sarabveer, why not try to just loop them out ?
__________________
ecca is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 01-05-2015 , 04:43   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #175

Quote:
Originally Posted by Sarabveer View Post
One Question, can we have someone make a sourcebans page to show the warnings on sourcebans?
Or something similar. A neat little Page for looking who warned who when and why would be great =)

Do not know if THIS is still maintained, but an integration in this would also be handy. Like for the Maprateplugin
__________________

Last edited by micazoid; 01-05-2015 at 04:44.
micazoid is offline
Retalak
Junior Member
Join Date: Jan 2015
Old 01-05-2015 , 20:20   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #176

Commands are not showing in the !admin menu.

Just to be sure, Sourcemod, Sdktools, and Adminmenu all technically come with Sourcemod now right? And the database lines, it doesn't specify if we have to edit them? I put the sqlite one in. This is what my databse CFG looks like:

Code:
"Databases"
{
	"driver_default"		"mysql"
	
	// When specifying "host", you may use an IP address, a hostname, or a socket file path
	
	"default"
	{
		"driver"			"default"
		"host"				"localhost"
		"database"			"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}

	"warn"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
}
It doesn't seem that it's working at all.
Retalak is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 02-18-2015 , 03:45   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #177

Your Plugin seemed to cause a crash yesterday, so I tried to recompile it with spider:

Quote:
SourcePawn Compiler 1.7.0-manual
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

plugin.sp(295) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(34 : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(355) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(426) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(444) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(485) : error 017: undefined symbol "SBBanPlayer"
plugin.sp(542) : error 017: undefined symbol "SBBanPlayer"
plugin.sp(57 : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(634) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(694) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(754) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(796) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId


plugin.sp(881) : error 017: undefined symbol "SocketCreate"
plugin.sp(881) : warning 213: tag mismatch
plugin.sp(883) : error 017: undefined symbol "SocketSetOption"
plugin.sp(884) : error 017: undefined symbol "SocketSetOption"
plugin.sp(885) : error 017: undefined symbol "SocketSetOption"
plugin.sp(886) : error 017: undefined symbol "SocketConnect"
plugin.sp(920) : error 017: undefined symbol "SocketIsConnected"
plugin.sp(926) : error 017: undefined symbol "SocketSend"
plugin.sp(963) : error 017: undefined symbol "SocketIsConnected"
plugin.sp(965) : error 017: undefined symbol "SocketDisconnect"

11 Errors.
Here is the errorlog why I think my crashis related to this:

Quote:
L 02/17/2015 - 19:42:45: SourceMod error session started
L 02/17/2015 - 19:42:45: Info (map "dod_jagd") (file "errors_20150217.log")
L 02/17/2015 - 19:42:45: [SM_warn.smx] Query failure: Incorrect string value: '\xE2\x99\xA5v\xE2\x99...' for column 'admin' at row 1
L 02/17/2015 - 19:42:52: [SM_warn.smx] Query failure: Incorrect string value: '\xE2\x99\xA5v\xE2\x99...' for column 'admin' at row 1
L 02/17/2015 - 20:03:51: Error log file session closed.
Please tell me this is unrelated and I was to dumb to compile it ^^
__________________
micazoid is offline
sirphr
Member
Join Date: Jun 2010
Location: Florida, USA
Old 03-02-2015 , 21:10   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #178

Im getting this error.

Code:
L 03/02/2015 - 21:08:48: [SM] Native "SocketCreate" reported: 
L 03/02/2015 - 21:08:48: [SM] Displaying call stack trace for plugin "SM_warn.smx":
L 03/02/2015 - 21:08:48: [SM]   [0]  Line 881, SM_warn.sp::UpdateCheck()
L 03/02/2015 - 21:08:48: [SM]   [1]  Line 128, SM_warn.sp::OnPluginStart()
sirphr is offline
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 03-14-2015 , 09:45   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #179

I got this Plugin here a long time ago, and I am still confused as why the topic is still called 1.1.0 since I have a Version 1.2.0 which works fine, at least in INSURGENCY and probably also in other Games.

I dont even know why I have that Version. I remember a friend telling me yesterday he tried the Version 1.1.0 and it didnt work for him. So I gave him the 1.2.0 Version I have and it worked. So just in case, I will add the file here so maybe someone can use it too.
Attached Files
File Type: zip warn1.2.0.zip (37.9 KB, 228 views)
Wolfseye is offline
Send a message via Skype™ to Wolfseye
eric0279
AlliedModders Donor
Join Date: May 2007
Old 06-09-2015 , 09:38   Re: [ANY] SM Warn System 1.1.0
Reply With Quote #180

Hello,

for L4D2, player is frozen after 1 warning looool:
Code:
// This file was auto-generated by SourceMod (v1.6.0-dev+4624)
// ConVars for plugin "SM_warn.smx"


// Time to ban target: 0 - permanent
// -
// Default: "1"
sm_warn_banlength "0"

// Log the admin commands: 0 - disabled, 1 - enabled
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warn_logwarnings "1"

// Action to set when a player reach max warnings: 1 - kick, 2 - ban
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "2.000000"
sm_warn_max_punishment "1"

// Set max warnings reached before action
// -
// Default: "3"
// Minimum: "1.000000"
// Maximum: "10.000000"
sm_warn_maxwarns "3"

// Show a motd panel to client on warn: 0 - disabled, 1 - enabled
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warn_motdpanel "0"

// Titel of the motd page that will popup
// -
// Default: "SM warn panel titel"
sm_warn_motdpaneltitel "SM warn panel titel"

// Path to the motd panel that will popup
// -
// Default: ""
sm_warn_motdpanelurl ""

// Print previous warnings on connect to admins: 0 - disabled, 1 - enabled
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warn_printtoadmins "1"

// Action to set when a player gets a warning: 1 - message player, 2 - slap player and message, 3 - slay player and message, 4 - Popup agreement and message, 5 - kick player with reason, 6 - ban player with reason
// -
// Default: "2"
// Minimum: "1.000000"
// Maximum: "6.000000"
sm_warn_punishment "4"

// Reset warnings when they reach the max warnings: 0 - Keep warnings, 1 - Delete warnings
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warn_reset_warnings "0"

// Slap player with damage: 0 - no damage
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_warn_slapdamage "0"

// Play a sound when a user receives a warning: 0 - disabled, 1 - enabled
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_warn_warnsound "1"

// Path to the sound that will play when a user receives a warning
// -
// Default: "buttons/weapon_cant_buy.wav"
sm_warn_warnsoundpath "buttons/weapon_cant_buy.wav"
can you fix please?

Last edited by eric0279; 06-09-2015 at 11:11.
eric0279 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 09:51.


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