Register for your free account! | Forgot your password?

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

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

Advertisement



opcode prob_need help ! Code include

Discussion on opcode prob_need help ! Code include within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2008
Posts: 132
Received Thanks: 23
opcode prob_need help ! Code include

hii all
i'm using AUTOIT to build a mini bot for Vsro depend on packets which can tell me my caracter data & inventory &......
i have 2 problems
1 - opcode (3013) this the main opcode which had lvl.hp.mp.gold.....
i think i made every thing said but it didn't go well i just get mp right __
here's my code
Code:
$sdata ="CBEA718D73070000220E0E1878000000000000C800000000000000000000000FCC000027000000000000C0010000C0010000010000000000000000002D1B0100000000380E00000000000000000000002B00000000010002000400000000390E00000000000000000000002C000000000100020005000000003A0E00000000000000000000002C00000000010002000600000000300E00000000000000000000003A00000000010002000700000000862A00000000000000000000002E00000000010002000D000000006D5E000014000E000000003224000009000F00000000815F00000A001000000000638400000A001100000000805F00000F001200000000855F0000E8031300000000895F0000E8031400000000938F00000115000000002E2400000116000000008A5F000014001700000000A1610000140018000000005E5F00000000000000000000000000000000010002001900000000AB19000001001A000000006084000003001B000000006184000003001C00000000FE8A000001001D000000003D0F00000A001E000000000A5F00000A001F000000003C0F00000A002000000000268400000000000000000000000000000000010002002100000000278400000000000000000000000000000000010002002200000000031900000100050104000000005D5F0000000000000000000000C763038000010002000001010100000B0102010000000103010000000111010000000112010000000113010000000114010000000200012501000001013C010000010201000100000005020000000000080181010000100018080101011600534E5F434F4E5F5145565F414C4C5F42415349435F31010000000082010000100018080101011600534E5F434F4E5F5145565F414C4C5F42415349435F32010000000083010000100018080101011600534E5F434F4E5F5145565F414C4C5F42415349435F3301000000008D010000100018080101001600534E5F434F4E5F5145565F414C4C5F42415349435F3001000000000000000000FA610700A861837273447E6F02C2918EAD44F2AF000100F2AF0000000000008041000048420000C84200060067686768676400000001000000000000000000000000000000FF5700800000000000138E0000000704014AEA030064024AF0030064034AEE030064044AF803006400000000000000000100010000"
$clvl = dec(fixbyte( StringMid ($sData, 11, 2)))
$maxlvl = dec(fixbyte( StringMid ($sData, 13, 2)))
$charexp = dec(fixbyte( StringMid ($sData, 15, 16)))
$gold = dec(fixqword( StringMid ($sData, 39, 16)))
$charsp = dec(FixDword( StringMid ($sData, 55, 8)))
$czerk = dec(fixbyte( StringMid ($sData, 67, 2)))
$cHP = (dec(FixDword( StringMid ($sData, 77, 8))))
$cMP = (dec(FixDword( StringMid ($sData, 85, 8))))
$MaxSlots = dec(fixbyte( StringMid ($sData, 109, 2)))
$ItemCount = dec(fixbyte( StringMid ($sData, 111, 2)))
MsgBox(0,"Sdata",$clvl&@CRLF& $maxlvl &@CRLF& $charexp &@CRLF& $gold &@CRLF&$charsp&@CRLF& $czerk &@CRLF& $cHP &@CRLF& $cMP &@CRLF& $MaxSlots &@CRLF&$ItemCount)
Func fixbyte($word)
        Return StringMid($word, 2, 1) & StringMid($word, 1, 1)
        EndFunc
Func FixWord($word)
    Return StringMid($word, 3, 2) & StringMid($word, 1, 2)
EndFunc
Func FixDword($word)
    Return StringMid($word, 7, 2) & StringMid($word, 5, 2) & StringMid($word, 3, 2) & StringMid($word, 1, 2)
EndFunc

Func fixqword($word)
    Return StringMid($word, 15, 2) & StringMid($word, 13, 2) & StringMid($word, 11, 2) & StringMid($word, 9, 2)&StringMid($word, 7, 2) & StringMid($word, 5, 2) & StringMid($word, 3, 2) & StringMid($word, 1, 2)
    EndFunc
2- i don't have any idea howto get my inventory ^^
any help , i will be appreciate it
thx have a nice day

will i get all work now but i can't figure out how to get number of inventory slot ^^ plz if any one know how to get it tell me
thx
acer20006 is offline  
Old 11/30/2011, 15:56   #2
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Two hints: avatar items and regular items are separate; each item type/class, has a different structure.
lesderid is offline  
Reply


Similar Threads Similar Threads
opcode
10/04/2011 - Mabinogi - 2 Replies
What is opcode? I can guest it is a code which is for doing things.. but I don't know what is it exactly Please tell me thanks
chat opcode
08/04/2011 - SRO Private Server - 4 Replies
Help me please try to read the message and stop me // chat normal 01 <---- type (byte) ............... EA CC 75 00 <---- ?? ..u............. 0A 00 <---- ?? ................ 63 00 6F 00 6D 00 6F 00 20 00 65 00 73 00 74 00 c.o.m.o...e.s.t. 61 00 6E 00 <--msj(string ansii or...
Opcode need Help
03/08/2011 - SRO Coding Corner - 10 Replies
hi this get data from 3015(OpCode) Player1 15FF0D02 = PlayerID 44656D6F6E5368616954346E = PlayerName
Someone know what mean this opcode ?
12/03/2010 - SRO Coding Corner - 7 Replies
http://img835.imageshack.us/img835/8371/95671826.j pg is because of capture the flag or what ? ...
Did the opcode change for Silkroad?
01/20/2009 - Silkroad Online - 21 Replies
If it did please tell me how to change it for SR33



All times are GMT +1. The time now is 01:39.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.