Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Mon Jan 25, 2021 3:01 pm

All times are UTC




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 1 time(s)  Unread post Posted: Tue Dec 29, 2020 6:29 am 
New User
New User



Joined: Mon Dec 07, 2020 10:42 am
Posts: 28
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 63
Attachment:
Screenie.png
Screenie.png [ 304.85 KiB | Viewed 367 times ]
Credit to Roan1234321.
From this code http://blueeye-macro.com/viewtopic.php?f=437&t=29188

I just recoded it using LDPlayer (but you can use any emulator, just use investigate tool), it will click the attack button if she found on the screen, then loot after the monster death. In this code all monster will be attack.

Credit to macroblitz for count the time click the attack and loot button, and if it reach the count it will fly.
http://blueeye-macro.com/viewtopic.php?f=437&t=35258&hilit=rwalk
PROS:
* It works and randomly attack the monster (I will update the pixel bot using emulator for AndRO
* It will teleport when monster is not killed after 30 click the attack button (you can edit if you want)
* It will use potions less than 50% defends your set up in HP bar (always open profile to see the HP bar)
* It will teleport when clicking on a monster failed to show its name 10 times.

CONS:
* Random Walking is Disabled*
* It will attempt kill steal and loot steal
* Potion use is not fast and reliable, only when attacking and teleport
* This script does not use keyboard press, it will click on the fly wing

Note:
-When I use this macro, I suggested on full screen or max size, so that the screen will not move and no need to reconfig.
-I used it with Rogue for auto steel plus flee or dodge.

So to make this work: You need investigate to coordinate the attack button and loot button, flywing and pots.
I am using teleport so it will not gain more weight, just a blue pots if the character weight is more than 50%.
I circled all the coordinate you need to edit. HP for Heal, Flywing or teleport, HP pots and SP pots if you are using teleport skill.

Code:
 begin
     Function.Execute("Attack")
     Function.Execute("Loot1")
     Function.Execute("Player")
     Function.Execute("fly")
     Function.Execute("Recon")
     Variable.Set("HowManyAttackAttempt", "5")
     Variable.Set("IsNotValidMonster", "0")
 end

function("Heal")
     if  Color.At coordinate is not within (RGB range)("50", "178", "225", "20", "322", "112")
          begin
               Mouse.Click at coordinate("1159", "269", "left")
               //               Mouse.Click at coordinate("1688", "421", "left")
               //            Mouse.Click at coordinate("1688", "421", "left")
               //         Mouse.Click at coordinate("1688", "421", "left")
               Variable.Set("x", "{count}")
               if  Variable.Is equal to("x","5")
                    begin
                         Function.Execute("FlyWithoutCondition")
                    end
          end
     if  Color.At coordinate is not within (RGB range)("50", "178", "225", "20", "322", "112")
          begin
               Mouse.Click at coordinate("1159", "269", "left")
               //      Mouse.Click at coordinate("1688", "421", "left")
               //   Mouse.Click at coordinate("1688", "421", "left")
               // Mouse.Click at coordinate("1688", "421", "left")
               Variable.Set("x", "{count}")
               if  Variable.Is equal to("x","5")
                    begin
                         Function.Execute("FlyWithoutCondition")
                    end
          end
function

function("Attack")
     //     if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\attack.png", "100", "1734", "810", "30")
     if  Color.At coordinate is within (RGB range)("1", "1", "1", "0", "1200", "649")
          begin loop()
               Mouse.Click at coordinate("1200", "649", "left")
               Mouse.Click at coordinate("1200", "649", "left")
               Macro.Get parent loop iteration("count")
               Variable.Set("x", "{count}")
               if  Variable.Is equal to("x","30")
                    begin
                         Function.Execute("FlyWithoutCondition")
                    end
               Macro.Pause("300")
               Function.Execute("Heal")
               //               Function.Execute("FlyWithoutCondition")
               // if  Image.Can not be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\attack.png", "100", "1734", "810", "30")
               if  Color.At coordinate is not within (RGB range)("1", "1", "1", "0", "1200", "649")
                    begin
                         Variable.Add (Math)("IsNotValidMonster", "1")
                         Macro.Pause("500")
                         if  Variable.Is greater than (Math)("IsNotValidMonster", "{HowManyAttackAttempt}")
                              begin
                                   Variable.Set("IsNotValidMonster", "1")
                                   Function.Execute("fly")
                              end
                         Function.Execute("AFK3")
                         Function.Execute("Loot")
                         Macro.Break from loop("yes")
                    end
          end
function

function("FlyWithoutCondition")
     begin
          Mouse.Click at coordinate("1258", "266", "left")
          Macro.Pause("1000")
     end
function

function("Player")
     //     if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\player.png", "100", "1734", "810", "30")
     If  Color.At coordinate is not within (RGB range)("1", "1", "1", "0", "1200", "649")
          begin
               Mouse.Click at coordinate("1257", "270", "left")
               Macro.Pause("1000")
               Function.Execute("AFK3")
               //               if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\player.png", "100", "1734", "810", "30")
               if  Color.At coordinate is within (RGB range)("90", "90", "97", "0", "1244", "693")
                    begin
                         Mouse.Click at coordinate("1257", "270", "left")
                         Function.Execute("AFK4")
                    end
               if  Color.At coordinate is within (RGB range)("4", "4", "4", "0", "1227", "696")
                    begin
                         Mouse.Click at coordinate("1257", "270", "left")
                         Function.Execute("AFK4")
                    end
          end
function

function("Loot")
     //     if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\loot.png", "100", "1734", "810", "30")
     if  Color.At coordinate is within (RGB range)("0", "0", "0", "0", "1206", "677")
          begin loop()
               Mouse.Click at coordinate("1206", "677", "left")
               Macro.Get parent loop iteration("count")
               Variable.Set("x", "{count}")
               if  Variable.Is equal to("x","10")
                    begin
                         Function.Execute("FlyWithoutCondition")
                    end
               Macro.Pause("300")
               Function.Execute("AFK3")
               if  Color.At coordinate is not within (RGB range)("0", "0", "0", "0", "1206", "677")
                    begin
                         Macro.Break from loop("yes")
                    end
          end
function

function("Loot1")
     //     if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\loot.png", "100", "1734", "811", "30")
     if  Color.At coordinate is within (RGB range)("0", "0", "0", "0", "1206", "677")
          begin
               Mouse.Click at coordinate("1206", "677", "left")
               //               if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\loot.png", "100", "1751", "811", "30")
               if  Color.At coordinate is not within (RGB range)("0", "0", "0", "0", "1267", "677")
                    begin loop()
                         Mouse.Click at coordinate("1206", "677", "left")
                         Mouse.Click at coordinate("1206", "677", "left")
                         Macro.Get parent loop iteration("count")
                         Variable.Set("x", "{count}")
                         if  Variable.Is equal to("x","10")
                              begin
                                   Function.Execute("FlyWithoutCondition")
                              end
                         Function.Execute("AFK3")
                         if  Color.Pixel pattern can be located on screen near coordinate("204,0,0,1,0,204,0,0,1,0,204,0,0,1,0,204,0,0,1,0,204,0,0,1,0,204,0,0,1,0,204,0,0,1,0,204,0,0,-7,1,250,0,0,0,1,247,0,0,0,1,247,0,0,0,1,247,0,0,0,1,247,0,0,0,1,249,0,0,0,1,254,0,0,1,0,241,0,0,1,0,223,0,0,1,0,223,0,0,1,0,223,0,0,1,0,223,0,0,1,0,223,0,0,1,0,187,0,0,-7,1,249,0,0,0,1,247,0,0,0,1,247,0,0,0,1,247,0,0,0,1,247,0,0,0,1,247,0,0", "102", "30", "630", "102")
                              begin
                                   Mouse.Click at coordinate("408", "412", "left")
                                   Macro.Get parent loop iteration("count")
                                   Variable.Set("x", "{count}")
                                   if  Variable.Is equal to("x","10")
                                        begin
                                             Function.Execute("FlyWithoutCondition")
                                        end
                                   Macro.Pause("300")
                                   Function.Execute("AFK4")
                                   Macro.Break from loop("yes")
                              end
                         if  Image.Can not be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\loot.png", "100", "1198", "671", "30")
                              begin
                                   Macro.Break from loop("yes")
                              end
                    end
          end
function

function("fly")
     //     if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\blank.png", "100", "1755", "830", "30")
     if  Color.At coordinate is within (RGB range)("245", "245", "245", "0", "1221", "675")
          begin
               // Mouse.Click at coordinate("712", "339", "left")
               Mouse.Click at coordinate("1258", "264", "left")
               Function.Execute("AFK4")
          end
     if  Color.At coordinate is (RGB)("46", "46", "46", "1257", "678")
          begin
               Mouse.Click at coordinate("1257", "678", "left")
               Macro.Abort()
          end
function

function("AFK1")
     begin
          Variable.Set random number("HumanTime", "2500", "3500")
          Macro.Pause("{HumanTime}")
     end
function

function("AFK2")
     begin
          Variable.Set random number("HumanTime", "5000", "8000")
          Macro.Pause("{HumanTime}")
     end
function

function("AFK3")
     begin
          Variable.Set random number("HumanTime", "333", "333")
          Macro.Pause("{HumanTime}")
     end
function

function("AFK4")
     begin
          Variable.Set random number("HumanTime", "1000", "1500")
          Macro.Pause("{HumanTime}")
     end
function

function("Recon")
     if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\Recon.png", "100", "664", "429", "100")
          begin
               Mouse.Double click at coordinate("636", "424", "left")
               Function.Execute("AFK2")
          end
     if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\Recon2.png", "100", "582", "429", "100")
          begin
               Mouse.Double click at coordinate("636", "424", "left")
               Function.Execute("AFK2")
          end
     if  Image.Can be located on screen near coordinate("C:\Users\VilesX\Documents\ragnarok macro\Recon1.png", "100", "1212", "285", "100")
          begin
               Mouse.Click at coordinate("1171", "281", "left")
               Function.Execute("AFK1")
               Mouse.Double click at coordinate("636", "424", "left")
               Function.Execute("AFK2")
               Mouse.Click at coordinate("78", "141", "left")
               Function.Execute("AFK3")
               Mouse.Click at coordinate("93", "382", "left")
          end
function
 


Attachments:
ragnarok;fullscreenbotlt.bem [85.88 KiB]
Downloaded 19 times
Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 6:31 am 
New User
New User



Joined: Mon Dec 07, 2020 10:42 am
Posts: 28
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 63
fakuryu wrote:
okay thank you, so i can start farming zenny


You can find the code here.


Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 7:03 am 
New User
New User



Joined: Sun Dec 20, 2020 12:38 pm
Posts: 8
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 22
pakker wrote:
fakuryu wrote:
okay thank you, so i can start farming zenny


You can find the code here.


do i need to download some image as well or just load up the script and just configure the coordinates of the buttons?


Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 7:05 am 
New User
New User



Joined: Mon Dec 07, 2020 10:42 am
Posts: 28
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 63
fakuryu wrote:
pakker wrote:
fakuryu wrote:
okay thank you, so i can start farming zenny


You can find the code here.


do i need to download some image as well or just load up the script and just configure the coordinates of the buttons?


No need bro, just download and load it to BEM, then configure the coordinate for attack, which I used the point of the sword image, then use the hand for loot.


Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 7:59 am 
New User
New User



Joined: Sun Dec 20, 2020 12:38 pm
Posts: 8
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 22
i already set the correct coordinates for my attack button but it keeps on walking NE and not attacking anything

i need to edit this one right?
https://prnt.sc/wc2nof


Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 8:53 am 
New User
New User



Joined: Mon Dec 07, 2020 10:42 am
Posts: 28
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 63
fakuryu wrote:
i already set the correct coordinates for my attack button but it keeps on walking NE and not attacking anything

i need to edit this one right?
https://prnt.sc/wc2nof


yep you need to edit that part, and change it what you got from investigate, I suggest use in fullscreen or maximize the screen.


Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 9:10 am 
New User
New User



Joined: Mon Dec 07, 2020 10:42 am
Posts: 28
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 63
fakuryu wrote:
i already set the correct coordinates for my attack button but it keeps on walking NE and not attacking anything

i need to edit this one right?
https://prnt.sc/wc2nof


Or you delete all the details on the this part.

Code:
if  Color.At coordinate is within (RGB range)("", "", "", "", "", "")


then click the magnifying glass,
you can automatically get that using investigate.
Just set in your coordinate which the sword/attack appear.
https://prnt.sc/wc41tz


Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 9:11 am 
New User
New User



Joined: Sun Dec 20, 2020 12:38 pm
Posts: 8
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 22
pakker wrote:
fakuryu wrote:
i already set the correct coordinates for my attack button but it keeps on walking NE and not attacking anything

i need to edit this one right?
https://prnt.sc/wc2nof


yep you need to edit that part, and change it what you got from investigate, I suggest use in fullscreen or maximize the screen.


i did change it already, although it doesn't attack but it keeps walking NE so not sure what i did wrong


Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 10:24 am 
New User
New User



Joined: Mon Dec 07, 2020 10:42 am
Posts: 28
Been thanked: 4 time(s)
Has thanked: 1 time(s)
Contribution Points: 63
Quote:
i did change it already, although it doesn't attack but it keeps walking NE so not sure what i did wrong


You coordinate the flywing/teleport place? Which is use hotkey?
First thing the bot should do will flywing first.
Try to coordinate your flywing first. Then let see.


Top
 Profile  
Reply with quote  
 Post subject: Re: AndroidRO or AndRO Bot using LDPlayer emulator
Thanked: 0 time(s)  Unread post Posted: Tue Dec 29, 2020 11:04 am 
New User
New User



Joined: Sun Dec 20, 2020 12:38 pm
Posts: 8
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 22
almost working now, though he only attack once then it will fly and will just stand not attacking


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 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