#request close
Thanks spare!
Thanks spare!
There are no AddItem methods that take a string as an argument. At least not in my source. So Decker's source probably doesn't have one also.Quote:
#updated first post.
public void AddItem(uint ID)
public void AddItem(uint ID, byte Plus, byte ench, byte bless, Item.Gem soc1, Item.Gem soc2)
{
Item I = new Item();
I.Plus = Plus;
I.ID = ID;
I.UID = (uint)Rnd.Next(10000000);
I.MaxDur = I.DBInfo.Durability;
I.CurDur = I.MaxDur;
I.Enchant = ench;
I.Bless = bless;
I.Soc1 = soc1;
I.Soc2 = soc2;
if (I.UID == 0)
{
I.UID = (uint)Rnd.Next(10000000);
}
Inventory.Add(I);
MyClient.AddSend(Packets.AddItem(I, 0));
}
GC.MyChar.AddItem(191305, 9, 255, 7, Item.Gem.SuperDragonGem, Item.Gem.SuperDragonGem);