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 01-25-2010 , 07:25   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #61

Quote:
Originally Posted by chunXray View Post

player.php

pls let me know if any changes on player.php/player.tpl when this bug is fix
Thanks! This should fix it. I'll add it in the first post after I'm done with the minor tweaks.
Attached Files
File Type: zip player.zip (3.2 KB, 244 views)
__________________
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
chunXray
Member
Join Date: Jul 2009
Old 01-25-2010 , 07:30   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #62

Quote:
Originally Posted by muukis View Post
Thanks! This should fix it. I'll add it in the first post after I'm done with the minor tweaks.
alright, it works good for me now
chunXray is offline
chunXray
Member
Join Date: Jul 2009
Old 01-25-2010 , 08:27   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #63


server.php in this time
scavenge / survival mode was not calculate in this part

i'm trying to translate and just don't care about those chinese characters

EDIT: is that negative number in points earned by player are calculate in total points?
"Survivors Killed" seems doesn't including player die in coop mode. is that a bug?

EDIT2: page title for scavenge mode in player ranking was missing
i have no record in scavenge mode right now and i don't know if this is bug
Code:
"Warning:  Invalid argument supplied for foreach() in G:\AppServ\www\new\templates\ranking.tpl  on line 5"
EDIT3: some typo was found in playerlist.php
Code:
    if ($type == "coop") $typelabel = " (Coop)";
    else if ($type == "versus" && $team == "") $typelabel = " (Versus)";
    else if ($type == "realism" && $team == "") $typelabel = " (Realism)";
    else if ($type == "survival" && $team == "") $typelabel = " (Survival)";
    else if ($type == "versus" && $team == "survivors") $typelabel = " (Versus : Survivors)";
    else if ($type == "versus" && $team == "infected") $typelabel = " (Versus : Infected)";
    else if ($type == "scanvenge" && $team == "survivors") $typelabel = " (Scanvenge : Survivors)";
    else if ($type == "scanvenge" && $team == "infected") $typelabel = " (Scanvenge : Infected)";
    else $team = "";
should be
Code:
    if ($type == "coop") $typelabel = " (Coop)";
    else if ($type == "versus" && $team == "") $typelabel = " (Versus)";
    else if ($type == "realism" && $team == "") $typelabel = " (Realism)";
    else if ($type == "survival" && $team == "") $typelabel = " (Survival)";
    else if ($type == "scavenge" && $team == "") $typelabel = " (Scavenge)";
    else if ($type == "versus" && $team == "survivors") $typelabel = " (Versus : Survivors)";
    else if ($type == "versus" && $team == "infected") $typelabel = " (Versus : Infected)";
    else if ($type == "scavenge" && $team == "survivors") $typelabel = " (Scavenge : Survivors)";
    else if ($type == "scavenge" && $team == "infected") $typelabel = " (Scavenge : Infected)";
    else $team = "";
EDIT4:

IE8 makes things look different

EDIT5:those were found in both awards.php and awards.l4d2.php
Code:
$award_killspitter = "<a href=\"%s\">%s</a> Don't Like Zombies Without Manners with <b>%s Spitter</b> kills.";
$award_killjockey = "<a href=\"%s\">%s</a> Likes To Be On Top with <b>%s Jockey</b> kills.";
$award_killcharger = "<a href=\"%s\">%s</a> Don't Like To Be Pushed Around with <b>%s Charger</b> kills.";
$award_matador = "<a href=\"%s\">%s</a> is The Matador with <b>%s Leveled Charges</b>.";
$award_jockey = "<a href=\"%s\">%s</a> is The Freedom Fighter by <b>Saving %s Teammates From Jockeys</b>.";
$award_charger = "<a href=\"%s\">%s</a> is Giving Hell To Bullies <b>Saving %s Teammates From Chargers</b>.";
EDIT6: any bug fix for c2m1? infected climb on roof and it says we let infected run into saferoom

EDIT7: no award for player whose ride time is longest / most ride times.

Last edited by chunXray; 01-25-2010 at 15:15.
chunXray is offline
An8
Junior Member
Join Date: Jan 2010
Old 01-25-2010 , 11:07   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #64

Hi. Thanks for this plugin.

I managed to install it correctly, i can see it on my .net

1) I need help with this part, on databases.cfg:

Is this correct?

Code:
"l4dstats"
    {
        "driver"             "sqlite"
        "host"               "mywebsite.net"
        "database"        "clientprefs-sqlite"
        "user"               "root"
        "pass"               "mypass"
    }
2)Also, adding remote access to mysql..., i could add my website through the cpanel/REMOTE MySQL. But i can 't add my gameserver ip, it only allow domain.net.

And for the last:

3) I checked the pages, all correct, but in

/playerlist.php

Player Rankings
I got this error: Warning: Invalid argument supplied for foreach() in /home/mydatabaseuser/public_html/templates/ranking.tpl on line 5

Thanks!

Last edited by An8; 01-25-2010 at 11:22.
An8 is offline
punkrockerlocker
Junior Member
Join Date: Jan 2010
Old 01-25-2010 , 11:47   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #65

Quote:
Originally Posted by muukis View Post
I have to take this back. In my testings it seems to be working just fine. You don't happen to play the game with your friends in LAN and with the same Steam IDs?

I'm not sure how LAN is supposed to work. Don't the players get the unique Steam ID when playing in LAN?
Hmmm. I am not too sure about that? Anyway thanks alot for this great plugin!
punkrockerlocker is offline
iNFiNiTeX
Senior Member
Join Date: Dec 2009
Old 01-25-2010 , 17:09   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #66

Quote:
Originally Posted by punkrockerlocker View Post
Hmmm. I am not too sure about that? Anyway thanks alot for this great plugin!
Speaking of which, is it possible for the plugin to use nameid only opposed to steamid?
iNFiNiTeX is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-25-2010 , 17:19   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #67

Quote:
Originally Posted by iNFiNiTeX View Post
Speaking of which, is it possible for the plugin to use nameid only opposed to steamid?
Of course, but it would lead to unreliable statistics because the player names are not unique. It makes no sense to me to do that kind of functionality.
__________________
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
iNFiNiTeX
Senior Member
Join Date: Dec 2009
Old 01-25-2010 , 19:04   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #68

Quote:
Originally Posted by muukis View Post
Of course, but it would lead to unreliable statistics because the player names are not unique. It makes no sense to me to do that kind of functionality.
But the player names would certainly be unique if it was a small LAN gathering, which is what I am talking about.
iNFiNiTeX is offline
GrossKopf
Senior Member
Join Date: Jun 2007
Old 01-26-2010 , 02:32   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #69

Cool! Gonna try it out soon! This will let me ditch HLStatsX and save me a little money!
GrossKopf is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-26-2010 , 07:27   Re: [L4D & L4D2] Custom Player Stats v1.4B46
Reply With Quote #70

Quote:
Originally Posted by chunXray View Post

server.php in this time
scavenge / survival mode was not calculate in this part
They are in my website. Don't know why it does not show in yours. Is this a common problem?

Quote:
Originally Posted by chunXray View Post
EDIT: is that negative number in points earned by player are calculate in total points?
"Survivors Killed" seems doesn't including player die in coop mode. is that a bug?
Survivors Killed represents the value how many survivors the player has killed while playing Infected.

Quote:
Originally Posted by chunXray View Post
EDIT2: page title for scavenge mode in player ranking was missing
i have no record in scavenge mode right now and i don't know if this is bug
Yes it's a bug. Fixed in the next release.

Quote:
Originally Posted by chunXray View Post
EDIT4:

IE8 makes things look different
Fixed!

Quote:
Originally Posted by chunXray View Post
EDIT5:those were found in both awards.php and awards.l4d2.php
Code:
$award_killspitter = "<a href=\"%s\">%s</a> Don't Like Zombies Without Manners with <b>%s Spitter</b> kills.";
$award_killjockey = "<a href=\"%s\">%s</a> Likes To Be On Top with <b>%s Jockey</b> kills.";
$award_killcharger = "<a href=\"%s\">%s</a> Don't Like To Be Pushed Around with <b>%s Charger</b> kills.";
$award_matador = "<a href=\"%s\">%s</a> is The Matador with <b>%s Leveled Charges</b>.";
$award_jockey = "<a href=\"%s\">%s</a> is The Freedom Fighter by <b>Saving %s Teammates From Jockeys</b>.";
$award_charger = "<a href=\"%s\">%s</a> is Giving Hell To Bullies <b>Saving %s Teammates From Chargers</b>.";
I don't understand. The are not found in both of my files.

Quote:
Originally Posted by chunXray View Post
EDIT6: any bug fix for c2m1? infected climb on roof and it says we let infected run into saferoom
Sorry but - No. It's either the problem of the engine or SourceMod.

Quote:
Originally Posted by chunXray View Post
EDIT7: no award for player whose ride time is longest / most ride times.
The ride time is not very interesting to me. Easily done, but the ride length is too influential with the other survivors and their actions, so I see no usefulness in this statistics. It's not about how good you are riding a survivor, but how bad the team Survivors are.

Thanks for the input! Greatly appreciated!
__________________
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



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 07:07.


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