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

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


Post New Thread Reply   
 
Thread Tools Display Modes
ddxsamx
Junior Member
Join Date: Oct 2009
Old 02-23-2010 , 05:13   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #391

Oh, Nifty.

Thank you for the plugin, and thank you for your help.
a quick change in php.ini fixed it. would have had absolutely no idea that was the problem. haha.

Cheers.
ddxsamx is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 02-23-2010 , 12:06   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #392

I've made a common.php modification for those people who are playing l4d1inl4d2 maps on server and don't want to show these maps as Custom maps.
This will look like:
http://stats.jacklul-l4d2.tk/maps.php?type=coop

Works with $game_version = 2 and 0


@muukis:
Code:
$realism_campaigns = array("c1" => "Dead Center (L4D2)",
                       "c2" => "Dark Carnival (L4D2)",
                       "c3" => "Swamp Fever (L4D2)",
                       "c4" => "Hard Rain (L4D2)",
                       "c5" => "The Parish (L4D2)",
                       "l4d_hospital" => "No Mercy - Co-op (L4D1)",
                       "l4d_airport" => "Dead Air - Co-op (L4D1)",
                       "l4d_smalltown" => "Death Toll - Co-op (L4D1)",
                       "l4d_farm" => "Blood Harvest - Co-op (L4D1)",
                       "l4d_garage" => "Crash Course (L4D1)",
                       "" => "Custom Maps (L4D2)");
}
l4d1 maps works with realism(for me, idk if for u)
Attached Files
File Type: zip common.zip (4.7 KB, 118 views)
__________________

Last edited by kwski43; 02-24-2010 at 08:49.
kwski43 is offline
DmanWCG
Member
Join Date: Aug 2008
Old 02-23-2010 , 14:10   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #393

Hey quick question.

When my game server is up and running and full, it takes forever to get my stats website to load. I noticed it takes longer since I activated the Google maps item. Is this common?
__________________
DmanWCG is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 02-23-2010 , 14:38   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #394

Quote:
Originally Posted by DmanWCG View Post
Hey quick question.

When my game server is up and running and full, it takes forever to get my stats website to load. I noticed it takes longer since I activated the Google maps item. Is this common?
Unfortunately yes. The database is so big, that the queries to locate players takes long time to process. In my system, one query takes 100-200 ms to return with a result. If you have 10 players on a system as fast (or slow) as mine, it can take two seconds to execute google maps locations queries. For example, I've seen couple of server clusters that may have more than 100 players playing at one time. On those systems, the queries would possibly take 20 seconds to complete.

You can have the location feature included without showing the google maps. You would see player location with a goolge maps link at player.php (Player Details -page).
__________________
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
kwski43
Senior Member
Join Date: Mar 2009
Old 02-23-2010 , 15:15   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #395

Quote:
Originally Posted by DmanWCG View Post
Hey quick question.

When my game server is up and running and full, it takes forever to get my stats website to load. I noticed it takes longer since I activated the Google maps item. Is this common?
On MAx MYsql connections = 300, 500 tables to cache and InnoDB it works for me greatly!
__________________
kwski43 is offline
DmanWCG
Member
Join Date: Aug 2008
Old 02-23-2010 , 19:16   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #396

Is there a way to limit the amount of players ranks to show on the website?
__________________
DmanWCG is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 02-24-2010 , 03:27   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #397

Quote:
Originally Posted by DmanWCG View Post
Is there a way to limit the amount of players ranks to show on the website?
What exactly do you mean? Players Online, Top10, Player Ranking, ...
__________________
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
Ravine.hu
Junior Member
Join Date: Feb 2010
Old 02-24-2010 , 04:31   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #398

Hello!

First, nice plugin!
But i would love to see a switch to:
- stat survivors only
- stat infected only
- both

That's because on 10vs10 servers the survivor bots kills most of the infected, so human survivors don't get points effectively, but infected players get too many.

Another thing: can you print the current map (and current round maybe) on the main screen (beside the "Players online")?

thx

Last edited by Ravine.hu; 02-24-2010 at 05:12.
Ravine.hu is offline
Ravine.hu
Junior Member
Join Date: Feb 2010
Old 02-24-2010 , 06:07   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #399

I'm now getting this:
PHP Code:
L 02/24/2010 12:05:05: [SMNative "GetClientTeam" reportedClient 20 is not in game
L 02
/24/2010 12:05:05: [SMDisplaying call stack trace for plugin "l4d_stats.smx":
L 02/24/2010 12:05:05: [SM]   [0]  Line 2619, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::event_PlayerDeath() 
Is it an error? Maybe incompatibility with other plugin...?

thx
Ravine.hu is offline
mustafata
Member
Join Date: Nov 2009
Old 02-24-2010 , 06:27   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #400

Ummm , am I the only one that feels totally lost here ?!?!
I cant get the slightest clue how that should work ... and how to install it.
1.Is it nessecery to put those stats on a web site ?
2.Is it possible for this to work only ingame ? And by ingame i mean the commands such as "top ... something" and "rank" typed by clients.
3.What is the way the plugin makes difference between players ? Is it by Steam ID or by Nickname? If it is by Steam ID, is there a way to switch it to name authentication ?
... so many questions that don't have answers (atleast in the plugin info).
I am sorry if my comment seems a bit like im criticizing, but i really like the idea of the plugin (tracing player statistics) , but i cant seem to understand all those things i mentioned .
mustafata 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 10:06.


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