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

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


Post New Thread Reply   
 
Thread Tools Display Modes
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
Old 12-04-2022 , 15:16   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2011

Quote:
Originally Posted by Dominatez View Post
Having an issue with this in the log file.
Code:
[SM] Exception reported: Divide by zero
[SM] Blaming: l4d_stats.smx
[SM] Call stack trace:
[SM]   [1] Line 3619, l4d_stats.sp::event_TankKilled
a number cannot be divided by zero
__________________
My Noob Plugins

Discord:WhiteFire#1301
Steam:WhiteFire
Youtube

Last edited by King_OXO; 12-04-2022 at 15:17.
King_OXO is offline
Alex101192
Senior Member
Join Date: Aug 2018
Old 12-14-2022 , 12:06   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2012

I updated the plugin to track the stats of all the mutations from last stand plus any custom mutations you may use. The original plugin only checks for the original Valve mutations and leaves out the new last stand ones, now it includes all other mutations in its tracking, including custom ones, no need to specify new ones in the code, anything that isn't specifically defined goes to the mutations category.

I also added the latest last stand l4d1versus to the list of versus mutations along with old ones that weren't added, this way the plugin allows for rankvote use in these too.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_stats.sp - 198 views - 346.5 KB)

Last edited by Alex101192; 12-15-2022 at 15:35.
Alex101192 is offline
Balloons
Member
Join Date: Feb 2020
Old 12-21-2022 , 13:44   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2013

So I'm having trouble with the player and gameserver pages after a clean installation. Every other page works fine except for those two.

Weird because I used to use the exact same setup for my _config file with the exact same webhost and now the player.php?steamid=STEAM_1:1:00000000 and Gameserver pages only show a blank page.

Edit: It appears to be a compatibility issue with PHP 8.1. It's unfortunate that my webhost has forced it upon all its customers so I might have to switch.

Last edited by Balloons; 12-21-2022 at 21:06. Reason: Found reason.
Balloons is offline
kimyw8240
Junior Member
Join Date: Jan 2023
Old 01-08-2023 , 09:55   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2014

[l4d_stats.smx] Databases.cfg missing 'l4dstats' entry!
L 01/08/2023 - 1342: [SM] Exception reported: Connecting to database failed. Read error log for further details.
L 01/08/2023 - 1342: [SM] Blaming: l4d_stats.smx
L 01/08/2023 - 1342: [SM] Call stack trace:
L 01/08/2023 - 1342: [SM] [0] SetFailState
L 01/08/2023 - 1342: [SM] [1] Line 1053, /home/forums/content/files/5/2/0/8/2/123599.attach::OnConfigsExecuted

I don't know the cause.
kimyw8240 is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 01-10-2023 , 17:55   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2015

source mod 1.11 player stats rip !not compiling and not working.
maclarens is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-11-2023 , 02:20   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2016

Please test this one out and verify if it is working. I fixed the error and warnings when compiling for SM 1.11. It is based on version 1.4B121 which is on first post.

You can review all the changes from the feature branch:
https://github.com/muukis/l4dstats/tree/dev/sm1.11

Edit: Published in the first post now.
__________________
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.

Last edited by muukis; 01-18-2023 at 05:32.
muukis is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-11-2023 , 06:25   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2017

Quote:
Originally Posted by kimyw8240 View Post
[l4d_stats.smx] Databases.cfg missing 'l4dstats' entry!
L 01/08/2023 - 1342: [SM] Exception reported: Connecting to database failed. Read error log for further details.
L 01/08/2023 - 1342: [SM] Blaming: l4d_stats.smx
L 01/08/2023 - 1342: [SM] Call stack trace:
L 01/08/2023 - 1342: [SM] [0] SetFailState
L 01/08/2023 - 1342: [SM] [1] Line 1053, /home/forums/content/files/5/2/0/8/2/123599.attach::OnConfigsExecuted

I don't know the cause.
Do you have the l4dstats entry in your databases.cfg file? Have you double checked?
__________________
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.

Last edited by muukis; 01-11-2023 at 06:26.
muukis is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 01-12-2023 , 07:46   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2018

Quote:
Originally Posted by muukis View Post
Please test this one out and verify if it is working. I fixed the error and warnings when compiling for SM 1.11. It is based on version 1.4B121 which is on first post.

You can review all the changes from the feature branch:
https://github.com/muukis/l4dstats/tree/dev/sm1.11
Wow this great news thx!
Im testing all functions and compile plugin work good!
in previos version and fix version still not working
l4d_stats_adm_cleanoldplayers "1"// i can old player statistics remove only manualy
no other problem found!
maclarens is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 01-12-2023 , 15:29   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2019

Holy moly he's alive!
__________________
Mr. Man is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-18-2023 , 05:35   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2020

Quote:
Originally Posted by muukis View Post
...
Published v1.5 of the plugin in the first post now.
__________________
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 13:20.


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