Go Back   OnlineGames.Net Forum > Online Games > MMO & MMORPG Chat > Runescape

Runescape RuneScape is a fantasy MMORPG developed by Jagex Ltd. It is a graphical browser game implemented on the client-side in Java and incorporates 3D rendering. Discuss all things about Runescape here.

Reply
 
Thread Tools Display Modes
Old 09-27-2006, 12:45 AM   #1 (permalink)
New Member
 
Join Date: Sep 2006
Posts: 1
OGN$: 0
Default RuneScape Mining Bot

Done In Autoit.
Heres the SCript:
Quote:



#include <GuiConstants.au3>


Dim $Game, $MID
HotKeySet("{F8}","Get_coord")
HotKeySet("{F9}","Game_Bot")

opt("MouseCoordMode", 0)
Opt("PixelCoordMode", 0)

GUICreate("Object - Game Bot", 614, 370)
GUISetFont(9, 400, -1, "MS Sans Serif")
$B_oIE3 = ObjCreate("Shell.Explorer.2")
$Breaktime = GUICtrlCreateObj($B_oIE3, -45, -140, 540, 510)
$html2 = "about:<br><br><br><br><br><br><br>><Text>........ ..........................Enter to start the Game. <br><br>............ Runescape Bot v1.0 Go to a mine and Press f9</Text>"
$B_oIE3.navigate ($html2)
GUICtrlCreateLabel ("*Runescape BOt*", 503, 80,150)
GUICtrlSetFont( -1, 12, 700)
$BrkStart = GUICtrlCreateButton("&Enter Game", 505, 300, 80, 25)
$BrkEnd = GUICtrlCreateButton("&Exit", 505, 330, 80, 25)
$Brkmouse = GUICtrlCreateButton("&Mousepos", 505, 270, 80, 25)
GUISetState()

While 1

$msg = GUIGetMsg()

If $msg = $GUI_EVENT_CLOSE Or $msg = $BrkEnd Then
Exit
EndIf

If $msg = $BrkStart Then
$B_oIE3.navigate ("http://www.runescape.com/")
Sleep(1500) ; wait to load

MsgBox(0, "", "Press [F9] to Use the Runescape Bot.")
EndIf
If $msg = $Brkmouse Then
sleep(4000)
$mpos = MouseGetPos()
$My_Color = PixelGetColor( $mpos[0], $mpos[1] )
tooltip( "Color Gotten" )
EndIf
WEnd
Func Game_Bot() ; if $Game then $Game = True, If Not $Game then $Game = False, maybe think of $Game as "1".
$Game = NOT $Game
If $Game Then ToolTip('Press (F9) to Exit Game Bot',0,0)
While $Game ; search left, top, right bottom for my color, color varience of 50 shades, check every 10 pixels.
$ball = PixelSearch( 49, 75, 430, 330, $My_Color, 50, 10)
If Not @error Then MouseClick("left", $ball[0], $ball[1], 1, 0)
sleep(5000)

WEnd
ToolTip("")
EndFunc




Func Get_coord() ; press F8 to get mouse coordinates
$MID = NOT $MID
While $MID
$pos = MouseGetPos()
ToolTip('Mouse coordinates ' & @CRLF & " X = " & $pos[0] & @CRLF & " Y = " & $pos[1],0,0)
Sleep(20)
WEnd
ToolTip("")
ENDFunc








And for those to lazy to Compile it: http://rapidshare.de/files/34578380/runebot.exe.html
(*note My friend compiled that for me)
JimmyMan is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 02:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Search Engine Friendly URLs by vBSEO 3.3.2