Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 07:21

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

Advertisement



[Guide] Using edxSilkroadProxy to Create a Simple AutoIt Clientless

Discussion on [Guide] Using edxSilkroadProxy to Create a Simple AutoIt Clientless within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 09/23/2009, 20:02   #16
 
elite*gold: 0
Join Date: Sep 2009
Posts: 3
Received Thanks: 1
PLEASE NOTE: unless you updated the opcodes yourself, this clientless is only good for a server status monitor, attempting to log in with it using an unmodified version of the autoit clientless WILL get you a 7-day ban...

BTW thx a ton drew, this definantly saved me a ton of time since you already laid the groundwork, and building each individual part of the whole packet by using different functions, makes adding more features/figuring out packets much easier!
kealper is offline  
Old 09/23/2009, 20:41   #17

 
elite*gold: 260
Join Date: Aug 2008
Posts: 560
Received Thanks: 3,752
Agreed kealper, good post. Trying to use a CL on ISRO right now is not a good idea simply because they keep on changing the opcodes. It's good for server stats or understanding the concepts, but I definitely do not suggest trying to login with it unless you are 100% sure of the opcodes you are using.

zeldalcl, the edxSilkroadProxy_Lite project was just a little sie project to get some testing into the proxy framework and provide a means of an easy clientless. However, since JM is intent on banning gold bots and illegal 3rd party program users that are opcode based, I won't be updating it all since the real edxSilkroadProxy_Full version contains no version specific features and works with all SRO versions. I only added those to have something 'new' to post because I've posted many proxies before and it would have just been the same thing over and over
pushedx is offline  
Old 09/27/2009, 04:47   #18
 
WorldDj's Avatar
 
elite*gold: 20
Join Date: Jul 2009
Posts: 3,160
Received Thanks: 1,303
Quote:
Originally Posted by pushedx View Post
Agreed kealper, good post. Trying to use a CL on ISRO right now is not a good idea simply because they keep on changing the opcodes. It's good for server stats or understanding the concepts, but I definitely do not suggest trying to login with it unless you are 100% sure of the opcodes you are using.

zeldalcl, the edxSilkroadProxy_Lite project was just a little sie project to get some testing into the proxy framework and provide a means of an easy clientless. However, since JM is intent on banning gold bots and illegal 3rd party program users that are opcode based, I won't be updating it all since the real edxSilkroadProxy_Full version contains no version specific features and works with all SRO versions. I only added those to have something 'new' to post because I've posted many proxies before and it would have just been the same thing over and over
I don't think you waste time to play the entire game than coding stuff/making guides for it...this is really what many people should do, otherwise lets waste our time leveling up?
WorldDj is offline  
Old 10/26/2009, 13:31   #19
 
elite*gold: 0
Join Date: Feb 2008
Posts: 20
Received Thanks: 7
It would be nice If some1 can share opcodes for KSRO as Shadowz75 do it for tSRO

virtuos_e is offline  
Old 11/01/2009, 07:04   #20
 
deadviolence's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4
Received Thanks: 0
Works?
deadviolence is offline  
Old 01/23/2010, 10:11   #21
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8
Received Thanks: 0
I've succesfully implemented this guide on the ECSRO VIP server up until after login, however, I don't know what the char listing opcode is nor how to find/reverse/extract it?

Could anybody help me with learning, finding, extracting opcodes? I would greatly appreciate it.
kenan557 is offline  
Old 01/24/2010, 00:20   #22
 
elite*gold: 0
Join Date: Nov 2005
Posts: 7
Received Thanks: 1
you can use recyfer's srproxy using the normal client and log the packets as non.binary.

you will get somthing like this.

S>C decrypted
0000 01 00 03 A1 02 01 01 .
C>S
0000 01 00 76 73 01 00 02 // request charlist
S>C
0000 4A 00 76 B3 02 00 // charlist

C>S
0000 0C 00 9C 76 01 00 // loginchar

the opcode is the 3 and 4 bytes as a word

example 0C 00 9C 76 01 00 = OPCODE is 0x769C

recyfer.info

this is the simplest way althoguht not the fastest or better...theres others tools you can use to but you have to find them like the packet analizer.
Googlemano is offline  
Thanks
1 User
Old 01/24/2010, 07:28   #23
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8
Received Thanks: 0
This just shows how powerful a proxy that handles the security is, I can now login and send messages without problems.

Also, does anybody know a good way of actually parsing the data of the packets after successfully sniffing them (are there any lists of opcodes and packet structures)... it would be nice to compile a database of all the opcodes and their structures and make a wiki or something.

At the moment I know which opcode to use to move my character but I don't know what data to send or the logic behind the packet data... Is there anything in the community that could help me with this?

Many thanks.
kenan557 is offline  
Old 01/26/2010, 01:00   #24
 
elite*gold: 0
Join Date: Nov 2005
Posts: 7
Received Thanks: 1
look at this btw just like that isn't working you have to update some adresses and stuff which i couldn't in the past

the movement packet i haven't fiugure it out yet, but the structure is soemthing like this

01 // something...
0000 // area
0000 // elevation
0000 // x
0000 // y

im not really sure about the elevation x and y i just copy the whole data and use it to move my bots to grinding spot
Googlemano is offline  
Old 02/21/2011, 05:44   #25
 
Darkness™'s Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 2,085
Received Thanks: 1,669
how can i get the locale of swsro ?

and if i succes changing the opcodes and the other things this will work in pservers?

someone can help ? i want atleast log on an char with that tool, maybe this help with those chars wich are bugged when you press start then -> dc or client crash.
Darkness™ is offline  
Old 02/21/2011, 18:06   #26
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
You could try edxSilkroadLoader and add the swsro sro_client.exe to see which locale it has i don't know if it works but you could give it a try

so what you would like to do is to create a clientless and login to something like swsro get the character information and parse it to see if there is anything missing or wrong values?

Anyway I hope I helped you a little and good luck
kevin_owner is offline  
Thanks
1 User
Old 02/21/2011, 19:32   #27
 
Darkness™'s Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 2,085
Received Thanks: 1,669
Already tryed, but this give me an error.



i just want to test if the clientless is the solution for those bugged accounts/chars.

hehe, thanks anyways.
Darkness™ is offline  
Old 02/22/2011, 06:55   #28
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by Darkness™ View Post
Already tryed, but this give me an error.



i just want to test if the clientless is the solution for those bugged accounts/chars.

hehe, thanks anyways.
The blowfish key for the SWSRO PK2s is different from the official servers.
Change it in the source of edxSilkroadLoader5, recompile and it'll work.
lesderid is offline  
Thanks
1 User
Old 02/22/2011, 20:51   #29
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
the locale of allmost all pservers is 4 (old csro client)...
its stored in the divisioninfo.txt
lolkop is offline  
Old 02/23/2011, 10:55   #30
 
elite*gold: 0
Join Date: Sep 2007
Posts: 255
Received Thanks: 531
Thanks pushedx, still working fine at least for swsro and rsro @Darkness, for the opcodes see Shadowz75's post in the 1st page, these are for pservers and rsro too!

Some changes to make it work for swsro (you also have to change all the opcodes, see Shadowz75's post!):

Code:
[b]line 63:[/b]

Global $controlServer = GUICtrlCreateCombo("SWSRO", 80, 80, 121, 20)

[b]line 116:[/b]

AppendByte(4) ; PSRO locale
AppendWord(9) ; length
AppendString("SR_Client") ; identity
AppendDword(1029) ; version

[b]line 589:[/b]

AppendByte(4)

[b]ServerToId function:[/b]

Func ServerToId($server)
	if StringCompare($server, "SWSRO") == 0 Then
		return 1
	Endif
EndFunc

[b]And charlisting:[/b]

case "B007" ; Char listing [TODO: Update each opcode change]
	BeginParse($packetData, Dec($packetSize))
	$operation = Dec(ParseByte())
	if $operation == 2 then ; char listing
		$result = Dec(ParseByte())
		$charCount = Dec(ParseByte())
		AppendStatusText("Found " & $charCount & " characters")
		For $c = 1 to $charCount
			$charType = Dec(ParseDword())
			$charNameLength = Dec(ParseWord())
			$charName = ParseAscii($charNameLength)
			AppendStatusText("Found character: " & $charName)

			GUICtrlSetData($controlCharacter, $charName, 1)

			$charVol = Dec(ParseByte())
			$charLvl = Dec(ParseByte())
			AppendStatusText("Level: " & $charLvl)
			$charExp = Dec(ParseQword())
			$charStr = Dec(ParseWord())
			$charInt = Dec(ParseWord())
			$charAttr = Dec(ParseWord())
			$charHp = Dec(ParseDword())
			$charMp = Dec(ParseDword())
			AppendStatusText("HP/MP: " & $charHp & "/" & $charMp)
			$doDelete = Dec(ParseByte())
			if $doDelete == 1 then
				$charMinsToDel = Dec(ParseDword())
			EndIf
			$unk1 = Dec(ParseWord())

			$itemCount = Dec(ParseByte())
			AppendStatusText("This character has " & $itemCount & " items equipped.")
			For $i = 1 to $itemCount
				$itemId = Dec(ParseDword())
				$itemPlus = Dec(ParseByte())
				AppendStatusText("[" & $itemId & "][+ " & $itemPlus & "]")
			Next

			AppendStatusText("")
		Next
	Endif
And for rsro (1.023):

Code:
[b]line 63:[/b]

Global $controlServer = GUICtrlCreateCombo("Zeus", 80, 80, 121, 20)
GUICtrlSetData(-1, "Venus|Artemis|Ares") ; add other item snd set a new default 

[b]line 116:[/b]

AppendByte(40) ; RSRO locale
AppendWord(9) ; length
AppendString("SR_Client") ; identity
AppendDword(23) ; version

[b]line 589:[/b]

AppendByte(40)

[b]and ServerToId function:[/b]

Func ServerToId($server)
	if StringCompare($server, "Zeus") == 0 Then
		return 220
	Endif
	if StringCompare($server, "Venus") == 0 Then
		return 221
	Endif
	if StringCompare($server, "Artemis") == 0 Then
		return 224
	Endif
	if StringCompare($server, "Ares") == 0 Then
		return 230
	Endif
EndFunc
jremy is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
C# Clientless using edxSilkroadProxy
05/23/2011 - SRO Hacks, Bots, Cheats & Exploits - 21 Replies
Here is a basic clientless written in C# using drew bentons edxSilkroadProxy. The code isn't complicated at all, using the basics which the .net framework provides. It doesn't provide any cool features, that's up to you to add. ;) Source Download ( No binaries ): http://torquesro.info/download/tClientless%20C%23. rar There will be more releases @ www.torquesro.info/forum for different sro versions, and different programming languages. ;)
[GUIDE] How to create Scripts/bots with AutoIT
09/22/2010 - Tutorials - 6 Replies
for all who want to learn something or create bots for browsergames, mmorpgs and other games download Autoit here: http://www.autoitscript.com/cgi-bin/getfile.pl?au toit3/autoit-v3-setup.exe Now run the Scite Script Editor this is where you type in your code, let check your code if errors are in it and compile it to executable exe file. the first thing you need are the coordinates of your mouse to find locations on the screen, like skill buttons, status bars, or just positions which...
Is it possible to create a simple silkroad bot using java?
03/26/2009 - Silkroad Online - 2 Replies
anyone ?
(GUIDE)How to create own scripts/bots with AutoIt
11/19/2008 - Rappelz - 4 Replies
for all who want to learn something or create bots for browsergames, mmorpgs and other games download Autoit here: http://www.autoitscript.com/cgi-bin/getfile.pl?au toit3/autoit-v3-setup.exe Now run the Scite Script Editor this is where you type in your code, let check your code if errors are in it and compile it to executable exe file. the first thing you need are the coordinates of your mouse to find locations on the screen, like skill buttons, status bars, or just positions which...
Ghostmouse - Create your own simple macros!
05/11/2006 - Conquer Online 2 - 8 Replies
Hi Everyone, I recently Stumbled accross this little program, (Dont know if its been posted before) It is used for recording and playing back mouse scripts. They can also be saved and sent to others using the same program. It is really useful to make a simple macro like a meditation leveler etc. Here it is. Feel free to scan. (A Good online scanner is http://virusscan.jotti.org) Edit: P.S Sorry for posting in the wrong forum. Can a mod please move this?



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


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.