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 04-22-2009 , 20:44   Re: [L4D] Player Stats (Co-op) v1.1
Reply With Quote #361

The config file doesn't go there, it needs to go in /cfg/sourcemod/. It should be automatically generated there anyway.

Check the file permissions or something. That error says the file can't be opened so that says to me something is wrong on the filesystem.
__________________
msleeper is offline
Tripayou
Junior Member
Join Date: Nov 2008
Location: France
Old 04-22-2009 , 21:31   Re: [L4D] Player Stats (Co-op) v1.1
Reply With Quote #362

It works, permissions problem, sorry...
I tested with your last smx file and I've no errors in logs, but I only tested in coop mode. I'm going to sleep but I'll test tomorrow in survival and versus and I'll post ASAP if there is any problem.
THX
Tripayou is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 04-22-2009 , 23:21   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #363

Version 1.1.1 released! Upgrade to this version, this fixed the full-stop crash introduced with Survival!

I have a working system for Survival, I will be playtesting it during the next few days. I am looking for input, please read this thread for my current ideas and concepts for it. Versus stats will be based on a similar system as well, those will go into full testing soon!

Here is a full changelog.
Code:
 
-- 1.1.1 (4/22/09)
. Changed "IsVersus()" function to "InvalidGameMode()" to fix deadstop bug
   with the Survival update. This is part of paving the way to Survival
   and Versus stats in a future release.
. Fixed various error messages in error logs.
. Fixed stats panel to now work properly for people with certain characters
   in their name not making it display.
. Fixed (again) a certain case where blank users would be inserted.
. Added cvar to enable/disable showing of the rank panel when not in a valid
   gamemode, showing of disabled messages, and letting players use the chat
   commands.
. Added some stat whoring checks to the plugin:
   . A maximum amount of points can be earned in a single map
   . Only 3 Tanks may be awarded during a single map
. Fixed minor bug with Healthpack point award not giving full amount.
. Added a few currently unused cvars for future features:
   . sm_l4dstats_dbprefix -- Prefix to be used for database tables
   . sm_l4dstats_enablecoop -- Enable stats for Coop mode
   . sm_l4dstats_enablesv -- Enable stats for Survival mode
   . sm_l4dstats_enableversus -- Enable stats for Versus mode
   . sm_l4dstats_leaderboardtime -- Duration in days to show players top
     times on the Survival leaderboards
Keep in mind that there is a few warnings with the plugin if you compile manually. This is because of the last item there - the cvars exist but are currently unused.

As always please please please tell me if there are any issues or bugs. I had a few dozen people playtest this today and everything seemed to be working just fine, but sometimes things get missed!

Thanks everyone.
__________________
msleeper is offline
DDR Khat
SourceMod Donor
Join Date: Feb 2006
Old 04-23-2009 , 03:27   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #364

Bah no credits for the fix? lame!
Heh, I kid. Nicely done though! I will eventually get around to installing this when the versus mode also gets implemented. It'd be nice to have a database of stats.
__________________
Nothing but a whisper in the wind~~
DDR Khat is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 04-23-2009 , 05:31   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #365

Hah well, I knew exactly what was wrong when I read the update notes. I knew that removing the no_human_zombies would make this crap itself. I was a total retard and I was using a function incorrectly so for like an hour or two I just sat there scratching my head, trying to put a square peg in a round hole.
__________________
msleeper is offline
minos
Junior Member
Join Date: Apr 2009
Old 04-23-2009 , 05:32   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #366

Nice work!
Do we have to update "l4d_stats_web" too ?
Stats working well on my server with the new .smx (coop) Not ever tested survival mode...
Will feedback if any problem, but now it's time to capitalise zombies !!! lol
minos is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 04-23-2009 , 05:38   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #367

No there's no update to the webstats for now. There should be an update for that in 1.2.0.

Right now the stats do not work in Survival. As I said above I am working on a system which is in playtest process over at F7Lans.
__________________
msleeper is offline
Tripayou
Junior Member
Join Date: Nov 2008
Location: France
Old 04-23-2009 , 16:47   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #368

For french people, I translated awards file for web part. Copy the attached awards.fr.php on your web server, edit your config.php and replace :
Code:
$award_file = "awards.en.php";
by:
Code:
$award_file = "awards.fr.php";
Because of accents you need to edit your templates/layout.tpl and replace :
Code:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
by:
Code:
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
Maybe msleeper will include it to next release
Attached Files
File Type: rar awards.fr.rar (1.2 KB, 95 views)
Tripayou is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 04-23-2009 , 16:49   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #369

Yes! Thank you. Adding language support to the plugin and webstats was going to be a later step but I always appreciate it earlier.
__________________
msleeper is offline
Spank
Junior Member
Join Date: Apr 2009
Location: Tennessee, USA
Old 04-23-2009 , 19:43   Re: [L4D] Player Stats (Co-op) v1.1.1
Reply With Quote #370

All right, I need help... To start off, I know -nothing- about any of this (feel free to talk to me like I'm an idiot) and I'm just working on getting this running on my server, I've been trying to figure it out with the help of another person, but I'm stuck.

I'm working on this from my GameServers server and using their free website hosting, which uses PHP version 5.2.5 and MySQL version 4.1.22-standard-log, incase that's needed.

Also, I'm using version 1.1.0, I haven't bothered with an update because right now I'm just trying to get it working, I don't want to create more problems by breaking something else with updating

Currently, I have the website portion of the plugin set up but the ingame portion doesn't work. Rank and top10 do nothing.

I did find my databases.cfg file and edit it with, what I hope is the proper info

Code:
"Databases"
{
	"driver_default"		"mysql"
	
	"default"
	{
		"driver"			"mysql"
		"host"				"66.55.132.31"
		"database"			"DB"
		"user"				"user"
		"pass"				"pass"
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"mysql"
		"host"				"66.55.132.31"
		"database"			"DB"
		"user"				"user"
		"pass"				"pass"
		//"timeout"			"0"
		//"port"			"0"
	}
        "l4dstats"
        {
		"driver"              "mysql"
		"host"                "66.55.132.31"
		"database"            "DB"
		"user"                "User"
		"pass"                "stats"
	}  
}
66.55.132.31 is my website, primary DNS server (ns11.clanservers.com (66.55.132.31) Is this set up correctly? I assume they all use my website ip and not my game server ip (208.167.247.22)

I have gone into my MySQL Databases and added 208.167.247.% to my Access Hosts.

I stopped working on this for about two weeks, but I've tried to do everything and search through the thread for answers. I've kinda forgotten what all I've tried after that amount of time though.

What other things do I need to check to get this working?
Spank 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 19:00.


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