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

[L4D2] Simple In-Game Player Statistics


Post New Thread Reply   
 
Thread Tools Display Modes
thresh0ld
Senior Member
Join Date: Sep 2009
Location: Hell
Old 06-28-2019 , 02:26   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #31

Quote:
Originally Posted by zaviier View Post
I reupload the image, please re-check
Can you run this instead and get back to me with the results:

Code:
select last_known_alias, survivor_killed, survivor_incapped, infected_killed, infected_headshot, total_points, rank_num from STATS_VW_PLAYER_RANKS s LIMIT 10
I need to see the stats and rank

Last edited by thresh0ld; 06-28-2019 at 02:27.
thresh0ld is offline
zaviier
Senior Member
Join Date: Aug 2017
Location: Indonesia
Old 06-28-2019 , 02:33   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #32

Quote:
Originally Posted by thresh0ld View Post
Can you run this instead and get back to me with the results:

Code:
select last_known_alias, survivor_killed, survivor_incapped, infected_killed, infected_headshot, total_points, rank_num from STATS_VW_PLAYER_RANKS s LIMIT 10
I need to see the stats and rank
here the result

Last edited by zaviier; 06-28-2019 at 02:35.
zaviier is offline
login101
Senior Member
Join Date: Sep 2017
Old 07-01-2019 , 00:22   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #33

Do I need to connect myquery to use this?
login101 is offline
login101
Senior Member
Join Date: Sep 2017
Old 07-01-2019 , 00:30   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #34

Does it work on coop?
login101 is offline
login101
Senior Member
Join Date: Sep 2017
Old 07-01-2019 , 00:31   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #35

The plugin is loaded but no statistics are available.
login101 is offline
thresh0ld
Senior Member
Join Date: Sep 2009
Location: Hell
Old 07-01-2019 , 01:05   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #36

Quote:
Originally Posted by login101 View Post
The plugin is loaded but no statistics are available.
What do you mean exactly? Are you saying that you are able to access the menu, but statistics are not getting recorded when you kill SI? For coop, you need to set pstats_record_bots to 1
thresh0ld is offline
login101
Senior Member
Join Date: Sep 2017
Old 07-01-2019 , 09:48   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #37

Quote:
Originally Posted by thresh0ld View Post
What do you mean exactly? Are you saying that you are able to access the menu, but statistics are not getting recorded when you kill SI? For coop, you need to set pstats_record_bots to 1


I loaded the plug-in.
pstats_record_bots 1 Configured
in a chat
!Rank
I typed it in.

No response


I am not good at English.

I'm so sorry.
login101 is offline
thresh0ld
Senior Member
Join Date: Sep 2009
Location: Hell
Old 07-01-2019 , 11:24   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #38

Quote:
Originally Posted by login101 View Post
I loaded the plug-in.
pstats_record_bots 1 Configured
in a chat
!Rank
I typed it in.

No response


I am not good at English.

I'm so sorry.
Ok, if you typed !rank and the panel did not show, it is possible that the plugin did not load successfully. The reasons could be any of the following:
  • The plugin was unable to connect to the database (Refer to the readme page here on how to configure/install)
  • playerstats.cfg is missing or plugin failed to parse due to a syntax error

If you are sure it loaded successfully and the panel still does not show, verify that pstats_enabled is set to 1.

Also, check the error logs.
thresh0ld is offline
login101
Senior Member
Join Date: Sep 2017
Old 07-01-2019 , 21:13   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #39

Quote:
Originally Posted by thresh0ld View Post
Ok, if you typed !rank and the panel did not show, it is possible that the plugin did not load successfully. The reasons could be any of the following:
aaa

thank you ! I'll write the plugin well!
  • The plugin was unable to connect to the database (Refer to the readme page here on how to configure/install)
  • playerstats.cfg is missing or plugin failed to parse due to a syntax error

If you are sure it loaded successfully and the panel still does not show, verify that pstats_enabled is set to 1.

Also, check the error logs.



thank you ! I'll write the plugin well!
login101 is offline
foquaxticity
Junior Member
Join Date: Jul 2018
Old 07-25-2019 , 07:12   Re: [L4D2] Simple In-Game Player Statistics
Reply With Quote #40

13:43:13 CREATE FUNCTION IF NOT EXISTS `APPLY_MODIFIER`( `name` VARCHAR(50), `value` INT ) RETURNS double BEGIN DECLARE modifier FLOAT; SELECT s.modifier INTO modifier FROM STATS_SKILLS s WHERE s.name = name; IF modifier IS NULL THEN SELECT 1.0 INTO modifier; END IF; RETURN value * modifier; END Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS `APPLY_MODIFIER`( `name` VARCHAR(50), `value` INT ) RETURNS doub' at line 1 0.000 sec

(i just copied error row)

Underlines: CREATE FUNCTION IF NOT EXISTS
and
CREATE VIEW IF NOT EXISTS

I've never used mysql in my life, i don't even know whats what. Using tutorials got this far:
https://imgur.com/a/BB0HrB0

Mysql version is 8.0.17

Last edited by foquaxticity; 07-25-2019 at 07:15. Reason: Version
foquaxticity 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:29.


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