Register for your free account! | Forgot your password?

You last visited: Today at 19:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Autoselect Range.

Discussion on Autoselect Range. within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 305
Received Thanks: 57
Autoselect Range.

Hello All Elitepvpers!
I have a problem. I need know, what exactly the Loader (from lolkop) does.
See, I updated the Autoselect to Media, all ok, but I'm having problems with the Range.
I need know, how change the range, without the Loader!
Thanks,
Menna
dukado is offline  
Old 01/06/2010, 04:35   #2
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
You could use autoit to do something along the lines of this:

Code:
$kernel32 = DllOpen('kernel32.dll')
$pid = Run(@ScriptDir & '\sro_client.exe ' & '0 /4 0 0'); change the '0' after '/4' to change the division, eg: 1=Division 2
$mid = memopen($pid)
		;ECSRO
		If memread($mid, 0x9F6A70, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x9F6A70, ReverseHex(FloatToHex(5000)))
		;SJSRO
		If memread($mid, 0x9F48C0, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x9F48C0, ReverseHex(FloatToHex(5000)))
		;MYSRO/SJSRO
		If memread($mid, 0x655934, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x655934, ReverseHex(FloatToHex(5000)))
EndIf
memclose($mid)
DllClose($kernel32)
Func memopen($pid)
	Local $mid = DllCall($kernel32, 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', 1, 'int', $pid)
	Return $mid[0]
EndFunc   ;==>memopen
Func memread($mid, $adress, $type = 'dword')
	Local $struct = DllStructCreate($type)
	DllCall($kernel32, 'int', 'ReadProcessMemory', 'int', $mid, 'int', $adress, 'ptr', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', '')
	Return DllStructGetData($struct, 1)
EndFunc   ;==>memread
Func memwrite($mid, $adress, $hex)
	Local $struct = DllStructCreate('byte[' & BinaryLen('0x' & $hex) & ']')
	For $i = DllStructGetSize($struct) To 1 Step - 1
		DllStructSetData($struct, 1, BinaryMid('0x' & $hex, $i, 1), $i)
	Next
	Local $x = DllCall($kernel32, 'int', 'VirtualProtectEx', 'int', $mid, 'ptr', $adress, 'int', DllStructGetSize($struct), 'dword', 0x40, 'dword*', 0)
	DllCall($kernel32, 'int', 'WriteProcessMemory', 'int', $mid, 'int', $adress, 'ptr', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', 0)
	DllCall($kernel32, 'int', 'VirtualProtectEx', 'int', $mid, 'ptr', $adress, 'int', DllStructGetSize($struct), 'dword', $x[5], 'dword*', 0)
EndFunc   ;==>memwrite
Func memclose($mid)
	DllCall($kernel32, 'int', 'CloseHandle', 'int', $mid)
EndFunc   ;==>memclose
Func FloatToHex($float)
	Local $a = DllCall($kernel32, 'int', 'MulDiv', 'Float', $float, 'int', 1, 'int', 1)
	Return Hex($a[0])
EndFunc   ;==>FloatToHex
Func ReverseHex($hex)
	Local $x
	For $i = StringLen($hex) + 1 To 1 Step - 2
		$x &= StringMid($hex, $i, 2)
	Next
	Return $x
EndFunc   ;==>ReverseHex
That should do it (btw, yes this is code from lolkop's loader, but seeing as he posts the source to all his apps, i dont see any harm in shortening it to your needs)

Hope this helped, just post if you need more help
Epic_Rage is offline  
Old 01/06/2010, 08:22   #3
 
elite*gold: 0
Join Date: Jan 2008
Posts: 305
Received Thanks: 57
Wow!!
Thanks for help, but man, I ain't no programmer!!!
So, thanks for search, and post for us..
Autoit? I gonna GOOGLE THIS, and see what I can do with this code
What I need, Really, is a simple program, that can do it automaticaly for me.
Isn't so hard do this, is?
hehehe
Thanks,
Menna
dukado is offline  
Old 01/06/2010, 08:51   #4
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by dukado View Post
Wow!!
Thanks for help, but man, I ain't no programmer!!!
So, thanks for search, and post for us..
Autoit? I gonna GOOGLE THIS, and see what I can do with this code
What I need, Really, is a simple program, that can do it automaticaly for me.
Isn't so hard do this, is?
hehehe
Thanks,
Menna
If you download autoit and put that code i posted above into a script and compile it(very easy), and run it in the folder than ecsro or w/e server, is installed at, it should work
Epic_Rage is offline  
Old 01/06/2010, 09:10   #5
 
elite*gold: 0
Join Date: Jan 2008
Posts: 305
Received Thanks: 57
Man..
Doens't worked for me..
I do what you said, and appears a error like:
Line 7 (File **):
Error: "EndIf" statement with no matching "If" statement.

:S
dukado is offline  
Old 01/06/2010, 09:17   #6
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
My bad

Code:
$kernel32 = DllOpen('kernel32.dll')
$pid = Run(@ScriptDir & '\sro_client.exe ' & '0 /4 0 0'); change the '0' after '/4' to change the division, eg: 1=Division 2
$mid = memopen($pid)
		If memread($mid, 0x9F6A70, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x9F6A70, ReverseHex(FloatToHex(5000)))
		If memread($mid, 0x9F48C0, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x9F48C0, ReverseHex(FloatToHex(5000)))
		If memread($mid, 0x655934, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x655934, ReverseHex(FloatToHex(5000)))
memclose($mid)
DllClose($kernel32)
Func memopen($pid)
	Local $mid = DllCall($kernel32, 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', 1, 'int', $pid)
	Return $mid[0]
EndFunc   ;==>memopen
Func memread($mid, $adress, $type = 'dword')
	Local $struct = DllStructCreate($type)
	DllCall($kernel32, 'int', 'ReadProcessMemory', 'int', $mid, 'int', $adress, 'ptr', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', '')
	Return DllStructGetData($struct, 1)
EndFunc   ;==>memread
Func memwrite($mid, $adress, $hex)
	Local $struct = DllStructCreate('byte[' & BinaryLen('0x' & $hex) & ']')
	For $i = DllStructGetSize($struct) To 1 Step - 1
		DllStructSetData($struct, 1, BinaryMid('0x' & $hex, $i, 1), $i)
	Next
	Local $x = DllCall($kernel32, 'int', 'VirtualProtectEx', 'int', $mid, 'ptr', $adress, 'int', DllStructGetSize($struct), 'dword', 0x40, 'dword*', 0)
	DllCall($kernel32, 'int', 'WriteProcessMemory', 'int', $mid, 'int', $adress, 'ptr', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', 0)
	DllCall($kernel32, 'int', 'VirtualProtectEx', 'int', $mid, 'ptr', $adress, 'int', DllStructGetSize($struct), 'dword', $x[5], 'dword*', 0)
EndFunc   ;==>memwrite
Func memclose($mid)
	DllCall($kernel32, 'int', 'CloseHandle', 'int', $mid)
EndFunc   ;==>memclose
Func FloatToHex($float)
	Local $a = DllCall($kernel32, 'int', 'MulDiv', 'Float', $float, 'int', 1, 'int', 1)
	Return Hex($a[0])
EndFunc   ;==>FloatToHex
Func ReverseHex($hex)
	Local $x
	For $i = StringLen($hex) + 1 To 1 Step - 2
		$x &= StringMid($hex, $i, 2)
	Next
	Return $x
EndFunc   ;==>ReverseHex
Should work :P
Epic_Rage is offline  
Thanks
1 User
Old 01/06/2010, 11:59   #7
 
elite*gold: 0
Join Date: Dec 2008
Posts: 17
Received Thanks: 0
after the update it wont work at all. it says fdor me this version of the game is not supported contact blablalba
Nieles is offline  
Old 01/06/2010, 12:07   #8
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by Nieles View Post
after the update it wont work at all. it says fdor me this version of the game is not supported contact blablalba
Update? Sorry, no idea what server your talking about
Epic_Rage is offline  
Old 01/06/2010, 12:12   #9
 
elite*gold: 0
Join Date: Mar 2008
Posts: 27
Received Thanks: 2
Quote:
Originally Posted by Epic_Rage View Post
My bad

Code:
$kernel32 = DllOpen('kernel32.dll')
$pid = Run(@ScriptDir & '\sro_client.exe ' & '0 /4 0 0'); change the '0' after '/4' to change the division, eg: 1=Division 2
$mid = memopen($pid)
		If memread($mid, 0x9F6A70, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x9F6A70, ReverseHex(FloatToHex(5000)))
		If memread($mid, 0x9F48C0, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x9F48C0, ReverseHex(FloatToHex(5000)))
		If memread($mid, 0x655934, 'byte[4]') = '0x00008C42' Then memwrite($mid, 0x655934, ReverseHex(FloatToHex(5000)))
memclose($mid)
DllClose($kernel32)
Func memopen($pid)
	Local $mid = DllCall($kernel32, 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', 1, 'int', $pid)
	Return $mid[0]
EndFunc   ;==>memopen
Func memread($mid, $adress, $type = 'dword')
	Local $struct = DllStructCreate($type)
	DllCall($kernel32, 'int', 'ReadProcessMemory', 'int', $mid, 'int', $adress, 'ptr', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', '')
	Return DllStructGetData($struct, 1)
EndFunc   ;==>memread
Func memwrite($mid, $adress, $hex)
	Local $struct = DllStructCreate('byte[' & BinaryLen('0x' & $hex) & ']')
	For $i = DllStructGetSize($struct) To 1 Step - 1
		DllStructSetData($struct, 1, BinaryMid('0x' & $hex, $i, 1), $i)
	Next
	Local $x = DllCall($kernel32, 'int', 'VirtualProtectEx', 'int', $mid, 'ptr', $adress, 'int', DllStructGetSize($struct), 'dword', 0x40, 'dword*', 0)
	DllCall($kernel32, 'int', 'WriteProcessMemory', 'int', $mid, 'int', $adress, 'ptr', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', 0)
	DllCall($kernel32, 'int', 'VirtualProtectEx', 'int', $mid, 'ptr', $adress, 'int', DllStructGetSize($struct), 'dword', $x[5], 'dword*', 0)
EndFunc   ;==>memwrite
Func memclose($mid)
	DllCall($kernel32, 'int', 'CloseHandle', 'int', $mid)
EndFunc   ;==>memclose
Func FloatToHex($float)
	Local $a = DllCall($kernel32, 'int', 'MulDiv', 'Float', $float, 'int', 1, 'int', 1)
	Return Hex($a[0])
EndFunc   ;==>FloatToHex
Func ReverseHex($hex)
	Local $x
	For $i = StringLen($hex) + 1 To 1 Step - 2
		$x &= StringMid($hex, $i, 2)
	Next
	Return $x
EndFunc   ;==>ReverseHex
Should work :P
It write me Please Execute the "Silkroad.exe" Pls help :P
Lubco is offline  
Old 01/06/2010, 12:21   #10
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by Lubco View Post
It write me Please Execute the "Silkroad.exe" Pls help :P
What server are you trying to run this on?
Epic_Rage is offline  
Old 01/06/2010, 12:38   #11
 
elite*gold: 0
Join Date: Mar 2008
Posts: 27
Received Thanks: 2
Quote:
Originally Posted by Epic_Rage View Post
What server are you trying to run this on?
Fembria
Lubco is offline  
Old 01/06/2010, 13:05   #12
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by Lubco View Post
Fembria
Ah, since there is a new patch with a new sro_client.exe, i need the new opcodes or else it wont work

Guess i gotta wait for lolkop to log on and beg him to tell me how to find the opcodes for multiclient/nodc/autoselect/etc >.<
Epic_Rage is offline  
Old 01/06/2010, 13:09   #13
 
elite*gold: 0
Join Date: Mar 2008
Posts: 27
Received Thanks: 2
Quote:
Originally Posted by Epic_Rage View Post
Ah, since there is a new patch with a new sro_client.exe, i need the new opcodes or else it wont work

Guess i gotta wait for lolkop to log on and beg him to tell me how to find the opcodes for multiclient/nodc/autoselect/etc >.<
i got something like lolkop loader, and it fully working... :P it is same loader and bot and autopot THX for your time :P
Lubco is offline  
Old 11/12/2010, 13:31   #14
 
kingdom02's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 214
Received Thanks: 55
this work for zszc?
kingdom02 is offline  
Old 02/26/2012, 03:29   #15
 
elite*gold: 0
Join Date: Mar 2010
Posts: 15
Received Thanks: 3
hellow guys can you edit this for the new silkroad-r v1.017 this is the link of the sro_client updated..

yuoh18 is offline  
Reply


Similar Threads Similar Threads
Autoselect. Big range!
02/26/2012 - SRO Private Server - 4 Replies
i need autoselect :p there is one on forum in thread about chiBOT but it have veeeery small range :/ i need autoselect like on iSRO is :P
Help me ! Edit Range Autoselect For Ecsro !!!
01/20/2010 - SRO Private Server - 2 Replies
Help me ! Edit Range Autoselect For Ecsro !!! No used Loader And not be used by the Swsro : http://www.elitepvpers.com/forum/private-sro-explo its-hacks-bots-guides/280123-swsro-quick-guide-edi t-autoselect-range-cheatengine.html
AutoSelect Range
01/12/2010 - SRO Private Server - 3 Replies
i have searched high and low.... google, epvpers, and some othere sites... still nothing for some reason i cant get any loaders to work correctly and i have found 2 or 3 programs to increase the range but they all fail to work just simply say completed but nothing happens! any help would be greatly appreciated. BTW need it for MySro can be a working loader or what ever but hard to bot with a range of 3 o.O EDIT: w00t got it working.... i ran it as administrator and it compatiblity...
SJSRO autoselect range
11/27/2009 - SRO Private Server - 4 Replies
could someone publish a working noDC and working select range loader??? because 1 loader has noDC but not working select range and 1 has good select range but dosnt has the noDC -.-' if possible ide even like to learn how to make my own loader with the combination of the 2 loader's scripts. working select range laoder - MEGAUPLOAD - The leading online storage and file delivery service working noDC loader - 4shared.com - online file sharing and storage - download Loader_epvp.exe ...
SRO_Client.exe with With a far range of autoselect
07/26/2009 - SRO Private Server - 10 Replies
Here is sro_client.exe but you need media.pk2 with autoselect.... reuploaded SRO_Client.exe



All times are GMT +2. The time now is 19:07.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.