Ezzz-dev/Nostalrius

Bug Clone Item.

RCP91 opened this issue · 1 comments

RCP91 commented

I discovered a bug that a player was making.
After a player reported that a player had a lot of crystal coins and other items.
I started investigating. and seeing this player, he goes close to Npc Gorn, relogin the character to save in that sqm, and then he throws the items of interest on the ground to benefit, and buy a cup from npc Gorn, then he throws the cup away and relogin, the last time he logged out, returned the items in his backpack. so the cup when playing on the ground causes the player not to be saved in the database.

RCP91 commented

Sorted out. missing npc Date="",
"cup" -> Type=2881, Data=0, Amount=1, Price=2, "Do you want to buy a cup for %P gold?", Topic=1

and

if (it.charges) {
data = it.charges;
}