OK i dont no how to us what you got so it will tarn my armor black.. but it will not stay black if i drop it on the ground it will go back normail color or if i relogin it will go back to its normail color
here is the code i am using
here is the code i am using
a lil bit of random stuff in in it from my trying to get it to work :( plz help meQuote:
case 723584://BlackTulip
{
if (CSocket.Client.Equipment.ContainsKey(3))
{
Struct.ItemInfo itm = CSocket.Client.Equipment[3];
CSocket.Send(ConquerPacket.ItemInfo(itm.UID,itm.It emID, itm.Plus, itm.Bless, itm.Enchant, itm.Soc1, itm.Soc2, itm.Dura, itm.MaxDura, itm.Position, 2));
Database.Database.UpdateItem(Item);
CSocket.Send(ConquerPacket.ItemUsage(itm.ItemID, 255, Struct.ItemUsage.RemoveItem));
CSocket.Send(ConquerPacket.ItemInfo(itm.UID, itm.ItemID, itm.Plus, itm.Bless, itm.Enchant, itm.Soc1, itm.Soc2, itm.Dura, itm.MaxDura, itm.Position, 2));
ItemUpdate(itm.UID, itm.ItemID, itm.Plus, itm.Bless, itm.Enchant, itm.Soc1, itm.Soc2, itm.Dura, itm.MaxDura, 3, 2);
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Your Armor is now black!", Struct.ChatType.Top));
}
else
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "you Do not have armor on!", Struct.ChatType.Top));
Delete = false;
}
break;
}