Just one sample code for 1 items only and I will try to figure out the rest....
thanks.
thanks.
public void Send(Entities.Hero h)
{
h.Owner.Send(mData);
if (Artifacts.Count > 0)
{
Packets.Structures.ItemArtifact artifact = new Packets.Structures.ItemArtifact();
artifact.Add(Artifacts);
h.Owner.Send((Byte[])artifact);
}
}
thxQuote:
When you send the item to the player, send any refinery types it has (packet 2077).
Item code:
Same goes for dragon souls and what not.Code:public void Send(Entities.Hero h) { h.Owner.Send(mData); if (Artifacts.Count > 0) { Packets.Structures.ItemArtifact artifact = new Packets.Structures.ItemArtifact(); artifact.Add(Artifacts); h.Owner.Send((Byte[])artifact); } }