Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 7:25 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: no virtual drivers for win8
Thanked: 1 time(s)  Unread post Posted: Sat Feb 08, 2014 11:02 pm 
Active User
Active User



Joined: Fri Feb 07, 2014 8:18 pm
Posts: 31
Been thanked: 11 time(s)
Has thanked: 10 time(s)
Contribution Points: 97
ok so im stuck with only mouseclicks working in this version of a macro tool. as no other tool i currently know of works on this game this is what ive come up with until support for win8 arrives.
Code:
 begin
     //does not start until window is active.
     Window.Wait for window to be top most("Aura Kingdom Online", "Yes")
     Function.Execute("Start")
 end

function("Start")
     // looking for monster hp
     if  Color.At coordinate is (RGB)("34", "38", "43", "982", "143")
          begin
               Function.Execute("Attack")
          end
     if  Color.At coordinate is not (RGB)("34", "38", "43", "982", "143")
          begin
               Function.Execute("Move")
          end
function

function("Attack")
     begin
          // attack/heal skills
          Mouse.Click at coordinate("844", "869", "right")
          Macro.Pause("3000")
          Mouse.Click at coordinate("888", "869", "right")
          Macro.Pause("3000")
          Mouse.Click at coordinate("976", "869", "right")
          Macro.Pause("3000")
     end
function

function("Move")
     begin
          // position of map autorun to monster
          Mouse.Click at coordinate("1739", "954", "left")
     end
function
 

but as such this macro will cause my char to "run like a headless chicken" until a "monster see's me", my char will then begin attacking and after will continue to run like a headless chicken.

please can anyone suggest a better way of "seeing" monsters without using tab. as its a very colorful game i dont think a pixel search would work very well in some places.

thanks.


Last edited by LetMeBeStealth on Sun Feb 09, 2014 6:30 am, edited 1 time in total.
Code tab added


Top
 Profile  
Reply with quote  
 Post subject: Re: no virtual drivers for win8
Thanked: 1 time(s)  Unread post Posted: Sun Feb 09, 2014 3:17 am 
Active User
Active User



Joined: Fri Feb 07, 2014 8:18 pm
Posts: 31
Been thanked: 11 time(s)
Has thanked: 10 time(s)
Contribution Points: 97
also looking for a do.....until command, so i can repeat a certain step until a condition is met (i.e. do attack until monster is dead kinda thing) so it doesnt loop through the entire script.


Top
 Profile  
Reply with quote  
 Post subject: Re: no virtual drivers for win8
Thanked: 1 time(s)  Unread post Posted: Sun Feb 09, 2014 11:36 am 
Partner / Developer
Partner / Developer
User avatar



Joined: Mon Jan 18, 2010 11:51 am
Posts: 4525
Been thanked: 1346 time(s)
Has thanked: 133 time(s)
Contribution Points: 33209
Cygnus wrote:
also looking for a do.....until command, so i can repeat a certain step until a condition is met (i.e. do attack until monster is dead kinda thing) so it doesnt loop through the entire script.


You can use the while loop for that.

while monster is not dead
attack.

_________________
Blue Eye - Developer / Moderator
Code:
Gigus


Please read the rules about contribution points - click here

Do you know everything about BE, the forum, licenses and contribution points?
Please take a minute to read this introduction & guidelines.


Top
 Profile  
Reply with quote  
 Post subject: Re: no virtual drivers for win8
Thanked: 0 time(s)  Unread post Posted: Sun Feb 09, 2014 8:28 pm 
Active User
Active User



Joined: Fri Feb 07, 2014 8:18 pm
Posts: 31
Been thanked: 11 time(s)
Has thanked: 10 time(s)
Contribution Points: 97
ok i will trial that out but until win8 is fully supported with the drivers i cannot create a full working macro for aura kingdom. and by that time my trial version will be out of date :(


Top
 Profile  
Reply with quote  
 Post subject: Re: no virtual drivers for win8
Thanked: 1 time(s)  Unread post Posted: Sun Feb 09, 2014 9:59 pm 
Active User
Active User



Joined: Fri Feb 07, 2014 8:18 pm
Posts: 31
Been thanked: 11 time(s)
Has thanked: 10 time(s)
Contribution Points: 97
having problems with a mouse drag option, sometimes it will work and sometimes not and sometimes disrupts the "view" altogether. using the mouse.drag by itself did not do anything so i figured maybe a mouse.hold button was needed also. idk if its the extra "right" click is upsetting things or not. also is there a way to set the speed of the drag? just to refresh minds, i cannot use keyboard commands as im running windows 8 and do not have access to windows 7 so cannot use vmware or the like.
Code:
 begin
     // does not start until window is active.
     Window.Wait for window to be top most("Aura Kingdom Online", "Yes")
     Macro.Pause("2000")
     Function.Execute("Start")
 end

function("Start")
     // looking for color on monster use investigator
     if  Color.Can be located on screen (RGB)("177", "112", "55", "2")
          begin
               Mouse.Click at color (RGB)("177", "112", "55", "2", "left")
               Macro.Pause("50")
               Function.Execute("Attack")
          end
     if  Color.Can not be located on screen (RGB)("177", "112", "55", "2")
          begin
               Function.Execute("Move")
          end
function

function("Attack")
     while  Color.At coordinate is (RGB)("30", "30", "31", "802", "151")
          begin
               Mouse.Click at coordinate("852", "881", "right")
               Macro.Pause("500")
               Mouse.Click at coordinate("898", "881", "right")
               Macro.Pause("500")
          end
function

function("Move")
     while  Color.Can not be located on screen (RGB)("253", "105", "183", "0")
          begin
               // turns view to look in other direction
               Mouse.Hold button("right")
               Macro.Pause("50")
               Mouse.Drag("793", "460", "1106", "460", "right")
               Macro.Pause("50")
               Mouse.Release button("right")
               Macro.Pause("50")
               Function.Execute("Start")
          end
function


Top
 Profile  
Reply with quote  
 Post subject: Re: no virtual drivers for win8
Thanked: 1 time(s)  Unread post Posted: Mon Feb 10, 2014 1:51 am 
New User
New User



Joined: Thu Feb 06, 2014 4:28 pm
Posts: 16
Been thanked: 4 time(s)
Has thanked: 0 time(s)
Contribution Points: 64
Have you tried keymapping the "target" key into your right click? so right click would function as your tab key.


Top
 Profile  
Reply with quote  
 Post subject: Re: no virtual drivers for win8
Thanked: 0 time(s)  Unread post Posted: Mon Feb 10, 2014 2:58 am 
Active User
Active User



Joined: Fri Feb 07, 2014 8:18 pm
Posts: 31
Been thanked: 11 time(s)
Has thanked: 10 time(s)
Contribution Points: 97
ok ty Xhinigami, i found a nice little app called X-Mouse, it changes buttons to basic functions like alt-tab etc, u can also set it to any buttons sequence u like.

have set the middle mouse to tab and left click is now q (turn), which also fixes the problem of mouse.drag not working well enough for my purposes, so thank you very much.

i will post the macro once i have fully tested and have it working properly for those of us without the correct virtual drivers.


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