die254 (07-09-2015),dragonkid1102 (07-15-2015),Jerico555 (07-10-2015),littleerik (07-10-2015),ptfock (07-12-2015),RyuRaiiZen (07-13-2015),Skazz0 (07-09-2015),Valhar (07-14-2015)
Step 1: Download BEM. BEM is a semi-free program - it's subscription based, but you can purchase free 1 Month or 1 Year license for forum points
Step 2: Install it and open it. You should see a window with probably some demo codes (or nothing, idk, I had it installed for 2 years now)
Step 3: Go to the developer tab and click on "Create"
Step 4: Name your macro however you want and put it in whatever category you want.
Step 5: Copy paste this in Code View:
Step 6: Download the boot.png, and put it in your C root (it needs the picture to compare pixels, better than pixel pattern)Code:begin loop() Macro.Pause("3000") Function.Execute("bChk") end function("bChk") begin if Color.Pixel pattern can be located on screen("39,40,41,1,1,71,62,42,0,-1,71,62,42,0,-2,68,64,53,0,-1,46,48,49,-1,0,39,40,41,-1,0,39,40,41,0,1,39,40,41,0,1,39,40,41,1,0,39,40,41,0,-1,39,40,41,1,1,51,48,41,-2,1,39,40,41,0,1,40,41,41,1,0,49,47,41", "50") begin Function.Execute("MoveBoots") Macro.Pause("500") end if Color.Pixel pattern can not be located on screen("39,40,41,1,1,71,62,42,0,-1,71,62,42,0,-2,68,64,53,0,-1,46,48,49,-1,0,39,40,41,-1,0,39,40,41,0,1,39,40,41,0,1,39,40,41,1,0,39,40,41,0,-1,39,40,41,1,1,51,48,41,-2,1,39,40,41,0,1,40,41,41,1,0,49,47,41", "50") begin Function.Abort() end end function function("MoveBoots") begin Mouse.Move to image("C:\boot.png", "10") Mouse.Hold button("Left") Macro.Pause("200") Mouse.Move to coordinate("779", "412") Macro.Pause("200") Mouse.Release button("Left") Macro.Pause("500") end function
Step 7: Start it up with the bot in the foreground and your inventory open.
If you're having problems, try retaking the picture of the boot WHILE IT'S STATIONARY and crop it to only have the boot colors. This was taken on 1366x768 and there is no guarantee it'll work on any other resolution.
Last edited by maddoggy00; 07-09-2015 at 07:28 AM.
This is /me friend:
このメモが表示された場合、その後、このノートが通知する価値がないことに、注意することがで きます。
MY PC SPECS :
Intel i3 3225
AMD Radeon 4870 Vapor-x 1 GB
550W Power Supply
8 GB DDR3 RAM
die254 (07-09-2015),dragonkid1102 (07-15-2015),Jerico555 (07-10-2015),littleerik (07-10-2015),ptfock (07-12-2015),RyuRaiiZen (07-13-2015),Skazz0 (07-09-2015),Valhar (07-14-2015)
Is it possible to copy the code into autohotkey?
I dont think so. BEM its a really easy program to use and you have a month free trial...
not working
programm cant found boot and stuck in one place
Last edited by GoodCrafter; 07-10-2015 at 01:32 PM.
This. If you still have problems thou, send a video or explain it to me in detail and I'll see what I can do.
- - - Updated - - -
No, but you can probably translate it, unless autohotkey doesn't have rng patterns/image search. I never really bothered to learn something like that as BEM was enough for my needs.
This is /me friend:
このメモが表示された場合、その後、このノートが通知する価値がないことに、注意することがで きます。
MY PC SPECS :
Intel i3 3225
AMD Radeon 4870 Vapor-x 1 GB
550W Power Supply
8 GB DDR3 RAM
thanks a lot for this great script
docs/commands/ImageSearch.htm they have the same kind of imagesearch.
(Complete the link)
1366x768 , does not work, doesn't recognize the boot image. Image is in c:\boot.png
Edit: What is your video settings/image quality that can change pixels? Can you explain better how to make my own boot image?
Last edited by ptfock; 07-11-2015 at 12:03 PM.
Enter the game, take a screenshot of your inventory with a boot inside in your resolution/quality settings.
Edit the screenshot to be like the original Boot.png(Take a look at the area that he took from the screenshot).
Finally save your new image with the name of boot.png in the C:\boot.png .
Your error should be because your are using a different resolution/quality.
If you do this the image that the BEM is going to search its the exact one that appears on your screen and it should be working perfectly.
Also, make sure you're not near something like a dragon. I've set it to see if at least 10% of the pixels from the picture are, so it can work with different resolutions and different rotations, but some vfx (like extreme lighting, dragon breath) color ALL the icons, and it's probably the only thing that breaks this script, even if the item lighting is by a few rgb's.
Last edited by Milecar12; 07-13-2015 at 01:09 PM.
This is /me friend:
このメモが表示された場合、その後、このノートが通知する価値がないことに、注意することがで きます。
MY PC SPECS :
Intel i3 3225
AMD Radeon 4870 Vapor-x 1 GB
550W Power Supply
8 GB DDR3 RAM
htt p://i.hizliresim.com/ql1pMQ.png
when i press the start i get this error
now working now, need update
pls