Hi. Tody i try to use item Lucky Day Scroll and Protection Scroll.
But i don't know how to identify inventory type from this item.
Becuase i got receive op code[Use_flag_scroll] and packet specify inventory position. But don't have inventory type.
*Protection scroll and Shilding ward have same property.But defferent type.
ID: 2531000 NAME: Protection Scroll [Inventory type : USE]
ID: 5064000 NAME: Shielding Ward [Inventory type : CASH]
So. When used item i got same header [USE_FLAG_SCROLL]
Packet for Use_flag_scroll
[Received] USE_FLAG_SCROLL (Protection scroll [USE SLOT])
Data: [FF 74 96 06] [04 00] [F5 FF] [00]
[FF 74 96 06] = Player Tick
[04 00] = Scroll Position
[F5 FF] = Equip Position
[00] = Unknown
---------------------------------------------------
[Received] USE_FLAG_SCROLL (Sheilding ward [CASH Slot])
Data: [05 12 99 06] [01 00] [F5 FF] [00]
[05 12 99 06] = Player Tick
[01 00] = Scroll Position
[F5 FF] = Equip Position
[00] = Unknown
When received packet server i will get scroll from position. but fixed inventory type?
Now I can't identify Inventorytype.Code:short scrollpos = slea.readShort(); Item scroll = c.getPlayer().getInventory(MapleInventoryType.USE).getItem(scrollpos);
Please help me thx.
Ps.sorry for posting invalid category![]()



Reply With Quote![[Packet]Use_flag_scroll how i can identify Inventorytype?](http://ragezone.com/hyper728.png)


