BEM Auto Throw Boot Script

Posts 1–15 of 24 · Page 1 of 2
BEM Auto Throw Boot Script
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:

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 6: Download the boot.png, and put it in your C root (it needs the picture to compare pixels, better than pixel pattern)

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.
Thanks alot!
Is it possible to copy the code into autohotkey?
Quote Originally Posted by Jerico555 View Post
Place the boot.png (see attached files) into your C root (ex. C:\boot)

Also this only runs in foreground so its best if you use this when afk with fishbot.
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 - - -

Quote Originally Posted by Jerico555 View Post
Is it possible to copy the code into autohotkey?
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.
thanks a lot for this great script
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
Quote Originally Posted by GoodCrafter View Post
not working
programm cant found boot and stuck in one place
Place the boot.png (see attached files) into your C root (ex. C:\boot)

Also this only runs in foreground so its best if you use this when afk with fishbot.
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?
Quote Originally Posted by ptfock View Post
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?
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.
Quote Originally Posted by die254 View Post
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.
Following, it works. Ty, incredible. I'v never seen this pixel comparing colors awesome
Quote Originally Posted by ptfock View Post
Following, it works. Ty, incredible. I'v never seen this pixel comparing colors awesome
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.
htt p://i.hizliresim.com/ql1pMQ.png

when i press the start i get this error
Posts 1–15 of 24 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us