|
You last visited: Today at 00:10
Advertisement
[rSRO] Grab range changer
Discussion on [rSRO] Grab range changer within the SRO Hacks, Bots, Cheats & Exploits forum part of the Silkroad Online category.
07/01/2010, 15:45
|
#1
|
elite*gold: 0
Join Date: Apr 2007
Posts: 21
Received Thanks: 0
|
[rSRO] Grab range changer
Hi I had some time and make grab range changer for rsro. So as script work you must need Autoit.
Code:
;------------------------------------------------------------------------------
; Memory functions -
;------------------------------------------------------------------------------
Func _OpenProcess($hWnd, $use_pid=0)
If $use_pid = 0 Then
Local $pid = DllCall("user32.dll", "int", "GetWindowThreadProcessId", "hwnd", $hWnd, "int*", 0)
If IsArray($pid) Then
$pid = $pid[2]
Else
SetError(-1)
Return
EndIf
Else
Local $pid = $hWnd
EndIf
; 0x001f0fff - All Access
Local $pHandle = DllCall("kernel32.dll", "long", "OpenProcess", "int", 0x001f0fff, "int", 0, "int", $pid)
If IsArray($pHandle) And $pHandle[0] > 0 Then
$pHandle = $pHandle[0]
Else
SetError(-2)
Return
EndIf
Return $pHandle
EndFunc
Func _CloseHandle($pHandle)
DllCall("kernel32.dll", "int", "CloseHandle", "int", $pHandle)
EndFunc
Func _WriteFloat($pHandle, $Address, $value)
Local $float = DllStructCreate("float")
DllStructSetData($float, 1, $value)
; Need to make the memory writeable first! You should really restore the page protection afterwards though, but this is to make it work
$outDw = 1
DllCall("kernel32.dll", "int", "VirtualProtectEx", "int", $pHandle, "ptr", $Address, "int", 4, "dword", 0x40, "dword*", $outDw)
Local $ret = DllCall("kernel32.dll", "int", "WriteProcessMemory", "int", $pHandle, "int", $Address, "ptr", DllStructGetPtr($float), "int", 4, "int", 0)
If IsArray($ret) Then
If $ret[0] <> 0 Then
Return True
Else
SetError(-2)
Return False
EndIf
Else
SetError(-1)
Return False
EndIf
EndFunc
Func _ReadFloat($pHandle, $Address)
Local $floatReturn = 0
Local $float = DllStructCreate("float")
Local $ret = DllCall("kernel32.dll", "int", "ReadProcessMemory", "int", $pHandle, "int", $Address, "ptr", DllStructGetPtr($float), "int", 4, "int", 0)
If IsArray($ret) Then
If $ret[0] = 1 Then
$floatReturn = DllStructGetData($float, 1)
Else
SetError(-1)
EndIf
Else
SetError(-2)
EndIf
Return $floatReturn
EndFunc
;------------------------------------------------------------------------------
; Script code -
;------------------------------------------------------------------------------
$address = 0xCDFF98
$pHandle = _OpenProcess(WinGetHandle("SRO_Client"))
MsgBox(64, "TEST BYTE PTR DS:[ESI-11C],1", "Aktualny zasi?g dzia©©ania AutoSelect: " & _ReadFloat($pHandle, $address))
MsgBox(64, "ksro D13500", _WriteFloat($pHandle, $address, [COLOR="Red"]20000000[/COLOR]))
MsgBox(64, "tsro C647AC", "AutoSelect zosta©© zwi?kszony do: " & _ReadFloat($pHandle, $address))
_CloseHandle($pHandle)
20000000 - Grab Distance
Script compatible with rSro version 1.016
|
|
|
07/01/2010, 22:29
|
#2
|
elite*gold: 20
Join Date: Mar 2007
Posts: 4,277
Received Thanks: 2,990
|
#Approved.
|
|
|
07/03/2010, 11:55
|
#3
|
elite*gold: 34
Join Date: Jan 2009
Posts: 2,383
Received Thanks: 577
|
what does it do?
|
|
|
07/03/2010, 21:10
|
#4
|
elite*gold: 0
Join Date: Apr 2007
Posts: 21
Received Thanks: 0
|
With this script you can grab items from ground in longer rage
|
|
|
07/04/2010, 09:10
|
#5
|
elite*gold: 0
Join Date: Nov 2008
Posts: 3
Received Thanks: 0
|
Nice script but i need this to csro beacuase butterfly dont have a good grab fuction:P
|
|
|
07/04/2010, 11:57
|
#6
|
elite*gold: 0
Join Date: Apr 2007
Posts: 21
Received Thanks: 0
|
Send me sro_client from csro, I can try do it.
|
|
|
07/04/2010, 12:26
|
#7
|
elite*gold: 0
Join Date: Nov 2008
Posts: 3
Received Thanks: 0
|
this is sro_client for csro
|
|
|
07/04/2010, 15:28
|
#8
|
elite*gold: 0
Join Date: Apr 2007
Posts: 21
Received Thanks: 0
|
Try this and tell me if work or doesn't work
Code:
;------------------------------------------------------------------------------
; Memory functions -
;------------------------------------------------------------------------------
Func _OpenProcess($hWnd, $use_pid=0)
If $use_pid = 0 Then
Local $pid = DllCall("user32.dll", "int", "GetWindowThreadProcessId", "hwnd", $hWnd, "int*", 0)
If IsArray($pid) Then
$pid = $pid[2]
Else
SetError(-1)
Return
EndIf
Else
Local $pid = $hWnd
EndIf
; 0x001f0fff - All Access
Local $pHandle = DllCall("kernel32.dll", "long", "OpenProcess", "int", 0x001f0fff, "int", 0, "int", $pid)
If IsArray($pHandle) And $pHandle[0] > 0 Then
$pHandle = $pHandle[0]
Else
SetError(-2)
Return
EndIf
Return $pHandle
EndFunc
Func _CloseHandle($pHandle)
DllCall("kernel32.dll", "int", "CloseHandle", "int", $pHandle)
EndFunc
Func _WriteFloat($pHandle, $Address, $value)
Local $float = DllStructCreate("float")
DllStructSetData($float, 1, $value)
; Need to make the memory writeable first! You should really restore the page protection afterwards though, but this is to make it work
$outDw = 1
DllCall("kernel32.dll", "int", "VirtualProtectEx", "int", $pHandle, "ptr", $Address, "int", 4, "dword", 0x40, "dword*", $outDw)
Local $ret = DllCall("kernel32.dll", "int", "WriteProcessMemory", "int", $pHandle, "int", $Address, "ptr", DllStructGetPtr($float), "int", 4, "int", 0)
If IsArray($ret) Then
If $ret[0] <> 0 Then
Return True
Else
SetError(-2)
Return False
EndIf
Else
SetError(-1)
Return False
EndIf
EndFunc
Func _ReadFloat($pHandle, $Address)
Local $floatReturn = 0
Local $float = DllStructCreate("float")
Local $ret = DllCall("kernel32.dll", "int", "ReadProcessMemory", "int", $pHandle, "int", $Address, "ptr", DllStructGetPtr($float), "int", 4, "int", 0)
If IsArray($ret) Then
If $ret[0] = 1 Then
$floatReturn = DllStructGetData($float, 1)
Else
SetError(-1)
EndIf
Else
SetError(-2)
EndIf
Return $floatReturn
EndFunc
;------------------------------------------------------------------------------
; Script code -
;------------------------------------------------------------------------------
$address = 0xD08028
$pHandle = _OpenProcess(WinGetHandle("SRO_Client"))
MsgBox(64, "TEST BYTE PTR DS:[ESI-11C],1", "Aktualny zasi?g dzia©©ania AutoSelect: " & _ReadFloat($pHandle, $address))
MsgBox(64, "ksro D13500", _WriteFloat($pHandle, $address, 20000000))
MsgBox(64, "tsro C647AC", "AutoSelect zosta©© zwi?kszony do: " & _ReadFloat($pHandle, $address))
_CloseHandle($pHandle)
|
|
|
07/04/2010, 15:46
|
#9
|
elite*gold: 0
Join Date: Nov 2008
Posts: 3
Received Thanks: 0
|
100% working :P in csro hehe:P
|
|
|
Similar Threads
|
Grab Range
06/30/2010 - Silkroad Online - 0 Replies
Anybody know current offset to change grab range ?
|
Fly Range changer 32 und 64 Bit
04/08/2010 - S4 League Hacks, Bots, Cheats & Exploits - 6 Replies
German:
Also da manche von euch 32 Bit haben und den Fly Range Hack gerne benutzen würden release ich hier meine Cheattable für Moonlight Engine und Seers Engine sind auch beide noch im Anhang genau wie die CT.
Die CT beinhaltet:
1. Plasma Sword
2. Counter Sword
|
Neuer Range Changer?
04/02/2010 - S4 League - 13 Replies
Eine frage
da der neue patch für s4 league drausen ist funkt ja der range changer nich
wollte ma fragen ob ihr einn neuen machn könnt?
|
All times are GMT +1. The time now is 00:14.
|
|