Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Tue Apr 25, 2017 2:49 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Wulin/Wushu(?) stall macro
Thanked: 0 time(s)  Unread post Posted: Sat May 02, 2015 1:08 am 
New User
New User
User avatar



Joined: Sat May 02, 2015 12:12 am
Posts: 15
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 41
This is for 1440x900 resolution. If you're running another, let me know and I'll see about modifying it accordingly. Just started messing about with this a few minutes ago. This was made on Wulin, but I can't imagine any reason it shouldn't work on Wushu.

To use: fill up your stall with your items and prices, close the window, open your bag and drag it as far to the bottom-right corner as it can be, then close that as well. Neither the bag nor the stall should be open.

Run the script and AFK or whatever. It'll automatically open the bag and re-open the stall after 1H2M, whether or not the game is in focus.


Next up: escort bot, which I've already managed, just needs a bit of tweaking.


WARNING: must have virtual drivers enabled. Instructions to do this follow. If you're NOT running Windows 8 or 8.1, skip step 1 and go to step 2. If you already have them installed and enabled, you're done with this post.

Step 1.) run BlueEye in compatibility mode for Windows 7.

Right-click the BlueEye shortcut and select the "properties" option from the drop-down menu. At the top of this window, you'll see a few tabs. Click "compatibility," check "run this program in compatibility mode for," select "Windows 7," and apply the changes.


Step 2.) enable the virtual drivers in BlueEye.

Go to BlueEye's "general" tab, click "settings" and click the "input" tab, click the install button and select one of the Windows 7 options. I went for x86 (32-bit).

Step 3.) restart your machine.

One you've restarted, you should be able to use this script normally.


Attachments:
wulin;stall1440x900.bem [20.76 KiB]
Downloaded 51 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Wulin/Wushu(?) stall macro
Thanked: 0 time(s)  Unread post Posted: Sun May 03, 2015 6:08 am 
New User
New User
User avatar



Joined: Sat May 02, 2015 12:12 am
Posts: 15
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 41
Updated to make this more reliable using images. You no longer have to have either closed, but the bag does still have to be at the bottom-right corner and the stall window still needs to be in the default position (I'll update using "find location of first occurrence" soon), but this is much more reliable and also gives the option of using a pill if it wears off ("9" on hotkey bar).

If you want to use a different type of pill than this (40% cultivation), then all you have to do is change the "intskill.png" image to a clip-out of the buff you want when it's active. Next time I update this, it will work for all resolutions. This one is for 1440x900. If you run a different resolution, let me know and I'll modify it accordingly if you can't.

You will have to adjust the pre-defined variables to the image locations on your machine.


if you want to use a pill/buff
Code:
 begin
     Window.Bring to front("Age of", "no")
     Macro.Pause("5000")
     if  Image.Can not be located on screen("{stallopen}", "100")
          begin
               if  Image.Can not be located on screen("{backpack}", "100")
                    begin
                         Keyboard.Press key("b")
                    end
               Macro.Pause("2500")
               Mouse.Click at coordinate("1360", "850", "left")
          end
     Macro.Pause("5000")
     if  Image.Can be located on screen("{onlinestall}", "100")
          begin
               if  Image.Can not be located on screen("{intskill}", "100")
                    begin
                         Keyboard.Press key("9")
                    end
               Macro.Pause("7500")
               Mouse.Click at coordinate("550", "740", "left")
               Macro.Pause("1000")
               Mouse.Click at coordinate("738", "528", "left")
          end
 end


if you don't want to use a pill/buff
Code:
 begin
     Window.Bring to front("Age of", "no")
     Macro.Pause("5000")
     if  Image.Can not be located on screen("{stallopen}", "100")
          begin
               if  Image.Can not be located on screen("{backpack}", "100")
                    begin
                         Keyboard.Press key("b")
                    end
               Macro.Pause("2500")
               Mouse.Click at coordinate("1360", "850", "left")
          end
     Macro.Pause("5000")
     if  Image.Can be located on screen("{onlinestall}", "100")
          begin
               Mouse.Click at coordinate("550", "740", "left")
               Macro.Pause("1000")
               Mouse.Click at coordinate("738", "528", "left")
          end
 end


Attachments:
wulin;stall.zip [16.46 KiB]
Downloaded 31 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Wulin/Wushu(?) stall macro
Thanked: 0 time(s)  Unread post Posted: Tue May 05, 2015 7:19 am 
Active User
Active User



Joined: Mon Dec 24, 2012 1:00 am
Posts: 35
Been thanked: 2 time(s)
Has thanked: 1 time(s)
Contribution Points: 24
thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Wulin/Wushu(?) stall macro
Thanked: 0 time(s)  Unread post Posted: Tue Aug 04, 2015 5:50 am 
Contributor
Contributor
User avatar



Joined: Sun Aug 02, 2015 12:18 pm
Posts: 95
Been thanked: 3 time(s)
Has thanked: 3 time(s)
Contribution Points: 74
thx for share


Top
 Profile  
Reply with quote  
 Post subject: Re: Wulin/Wushu(?) stall macro
Thanked: 0 time(s)  Unread post Posted: Sun Nov 06, 2016 7:23 am 


what else can u do with this as far as making escort scripts,any way to make a script for farming?also is it ok to pm you about some other things i dont want to post publicly here? 8-)


Top
  
Reply with quote  
 Post subject: Re: Wulin/Wushu(?) stall macro
Thanked: 0 time(s)  Unread post Posted: Sun Nov 06, 2016 11:16 am 
Silver Contributor
Silver Contributor



Joined: Sun Aug 19, 2012 6:08 am
Posts: 148
Been thanked: 17 time(s)
Has thanked: 2 time(s)
Contribution Points: 4
wow macro


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