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

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


Post New Thread Reply   
 
Thread Tools Display Modes
kimyw8240
Junior Member
Join Date: Jan 2023
Old 01-18-2023 , 22:35   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2021

Quote:
Originally Posted by muukis View Post
Do you have the l4dstats entry in your databases.cfg file? Have you double checked?
The plug-in is currently functioning normally!
I want to translate the phrases in the chat, so could you tell me how to do it?
kimyw8240 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-19-2023 , 01:16   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2022

Quote:
Originally Posted by kimyw8240 View Post
I want to translate the phrases in the chat, so could you tell me how to do it?
You will have to edit the texts inside the plugin source code and then compile it for you. The plugin does not have multi language support.
__________________
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
kimyw8240
Junior Member
Join Date: Jan 2023
Old 01-19-2023 , 08:51   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2023

Quote:
Originally Posted by muukis View Post
You will have to edit the texts inside the plugin source code and then compile it for you. The plugin does not have multi language support.
Where is the source code inside the plugin?
kimyw8240 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-20-2023 , 01:37   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2024

Quote:
Originally Posted by kimyw8240 View Post
Where is the source code inside the plugin?
If you don't know how things work, do a little research and try to figure them out by yourself before jumping directly to request help. In the process you'll learn stuff that you might find interesting.

Anyways, here, I hope this helps where to start at. Take a look at the attached images. They should point you to the right direction?
Attached Thumbnails
Click image for larger version

Name:	source.png
Views:	244
Size:	60.8 KB
ID:	199151   Click image for larger version

Name:	translate.jpg
Views:	232
Size:	87.3 KB
ID:	199152  
__________________
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
GerPunisher_
Junior Member
Join Date: Mar 2022
Old 01-20-2023 , 08:05   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2025

i have error http 500 with the modern template
i have checked all the ip addresses on my database and none of them are Class C.
the ranking page is working, but when trying to access a specific player to see their info, the webpage returns http 500 error.
what can causes the http 500 error ?
GerPunisher_ is offline
kimyw8240
Junior Member
Join Date: Jan 2023
Old 01-20-2023 , 10:34   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2026

Quote:
Originally Posted by muukis View Post
If you don't know how things work, do a little research and try to figure them out by yourself before jumping directly to request help. In the process you'll learn stuff that you might find interesting.

Anyways, here, I hope this helps where to start at. Take a look at the attached images. They should point you to the right direction?

Thank you sincerely!!!!!!!!
kimyw8240 is offline
Balloons
Member
Join Date: Feb 2020
Old 01-21-2023 , 02:25   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2027

Quote:
Originally Posted by GerPunisher_ View Post
i have error http 500 with the modern template
i have checked all the ip addresses on my database and none of them are Class C.
the ranking page is working, but when trying to access a specific player to see their info, the webpage returns http 500 error.
what can causes the http 500 error ?
Is your webhost running PHP 8.0+ ?
Because that's the issue for me too. Player pages and Gameserver page only work on PHP 7.4 in modern template. I've already messaged Primeas about the issue.
Balloons is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 01-21-2023 , 09:47   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2028

yes only 7.4 php max support script of stats..
maclarens is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 02-01-2023 , 10:38   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2029

what does it mean?

L 02/01/2023 - 13:165: SourceMod error session started
L 02/01/2023 - 13:165: Info (map "c2m1_highway") (file "/home/raptor/L4D2/left4dead2/addons/sourcemod/logs/errors_20230201.log")
L 02/01/2023 - 13:165: [l4d_stats.smx] SQL Error: Lost connection to MySQL server during query (Query: "UPDATE players SET points = points + 10, award_hunter = award_hunter + 1 WHERE steamid = 'STEAM_1:0:280137694'")
L 02/01/2023 - 13:177: [l4d_stats.smx] SQL Error: Lost connection to MySQL server during query (Query: "UPDATE maps SET points_nor = points_nor + 10 WHERE LOWER(name) = LOWER('c2m1_highway') and gamemode = 0")
L 02/01/2023 - 13:26:43: Error log file session closed.
L 02/01/2023 - 15:02:08: SourceMod error session started
L 02/01/2023 - 15:02:08: Info (map "c3m4_plantation") (file "/home/raptor/L4D2/left4dead2/addons/sourcemod/logs/errors_20230201.log")
L 02/01/2023 - 15:02:08: [l4d_stats.smx] SQL Error: Lost connection to MySQL server during query (Query: "UPDATE players SET award_witchdisturb = award_witchdisturb + 1 WHERE steamid = 'STEAM_1:0:48842973'")
L 02/01/2023 - 15:085: [l4d_stats.smx] SQL Error: Lost connection to MySQL server during query (Query: "UPDATE players SET points = points + 9, award_revive = award_revive + 1 WHERE steamid = 'STEAM_1:0:48842973'")
L 02/01/2023 - 15:096: [l4d_stats.smx] SQL Error: Lost connection to MySQL server during query (Query: "UPDATE maps SET points_adv = points_adv + 9 WHERE LOWER(name) = LOWER('c3m4_plantation') and gamemode = 0")
__________________
[/URL]
Alexmy is offline
GerPunisher_
Junior Member
Join Date: Mar 2022
Old 02-08-2023 , 13:11   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #2030

Quote:
Originally Posted by Primeas View Post
The plugin doesn't cause a crash, it works. It's just a stats plugin and the new map is considered a "custom map"




If you mean the notification on the game server, you can set the plugin so that it does not display any notification or menu opening when connecting.





Geo2ip is not intended to use locale IPS in country flags. Here is a little fix that allows you to set a country for a local ip.
Add this entry in _config.php and enter the local IP and an IP address that stands for your country.

Code:
// LOCAL IP FIX
$fix_local_ip = "Local IP";
$fix_local_countryip = "Country IP";
You can see it in the 2 demo pages, 1st place player has a USA flag (He uses the "Local Ip" fix), and in the other version a German flag (his real IP).

Webstats Demo - USA IP Flag: Demo here
MOTD Demo - USA IP Flag: Demo here
Webstats Demo - Germany IP Flag: Demo here
MOTD Demo - Germany IP Flag: Demo here
for the local ip player fix, how to use for multiple players ?

i have this 3 players which are causing the blank ranking page and my webstats,
these are there ips :
Code:
player1 : 172.x.x.x
player2 : 197.x.x.x
player3 : 160.x.x.x
how to add there ip @s to the fix?

should i use ";" between the ip @s like this :
Code:
$fix_local_ip = "172.x.x.x ; 197.x.x.x ; 160.x.x.x";
$fix_local_countryip = "Country IP";
GerPunisher_ 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:30.


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