Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zxstai opened this issue Dec 9, 2016 · 1 comment

Comments

@zxstai
Copy link

zxstai commented Dec 9, 2016

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.

@kpreisser
Copy link
Owner

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" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants