![]() |
opcode for silk and how to buy from item mall
hi,
sorry but I cant find it out by myself: how do I get my current silk and how can I buy from item mall clientless, cant find any opcodes for this thanks |
It is not based on packets iirc
|
You can get your current Silk from 0x3153 - SERVER_AGENT_SILK_UPDATE.
Buying items is an inventory operation and therefore part of 0x7034 - CLIENT_AGENT_INVENTORY_OPERATION_REQUEST. |
Quote:
one more question: I only get this Paket when I log into the Gameworld / relog, is there anyway to invoke an update on this information, I already tested teleporting but it didnt work. |
Quote:
|
Quote:
Im having another problem: understanding Paket 0x7034 I used xsniff to lookup whats happening when I buy a Tiger from the Item Mall, thats the Packet which gets send to the Server: [0000000000] 18 1B 04 03 02 01 1F 00 50 41 43 4B 41 47 45 5F [0000000016] 49 54 45 4D 5F 43 4F 53 5F 43 5F 54 49 47 45 52 [0000000032] 5F 53 43 52 4F 4C 4C 01 00 00 00 00 00 00 00 00 [0000000048] 00 91 04 00 00 Ascii: ........PACKAGE_ITEM_COS_C_TIGER_SCROLL........... .. my -not working code- Code:
|
"1F 00" is the string length and already written by the WriteAscii function.
I suggest you look into public bot/emulator source code to get a general idea of how the packet is structured. |
Quote:
I looked into some different bots and their buy control but they dont even have a txt file with item mall items parsed. I made some difference tests with xsniff and thats what I found so far: Code:
18 //storetype - uint8 - 24 |
Inventory movement MallShopto Inventory starts with 24
Code:
case 24:Code:
public static void MoveItemMallToInv(byte a1, byte a2, byte Kategori, byte SubKategori, byte ItemIndex, byte a3, byte Slot, ushort Count) |
| All times are GMT +2. The time now is 22:36. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.