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

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


Post New Thread Reply   
 
Thread Tools Display Modes
muukis
Veteran Member
Join Date: Apr 2009
Old 08-06-2012 , 05:12   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1521

Quote:
Originally Posted by el_psycho View Post
Hey muukis, this looks like the problem i was having a while back with the google maps images, to which i posted my solution in this post.

Kahl_Drogo seems to have followed those instructions since i see this line in his config.php
Code:
$googlemaps_apikey = "x";
maybe he made a mistake in the index.php in which i changed this line:
Code:
$googlemaps = "http://maps.google.com/maps/api/staticmap?key=" . $googlemaps_apikey;
to this:
Code:
$googlemaps = "http://maps.googleapis.com/maps/api/staticmap?";
So, if he doesnt care about the maps he can simply remove the "x" from $googlemaps_apikey in config.php and he will have no maps, or he can double check that other line in index.php and make sure its right.

BTW muukis, did you look at any of this? you never gave confirmation.
Sorry if I missed something. I did notice your propose for the fix, and did try to make some tweaks to the code, in which you should not have to enter any API key anymore. Didn't remember to comment anything afterwords, sorry about that. It works for me at least. Maybe I have to double check it again...
__________________
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 08-06-2012 , 10:08   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1522

Why does it put normal maps as custom for me? link
and in case you didn't see: post 1519
__________________
kwski43 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 08-07-2012 , 02:30   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1523

Quote:
Originally Posted by kwski43 View Post
Why does it put normal maps as custom for me? link
and in case you didn't see: post 1519
Sorry, didn't see your previous post. All maps that make statistical data to the db, first check if an existing data entry for the map previously exists. If it does not, a new row with custom value true is entered. All "original" maps (not custom) are entered to the db by the installer. It seems to me, that a) your db installation is incomplete, b) Valve has decided to change map names or c) the plugin has gone rogue and needs urgent fixing. I'd like to think it's a) that you're having a problem with?
__________________
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 08-07-2012 , 06:31   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1524

I've checked mysql, it has all the required maps, rerun installer, will see what happen now.

Edit: re-running install.php fixed the problem.


And according the error post 1519 it happens for clients who have whole name in special characters not supported by encoding, like russian characters. And it's also annoying how their names are non-clickable on stats, had to make temporary fix on my own in webstats for this.

Last edited by kwski43; 08-08-2012 at 06:36.
kwski43 is offline
polaq12345
Member
Join Date: Jul 2012
Location: Poland
Old 08-22-2012 , 06:27   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1525

good job ,

next server with that plugin

http://tictak.eu/left4dead/
polaq12345 is offline
chatyak
Senior Member
Join Date: Aug 2011
Old 08-25-2012 , 16:25   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1526

I believe I got this working.... it's showing successfully in "sm plugins list" and it is printing messages to chat when I was in game testing - however it said "plugin DISABLED, not enough human players".

Where is the cvar to determine how many players are needed? My eyes can't seem to find it...
chatyak is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 08-25-2012 , 18:45   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1527

Quote:
Originally Posted by chatyak View Post
I believe I got this working.... it's showing successfully in "sm plugins list" and it is printing messages to chat when I was in game testing - however it said "plugin DISABLED, not enough human players".

Where is the cvar to determine how many players are needed? My eyes can't seem to find it...
l4d_stats_minhumans "1"
__________________

Last edited by kwski43; 08-25-2012 at 18:46.
kwski43 is offline
Stargate75
Junior Member
Join Date: Apr 2011
Old 08-26-2012 , 14:57   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1528

Why come this?
Quote:
L 07/30/2012 - 20:51:01: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "l4d_stats.smx") L 07/30/2012 - 20:51:01: [SM] Unloading plugin to free 16040 handles. L 07/30/2012 - 20:51:01: [SM] Contact the author(s) of this plugin to correct th is error.
Can you fix this?

Last edited by Stargate75; 08-26-2012 at 14:58.
Stargate75 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 08-27-2012 , 01:19   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1529

Quote:
Originally Posted by Stargate75 View Post
Can you fix this?
There is a very good chance that the code does not clean up properly and leaves memory leaks. I don't know when I have the time to look into it, I'm sorry to say.
__________________
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
chatyak
Senior Member
Join Date: Aug 2011
Old 08-28-2012 , 02:07   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1530

Thank you for your efforts - works well

Is there a way to change how the players are ranked? Instead of how many points (somewhat related to time on server), simply by who has most points per minute averaged? (displayed on the website for #1 - etc.... )

I do know you can view ranking by top 10 PPM in game.

Best,
chatyak 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 11:19.


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