Any chance any of you are willing to share the add item packet for 5017 player shops. :D
switch (PacketID)
{
case 1009:
{
switch (SubID)
{
default:
Console.WriteLine("Unknown subid: {0}", SubID);
break;
}
break;
}
}
Ive tried messing with different offsets etc, but no luck. So thought I would ask here. Dont want you guys to think I just simply asked before trying hah.Quote:
PWR.Fill((ushort)56, 0);
PWR.Fill((ushort)1108, 2);
PWR.Fill((uint)stallItem.Item.UID, 4);
PWR.Fill((uint)StallID, 8); //correct
PWR.Fill((uint)stallItem.Price, 12);
PWR.Fill((uint)stallItem.Item.ID, 16);
PWR.Fill((ushort)stallItem.Item.Durability, 20);
PWR.Fill((ushort)stallItem.Item.ItemInfo.MaxDurabi lity, 22);
PWR.Fill((uint)(stallItem.Silver == true ? 1 : 0), 24);
PWR.Fill((uint)0, 28);
PWR.Fill((byte)stallItem.Item.SocketOne, 32);
PWR.Fill((byte)stallItem.Item.SocketTwo, 33);
PWR.Fill((ushort)stallItem.Item.SpecialType, 34);
PWR.Fill((byte)stallItem.Item.Plus, 36);
PWR.Fill((ushort)stallItem.Item.Bless, 37);
PWR.Fill((byte)stallItem.Item.Enchant, 39);
PWR.Fill((uint)stallItem.Item.Progress, 40);
PWR.Fill((uint)0, 44);
PWR.Fill((uint)stallItem.Item.Color, 48);
PWR.Fill((uint)stallItem.Item.Progress, 52);