WareHouse Items, DragonSoul Offset

05/21/2011 18:29 -Shunsui-#1
Anyone has the DragonSoulID Offset for WareHouse Items ?
05/21/2011 18:32 pro4never#2
Umm... refineries and dragon souls are their own packet. Not part of iteminfo/warehouseitem packets.

You need to send them as a 'paired packet' if you want to display them correctly.

Something like...


user.Send(ItemInstance);
if(ItemInstance.RefineryData != null)
user.Send(RefineryArtifactPacket.Create(ItemInstan ce.RefineryData));
if(ItemInstance.ArtifactData != null)
user.Send(RefineryArtifactPacket.Create(ItemInstan ce.ArtifactData));
05/21/2011 21:11 -Shunsui-#3
Quote:
Originally Posted by pro4never View Post
Umm... refineries and dragon souls are their own packet. Not part of iteminfo/warehouseitem packets.

You need to send them as a 'paired packet' if you want to display them correctly.

Something like...


user.Send(ItemInstance);
if(ItemInstance.RefineryData != null)
user.Send(RefineryArtifactPacket.Create(ItemInstan ce.RefineryData));
if(ItemInstance.ArtifactData != null)
user.Send(RefineryArtifactPacket.Create(ItemInstan ce.ArtifactData));
i know that but ware house items is something else, and i tried to send the dragonSoul packet as well for warehouse items does not do anything
05/21/2011 21:19 pro4never#4
Ooh... ignore me then ^^.

I was going to be coding warehouses this next week so obviously I don't know what I'm talking about :P

<edit>

also wow @ me messing up what I said... you obviously don't send the refinery packet twice..