AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO / ?] Simple Stats MySQL (https://forums.alliedmods.net/showthread.php?t=299110)

Sarin 03-11-2019 22:18

Re: [CS:GO / ?] Simple Stats MySQL
 
Quote:

Originally Posted by nhnkl159 (Post 2533148)
SimpleStats

Hey mate. do you have a compiled version?

yuv41 01-01-2020 13:58

Re: [CS:GO / ?] Simple Stats MySQL
 
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
https://shibe.center/tOZO0/HUFecuru90.png/raw
https://shibe.center/tOZO0/DOBEtuNU54.png/raw

Audite 10-19-2021 12:13

Re: [CS:GO / ?] Simple Stats MySQL
 
Doesn't work, doesn't save any stats.

Karolis_ 01-05-2022 17:53

Re: [CS:GO / ?] Simple Stats MySQL
 
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];


All times are GMT -4. The time now is 11:49.

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