<< Back to Warzone Classic Forum   Search

Posts 1 - 20 of 41   1  2  3  Next >>   
WZ Classic Game Stats: 2023-02-03 19:30:01


FiveSmith 
Level 60
Report
I would like to introduce a handy tool, that was created to allow players to check statistics of their games in Warzone.
WZ Classic Game Stats: https://wz-games.5smith.ru/

Currently it allows to find out:
- How many games have you played by game type, template and/or map
- What were the outcomes of those games and your win rates

Check my stats page: https://wz-games.5smith.ru/view_player?profile_id=97141807199



You may see, that I am a big duel lotto expert.

The service works by scanning the games in the Warzone API. The best way to ensure, that all of you games are included is to upload the IDs of your own games. There are instructions on how to do that.

- If you upload the list of your games, then full statistics on these game types will be available to you:
-- Quickmatch
-- Ladders
-- Clan Wars
-- Clan league
-- Tournaments
-- Other games created by the Create game API


- These modes are not covered due to WZ API limitations:
-- Auto games
-- Manually created games





FAQ of what I was asked and was thinking myself

Q: Why is there so little games for me?
A: There are few reasons:
1. The site displays only the games, which I has already scanned from the Warzone API. And I cannot scan all Warzone games in advance. Wasteful API usage is not honored by API Terms of Service. The best way to see your stats it to upload the IDs of your games to the site (there are instructions for that), and then the games will be automatically scanned.
2. Not all games are present in the API. Warzone API provides data only for games, which are created programmatically. Luckily, that covers all competitive formats: Quickmatch, Ladders, Clan Wars, Clan League, Tournaments.

Q: How may upload the game IDs for analysis if I only have the mobile app?
A: Unfortunately, I don't know any acceptable way to get the list of one's past games without that person using a web browser. The instructions for desktop browsers are on the site, and the instructions for mobile browsers will be added soon. Would love, if anybody comes up with a convenient solution for app.

Q: I haven't uploaded anything, but the site displays games for me. Why?
A: It means, that some else has already uploaded the IDs of the games and it happens so, that you played in some of them. Those games are included in your statistics.

Q: Why does it takes so long for my games to be scanned?
A: Due to acceptable API usage limits and my technical capabilities, the games are scanned now at a rate of ~3 games per sec. The speed might be improved in future.

Q: Why does sometimes the upload task estimated completion time countdown stop or even rise?
A: There is a queue, that prioritizes smaller tasks first. For example, if you uploaded 10 000 game IDs to scan, and then someone else uploaded 100, then at some point those 100 will be put to scan before yours. This is done to avoid the situations, when smaller quicker tasks, which could be completed in minutes, are bottlenecked by massive game IDs uploads.

Q: May some events (CW, Ladder...) may be preemptively auto scanned?
A: Yes, games of certain type may be regularly scanned in advance without the need of player direct input. Unless there is a community demand for it, it would be inappropriate to "bombard" the Warzone API. You're welcome to voice, that you would want to see.

Q: Why are some templates are shown as template IDs without names?
A: Finding out the template names for IDs requires a separate effort. While I tried to collect most popular templates, some are still not processed.

Q: Doesn't such a service diminish the value of the membership perks: allowing access to stat data analysis and, maybe in future, the Fun Stats?
A: I 100% believe that such a service serves:
- For a good cause: minimizing WZ resource usage by sharing data
- In the intended spirit: The primary goals of this API is to enable tools that do statistical analysis of finished games.
Yet if Fizzer is against it, I will limit it or even shut down for public usage.
I think that API and Fun Stats are not the key selling points for Membership.
Anyway if you want Warzone to thrive, you should go https://www.warzone.com/Membership and support the game and the developer.

Q: May there be an standalone offline version for all of that?
A: Maybe sometimes, but there is little initiative for this against the effort that it would require.
Currently I see the only one benefit of a standalone app:
- If you use your own membership API key, it allows you to also download your own "auto games" and manually created games (which are not available to me, when i download them)
A centralized web service is more ambitious and allows:
- Easier on-boarding and service adoption by more players
- Minimize usage of WZ resources by reusing the game data
- Broader statistics and fancy comparative analysis across various players
Also maintaing two tools would quite an effort, therefore I did it as a web app.

Q: Are there bugs?
A: Absolutely. If you spot one, please send me a message.



Thanks for your attention. I hope, that you will find this service useful!

PS: Posting the link again, so that you don't have to scroll up: https://wz-games.5smith.ru/

Edited 2/3/2023 21:55:54
WZ Classic Game Stats: 2023-02-03 20:07:16


krinid 
Level 63
Report
wow
Super awesome!
WZ Classic Game Stats: 2023-02-03 20:19:18


Nice Guy 
Level 62
Report
Greate, now when I hide stats people can still see them.
WZ Classic Game Stats: 2023-02-03 21:11:46

Fizzer 
Level 64

Warzone Creator
Report
Very cool!
WZ Classic Game Stats: 2023-02-03 22:42:26


rakleader 
Level 65
Report
I love it!
WZ Classic Game Stats: 2023-02-03 22:50:46

๐Ÿค”Grandpa Richard๐Ÿ‡จ๐Ÿ‡ฆ๐Ÿ’ฃ 
Level 63
Report
๐Ÿ˜„๐Ÿ˜pretty cool๐Ÿ˜€๐Ÿ˜ƒ quite the Programmer, hope Fizzer throws a few coins your way for all your cool work.. that only helps the game.. love your other, must go to Site.. https://wz-clanwars.netlify.app/
WZ Classic Game Stats: 2023-02-03 23:58:54


rocky
Level 60
Report
nice! thanks for the last update, I was able to upload my games ID even from mobile
WZ Classic Game Stats: 2023-02-04 00:01:55


Meow Meow I'm A Panther 
Level 59
Report
This is super cool!
WZ Classic Game Stats: 2023-02-04 00:03:03


JK_3 
Level 63
Report
awesome, nice job 5!
WZ Classic Game Stats: 2023-02-04 02:36:01

(deleted) 
Level 63
Report
Would be nice to have a ‘copy code’ button. See https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText for examples.
Doing it from the app/standalone isn’t possible, no way to inject code into the app. Have to use browser to do it.
WZ Classic Game Stats: 2023-02-04 02:59:52


(deleted) 
Level 60
Report
*Applause* ๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘
WZ Classic Game Stats: 2023-02-04 08:04:52


FiveSmith 
Level 60
Report
Thanks everyone for positive feedback! I am happy, that this service is welcomed.

Also I would like to thank DanWL and JK_3 for helping me much with scripting the codes to upload game IDs.
(Did not want to throw them under the bus, if the site turned out to be a community failure. But now their contribution should be appreciated.)

Would be nice to have a ‘copy code’ button. See https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText for examples.
Doing it from the app/standalone isn’t possible, no way to inject code into the app. Have to use browser to do it.

Currently all the script codes on upload page do the copy-on-click funcionality (with a fancy popup), when you click on them. Do you mean, that a separate "copy code" button is needed for some reason?

Edited 2/4/2023 08:36:32
WZ Classic Game Stats: 2023-02-04 09:42:18

(deleted) 
Level 63
Report
On the Add games to DB page. Currently have to manually select the code. Would be nice to have a button that copies it, especially if you’re supporting mobile devices.
WZ Classic Game Stats: 2023-02-04 13:03:26


JK_3 
Level 63
Report
On the Add games to DB page. Currently have to manually select the code. Would be nice to have a button that copies it, especially if you’re supporting mobile devices.

You can click the code to copy it.
This works both on mobile and desktop (tested using Chrome in both cases).
WZ Classic Game Stats: 2023-02-04 13:05:09


FiveSmith 
Level 60
Report
It turns out, that doesnt work for Opera on Android.
There is an issue with Opera on Android not granting certain permissions to copy plain text.
https://github.com/lgarron/clipboard-polyfill/issues/108
https://garron.net/code/clipboard-polyfill/

Looks like the other copy buttons across the site dont work too on Opera on Android.
Opera on iOS (because it uses Safari to render), Chrome on iOS/Android and Safari all seem to work fine.

A quick workaround (which I an sure if it is even working) to fix that resolves breaking Firefox on Desktop/Mobile. So to properly fix all that, one would need write a more complex script with browser feature detection stuff. Currently that's way beyond my skills.

As a quick fix, just added that "Opera on Android users have to copy the code manually".
If anyone helps with a working copy-on-click script, I will be super thankfull.

Edited 2/4/2023 14:18:18
WZ Classic Game Stats: 2023-02-04 13:15:55


Nice Guy 
Level 62
Report
Just use Edge.
WZ Classic Game Stats: 2023-02-04 22:12:39


Tac(ky)tical 
Level 63
Report
fivesmith is hands-down community member of the year, and we're only in February
WZ Classic Game Stats: 2023-02-04 23:55:45

(deleted) 
Level 63
Report
^ you forgot about who gave suggestions on how to get past games. The current way i'm not happy with because it causes loads of load for the server and is really slow on browser if you have >1000 games and causes unbearable browser performance issues even after the past games are retrieved. currently it gets 10000 and this is slow for the server and for the client (browser).

Edited 2/4/2023 23:56:43
WZ Classic Game Stats: 2023-02-05 20:52:21


krinid 
Level 63
Report
Oh is 5S the mastermind behind the CW stats page too? jawohl! 5S for prez
WZ Classic Game Stats: 2023-02-06 06:37:02


riskboy88 
Level 63
Report
epic
Posts 1 - 20 of 41   1  2  3  Next >>