MouseClickSimulator icon indicating copy to clipboard operation
MouseClickSimulator copied to clipboard

Finding the right RGB for bubbles in minnie's melodyland, baritone boulevard.

Open zxstai opened this issue 8 years ago • 1 comments

So i got the movement working 100% for leaving the fishing stand and sell fish and move back to fishing stand. but i cannot figure how you are finding the correct RGB colors.

zxstai avatar Dec 09 '16 22:12 zxstai

Hi, to find the RGB colors, you can e.g. use the Windows Paint application by pasting/opening a screenshot of TTR with the fishing pond, and then use the "Color picker" tool to select the color of a specific pixel. Then, you can click on "Edit colors" to view the Red, Green and Blue portions of the selected color. Alternatively, there are tools which can display the color from the current mouse position directly.

I usually create a few screenshots where the shadows have different positions, then use the average shadow color as value for the bubbleColorRgb attribute of the AutomaticFishing action. Additionally, I use half the difference of the Red, Green and Blue values of the darkest and the lightest shadow as value for the toleranceRgb attribute.

For example, for Baritone Boulevard, you might be able to use the following parameters:

<AutomaticFishing scan1="147, 230" scan2="823, 620" bubbleColorRgb="31, 107, 147"
                  toleranceRgb="8, 10, 15" />

kpreisser avatar Dec 11 '16 14:12 kpreisser