Closed Citrona closed 1 year ago
Hello,
Regarding the 2 bugs:
alliance-scanner.py
script)So now to the 2 improvements:
If you decide to test the alliance-scanner.py
script, you can simply use these commands in your powershell (assuming you have your venv already setup and in the folder venv):
.\venv\Scripts\Activate.ps1
pip install -r requirements.txt
python alliance-scanner.py
If you choose alliance as mode the script expects you to be on one of the alliance leaderboard pages, for honor it expects either the global honor per player or the alliance honor per player view.
Sorry i moved the alliance-scanner test to its own issue for testing (#6) so this issue doesn't get distracted. Please answer over there if you try it out.
Hello,
Thank you for your complete answer.
Concerning the commit that includes the rss gathered, I got the read error 4177297 instead of 4177297 on this version. As for the errors in the ocr reading there are almost no more, except for some errors in the reading of the alliance tag but nothing disturbing for example: {[TAG] ([TAG]
Ah ok, well that is interesting, but I am not sure if it can be fixed in that case, because I tried many different things and the current settings and preprocessing worked the best of all. If it turns out that there are many errors, let's say more than 10 in a top 1000 scan I will look into it again, otherwise I think the manual correction should be enough. And yes i don't really know why the scanner sometimes invents new brackets for the tags, but i also would say it's not a big problem.
Thanks for your fast answer.
Out of 600 entries I only see one error so it's very correct
Everything from this issue should be dealt with in commit eefa4eff925b56f0fdf58b18d62d08ba8de298e8.
To solve the double inactives, it is now possible to use the "new" scroll method from the alliance-scanner.py (this is the default). Regarding the screenshots, inactives will get saved in inactives/[yyyy-mm-dd]/[uuid]/inactive [000].png
and for scan fails the profile and kills screenshot gets saved in manual_review/[yyyy-mm-dd]/[uuid]/[governor id] profil/kills.png
.
The UUID is also something new I added just for that purpose, to be able to identify the screenshots that belong to a specific scan, and it also gets appended to the Excel sheet name and gets shown in the first line when starting the script. The side effect of that is also that scan should be overwritten nearly never (only in the very unlikly case that the uuid + kingdom + number of players are all the same)
I am doing a scan (300/600 atm) with the new scroll method, for the moment no problem, everything works, the inactives are no longer doubled as with the previous scroll method
Edit: Everything went well with the new scoll method, I will try when I have time the old method to see if it is still functional
I did a scan with top 800 and it seems to work. For every person with wrong kills i got the images and also with the new scrolling method the inactives are only counted once. For the wrong kills it seems to be still the case that it makes more mistakes when the kills are in the range of 3-4 digits.
Hi,
First of all, congratulations and thank you for the code update that you did quickly, it works on my side. After testing the options of the script I noticed some problems.
Now here are some ideas I had to improve the script:
Thank you very much for the work you do.