Your code is rather LOTF? If you didnt know LOTF != CoEmu.
Code:
case 10151: //Clearinv NPC
{
if (LinkBack == 0)
{
Text("Would you like me to clear your Inventory?", CSocket);
Link("Yes", 1, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
foreach(Struct.ItemInfo Itm in CSocket.Client.Inventory.Values)
CSocket.Send(ConquerPacket.ItemUsage(Itm.UID, 0, Struct.ItemUsage.RemoveItem));
CSocket.Client.Inventory.Clear();
}
}
break;
+
What should i worry about? You haxing me? Not a chance.
---------------------------------
Quote:
Originally Posted by n0mansland
I'll look at it. One second
|
I'd love to see your version.