hehehe, nice release....
mostlikely they r missing just 1 simple line of code...
-Congratz-
mostlikely they r missing just 1 simple line of code...
-Congratz-
DatabaseItem Di = (DatabaseItem)Database.DatabaseItems[IMan.ToID()];
Object reference not set to an instance of an object. at NewestCOServer.PacketHandling.NPCDialog.Handle(GameClient GC, Byte[] Data, UInt32 NPC, Byte Control)
So before the body of code that handles the boots is called, check if the player is wearing boots to begin with. You can do that using a selection statement.Quote:
Sorry for bumping old threads, just had to test this, and i see that if the character doesn't have for example boots on, and he tried to upgrade the boots, it gives error at this line:
And in the CMD window: System.NullReferenceException:Code:DatabaseItem Di = (DatabaseItem)Database.DatabaseItems[IMan.ToID()];Code:Object reference not set to an instance of an object. at NewestCOServer.PacketHandling.NPCDialog.Handle(GameClient GC, Byte[] Data, UInt32 NPC, Byte Control)