Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Mon Dec 11, 2017 1:24 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: request a bot for Dragon Mania Legends , need help
Thanked: 0 time(s)  Unread post Posted: Mon Apr 03, 2017 11:45 am 
Silver Contributor
Silver Contributor



Joined: Tue Feb 23, 2016 10:10 pm
Posts: 175
Been thanked: 16 time(s)
Has thanked: 73 time(s)
Contribution Points: 395
Hi , I have no idea where to post this , I spent half hour going through BEM forum and finely decided to post here .
I need a bot for Dragon Mania Legends , it should be so simple , but I am not an expert in these things , I tried to make one but it just doesn't do what it should .
what I did is I unstaled an Android emulator on my pc so i don't lose my progress and be able to play on both pc and mobile (because this game has a windows version already) . and what I need to do is a simple bot that all it does is to click on the specific spot i want in the map (quest 162), start battle and just attack the midle dragon using the Light skill on my Stardust Dragon (screenshot) , that way I kill all enemies in 1 shot , it's not complicated at all , no need for keyboard or healing or anything . the only thing is once the energy is empty i need the bot to fill it again (I have alot of energy gems already it only takes 1 click to fill it) . I will keep trying to figuer this out waiting someone with some expert to give me a hand , I would realy appreciate it , thank you in advance.
btw here is the script i tried and didn't work well
begin
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Move to coordinate("667", "385")
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Hold button("left")
Mouse.Release button("left")
Mouse.Move to coordinate("684", "543")
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Hold button("left")
Mouse.Release button("left")
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Move to coordinate("1117", "667")
Macro.Wait for current global loop execution time to exceed("5000")
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Move to coordinate("615", "304")
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Hold button("left")
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Move to coordinate("874", "374")
Mouse.Release button("left")
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Move to coordinate("678", "228")
Macro.Wait for current global loop execution time to exceed("5000")
Mouse.Hold button("left")
Mouse.Release button("left")
end


Attachments:
gggggggggg.png
gggggggggg.png [ 1.46 MiB | Viewed 552 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: request a bot for Dragon Mania Legends , need help
Thanked: 0 time(s)  Unread post Posted: Fri Apr 07, 2017 12:38 am 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 1689
Location: USA
Been thanked: 355 time(s)
Has thanked: 26 time(s)
Contribution Points: 15912
Can't really tell you everything you need to do with just one screenshot, but this should get you started:

To use your skill and attack the middle dragon use mouse.drag (viewtopic.php?f=168&t=402). Using the attached image as a guide, "A" is the first coordinate to start the drag, "B" is the coordinate to end the drag (on the correct dragon). Use the Investigator tool in BEM to get the coordinates.

To check if your energy is depleted, use an if statement to check the normal/good state of the energy bar. Since I don't know what color it normally is, let's say it's normally red. Get the coordinate of the center of the last energy box (circled in the attached image) and use BEM to check if it's NOT red (meaning your out of energy) ...write it like this:
Code:
if  Color.At coordinate is not (RGB)("R", "G", "B", "X", "Y") ...use your color and coordinate here
     begin
          Mouse.Click at coordinate("250", "500", "left") ...use the coordinate of the button to refill energy
     end


Attachments:
Capture.PNG
Capture.PNG [ 511.52 KiB | Viewed 547 times ]

_________________
----------------------------------------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  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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