MgAl2O4 / FFTriadBuddy

FF14 Triple Triad helper
MIT License
129 stars 17 forks source link

Board types not detected - Capture problems #25

Closed soccercasanova closed 3 years ago

soccercasanova commented 3 years ago

For some reason, regardless of resetting local patterns, UI defaulting, resolution presets, etc., I can't seem to get this to go away. I tried doing F12 to get the debug to come in, but I can't seem to get that to pop up. It's been a bit since I had this working, and I have given up after updating to v48, I don't know what I did or how to fix it. (Dual monitor setup, changed from various ones, tried switching resolutions, display monitor, in game resolutions, defaults)

I feel like I am missing something really simple. I love this amazing thing you've got here and I will be around to troubleshoot.

image

MgAl2O4 commented 3 years ago

I guess it's something off with pixel colors that makes it detect as a card? Try getting a debug screenshot - i think it was available through play: simulate tab > F12 > file will be saved next to executable? (going from memory on that, can be wrong).

MgAl2O4 commented 3 years ago

Huh, closed by mistake while trying to type comment.

Anyway, please get a source screenshot to repro issue and I'll take a look

soccercasanova commented 3 years ago

I am not sure what is supposed to come out of that DEBUG screen, I apologize. You need just a screenshot with the overlay?

MgAl2O4 commented 3 years ago

Simulate > F12 > Apply rule. Pressing this button will make a debug pass on screenshot and save source image as it's read by program for best repro conditions.

Use it when board undetected cards are reported = FF running and triple triad mini game active. Screenshot will be saved as screenshot-source.jpg next to executable / in tool's current folder.

soccercasanova commented 3 years ago

I dont know if this is what you need but...The interesting thing is that doing the debug makes it go further than it usually does. Sometimes in kicks in and works as expected when there is just 1 spot open on the board release-v48screenshot-markup release-v48screenshot-source

MgAl2O4 commented 3 years ago

Yup, this is exactly what I needed - the second one with colors is enough :) v49 should fix issue with cards on board and hopefully won't break anything in process.

Noticed that matching for card's digits is painfully inaccurate. I will try to go over that and improve some thing over weekend, but I may need some help with getting more screenshots to work on (not playing the game at the moment).

Leaving issue opened for you to verify if stuff is fixed.

anivay commented 3 years ago

Looks to be working as normal again! Thanks for the fix