Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Fri Dec 15, 2017 6:15 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Random walk if RGB or mob is not located on screen.
Thanked: 3 time(s)  Unread post Posted: Fri Jul 07, 2017 12:49 pm 
Silver Contributor
Silver Contributor



Joined: Thu Nov 24, 2016 12:55 am
Posts: 156
Been thanked: 32 time(s)
Has thanked: 3 time(s)
Contribution Points: 211
Since someone asked for making random walk on RO.

I attached file for random walk you can DL it and check how it goes for you.
You can copy the script the to your main bot by adding new function.
Also added Humanly.pause to give it time to reach the location.

please hit thank you if this helps you.


Attachments:
File comment: Random walk if RGB not located on screen.
ragnarok;random walk.bem [16.58 KiB]
Downloaded 210 times

_________________
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  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 0 time(s)  Unread post Posted: Fri Jul 07, 2017 2:07 pm 
Silver Contributor
Silver Contributor



Joined: Thu Nov 24, 2016 12:55 am
Posts: 156
Been thanked: 32 time(s)
Has thanked: 3 time(s)
Contribution Points: 211
jonelle1990 wrote:
Ill hit thank even i didnt try your script if ever it doesnt work can i pm you sir?


yes you can pm me.

_________________
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  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 0 time(s)  Unread post Posted: Fri Jul 07, 2017 3:36 pm 
Silver Contributor
Silver Contributor



Joined: Thu Nov 24, 2016 12:55 am
Posts: 156
Been thanked: 32 time(s)
Has thanked: 3 time(s)
Contribution Points: 211
jonelle1990 wrote:
Sir how.bout after.killing the.monster the.character.will loot the items do you have sir?


Looting would be hard to make.

_________________
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  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 0 time(s)  Unread post Posted: Sat Jul 08, 2017 12:52 am 
New User
New User



Joined: Mon Jul 03, 2017 4:38 pm
Posts: 11
Been thanked: 0 time(s)
Has thanked: 10 time(s)
Contribution Points: 19
Roan1234321 wrote:
Since someone asked for making random walk on RO.

I attached file for random walk you can DL it and check how it goes for you.
You can copy the script the to your main bot by adding new function.
Also added Humanly.pause to give it time to reach the location.

please hit thank you if this helps you.


YOU ARE A LEGEND ROAN. -trying this out-


Top
 Profile  
Reply with quote  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 1 time(s)  Unread post Posted: Sat Jul 08, 2017 6:11 am 
Silver Contributor
Silver Contributor



Joined: Thu Nov 24, 2016 12:55 am
Posts: 156
Been thanked: 32 time(s)
Has thanked: 3 time(s)
Contribution Points: 211
lawscher wrote:

YOU ARE A LEGEND ROAN. -trying this out-


Did it work?

_________________
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  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 0 time(s)  Unread post Posted: Sat Jul 08, 2017 8:24 am 
New User
New User



Joined: Mon Jul 03, 2017 4:38 pm
Posts: 11
Been thanked: 0 time(s)
Has thanked: 10 time(s)
Contribution Points: 19
@roan

The random walk works perfectly, but whenever I pair it with my AutoPots, suddenly everything doesnt work. What do you think is wrong with my code?

RandomWalk+AutoAttack+*Esc = OK
RandomWalk+AutoAttack+Esc+AutoPots = NOT OK

*Esc - one I created to close some popup message boxes


Code:
 begin
     Function.Execute("AutoAttack")
     Function.Execute("RandWalk")
     Function.Execute("AutoPots")
     Function.Execute("Esc")
 end

function("RandWalk")
     begin
          // RBG of mob/loot
          if  Color.Can not be located on screen (RGB)("255", "214", "222", "0")
               begin
                    // RBG of mob/loot
                    if  Color.Can not be located on screen (RGB)("118", "68", "73", "0")
                         begin
                              if  Color.Can not be located on screen (RGB)("107", "140", "120", "0")
                                   begin
                                        // RBG of mob/loot
                                        if  Color.Can not be located on screen (RGB)("212", "163", "124", "0")
                                             begin
                                                  if  Color.Can not be located on screen (RGB)("255", "181", "115", "0")
                                                       begin
                                                            // RBG of mob/loot
                                                            if  Color.Can not be located on screen (RGB)("238", "122", "122", "0")
                                                                 begin
                                                                      // set variables from random X coordinates on your screen example 100 to 1000
                                                                      Variable.Set random number("X", "100", "1100")
                                                                      // set variables from random Y coordinates on your screen example 100 to 1000
                                                                      Variable.Set random number("Y", "100", "620")
                                                                      Mouse.Click at coordinate("{X}", "{Y}", "left")
                                                                      Humanly.Pause("500", "1000")
                                                                 end
                                                       end
                                             end
                                   end
                         end
               end
     end
function

function("AutoAttack")
     begin
          if  Color.Can be located on screen (RGB)("255", "214", "222", "0")
               begin
                    // Color of Marina
                    Mouse.Click at color (RGB)("255", "214", "222", "0", "Left")
               end
          if  Color.Can be located on screen (RGB)("118", "68", "73", "0")
               begin
                    // Color of thara
                    Mouse.Click at color (RGB)("118", "68", "73", "0", "Left")
               end
          if  Color.Can be located on screen (RGB)("107", "140", "120", "0")
               begin
                    // Color of hydra
                    Mouse.Click at color (RGB)("107", "140", "120", "0", "Left")
               end
          if  Color.Can be located on screen (RGB)("212", "163", "124", "0")
               begin
                    // Color of crab
                    Mouse.Click at color (RGB)("212", "163", "124", "0", "Left")
               end
          if  Color.Can be located on screen (RGB)("255", "181", "115", "0")
               begin
                    // Color of crab
                    Mouse.Click at color (RGB)("255", "181", "115", "0", "Left")
               end
     end
function

function("AutoPots")
     begin
          if  Color.At coordinate is not (RGB)("156", "181", "239", "142", "79")
               // 76_81dti
               begin loop()
                    Keyboard.Press key("{<f3>}")
                    Macro.Pause("400")
                    if  Color.At coordinate is (RGB)("181", "206", "255", "166", "80")
                         begin
                              Macro.Break from loop("yes")
                         end
               end
     end
function

function("Esc")
//to close all random popup messages
     begin
          if  Color.Pixel pattern can be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0")
               begin loop()
                    Keyboard.Type text("{<esc>}")
                    if  Color.Pixel pattern can not be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0")
                         begin
                              Macro.Break from loop("yes")
                         end
               end
          if  Color.Pixel pattern can be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0")
               begin loop()
                    Keyboard.Type text("{<esc>}")
                    Keyboard.Insert text("/q")
                    Keyboard.Type text("{<enter>}")
                    Keyboard.Type text("{<esc>}")
                    if  Color.Pixel pattern can not be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0")
                         begin
                              Macro.Break from loop("yes")
                         end
               end
          if  Color.Pixel pattern can be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0")
               begin loop()
                    Mouse.Click at pixel pattern("49,49,49,5,0,49,49,49,4,0,49,49,49,2,-1,49,49,49,4,-2,49,49,49,2,3,49,49,49,5,-2,49,49,49,4,0,49,49,49,2,0,49,49,49", "0", "yes", "Left")
                    if  Color.Pixel pattern can not be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0")
                         begin
                              Macro.Break from loop("yes")
                         end
               end

     end



Top
 Profile  
Reply with quote  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 0 time(s)  Unread post Posted: Sat Jul 08, 2017 12:28 pm 
New User
New User



Joined: Mon Jul 03, 2017 4:38 pm
Posts: 11
Been thanked: 0 time(s)
Has thanked: 10 time(s)
Contribution Points: 19
Roan1234321 wrote:
jonelle1990 wrote:
Sir how.bout after.killing the.monster the.character.will loot the items do you have sir?


Looting would be hard to make.

Actually maybe you can have it as a pixel pattern and ahve a clicking loop on the specific item when it drops. It will make your macro a lot busy tho. You just have to choose what sorta loots you wanna keep on clicking.


Top
 Profile  
Reply with quote  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 1 time(s)  Unread post Posted: Sat Jul 08, 2017 1:03 pm 
Silver Contributor
Silver Contributor



Joined: Thu Nov 24, 2016 12:55 am
Posts: 156
Been thanked: 32 time(s)
Has thanked: 3 time(s)
Contribution Points: 211
lawscher wrote:
@roan

The random walk works perfectly, but whenever I pair it with my AutoPots, suddenly everything doesnt work. What do you think is wrong with my code?

RandomWalk+AutoAttack+*Esc = OK
RandomWalk+AutoAttack+Esc+AutoPots = NOT OK

*Esc - one I created to close some popup message boxes


Code:
 begin
     Function.Execute("AutoAttack")
     Function.Execute("RandWalk")
     Function.Execute("AutoPots")
     Function.Execute("Esc")
 end

function("RandWalk")
     begin
          // RBG of mob/loot
          if  Color.Can not be located on screen (RGB)("255", "214", "222", "0")
               begin
                    // RBG of mob/loot
                    if  Color.Can not be located on screen (RGB)("118", "68", "73", "0")
                         begin
                              if  Color.Can not be located on screen (RGB)("107", "140", "120", "0")
                                   begin
                                        // RBG of mob/loot
                                        if  Color.Can not be located on screen (RGB)("212", "163", "124", "0")
                                             begin
                                                  if  Color.Can not be located on screen (RGB)("255", "181", "115", "0")
                                                       begin
                                                            // RBG of mob/loot
                                                            if  Color.Can not be located on screen (RGB)("238", "122", "122", "0")
                                                                 begin
                                                                      // set variables from random X coordinates on your screen example 100 to 1000
                                                                      Variable.Set random number("X", "100", "1100")
                                                                      // set variables from random Y coordinates on your screen example 100 to 1000
                                                                      Variable.Set random number("Y", "100", "620")
                                                                      Mouse.Click at coordinate("{X}", "{Y}", "left")
                                                                      Humanly.Pause("500", "1000")
                                                                 end
                                                       end
                                             end
                                   end
                         end
               end
     end
function

function("AutoAttack")
     begin
          if  Color.Can be located on screen (RGB)("255", "214", "222", "0")
               begin
                    // Color of Marina
                    Mouse.Click at color (RGB)("255", "214", "222", "0", "Left")
               end
          if  Color.Can be located on screen (RGB)("118", "68", "73", "0")
               begin
                    // Color of thara
                    Mouse.Click at color (RGB)("118", "68", "73", "0", "Left")
               end
          if  Color.Can be located on screen (RGB)("107", "140", "120", "0")
               begin
                    // Color of hydra
                    Mouse.Click at color (RGB)("107", "140", "120", "0", "Left")
               end
          if  Color.Can be located on screen (RGB)("212", "163", "124", "0")
               begin
                    // Color of crab
                    Mouse.Click at color (RGB)("212", "163", "124", "0", "Left")
               end
          if  Color.Can be located on screen (RGB)("255", "181", "115", "0")
               begin
                    // Color of crab
                    Mouse.Click at color (RGB)("255", "181", "115", "0", "Left")
               end
     end
function

function("AutoPots")
     begin
          if  Color.At coordinate is not (RGB)("156", "181", "239", "142", "79")
               // 76_81dti
               begin loop()
                    Keyboard.Press key("{<f3>}")
                    Macro.Pause("400")
                    if  Color.At coordinate is (RGB)("181", "206", "255", "166", "80")
                         begin
                              Macro.Break from loop("yes")
                         end
               end
     end
function

function("Esc")
//to close all random popup messages
     begin
          if  Color.Pixel pattern can be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0")
               begin loop()
                    Keyboard.Type text("{<esc>}")
                    if  Color.Pixel pattern can not be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0")
                         begin
                              Macro.Break from loop("yes")
                         end
               end
          if  Color.Pixel pattern can be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0")
               begin loop()
                    Keyboard.Type text("{<esc>}")
                    Keyboard.Insert text("/q")
                    Keyboard.Type text("{<enter>}")
                    Keyboard.Type text("{<esc>}")
                    if  Color.Pixel pattern can not be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0")
                         begin
                              Macro.Break from loop("yes")
                         end
               end
          if  Color.Pixel pattern can be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0")
               begin loop()
                    Mouse.Click at pixel pattern("49,49,49,5,0,49,49,49,4,0,49,49,49,2,-1,49,49,49,4,-2,49,49,49,2,3,49,49,49,5,-2,49,49,49,4,0,49,49,49,2,0,49,49,49", "0", "yes", "Left")
                    if  Color.Pixel pattern can not be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0")
                         begin
                              Macro.Break from loop("yes")
                         end
               end

     end



don't make script for esc. lol

In-game
press alt+z
click friend
then friend setup the magnifying glass turn off all open 1:1 chat

_________________
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  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 0 time(s)  Unread post Posted: Mon Jul 10, 2017 3:03 am 
New User
New User



Joined: Fri Jul 07, 2017 2:03 am
Posts: 2
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 10
hello
at first thanks very much !
please help me about thara frog !
i need code to auto attack it and random walk
please help thanks !


Top
 Profile  
Reply with quote  
 Post subject: Re: Random walk if RGB or mob is not located on screen.
Thanked: 0 time(s)  Unread post Posted: Mon Jul 10, 2017 4:43 am 
New User
New User
User avatar



Joined: Tue Jul 04, 2017 3:47 am
Posts: 26
Location: USA
Been thanked: 0 time(s)
Has thanked: 11 time(s)
Contribution Points: 54
anyone got mouse coordinate script?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

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