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

[CS:GO / ?] Simple Stats MySQL


Post New Thread Reply   
 
Thread Tools Display Modes
Sarin
Senior Member
Join Date: Nov 2014
Location: Sydney, Australia
Old 03-11-2019 , 22:18   Re: [CS:GO / ?] Simple Stats MySQL
Reply With Quote #51

Quote:
Originally Posted by nhnkl159 View Post
SimpleStats
Hey mate. do you have a compiled version?
Sarin is offline
yuv41
Member
Join Date: Jan 2020
Old 01-01-2020 , 13:58   Re: [CS:GO / ?] Simple Stats MySQL
Reply With Quote #52

Hi, im trying to use this plugin on my server but when loading the plugin it shows that it cant find "simplestats" in the database.cfg even tho its there.

Any fix or help?
--edit
nevermind im fucking stupid


Last edited by yuv41; 01-01-2020 at 14:07.
yuv41 is offline
Audite
AlliedModders Donor
Join Date: Sep 2021
Location: Sweden
Old 10-19-2021 , 12:13   Re: [CS:GO / ?] Simple Stats MySQL
Reply With Quote #53

Doesn't work, doesn't save any stats.
Audite is offline
Karolis_
Junior Member
Join Date: Dec 2021
Old 01-05-2022 , 17:53   Re: [CS:GO / ?] Simple Stats MySQL
Reply With Quote #54

Everything works fine, but i have noticed that you are using wrong formula for calculating accuracy:

now is this:

Code:
gB_Accuracy = (100 * gB_PHits[client] + gB_PShots[client] / 2) / gB_PShots[client];
but should be this way:

Code:
gB_Accuracy = (gB_PHits[client] * 100) / gB_PShots[client];
same goes with headshots:

Code:
gB_HSP = (gB_PHS[client] * 100) / gB_PShots[client];

Last edited by Karolis_; 01-06-2022 at 05:06.
Karolis_ 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 19:02.


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