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

[L4D] Player Stats (Co-op) v1.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 16:22   Re: [L4D] Player Stats (Co-op)
Reply With Quote #91

Quote:
Originally Posted by Dodgy Bob View Post
Hi again,

Done a bit of checking myself. Seems it's just a problem with the field playtime_nor (possibly others as this is just the first it hits).

Trying to insert just a single entry gives the same error.

Hope this helps.

Bob.
Try changing line 45 in createtables from this:

Code:
$insert_maps = "INSERT INTO maps (name) VALUES ('l4d_airport01_greenhouse'),
To this:

Code:
$insert_maps = "INSERT IGNORE INTO maps (name) VALUES ('l4d_airport01_greenhouse'),
INSERT IGNORE may or may not solve your problem. Worst case scenario it says it works, and it actually does nothing. I am still curious your MySQL version.
__________________
msleeper is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 17:55   Re: [L4D] Player Stats (Co-op)
Reply With Quote #92

i cannot get this to work
what do i have to put in the server config?
this?
sm_l4dstats_announcemode
sm_l4dstats_medkitmode
sm_l4dstats_minhumans
sm_l4dstats_siteurl
sm_l4dstats_updaterate
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 17:57   Re: [L4D] Player Stats (Co-op)
Reply With Quote #93

Quote:
Originally Posted by DevilsReject View Post
i cannot get this to work
what do i have to put in the server config?
this?
sm_l4dstats_announcemode
sm_l4dstats_medkitmode
sm_l4dstats_minhumans
sm_l4dstats_siteurl
sm_l4dstats_updaterate
You don't have to edit those cvars, but those are the ones you probably want to modify. You can put them in your server.cfg or in the config that the plugin creates, in /cfg/sourcemod/l4d_stats.cfg.

What exactly is the problem you are having?
__________________
msleeper is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 17:58   Re: [L4D] Player Stats (Co-op)
Reply With Quote #94

when i type rank or top10 in stats nothing happens
also
http://egamerz.net/stats/index.php
empty
should i leave those out of the config file
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 18:02   Re: [L4D] Player Stats (Co-op)
Reply With Quote #95

Does your MySQL server allow external connections? Is there anything in the error log?
__________________
msleeper is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 18:06   Re: [L4D] Player Stats (Co-op)
Reply With Quote #96

yes it allows external connections and nothing inthe error log pertaining to this
DevilsReject is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 18:16   Re: [L4D] Player Stats (Co-op)
Reply With Quote #97

i never did find a database.cfg file where is it?
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 18:16   Re: [L4D] Player Stats (Co-op)
Reply With Quote #98

You're not really giving me a lot of details so I don't really know what the issue might be. Did you restart the server after updating database.cfg?

EDIT

Yeah, if you didn't edit the database.cfg file then of course it won't connect. It is in the /addons/sourcemod/configs/ directory.
__________________
msleeper is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 18:23   Re: [L4D] Player Stats (Co-op)
Reply With Quote #99

yes i found it this time
what do i put here

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
what info
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 18:24   Re: [L4D] Player Stats (Co-op)
Reply With Quote #100

Read the first post. All of the instructions on how to edit the file are there.
__________________
msleeper 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 06:02.


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