Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Fri Jan 24, 2020 7:58 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Multiple If Statements for Fishbot, Pixel Detection
Thanked: 0 time(s)  Unread post Posted: Wed Sep 04, 2019 7:23 am 
New User
New User



Joined: Wed Sep 04, 2019 7:18 am
Posts: 1
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 10
Hey Guys

Im currently trying out a simple Fishbot with Pixel detection. The Bot works pretty good so far.
But depending on the Zone where the Bopper lands there are a bit of different Colors that i need to detect.
Can i just add multiple If Statements for the different Pixels? I tried this but it seems like the macro is always waiting for the first if statement.

Any Ideas how i can solve this?


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple If Statements for Fishbot, Pixel Detection
Thanked: 0 time(s)  Unread post Posted: Wed Sep 04, 2019 3:55 pm 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 1988
Location: USA
Been thanked: 442 time(s)
Has thanked: 34 time(s)
Contribution Points: 16858
As long as you are only using "if" statements, it should go through all of them until it finds the one for that zone. If you're using something like "while", "wait", or "when" then it will wait on that instruction to become true.

If you're using one of those logic builders, but still want a work-around, try finding something unique about each of the zones (like a border or something on the minimap). Use functions for each fishing zone (looking for those specific colors) and have BEM identify which zone you're in first. Then you can use "while", "wait", and "when" within those functions.

_________________
----------------------------------------Syrifina---------------------------------------------------
PM me for licenses and/or licensing information: Click Here
[Be sure to include and update your profile with your BE ID]

Forum Rules
Reminder of rules regarding Contribution points
Getting started in 1, 2, 3
Virtual Drivers; Manual Installers


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple If Statements for Fishbot, Pixel Detection
Thanked: 0 time(s)  Unread post Posted: Fri Nov 15, 2019 7:33 am 
New User
New User



Joined: Thu Oct 12, 2017 5:14 am
Posts: 3
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 14
May I ask what colors you're searching for? More like, what part of the bobber are you choosing to have the macro search for? Thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple If Statements for Fishbot, Pixel Detection
Thanked: 1 time(s)  Unread post Posted: Thu Jan 02, 2020 10:07 pm 
New User
New User



Joined: Thu Jan 02, 2020 9:59 pm
Posts: 3
Been thanked: 1 time(s)
Has thanked: 1 time(s)
Contribution Points: 14
Have you tried making the pixel detection less sensitive, so you don't need to be so precise?


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple If Statements for Fishbot, Pixel Detection
Thanked: 1 time(s)  Unread post Posted: Fri Jan 03, 2020 2:04 am 
Gold Contributor
Gold Contributor



Joined: Thu Nov 24, 2016 12:55 am
Posts: 351
Been thanked: 89 time(s)
Has thanked: 7 time(s)
Contribution Points: 145
khaluaguru wrote:
Have you tried making the pixel detection less sensitive, so you don't need to be so precise?


use
use pixel within range..

_________________
Ragnarok Online

Bot4You ROPH (will also work on other servers but you need to make your own bypass)
http://www.blueeye-macro.com/viewtopic.php?f=437&t=30450

Creating .spr file or sprite for Pixel bot
http://www.blueeye-macro.com/viewtopic.php?f=435&t=30445

Changing monster sprite and items sprite
http://www.blueeye-macro.com/viewtopic.php?f=435&t=30516


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group