Well I think every data has 2 Bytes identifier in front. "01 08" would be "Lapis Linkage". So writing 2 examples of datas of our concern here.
LVL 3 MP lapis -> linked
SEND>>01 08 02 14 00 04 00 00
RECV>>01 08 01 02 14 00 00 04 03 3B 00 00 00 00 FD 62 0F 00 00 00
LVL 5 mp -> broke
SEND>>01 08 01 11 00 01 00 00
RECV>>01 08 00 01 11 00 00 01 01 3D 00 00 00 00 49 D1 09 00 00 00
Game usually adresses items by sending the inventory page and slot no.
So 01 08 02 14 00 04 00 00 means
(01 08)Link (02 14) lapis in 21th slot of page 3 to (00 04) item in 5th slot of page 1 (00 00) ?using hammer in 1st page 1st slot?
14 is in HEX so its 21 in DECIMAL and they start counting from 0. I'm not sure about the hammer part but its obviously that. So there's nothing to increase chance, it just says to link the items in given slots and server itself checks to see if they are linkable and calculates chance for itself.
There re 2 extra bytes (3rd and 6th ones) in the received data which is 01 for success and 00 for failure. They probably tell the client to remove item from inventory. A 01 in front of item data will mean item is also broken etc. I dont know about the rest of the bytes, maybe telling how much money spent but we really dont need to know those since its only received data.
SELLING SHOULD BE LIKE THIS
SEND>>03 07 01 00 01
(03 07 means 'sell' so constant values), inv page,slotno,amount
I was surprised to see this work, because it doesnt mention any npc or such. They can detect buying if they compare your location with the NPC you r buying from but in selling u just sell it xD theres no additional information sent
Good Luck.
ATTACK
SEND>>03 05 F3 56 BF 48
03 05, 4 byte target id
target id is a harder topic which u need to get from RECV datas, I didnt bother doing yet
SKILL USAGE
SEND>>11 05 02 00 00 00 00
11,05,skillno,4byte target id
skillno is the order u learn the skills
SUB SKILL
SEND>>06 05 76
06 05, sub skill no (laugh, victory etc.)
ITEM USAGE
SEND>>0A 05 01 00
0A,05,inventory page,slot of page
PUT ITEM INTO WAREHOUSE
SEND>>04 02 01 00 64 14
04 02,inv page, page slot, warehouse page(starts from 64 i think), page slot
MOVE ITEM INSIDE WAREHOUSE
SEND>>04 02 64 13 64 00
04 02, warehouse page, page slot, destinationpage,dest.slot
I think I tried moving in and out of locked wh pages, didnt work :/
Btw, I really thank u for sharing this wonderful thing. I used to believe this thing would be the ultimate item for various hacks but I think they improved security. I see the files ripped from the game are now encrypted somehow, they werent before. I was trying to do this myself so I guess I'm late
wish I saw this before.
I found the XOR where game uses to encrypt but not an expert enough to do injection. I use Visual Basic 6.0 so the codes r kinda hard to understand for me. Don't like asking stuff much but if u know basic could you please show me a way to do this in VB6.0?