I noticed a little problem with CQs in 1.2
The bot often attempts to enter the CQ battle, even though CQ is not up. That resulted in the loss of some diamonds for me until i noticed. With some observation, I was able to detect stage transitions as the problem, since the color detection kinda gets messed up when the stage transition screen fades in, making the red value in between 120 and 190.
I kinda did a workaround by adding a few variables for colors and an extended colorcheck when entering the clanquest check.
Quote:
// ----------- CHECK CLAN QUEST
:checkClanQuest
getRGB #colorRed #colorGreen #colorBlue 72 21
getRGB #colorX #colorY #colorZ 65 795
if #colorRed < 190 and #colorRed > 120 and #colorX == 243
#recheckClanQuest = 1
goto :checkClanQuestReady
endif
|
It just checks now, if the red value of the sword master menu button is at 243, which it should be if there is no stage transition ongoing. If its not, then its just not entering the clan menu and instead enters it during the next check.
Just a workaround for now. As stage transitions are probably not as intrusive when the next update for TT2 rolls out, its probably not that useful anymore,but I thought it may be useful for someone right now.