GamerzPlanet - For All Your Online Gaming Needs!!

Go Back   GamerzPlanet - For All Your Online Gaming Needs!! > SilkRoad Online > SilkRoad Online Bots/Hacks Discussion

SilkRoad Online Bots/Hacks Discussion SilkRoad Bots and Hacks discussion



Programers look! you know yah want to!

SilkRoad Online Bots/Hacks Discussion


Closed Thread
 
Thread Tools Display Modes
Old 12-12-2007, 06:29 AM   #1
Registered User
 
Last Online: 10-22-2008 06:59 AM
Join Date: Oct 2006
Age: 19
Posts: 57
Thanks: 5
Thanked 12 Times in 6 Posts
RatedX is on a distinguished road
iTrader: 0 / 0%
Points: 2,940.00
Bank: 0.00
Total Points: 2,940.00
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:
Originally Posted by Insane
I saw a simple post at 0x33 with a neat thing for silkroad so i took 20 min and heres a tool taht shows stats like trainshow.bat for isro bot but i cant seem to get it to refresh u can fix it if you want or not eather way i dont have mutch time these days to mess around with stuff,you could allso change the collors of the progress bars if you want.......


well heres waht got me to make this
Quote:
Originally Posted by betaboon
so this is the last thing that i am creating for sro.

its a little dll that can be used by you to get information from the client.
you can use it in autoit as well as every other language.
i wont update the offsets NOR support any issues with it.

included is:
- silkroadtool.dll - the basic dll
- _silkroadtool.au3 - functions usable in au3
- example.au3 - a simple example on how to use _silkroadtool.au3
- VC++ Project of the dll

All functions are called with only one argument: the processID
Functions:
- GetPlayerServer
- GetPlayerName
- GetPlayerLevel - included in silkroadtools.au3 (functionname: _Level($processID))
- GetPlayerMaxHP - included in silkroadtools.au3 (functionname: _MaxHP($processID))
- GetPlayerCurrentHP - included in silkroadtools.au3 (functionname: _CurrentHP($processID))
- GetPlayerMaxMP - included in silkroadtools.au3 (functionname: _MaxMP($processID))
- GetPlayerCurrentMP - included in silkroadtools.au3 (functionname: _CurrentMP($processID))
- GetPlayerXP
- GetPlayerSP
- GetPlayerX - included in silkroadtools.au3 (functionname: _PositionX($processID))
- GetPlayerY - included in silkroadtools.au3 (functionname: _PositionY($processID))
- GetInventoryGold

the other functions arent included in au3 due to limitations of DLLCall in autoit (sry for that)

Download: [Only registered and activated users can see links. ]

Here is the code for it(way better then the example one he made.....)
Code:
#include <GUIConstants.au3>
#include "_silkroadtool.au3"

Local $pidSRO = WinGetProcess("SRO_Client")
; Declare the inital values for HP etc...
$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)




;Create the GUI
$MAIN_GUI = GUICreate("Silkroad Online", 575, 50,350,-25)
;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
$HP_PROGRESS = GUICtrlCreateProgress(32, 6, 125, 15)
;Set the limit of it to 100.
GUICtrlSetLimit(-1, 100, 0)
;Set the progress to show the % of the field.
GUICtrlSetData(-1, $HP_PERCENT)
;Do the same for MP
$HP_STATS = GUICtrlCreateLabel($HP & "/" & $HP_MAX, 200, 8, 75, 17)
GUICtrlCreateLabel("MP", 8, 30, 20, 17)
$MP_PROGRESS = GUICtrlCreateProgress(32, 28, 125, 15)
GUICtrlSetLimit(-1, 100, 0)
GUICtrlSetData(-1, $MP_PERCENT)
$MP_STATS = GUICtrlCreateLabel($MP & "/" & $MP_MAX, 200,30,75,17)
GUICtrlCreateLabel("Level: " & _Level($pidSRO),300,8,50,17)
GUICtrlCreateLabel("Pos:" & $X_Pos & "," & $Y_Pos,300,30,100,17)
$hide = GUICtrlCreateButton("Hide",400,15,50,20)
GUICtrlSetOnEvent(-1, "hideClick")
$show = GUICtrlCreateButton("Show",450,15,50,20)
GUICtrlSetOnEvent(-1, "showClick")
$exit = GUICtrlCreateButton("Exit",525,15,50,20)
GUICtrlSetOnEvent(-1, "exitClick")
;Show our GUI
GUISetState(@SW_SHOW)

;Start the message loop
While 1
;Get the message
    $nMsg = GUIGetMsg()
;Start the switch...case...event loop
    Switch $nMsg
  ;If $nMsg = to the exit button then
        Case $GUI_EVENT_CLOSE
      ;Exit
            Exit
    EndSwitch
WEnd

Func showClick ()
    WinSetState($pidSRO,"",@SW_SHOW)
EndFunc

Func hideClick ()
    WinSetState($pidSRO,"",@SW_HIDE)
EndFunc

Func exitClick ()
Exit
EndFunc

Last edited by RatedX; 12-12-2007 at 12:59 PM..
RatedX is offline  
Sponsored Links
Old 12-12-2007, 06:47 AM   #2
Registered User
 
Last Online: 11-07-2008 07:29 PM
Join Date: Aug 2006
Location: 1+3+3=7
Posts: 1,497
Thanks: 24
Thanked 660 Times in 100 Posts
TomaCukor is on a distinguished road
iTrader: 2 / 100%
Points: 12,835.03
Bank: 0.00
Total Points: 12,835.03
Re: Programers look! you know yah want to!

nice stuff


what u wanna do with it ?
TomaCukor is offline  
Old 12-12-2007, 07:17 AM   #3
Registered User
 
Last Online: 07-01-2008 03:17 AM
Join Date: Oct 2007
Posts: 43
Thanks: 0
Thanked 49 Times in 4 Posts
YetAnotherSRObot is on a distinguished road
iTrader: 0 / 0%
Points: 1,824.00
Bank: 0.00
Total Points: 1,824.00
Re: Programers look! you know yah want to!

Thanks for the post. Saved me a bit of time.
YetAnotherSRObot is offline  
Old 12-12-2007, 08:01 AM   #4
Registered User
 
Last Online: Today 02:52 AM
Join Date: Dec 2006
Posts: 271
Thanks: 16
Thanked 330 Times in 43 Posts
windragon is on a distinguished road
iTrader: 0 / 0%
Points: 337.23
Bank: 14,842.86
Total Points: 15,180.09
Re: Programers look! you know yah want to!

Quote:
Originally Posted by YetAnotherSRObot View Post
Thanks for the post. Saved me a bit of time.
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
windragon is offline  
Old 12-12-2007, 10:37 AM   #5
Registered User
 
Last Online: 10-22-2008 06:59 AM
Join Date: Oct 2006
Age: 19
Posts: 57
Thanks: 5
Thanked 12 Times in 6 Posts
RatedX is on a distinguished road
iTrader: 0 / 0%
Points: 2,940.00
Bank: 0.00
Total Points: 2,940.00
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
RatedX added 140 Minutes and 35 Seconds later...< --- Please use the edit button in the future--- >

working great XD

Last edited by RatedX; 12-12-2007 at 12:58 PM.. Reason: Automerged Doublepost
RatedX is offline  
Closed Thread

Bookmarks

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 +1. The time now is 08:55 AM.


Powered by: vBulletin
Copyright ©2008, GamerzPlanet.Net
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Network: GamerzPlanet | ForumzPlanet | GzPUpload | GzPArcade | GzP Host | Australian Poker | Watch Desperate Housewives | Visits: