stats is dead again

General Comments, Questions about all things OmnipotentS that don't go in other topics/forums
User avatar
McLovin
Posts: 1678
Joined: Sat Apr 03, 2021 12:54 pm
Location: Salt Lake City, Utah
Server Sponsor: Yes
Server Admin: Yes

Re: stats is dead again

Post by McLovin »

pooty wrote: Sun Nov 09, 2025 8:12 am ...
4. I am going to disable it for this week to see if its the source of the lag spikes.
Any results if the stats is a source of lag spikes?
User avatar
pooty
Posts: 6557
Joined: Sat Apr 03, 2021 10:22 am
Location: Florida
Server Sponsor: Yes
Server Admin: Yes

Re: stats is dead again

Post by pooty »

Nope! I need to re-enable. I might be able to do this weekend, maybe not. I am travelling.

However, I was able to duplicate the lag spikes locally on my desktop with no mutators meaning mostly likely its some vehicle... and not stats, CM, UTComp or the like. I need to find a few hours to figure which one which lately has been in short supply.
macintoxicated
Posts: 65
Joined: Sun Nov 14, 2021 7:46 pm

Re: stats is dead again

Post by macintoxicated »

Why is the server empty 2 nights in a row?
FuriousRabbit
Posts: 184
Joined: Sat Jun 04, 2022 12:28 am

Re: stats is dead again

Post by FuriousRabbit »

macintoxicated wrote: Mon Nov 17, 2025 7:57 pm Why is the server empty 2 nights in a row?
There's a disturbance in the force. Search onslaught games in the internet tab to find everyone.
User avatar
pooty
Posts: 6557
Joined: Sat Apr 03, 2021 10:22 am
Location: Florida
Server Sponsor: Yes
Server Admin: Yes

Re: stats is dead again

Post by pooty »

So I will be re-enabling stats. The reporting has a few bugs which I can't seem to track down.. the php/sql is pretty messy...

WRT to not seeing the server, we had enabled CTF/VCTF game types and if the server was on there it wouldn't show up in the Onslaught list -- you still see it on your favorites.
User avatar
pooty
Posts: 6557
Joined: Sat Apr 03, 2021 10:22 am
Location: Florida
Server Sponsor: Yes
Server Admin: Yes

Re: stats is dead again

Post by pooty »

Stats is re-enabled.
User avatar
Anonymous.
Posts: 499
Joined: Sat Jun 12, 2021 10:54 pm

Re: stats is dead again

Post by Anonymous. »

For win rates, it is using wins/matches instead of wins/(wins+losses). Matches cannot be used for win rate calculation because it is not completed matches. Here is an example of a player with "30%" win rate:
Image

Image

299/1004 = .3 win rate
299/(299+225) = .57 win rate

We find out that Laser_monkey not only has a positive win rate but that he leaves half of the time. Which also uncovers another issue, certain people gaming their stats by leaving right before the match ends.
User avatar
pooty
Posts: 6557
Joined: Sat Apr 03, 2021 10:22 am
Location: Florida
Server Sponsor: Yes
Server Admin: Yes

Re: stats is dead again

Post by pooty »

We find out that Laser_monkey not only has a positive win rate but that he leaves half of the time. Which also uncovers another issue, certain people gaming their stats by leaving right before the match ends.
Interesting. There's a parameter that controls whether the stats are generated for short times, ie. you have to play for 3 minutes before it counts. I wonder if there's another that says only log matches that complete -- meaning if you leave mid game it gets tossed.

The hard part with the outside the game stats was getting them from StatsDB back in game. EvenMatch stores PPH based in game PPH calculations.

What would be really nice would be to use PPH and node stats to categorize players (eg. Node Builders, Snipers etc.) and use those to balance....
Post Reply