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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Tiger50
Member
Join Date: Feb 2010
Location: Southampton UK
Old 09-11-2017 , 08:37   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1841

@ muukis

My gsp has updated the php to 7 and that is causing the problem, I am running 15 l4d2 servers on a vs is it possible for me to add a php ver 5/6 web server to this drive without wiping it?
Tiger50 is offline
Send a message via Yahoo to Tiger50
doctorrock
New Member
Join Date: Sep 2017
Old 09-12-2017 , 07:55   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1842

PHP 7 removed the ext/mysql module favoring ext/mysqli or ext/pdo.

l4dstats web does not work as-is on new servers providing PHP 7.
PHP 5 is dying, even if we can still find servers providing it, PHP 7 will replace it.

Reading l4dstats web source code, it seems like attempts had been made to switch between mysql/mysqli , but never used. Huge parts of code still hardcode ext/mysql usage, thus turning any code change into a nightmare. At least, lots of motivation is needed to patch it.
doctorrock is offline
Tiger50
Member
Join Date: Feb 2010
Location: Southampton UK
Old 09-12-2017 , 12:37   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1843

@ doctorrock

Im running a ubuntu server with 15 virtual l4d2 servers on it can i install a webserver on to the server to run php5/6?? without wiping my server and reinstalling?
Tiger50 is offline
Send a message via Yahoo to Tiger50
muukis
Veteran Member
Join Date: Apr 2009
Old 09-13-2017 , 02:11   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1844

Quote:
Originally Posted by Tiger50 View Post
@ muukis

My gsp has updated the php to 7 and that is causing the problem, I am running 15 l4d2 servers on a vs is it possible for me to add a php ver 5/6 web server to this drive without wiping it?
There are no install scripts within the custom player stats, that could drop existing data from the database. Installing/downgrading to an older PHP would not kill the stats. However, it is never a bad thing to make backups.

Quote:
Originally Posted by doctorrock View Post
PHP 7 removed the ext/mysql module favoring ext/mysqli or ext/pdo.

l4dstats web does not work as-is on new servers providing PHP 7.
PHP 5 is dying, even if we can still find servers providing it, PHP 7 will replace it.

Reading l4dstats web source code, it seems like attempts had been made to switch between mysql/mysqli , but never used. Huge parts of code still hardcode ext/mysql usage, thus turning any code change into a nightmare. At least, lots of motivation is needed to patch it.
Thanks for the info. I will update my PHP to the latest and then fix the errors... once I get the time to do that.
__________________
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; 09-13-2017 at 02:11.
muukis is offline
doctorrock
New Member
Join Date: Sep 2017
Old 09-13-2017 , 06:39   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1845

Quote:
Originally Posted by muukis View Post
Thanks for the info. I will update my PHP to the latest and then fix the errors... once I get the time to do that.
I could PR ; but I think it would be better to rewrite it from scratch with some DBAL based on PDO for example.
doctorrock is offline
Tiger50
Member
Join Date: Feb 2010
Location: Southampton UK
Old 10-05-2017 , 12:20   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1846

My GSP fixed the problem with this addon when their webservers were upgraded to PHP 7, Custom players stats is back up and running on PHP 7

I think they have a bit of code that you run once on files like common.php config.php and it worked fine, if anyone wants the link let me know
Tiger50 is offline
Send a message via Yahoo to Tiger50
doctorrock
New Member
Join Date: Sep 2017
Old 10-12-2017 , 15:59   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1847

I also managed to patch and customize a version for my needs. Pretty dirty, but works.
doctorrock is offline
Tiger50
Member
Join Date: Feb 2010
Location: Southampton UK
Old 10-29-2017 , 07:53   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1848

Has anyone got a version of the l4d_stats.smx that works in windows as mine stopped working ages ago and ive tried most things to get it to work on my windows servers with no luck

I have np with with it on my ubuntu servers and it runs like a dream

Last edited by Tiger50; 10-29-2017 at 11:11.
Tiger50 is offline
Send a message via Yahoo to Tiger50
eziosid
Senior Member
Join Date: Sep 2017
Old 12-25-2017 , 00:44   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1849

hello tnx muukis for this plugin ... ! this plugin is added life to games and competation and it will never end i just want to know how to make website of my server rank i made recently 10vs10 server in windows and added this all work fine only need player will see there rank in website it's all ready have option but am new and learning so can some one plz help me to make my server web site php what can i do plz make 1 simple video or any thing for how to make php site for this . and sory my eng is bad come from india tnx in advance keep it up .
eziosid is offline
alansdit12
AlliedModders Donor
Join Date: Nov 2015
Location: Indonesia
Old 12-25-2017 , 10:11   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1850

can rank plugin handle in 2 servers at the same time and in 1 server folder, cuz when i tried online players in webrowser only detect in server 1 , server 2 works but cant obtain/collect the data its just like rank viewer for server 1
alansdit12 is offline
Reply


Thread Tools
Display Modes

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


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