Raised This Month: $41 Target: $400
 10% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
maclarens
Member
Join Date: Jul 2020
Old 10-13-2020 , 07:47   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1971

Quote:
Originally Posted by Lombart View Post
hello everyone

i have some trouble with ranking page, it's blank, the other page is okay,
i do Set CHMOD 777
i do update GeoLite2-Country.mmdb and geoip2.phar,
i use ip private for my server and i do some port forwarding and NAT from my main router to my server, 80, 443, 27015

i almost give up
if u use linux debian 10 server(recomendation php and mysql 5version) and add web part on user(not root) then site work fine without problems..

Last edited by maclarens; 10-13-2020 at 07:48.
maclarens is offline
Primeas
Junior Member
Join Date: Aug 2019
Old 10-13-2020 , 16:25   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1972

Quote:
Originally Posted by Lombart View Post
hello everyone

i have some trouble with ranking page, it's blank, the other page is okay,
i do Set CHMOD 777
i do update GeoLite2-Country.mmdb and geoip2.phar,
i use ip private for my server and i do some port forwarding and NAT from my main router to my server, 80, 443, 27015

i almost give up
Hello, that sounds like a deactivated PHP module to read the Steam avatars or a "local ip address", if there is a local ip address in the mysql database of a player then it shows a blank page (logical because local ip addresses don't have any country) otherwise the page can also be empty if a PHp module is deactivated, which usually occurs with free webspace. You are welcome to write to me, preferably via Steam, then we can determine the problem


Quote:
Originally Posted by maclarens View Post
if u use linux debian 10 server(recomendation php and mysql 5version) and add web part on user(not root) then site work fine without problems..
The problem has nothing to do with the OS on the dedicted / root / vps but rather user-related, missing php module / local ip in mysql

Last edited by Primeas; 10-13-2020 at 16:26.
Primeas is offline
Lombart
New Member
Join Date: May 2020
Old 10-14-2020 , 00:05   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1973

Quote:
Originally Posted by Primeas View Post
Hello, that sounds like a deactivated PHP module to read the Steam avatars or a "local ip address", if there is a local ip address in the mysql database of a player then it shows a blank page (logical because local ip addresses don't have any country) otherwise the page can also be empty if a PHp module is deactivated, which usually occurs with free webspace. You are welcome to write to me, preferably via Steam, then we can determine the problem




The problem has nothing to do with the OS on the dedicted / root / vps but rather user-related, missing php module / local ip in mysql

or maybe because my server is behind the NAT?
because everytime players connect to server always show my router ip not they public IP address
Client "****" connected (192.168.1.11821)
Client "****" connected (192.168.1.1:20672)
Lombart is offline
Primeas
Junior Member
Join Date: Aug 2019
Old 10-14-2020 , 16:07   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1974

Quote:
Originally Posted by Lombart View Post
or maybe because my server is behind the NAT?
because everytime players connect to server always show my router ip not they public IP address
Client "****" connected (192.168.1.11821)
Client "****" connected (192.168.1.1:20672)
No, that just shows that you have a local game server, for example "22:03:16 L 10/14/2020 - 22:03:16:" Primeas <5502> <STEAM_1: 1: 29307342> <> "connected, address "77.20.252.2047211"
22:03:16 L 10/14/2020 - 22:03:17: "Primeas <5502> <STEAM_1: 1: 29307342> <>" STEAM USERID validated "as I said without information about the server software / operating system and which web server / php version etc. I can't help you there. There are many possibilities why it doesn't work and without an address to the stats it is like looking into a glass ball and have to guess what it might be

please write me privat, add me on steam then i can help you but now with this little infos i cant say its this or this...
Primeas is offline
Ocela
Junior Member
Join Date: Oct 2020
Old 10-14-2020 , 21:02   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1975

Hey Primeas, just wanted to let you know I've been using your stats page and my players love it! Only thing is that if they have under like 5k infected kills, it will say they "destroyed fewer Infected than the Population of the smallest town in USA." Which isn't true lol. But this is a phenomenal plugin. Thanks!
Ocela is offline
Primeas
Junior Member
Join Date: Aug 2019
Old 10-15-2020 , 08:36   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1976

Quote:
Originally Posted by Lombart View Post
or maybe because my server is behind the NAT?
because everytime players connect to server always show my router ip not they public IP address
Client "****" connected (192.168.1.11821)
Client "****" connected (192.168.1.1:20672)
i found a bug on the fix for the local ip, i uploaded a fixed version here

Quote:
Originally Posted by Ocela View Post
Hey Primeas, just wanted to let you know I've been using your stats page and my players love it! Only thing is that if they have under like 5k infected kills, it will say they "destroyed fewer Infected than the Population of the smallest town in USA." Which isn't true lol. But this is a phenomenal plugin. Thanks!
population.csv
min: "Metropolitan Statistical Area","Lamesa, TX",12619
max: "World","The Earth",7674575000

config.php
$population_file = "../_source/population.csv";
$population_minkills = 12619;
Primeas is offline
Director_Yara
New Member
Join Date: Nov 2020
Old 11-04-2020 , 04:13   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1977

Is it possible to install stats without website? Just for local server? Which points changes in this case?

1. Download l4d_stats.txt to /addons/sourcemod/gamedata. If you don't download this, your Rank Vote will be disabled.
2. Edit your databases.cfg file at /addons/sourcemod/config. Insert "l4dstats" entry with a valid connection info to your Custom Player Stats database.
3. Download compiled plugin (l4d_stats.smx) to /addons/sourcemod/plugins.

That's all?

Last edited by Director_Yara; 11-04-2020 at 04:15.
Director_Yara is offline
weffer
Member
Join Date: Oct 2020
Old 11-04-2020 , 16:56   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1978

Hi:

this plugin can give random color and glow to the lowest ranks, an example or it is another plugin.

https://ibb.co/1ns8CW5
https://ibb.co/99JBKXb

My ingles is bad.
weffer is offline
RAC
Junior Member
Join Date: Oct 2020
Old 11-15-2020 , 15:01   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1979

I am stuck in the install.php page

Required PHP modules
MySQL
Not available Failed

Here's my sql config in config.php

// MySQL information for L4D Stats DB
$mysql_server = "localhost";
$mysql_db = "l4d2stats";
$mysql_user = "root";
$mysql_password = "";
$mysql_tableprefix = "";

Let me know if anyone have any solution.
RAC is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-18-2020 , 03:46   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1980

Getting excited about Back 4 Blood!

If it will be supported by SourceMod, I will be doing or will collaborate development on a new stats mod for that game. Super excited!

Edit: Gameplay video
__________________
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; 12-18-2020 at 03:49.
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 15:17.


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