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

[ANY] SM Warn System 1.1.0


Post New Thread Reply   
 
Thread Tools Display Modes
DustFighter
Junior Member
Join Date: Nov 2012
Location: Germany
Old 11-08-2012 , 10:04   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #101

L 11/14/2012 - 02:087: [SM_warn.smx] Query failure: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''[GER] DustFighter|Dust2 Only|GameMe|' at line 1
"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "xxxxxxxxxxx"
"database" "sourcebans_sb"
"user" "sourcebans_sb"
"pass" "xxxxxxxxxxxxx"
//"timeout" "0"
"port" "3306"

}
"warn"
{
"driver" "mysql"
"host" "xxxxxxxxxxx"
"database" "warn_db"
"user" "warn_db"
"pass" "xxxxxxxx"
//"timeout" "0"
"port" "3306"

}

What is here wrong????


Dustfighter
__________________

Last edited by DustFighter; 11-13-2012 at 21:02.
DustFighter is offline
daleGEND
AlliedModders Donor
Join Date: Feb 2005
Location: USA
Old 11-16-2012 , 18:52   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #102

I am also getting the above error:

Quote:
L 11/16/2012 - 16:10:16: [SM_warn.smx] Query failure: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''[bG] Zombie Escape | Reload | No Bloc' at line 1
__________________
Bor3d Gaming - A Mature Online Gaming Community

Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d
daleGEND is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 11-16-2012 , 21:52   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #103

Seems like a bug in the escape string. Atm i'm out of time for thr school but i'll get my hands it.
ecca is offline
Bubka3
Sir Buzz Killington, Esq.
Join Date: Jan 2010
Location: New York, NY
Old 11-20-2012 , 22:02   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #104

Still getting that bug after your changelog says it's fixed.
Bubka3 is offline
Mirandor
Senior Member
Join Date: Jun 2006
Location: Ile de France
Old 12-26-2012 , 13:25   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #105

Quote:
Originally Posted by daleGEND View Post
I am also getting the above error:
+1

Another bug found: sometimes translation is in wrong language (server is EN, admin is FR : the admin calls the menu, it is displayed in EN (or another language). Quit the menu and call it again, it is displayed in FR...)
Mistake in format()?
Mirandor is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 12-27-2012 , 09:10   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #106

Hi there,

just a suggestion; as it seems you really do a lot of different things with this plugin. You could add natives to warn someone, and/or a forward, to know when someone is warned.

That way if let's say someone camp, an anti-camp plugin can warn him.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Mirandor
Senior Member
Join Date: Jun 2006
Location: Ile de France
Old 12-30-2012 , 10:11   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #107

Is there any limit of characters in one line or in all the file in the warn_reasons.cfg?
Mirandor is offline
Mirandor
Senior Member
Join Date: Jun 2006
Location: Ile de France
Old 01-06-2013 , 11:38   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #108

well i can't get this plugin work properly ; reasons are never displayed in the messages, so players are warned, but they don't know why...
Mirandor is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-06-2013 , 14:34   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #109

Quote:
Originally Posted by Mirandor View Post
well i can't get this plugin work properly ; reasons are never displayed in the messages, so players are warned, but they don't know why...
You have translations ? Errors in console ?
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Mirandor
Senior Member
Join Date: Jun 2006
Location: Ile de France
Old 01-06-2013 , 17:27   Re: [ANY] SM Warn System 1.0.6
Reply With Quote #110

Thanks for reply.

I didn't look into the console yet, just into the log file ; no error.

I thougth there could be an issue with translation because sometimes the language used by the plugin is incorrect (i.e. german instead of english) ; but the translation files are corrects with all of the required arguments.

Running sourcemod 1.5 dev

Next time i'll look into the console to look for any error or trouble...

I also thought there could be an issue with the format of the cfg files ( linux utf-8 )or the lenght of the sentences...

EDIT: after taking a look in console, the problem seems to be located in the chat message displayed in game after player got warned...
EDIT2: The issue seems to be located in the "warn_punish_kick" message only, in the others, the reason is properly displayed.

Last edited by Mirandor; 01-09-2013 at 12:24.
Mirandor 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:39.


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