The World of Layonara

The NWN Persistent World => Bugs => Fixed Bugs => Topic started by: Hellblazer on April 01, 2019, 03:55:13 pm

Title: Bug - lost item on dead ox
Post by: Hellblazer on April 01, 2019, 03:55:13 pm
spirit dunes:

don't know if it's reproduceable.

Ox died at the hand of scorpions, I had bodak teeth, fire agates, glass ingots, fire opals, and other gem picks and shovels in it. I had just shoveled sand and placed the sand in the bag. When the ox died, only the sand bags were there to be collected.
Title: Re: Bug - lost item on dead ox
Post by: orth on April 01, 2019, 04:29:46 pm
Character and player name please.

Was the ox bag off when it died?
Title: Re: Bug - lost item on dead ox
Post by: Hellblazer on April 01, 2019, 04:37:17 pm
Player Name: Fehriel
Char: Lana

no the ox pack was on the ox when it died.
Title: Re: Bug - lost item on dead ox
Post by: orth on April 01, 2019, 10:54:59 pm
Thanks for the report. I did indeed find a bug. I've updated the script on the live running server and have restored all the items on your new ox that weren't bags of sand.

The bug was related to SetItemCharges, if you set an object to 0 charges then it just destroys the object. That's why bags of sand were saved, they actually have charges so the script correctly set it to 1, but when it set the others to 0 they got destroyed. This bug was introduced 4 years ago, surprised I've not seen another report of it.