Quote:
Originally posted by unknownone+Sep 27 2005, 22:22--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (unknownone @ Sep 27 2005, 22:22)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin--chocoman4k@Sep 27 2005, 21:05
Uh nice, another person who reversed the 03F0 packet :P
Strange though, my 0x03F0 packet looks different.
My composition value is only the last byte, as it shows 00 01 when you receive a composed +1 item. (little endian)
And I got a special slot field where your socketed gems field is, which is being filled when you for example equip the item.
Edit: And also, I got UniqueItemID where you got the PlayerID, otherwise it couldn't identify the item in inventory. But maybe the inventory/trade item packets vary?
|
Yeh, youre right. I reversed the packet by looking at items on people, didnt look properly again when trading.
composition is last byte only, the other byte is always zero from what I can see.
Heres the packet for equipped items.
18 00 F0 03 PL PL PL PL IT IT IT IT RD RD MD MD 04 00 XX S1 S2 EF 00 CP
---
PL PL PL PL <Player ID>
IT IT IT IT <item ID (Itemtype.dat)>
RD RD <remaining dura/arrows etc>
MD MD <max dura>
XX <Position of item equipped> (Head=1, Neck=2, Armor=3, RHwep=4, LHwep=5, Ring=6, Boot=8) No 7 :/
S1 S2 <Socketed gems> (00=No sock, FF=empty sock. All gems have a unique number, ie 01=norm nix, 0D=SDG)
EF 00 <Item effect> (PoisonBlade=C8, HealthBS=C9, ManaBS=CA, DefenseBow=CB)
CP <Composition>
[/b][/quote]
So is that exactly what the packet looks like?
The EF near the end, did you modify this yourself or is that how the packet looks?
How will you know exactly what Effect it has if it just states EF? o.0