Azərbaycan dili Bahasa Indonesia Bosanski Català Čeština Dansk Deutsch Eesti English Español Français Galego Hrvatski Italiano Latviešu Lietuvių Magyar Malti Mакедонски Nederlands Norsk Polski Português Português BR Românã Slovenčina Srpski Suomi Svenska Tiếng Việt Türkçe Ελληνικά Български Русский Українська Հայերեն ქართული ენა 中文
Subpage under development, new version coming soon!

Subject: [bug] team average marks is bugged again

  • 1
2023-09-19 16:05:52
islander to All
not gamebreaking, but right now it says my average team score is 72, when it's really more like 48.
2023-09-19 16:13:07
did Your team ever played near rank 72?
2023-09-19 16:23:57
It's again form in scale 0-100

If you look at https://sokker.org/api/team/<team_id>/stats (for example this for islander) you will see that averageMark is at 0, and instead it takes averageForm value.
2023-09-19 21:38:02
Lol, how do you do that, reverse an improvement/fixed bug
2023-09-19 22:56:36
accidentally overwrite code?
2023-09-19 23:51:33
no, it's just lack of proper fallback, unfinished code rather than accidentally overwritten

earlier it was apparently averageMarks value (the good earlier, not the bad one earlier-earlier = averageForm), but for now, this far in the season, it's value is 0 because there were no official matches so far and in case it's 0 it apparently uses its old value (which is that averageForm) instead of some kind of last season marks or just "-"
  • 1