Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
muukis
Veteran Member
Join Date: Apr 2009
Old 01-05-2017 , 01:15   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1831

Quote:
Originally Posted by Neon123 View Post
this is sqlite ?
No. This is developed to function with MySQL server.

However, the syntax of SQL queries is very generic so there is a chance it can function in SQLite server as well. It would not need much modifications to function there, if it does not as it is.
__________________
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-05-2017 at 01:17.
muukis is offline
dyxL
Senior Member
Join Date: Jul 2010
Old 02-14-2017 , 19:13   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1832

can i use web script with 2 server ? with 1 db ?
dyxL is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 02-15-2017 , 05:40   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1833

Quote:
Originally Posted by dyxL View Post
can i use web script with 2 server ? with 1 db ?
If by "web script" you mean the PHP web stats, then yes. A web stats site connects to one DB. A stats DB can host multiple game servers. Does this answer your question?
__________________
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
jjambo789
Junior Member
Join Date: Dec 2013
Old 02-22-2017 , 03:17   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1834



I'm not good at English...
l4dstats\templates\default\player.tpl
line 22, 24 http://servers.gamefurs.net => This website dose not work.
Please fix it.


<!-- player.pl -->
<div class="profile_header_content">
<?php echo"<div class='steamprofile' title=" . $player_steamid . "></div>"; ?>
<div class="profile_header_base">
<div class="persona_name" style="font-size: 24px;">
<a href="http://steamcommunity.com/profiles/<?php echo $player_url;?>" target="_blank"><?php echo $player_name;?></a>
</div>
<?php foreach ($arr_rank as $ranks): ?>
<?php echo $ranks;?>
<?php endforeach; ?>
<div class="activity">
<?php echo $player_lastonline;?>
</div>
<script>
function Signature_l4dstats()
{
document.getElementById("sig_select").select( );
}
</script>
<div class="signature-box">
<?php echo "
<img src='http://servers.gamefurs.net/l4d2stats/sig.php?steamid=" . $player_steamid . "' />";
echo '
<input class="box_pre" type="text" id="sig_select" readonly value="">
<button type="button" id="sig_button" onclick="Signature_l4dstats()">Select</button>';
?>
</div>

Last edited by jjambo789; 02-22-2017 at 03:20.
jjambo789 is offline
Emilio3
Member
Join Date: Aug 2013
Location: London UK
Old 04-13-2017 , 10:25   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1835

muukis where can i add the port my host because use 3307
my gameserver connect ok in port 3307 but the web server not connect




PHP Code:
try in $mysql__server "myhost:3307"but no connect
try in $mysql_port '3307'but not connect
$mysql_server 
'localhost';
$mysql_user 'USERNAME';
$mysql_password 'PASSWORD';
$mysql_db 'DATABASE';
$mysql_tableprefix ''

Last edited by Emilio3; 04-15-2017 at 03:32.
Emilio3 is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 04-20-2017 , 09:30   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1836

Um, muukis. If you see this, I'll be helping in your GitHub repo regarding the numerous bugs about the web stats. So far, I've only tracked 2 or 3 but bugs nonetheless.
cravenge is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 04-21-2017 , 03:39   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1837

Quote:
Originally Posted by cravenge View Post
Um, muukis. If you see this, I'll be helping in your GitHub repo regarding the numerous bugs about the web stats. So far, I've only tracked 2 or 3 but bugs nonetheless.
That would be brilliant, thanks! I've not been able to add anything to this project for quite some time now, but a few days ago I took a look at sig.php problem jjambo789 posted a few posts above. It was easy to change the URL to point properly, but the current problem is the BOM that gets written in the sig.php output. I'll upload the current state to Git, if you'll have time to look at it.

If Valve ever decides to do L4D3, I will rewrite everything from scratch. There's too much legacy code in the current implementations and honestly it's a mess.
__________________
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
sirphr
Member
Join Date: Jun 2010
Location: Florida, USA
Old 05-12-2017 , 17:59   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1838

Have no idea why the web install isnt working. Shows Server requirements then its a blank page when you hit next.

Server requirements shows that everything is OK.

this is the l4d_stats_web2
__________________

Last edited by sirphr; 05-12-2017 at 17:59.
sirphr is offline
Tiger50
Member
Join Date: Feb 2010
Location: Southampton UK
Old 09-10-2017 , 09:17   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1839

Anyone able to help with this error, had no trouble with this plugin for years now it says

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/www/pwwebhosting/public/customstats/common.php:443 Stack trace: #0 /usr/www/pwwebhosting/public/customstats/index.php(12): include() #1 {main} thrown in /usr/www/pwwebhosting/public/customstats/common.php on line 443

and I have not changed a thing

Thanks in advance
Tiger50 is offline
Send a message via Yahoo to Tiger50
muukis
Veteran Member
Join Date: Apr 2009
Old 09-11-2017 , 02:36   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1840

Quote:
Originally Posted by Surf3rDud3 View Post
Have no idea why the web install isnt working. Shows Server requirements then its a blank page when you hit next.

Server requirements shows that everything is OK.

this is the l4d_stats_web2
Sorry for being so late with my reply. Your problem can be caused by several issues. I would suggest you to install the original version and then using the web2. Just make sure your configurations are properly set.

Quote:
Originally Posted by Tiger50 View Post
Anyone able to help with this error, had no trouble with this plugin for years now it says

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/www/pwwebhosting/public/customstats/common.php:443 Stack trace: #0 /usr/www/pwwebhosting/public/customstats/index.php(12): include() #1 {main} thrown in /usr/www/pwwebhosting/public/customstats/common.php on line 443

and I have not changed a thing

Thanks in advance
Maybe your service provider has upgraded the PHP? What version of PHP you are running? That function was already deprecated, but it is likely completely removed in some latest version of PHP. I can't promise anything, but if I have some time to look at it, I will do an update so that the latest PHP is supported.
__________________
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


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 03:21.


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