UT Stats Database

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

UT Stats Database

Post by McLovin »

There is a stats server at: https://omnipotents2.site.nfoservers.co ... /index.php

It's been discussed before that sometimes there is a problem with it collecting stats, ie, not all the reports are populated. Some come up empty with an error message from the server. https://omnipotents2.site.nfoservers.co ... match=1348.

Warning: reset() expects parameter 1 to be array, null given in /usr/www/omnipotents2/public/utstats/matchstats.php on line 875

In that case the report for that match is useless and the chat log is empty.

I've been trying to do audits on matches where something happened and it needs to readdressed. But usually the match of interest is one that didn't record properly.

There are 2 main problems with the stats server right now that could use somebody who is interested in drilling into this.

1. The mentioned above stats crash on some matches.
2. The chat log only records messages of in-game players, ie, not spectators. It would be nice and helpful to have this, if it is even possible.
User avatar
pooty
Posts: 4355
Joined: Sat Apr 03, 2021 10:22 am
Location: Michigan
Server Sponsor: Yes
Server Admin: Yes

Re: UT Stats Database

Post by pooty »

Yes, there's some issue with parsing the logs on some matches. I don't know why, I took a look at the code and couldn't spot what was wrong..basically an error with no explanation.

I'd love for someone to help fix this.. dust off your php and SQL skills. (I can help).
Post Reply