![]() |
| |||||||
| Home | GzP Upload | GzP Arcade | Register | vbBux / vbPlaza | All Albums | FAQ | Donate | Members List | Calendar | Mark Forums Read |
| SilkRoad Online Bots/Hacks Discussion SilkRoad Bots and Hacks discussion |
![]() |
| | Thread Tools | Display Modes |
| | #1 |
| Registered User | Insanes tol for isro boters and rev boters Insane hasent posted any thing in a few months cause hes working 2 jobs but he took 20 min to do this i got this from 3cho site Quote: Last edited by RatedX; 12-12-2007 at 12:59 PM.. |
| |
| Sponsored Links |
| |
| | #2 |
| Registered User | Re: Programers look! you know yah want to! nice stuff what u wanna do with it ? |
| |
| | #3 |
| Registered User | Re: Programers look! you know yah want to! Thanks for the post. Saved me a bit of time. |
| |
| | #4 |
| Registered User | Re: Programers look! you know yah want to! I hope that you don't work only to your bot and read only to GpZ cause a lot of useful things that can save you lots of "bit of time" I hope to see the first release of your bot soon ^_^ . Let me know if you need someone to make some guides for it I'll be glad to do that :D Windragon |
| |
| | #5 |
| Registered User | Re: Programers look! you know yah want to! Its updateing now!!!!!!!!!!!!! Insanes teh man! Code: #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Version=Beta
#AutoIt3Wrapper_icon=..\..\..\..\My Documents\SRO Icon.ico
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <GUIConstants.au3>
#include "_silkroadtool.au3"
Local $pidSRO = WinGetProcess("SRO_Client")
$Delay = 1000
$tDelay = 0
; Declare the inital values for HP etc...
createGui()
setGui()
;Start the message loop
While 1
;Get the message
$tDelay = $tDelay +1
if $tDelay = $Delay Then
$tDelay = 0
setGui()
EndIf
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func createGui()
Global $MAIN_GUI = GUICreate("Silkroad Online", 575, 50,350,-25)
WinSetOnTop($MAIN_GUI, "", 1)
;Create a lable to tell us what we are seeing
GUICtrlCreateLabel("HP", 8, 8, 19, 17)
;Create the progress to show us what we are seeing
Global $HP_PROGRESS = GUICtrlCreateProgress(32, 6, 125, 15)
;Set the limit of it to 100.
GUICtrlSetLimit(-1, 100, 0)
;Do the same for MP
Global $HP_STATS = GUICtrlCreateLabel("200/200", 200, 8, 75, 17)
GUICtrlCreateLabel("MP", 8, 30, 20, 17)
Global $MP_PROGRESS = GUICtrlCreateProgress(32, 28, 125, 15)
GUICtrlSetLimit(-1, 100, 0)
Global $MP_STATS = GUICtrlCreateLabel("200/200", 200,30,75,17)
Global $Level_STATS = GUICtrlCreateLabel("Level: 0",300,8,50,17)
Global $Pos_STATS = GUICtrlCreateLabel("Pos: 0 , 0",300,30,100,17)
Global $Hide = GUICtrlCreateButton("Hide",400,15,50,20)
GUICtrlSetOnEvent(-1, "HideClick")
Global $Show = GUICtrlCreateButton("Show",450,15,50,20)
GUICtrlSetOnEvent(-1, "ShowClick")
Global $Exit = GUICtrlCreateButton("Exit",525,15,50,20)
GUICtrlSetOnEvent(-1, "ExitClick")
;Show our GUI
GUISetState(@SW_SHOW)
EndFunc
Func setGui()
$Level = _Level($pidSRO)
$HP = _CurrentHP($pidSRO)
$HP_MAX = _MaxHP($pidSRO)
$MP = _CurrentMP($pidSRO)
$MP_MAX = _MaxMP($pidSRO)
$X_Pos = _PositionX($pidSRO)
$Y_Pos = _PositionY($pidSRO)
;Calculate the Percenage
$MP_PERCENT = Round($MP / $MP_MAX * 100, 0)
$HP_PERCENT = Round($HP / $HP_MAX * 100, 0)
;Set the progress to show the % of the field.
GuiCtrlsetdata($HP_STATS, $HP & "/" & $HP_Max)
GUICtrlSetData($HP_PROGRESS, $HP_PERCENT)
Guictrlsetdata($MP_STATS, $MP & "/" & $MP_MAX)
GUICtrlSetData($MP_PROGRESS, $MP_PERCENT)
GuiCtrlSetData($Level_STATS,"Level: " & $Level)
GuiCtrlSetData($Pos_STATS,"Pos: " & $X_Pos & " , " & $Y_Pos)
EndFunc
Func ShowClick ()
WinSetState("SRO_Client", "", @SW_SHOW)
EndFunc
Func HideClick ()
WinSetState("SRO_Client", "", @SW_HIDE)
EndFunc
Func ExitClick ()
Exit
EndFunc
working great XD Last edited by RatedX; 12-12-2007 at 12:58 PM.. Reason: Automerged Doublepost |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |