SICGames / TBChestTracker

Automatic chest counter program for the game Total Battle
GNU General Public License v3.0
18 stars 5 forks source link

error performing jedi magic #6

Closed riotgear1 closed 4 months ago

riotgear1 commented 5 months ago

running it in chrome/brave the OCR starts and seems to get hung up on "performing jedi magic". I am not sure if I am supposed to be doing something here or waiting. I eventually give up on it after several minutes.

SICGames commented 5 months ago

New release will have it patched

On Sat, Apr 27, 2024, 6:06 PM riotgear1 @.***> wrote:

running it in chrome/brave the OCR starts and seems to get hung up on "performing jedi magic". I am not sure if I am supposed to be doing something here or waiting. I eventually give up on it after several minutes.

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JR37ZTFEDMJPTKDP6TY7QOO7AVCNFSM6AAAAABG4ND4K6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DOMRRGIYDGNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

riotgear1 commented 5 months ago

When are you expecting that update?

On Sat, Apr 27, 2024, 8:34 PM Paul @.***> wrote:

New release will have it patched

On Sat, Apr 27, 2024, 6:06 PM riotgear1 @.***> wrote:

running it in chrome/brave the OCR starts and seems to get hung up on "performing jedi magic". I am not sure if I am supposed to be doing something here or waiting. I eventually give up on it after several minutes.

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/6, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACAZ6JR37ZTFEDMJPTKDP6TY7QOO7AVCNFSM6AAAAABG4ND4K6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DOMRRGIYDGNI>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/6#issuecomment-2081281061, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIEDH3WFB2TUDQVVAJHBX4DY7RGZBAVCNFSM6AAAAABG4ND4K6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGI4DCMBWGE . You are receiving this because you authored the thread.Message ID: @.***>

Truth312 commented 5 months ago

Looking forward to this release as well.

Lichtbringer-Androgar commented 5 months ago

Having the same issue. Uninstalled and reinstalled several times. Tried with Firefox and the desktop app. No success.

Gingerjamjar commented 5 months ago

If you use the desktop version of the game, Jedi Magic is successful and OCR detects the claim buttons and everything else but the program won't click to claim chests. If you use the browser version, it get's stuck on performing jedi magic.

Truth312 commented 5 months ago

SICGames, do you have a general timeline for the repairs on this? Let us know if you need assistance.

Truth312 commented 4 months ago

Even with Release 1.1, I'm still getting stuck on "Performing Jedi Magic" when I run the OCR Wizard.

I deleted the old version and ran the new one as admin. Any other suggestions?

Truth312 commented 4 months ago

????

SICGames commented 4 months ago

If progress bar stops then it's rendering results to you. It's a slight pause

On Tue, Apr 30, 2024, 3:52 AM Gingerjamjar @.***> wrote:

If you use the desktop version of the game, Jedi Magic is successful and OCR detects the claim buttons and everything else but the program won't click to claim chests. If you use the browser version, it get's stuck on performing jedi magic.

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/6#issuecomment-2084626039, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JXBG2T3VTCVPSG6EM3Y75EVFAVCNFSM6AAAAABG4ND4K6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGYZDMMBTHE . You are receiving this because you commented.Message ID: @.***>

riotgear1 commented 4 months ago

Based on this explanation, stuck is not the right word. It never gets out of performing jedi magic. For me, the scan never completes.

On Tue, May 7, 2024, 12:32 PM Paul @.***> wrote:

If progress bar stops then it's rendering results to you. It's a slight pause

On Tue, Apr 30, 2024, 3:52 AM Gingerjamjar @.***> wrote:

If you use the desktop version of the game, Jedi Magic is successful and OCR detects the claim buttons and everything else but the program won't click to claim chests. If you use the browser version, it get's stuck on performing jedi magic.

— Reply to this email directly, view it on GitHub < https://github.com/SICGames/TBChestTracker/issues/6#issuecomment-2084626039>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACAZ6JXBG2T3VTCVPSG6EM3Y75EVFAVCNFSM6AAAAABG4ND4K6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGYZDMMBTHE>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/6#issuecomment-2098961007, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIEDH3XQYQEFQRSFAVAQOW3ZBEFZFAVCNFSM6AAAAABG4ND4K6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJYHE3DCMBQG4 . You are receiving this because you authored the thread.Message ID: @.***>

Truth312 commented 4 months ago

Same. I've let it run for quite a while to see if it ever comes out of it and it doesn't. I ran the game both on desktop app and web based and it doesn't change. Also tried uninstalling and reinstalling, no change.

SICGames commented 4 months ago

i'll have to add manual support then.

SICGames commented 4 months ago

i'll need a few days to put it in. I've been using this daily to count chests and running OCR wizard a lot. Don't know why everyone's having a problem.

Truth312 commented 4 months ago

I have found somewhat of a solution to this issue.

The issue has to do with the way the game is scaling the resolution on the screen. When I open the game in 1080p, the "my clan" menu pops up and is normal sized, but the OCR gets stuck in the jedi magic loop.

If I open the game when I am set to 1440p, open the "clan menu", AND THEN switch to 1080p, the scaling on the game screen is much larger and OCR Wizard works and allows the program to run. At any point, if you lose the larger scaling of the "clan menu," by exiting out of the clan menu, it will go back to the smaller scaling and the program will no longer recognize anything and fails to run.

SICGames, I will email you screenshots so that you can see the difference in the screens despite both being in 1080p.

SICGames commented 4 months ago

I have found somewhat of a solution to this issue.

The issue has to do with the way the game is scaling the resolution on the screen. When I open the game in 1080p, the "my clan" menu pops up and is normal sized, but the OCR gets stuck in the jedi magic loop.

If I open the game when I am set to 1440p, open the "clan menu", AND THEN switch to 1080p, the scaling on the game screen is much larger and OCR Wizard works and allows the program to run. At any point, if you lose the larger scaling of the "clan menu," by exiting out of the clan menu, it will go back to the smaller scaling and the program will no longer recognize anything and fails to run.

SICGames, I will email you screenshots so that you can see the difference in the screens despite both being in 1080p.

and the Template Matching is pixel perfect and could explain why it is causing vast amount of issues. Good job. What I can do is add a section in Settings to allow OCR Wizard to be fully customizable. That may make OCR Wizard work for others.

SICGames commented 4 months ago

the forever Performing Jedi Magic loop is most likely from not be able to detect corners of the Gifts Window. A new update will be posted that will have better status messages instead of "Performing Jedi Magic"

SICGames commented 4 months ago

I know what's going on. I need 7 days. I barely get any sleep. Lot of python tutorials out for what I need to do. I can't translate python to csharp. I'm not strong in python

On Tue, May 14, 2024, 9:20 AM JoshuaStatton @.***> wrote:

Screenshot.1.png (view on web) https://github.com/SICGames/TBChestTracker/assets/39674342/ca61a80f-ba13-43a3-8f3b-b73db60c09a1 Yes, we need to be able to adjust the red input boxes from OCR wizard. I can get the OCR wizard to finish in web based, only if I am on the members page XD. However the boxes are not aligned correctly. So easy fix I hope. I am checking every day for a fix please. XD Screenshot.1.png (view on web) https://github.com/SICGames/TBChestTracker/assets/39674342/b1bb1a41-4dd2-40ff-a4b6-b30422abcd04

— Reply to this email directly, view it on GitHub https://github.com/SICGames/TBChestTracker/issues/6#issuecomment-2110228934, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAZ6JSTHNWCXZBIGPWJBT3ZCIFTLAVCNFSM6AAAAABG4ND4K6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJQGIZDQOJTGQ . You are receiving this because you commented.Message ID: @.***>

Truth312 commented 4 months ago

Any updates?

polkimor commented 4 months ago

I have an ultrawide monitor, resolution 2560x1080. When I start OCR Wizard in the Chrome browser, it stays on Performing Jedi Magic, keeps spinning and doesn't select anything. When I do the same on clan members, he manages to pick up something. The game is in Polish. Do I need any additional program for this? Desktop Screenshot 2024 05 26 - 20 39 17 82

polkimor commented 4 months ago

adds more results Desktop Screenshot 2024 05 26 - 21 23 37 51 Desktop Screenshot 2024 05 26 - 21 24 58 24

SICGames commented 4 months ago

OCR Wizard no longer does automatic mode now. Everything is done by user in latest version 1.2. Download the latest version 1.2 that has been released as of today.