Sign in to follow this  
Followers 0
larileet

How can i turn this into Runescape Divination bot?

3 posts in this topic

i found rdy script, all its missing is once inventory reaches its capasity to go to the " main thing " and dump all of them inside so it can keep gather more.

Quote

HotKeySet("{ESC}", "Terminate")
HotKeySet("!c", "getColor")
HotKeySet("!a", "attackLoop")

Global $color
Global $interval
$interval = 10000

MsgBox(0, "Starting Up", "Starting, use ESCAPE to quit, Alt + C to set color, and Alt + A to attack.")

Func Terminate()
   Exit 1
EndFunc

Func getColor()
   $point = MouseGetPos()
   $color = PixelGetColor($point[0], $point[1])
   MsgBox(0, "Color Set", "The color has been set to " & $color)
EndFunc

Func attackLoop()
   MsgBox(0, "Attacking", "Starting to attack")
   While 1
      $point = PixelSearch(60, 157, 1772, 759, $color)
      if IsArray($point) Then
         MouseClick("left", $point[0], $point[1])
         Sleep($interval)
      EndIf
      Sleep(50)
   WEnd
EndFunc

While 1
   sleep(250)
WEnd

 

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You can read this guide, it has step by step instructions on how to do that. Step 1 is the most important.

Edited by InunoTaishou
1 person likes this

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0