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

[L4D & L4D2] Custom Player Stats v1.4B121


Post New Thread Reply   
 
Thread Tools Display Modes
LordTurbat
BANNED
Join Date: Apr 2010
Old 04-15-2010 , 13:17   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #601

Quote:
Originally Posted by kwski43 View Post
and what after that?
what do you refer at ?
LordTurbat is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 04-15-2010 , 14:00   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #602

Quote:
Originally Posted by LordTurbat View Post
what do you refer at ?
Kwski43 is referring to your error message... it's like this:

The real error message is something like this:
L 123 Syntax Error blah blah - REASON:
L 123 You've cut your error message so that the real message is not readable by us


and you copy&paste some of the above to this thread:
23 Syntax Err

Waht doy I wrogn ? Pleze helpe meh !
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
LordTurbat
BANNED
Join Date: Apr 2010
Old 04-15-2010 , 18:25   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #603

il show errors logs are like this if i dont start WAMP :

L 04/16/2010 - 01:04:10: SourceMod error session started
L 04/16/2010 - 01:04:10: Info (map "") (file "errors_20100416.log")
L 04/16/2010 - 01:04:10: [SM] Detected parse error(s) in file "C:\L4D2\left4dead2\left4dead2\addons\sourcem od\configs\databases.cfg"
L 04/16/2010 - 01:04:10: [SM] Line 42: Section beginning without a matching ending
L 04/16/2010 - 01:04:10: Error log file session closed.
L 04/16/2010 - 01:04:17: SourceMod error session started
L 04/16/2010 - 01:04:17: Info (map "c1m1_hotel") (file "errors_20100416.log")
L 04/16/2010 - 01:04:17: [SM] Fatal error encountered parsing translation file "cdannouncer.phrases.txt"
L 04/16/2010 - 01:04:17: [SM] Error (line 0, column 0): Stream failed to open
L 04/16/2010 - 01:04:18: [SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
L 04/16/2010 - 01:04:19: [l4d_stats.smx] Failed to connect to database: [2003]: Can't connect to MySQL server on 'localhost' (10061)
L 04/16/2010 - 01:04:19: [SM] Plugin encountered error 25: Call was aborted
L 04/16/2010 - 01:04:19: [SM] Native "SetFailState" reported: Connecting to database failed. Read error log for further details.
L 04/16/2010 - 01:04:19: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 04/16/2010 - 01:04:19: [SM] [0] Line 566, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()
L 04/16/2010 - 01:044: [SM] Detected parse error(s) in file "C:\L4D2\left4dead2\left4dead2\addons\sourcem od\configs\databases.cfg"
L 04/16/2010 - 01:044: [SM] Line 42: Section beginning without a matching ending
L 04/16/2010 - 01:044: [SM] Fatal error encountered parsing translation file "cdannouncer.phrases.txt"
L 04/16/2010 - 01:044: [SM] Error (line 0, column 0): Stream failed to open
L 04/16/2010 - 01:044: Error log file session closed.
L 04/16/2010 - 01:044: SourceMod error session started
L 04/16/2010 - 01:044: Info (map "c1m1_hotel") (file "errors_20100416.log")
L 04/16/2010 - 01:044: [SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
L 04/16/2010 - 01:045: [l4d_stats.smx] Failed to connect to database: [2003]: Can't connect to MySQL server on 'localhost' (10061)
L 04/16/2010 - 01:045: [SM] Plugin encountered error 25: Call was aborted
L 04/16/2010 - 01:045: [SM] Native "SetFailState" reported: Connecting to database failed. Read error log for further details.
L 04/16/2010 - 01:045: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 04/16/2010 - 01:045: [SM] [0] Line 566, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()


and if i start WAMP the errors log are like this :


L 04/16/2010 - 01:11:08: SourceMod error session started
L 04/16/2010 - 01:11:08: Info (map "") (file "errors_20100416.log")
L 04/16/2010 - 01:11:08: [SM] Detected parse error(s) in file "C:\L4D2\left4dead2\left4dead2\addons\sourcem od\configs\databases.cfg"
L 04/16/2010 - 01:11:08: [SM] Line 42: Section beginning without a matching ending
L 04/16/2010 - 01:11:08: Error log file session closed.
L 04/16/2010 - 01:11:09: SourceMod error session started
L 04/16/2010 - 01:11:09: Info (map "c1m1_hotel") (file "errors_20100416.log")
L 04/16/2010 - 01:11:09: [SM] Fatal error encountered parsing translation file "cdannouncer.phrases.txt"
L 04/16/2010 - 01:11:09: [SM] Error (line 0, column 0): Stream failed to open
L 04/16/2010 - 01:11:09: [SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
L 04/16/2010 - 01:11:09: [SM] Native "PrintToConsole" reported: Client index 11927732 is invalid
L 04/16/2010 - 01:11:09: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 04/16/2010 - 01:11:09: [SM] [0] Line 5960, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach:oFastQuery()
L 04/16/2010 - 01:11:09: [SM] [1] Line 1354, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::ConnectDB()
L 04/16/2010 - 01:11:09: [SM] [2] Line 564, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()
L 04/16/2010 - 01:11:14: [SM] Detected parse error(s) in file "C:\L4D2\left4dead2\left4dead2\addons\sourcem od\configs\databases.cfg"
L 04/16/2010 - 01:11:14: [SM] Line 42: Section beginning without a matching ending
L 04/16/2010 - 01:11:14: [SM] Fatal error encountered parsing translation file "cdannouncer.phrases.txt"
L 04/16/2010 - 01:11:14: [SM] Error (line 0, column 0): Stream failed to open
L 04/16/2010 - 01:11:14: Error log file session closed.
L 04/16/2010 - 01:11:14: SourceMod error session started
L 04/16/2010 - 01:11:14: Info (map "c1m1_hotel") (file "errors_20100416.log")
L 04/16/2010 - 01:11:14: [SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
L 04/16/2010 - 01:11:14: [SM] Native "PrintToConsole" reported: Client index 18874437 is invalid
L 04/16/2010 - 01:11:14: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 04/16/2010 - 01:11:14: [SM] [0] Line 5960, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach:oFastQuery()
L 04/16/2010 - 01:11:14: [SM] [1] Line 1354, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::ConnectDB()
L 04/16/2010 - 01:11:14: [SM] [2] Line 564, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()

here is my databes if i dint put corect someting corect my plz :

"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" ""
//"port" ""
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

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


"l4dstats"
{
"driver" "mysql"
"host" "localhost"
"database" "mysql"
"user" "root"
"pass" ""

}


and thx for helping me with this i know i'm annoying here sry

LordTurbat is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 04-16-2010 , 04:40   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #604

Quote:
Originally Posted by LordTurbat View Post
L 04/16/2010 - 01:11:14: [SM] Detected parse error(s) in file "C:\L4D2\left4dead2\left4dead2\addons\sourcem od\configs\databases.cfg"
L 04/16/2010 - 01:11:14: [SM] Line 42: Section beginning without a matching ending
You are still having problems with the databases.cfg. You should recheck it, but from the looks of your copy&pasted databases.cfg, you are missing one closing bracket at the end of the file. It's just that I'm not so sure what you've ripped of this time. Just do a recheck and calculate that each opening curly bracket has an equal level closing curly bracket.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
LordTurbat
BANNED
Join Date: Apr 2010
Old 04-16-2010 , 05:45   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #605

Quote:
Originally Posted by muukis View Post
You are still having problems with the databases.cfg. You should recheck it, but from the looks of your copy&pasted databases.cfg, you are missing one closing bracket at the end of the file. It's just that I'm not so sure what you've ripped of this time. Just do a recheck and calculate that each opening curly bracket has an equal level closing curly bracket.
cand you give my your database.cfg in rar to see if that works ?
LordTurbat is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 04-16-2010 , 07:17   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #606

Quote:
Originally Posted by LordTurbat View Post
"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" ""
//"port" ""
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

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


"l4dstats"
{
"driver" "mysql"
"host" "localhost"
"database" "mysql"
"user" "root"
"pass" ""

}
}
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
LordTurbat
BANNED
Join Date: Apr 2010
Old 04-16-2010 , 08:02   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #607

now i dont have problems whit the database.cfg but now its this :


L 04/16/2010 - 15:00:20: SourceMod error session started
L 04/16/2010 - 15:00:20: Info (map "c1m1_hotel") (file "errors_20100416.log")
L 04/16/2010 - 15:00:20: [SM] Fatal error encountered parsing translation file "cdannouncer.phrases.txt"
L 04/16/2010 - 15:00:20: [SM] Error (line 0, column 0): Stream failed to open
L 04/16/2010 - 15:00:20: [SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
L 04/16/2010 - 15:00:20: [SM] Native "PrintToConsole" reported: Client index 11927732 is invalid
L 04/16/2010 - 15:00:20: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 04/16/2010 - 15:00:20: [SM] [0] Line 5960, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach:oFastQuery()
L 04/16/2010 - 15:00:20: [SM] [1] Line 1354, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::ConnectDB()
L 04/16/2010 - 15:00:20: [SM] [2] Line 564, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()
L 04/16/2010 - 15:00:25: [SM] Fatal error encountered parsing translation file "cdannouncer.phrases.txt"
L 04/16/2010 - 15:00:25: [SM] Error (line 0, column 0): Stream failed to open
L 04/16/2010 - 15:00:25: Error log file session closed.
L 04/16/2010 - 15:00:25: SourceMod error session started
L 04/16/2010 - 15:00:25: Info (map "c1m1_hotel") (file "errors_20100416.log")
L 04/16/2010 - 15:00:25: [SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
L 04/16/2010 - 15:00:25: [SM] Native "PrintToConsole" reported: Client index 18874437 is invalid
L 04/16/2010 - 15:00:25: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 04/16/2010 - 15:00:25: [SM] [0] Line 5960, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach:oFastQuery()
L 04/16/2010 - 15:00:25: [SM] [1] Line 1354, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::ConnectDB()
L 04/16/2010 - 15:00:25: [SM] [2] Line 564, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()


LordTurbat is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 04-17-2010 , 16:11   [L4D & L4D2] Custom Player Stats v1.4B67 - TEST VERSION
Reply With Quote #608

This is a quick, untested fix. It compiles if nothing else. Test it and give me feedback and other suggestions. New features anyone?

Things that it is supposed to fix:
  1. Players connecting slow caused error logging of player not in-game, when it was supposed to hint the player from the rankmenu functionality.
  2. Suicide penalty is taken away. You should not get penalty anymore from scavenge halftime.
  3. Messages like 'Native "PrintToConsole" reported: Client index 123456789 is invalid' should not occure anymore.
If it fixes the above and works for you, I'll post it on the first post. I can add/change functionality if requested, but otherwise this is how it will go for now.
Attached Files
File Type: sp Get Plugin or Get Source (1.4B67.sp - 536 views - 297.0 KB)
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.

Last edited by muukis; 04-17-2010 at 17:58.
muukis is offline
LordTurbat
BANNED
Join Date: Apr 2010
Old 04-17-2010 , 18:22   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #609

it's no working here is the erros log if it help...


SourceMod error session started
Info (map "c1m1_hotel") (file "errors_20100418.log")
[1.4B67.smx] Fast query failed! (Error = "Table 'mysql.players' doesn't exist") Query = "SELECT * FROM players WHERE 1 = 2"
[1.4B67.smx] Database is missing required table or tables.
[SM] Plugin encountered error 25: Call was aborted
[SM] Native "SetFailState" reported: Connecting to database failed. Read error log for further details.
[SM] Displaying call stack trace for plugin "1.4B67.smx":
[SM] [0] Line 568, /home/groups/alliedmodders/forums/files/5/2/0/8/2/63893.attach::OnPluginStart()
[SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
Error log file session closed.
SourceMod error session started
Info (map "c1m1_hotel") (file "errors_20100418.log")
[1.4B67.smx] Fast query failed! (Error = "Table 'mysql.players' doesn't exist") Query = "SELECT * FROM players WHERE 1 = 2"
[1.4B67.smx] Database is missing required table or tables.
[SM] Native "SetFailState" reported: Connecting to database failed. Read error log for further details.
[SM] Displaying call stack trace for plugin "1.4B67.smx":
[SM] [0] Line 568, /home/groups/alliedmodders/forums/files/5/2/0/8/2/63893.attach::OnPluginStart()
[SM] Unable to load plugin "l4d2scores.smx": Native "GameConfGetAddress" was not found
Error log file session closed.
LordTurbat is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 04-18-2010 , 03:30   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #610

Quote:
Originally Posted by LordTurbat View Post
[1.4B67.smx] Fast query failed! (Error = "Table 'mysql.players' doesn't exist") Query = "SELECT * FROM players WHERE 1 = 2"
[1.4B67.smx] Database is missing required table or tables.
Did you read the error message yourself? It's pretty obvious, isn't it? If it isn't: You need to install the tables in to your database.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis 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 11:22.


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