The World of Layonara  Forums

Author Topic: Bug - lost item on dead ox  (Read 121 times)

Hellblazer

Bug - lost item on dead ox
« 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.
« Last Edit: April 01, 2019, 03:57:31 pm by Hellblazer »
 
The following users thanked this post: willhoff

orth

Re: Bug - lost item on dead ox
« Reply #1 on: April 01, 2019, 04:29:46 pm »
Character and player name please.

Was the ox bag off when it died?
 

Hellblazer

Re: Bug - lost item on dead ox
« Reply #2 on: April 01, 2019, 04:37:17 pm »
Player Name: Fehriel
Char: Lana

no the ox pack was on the ox when it died.
 

orth

Re: Bug - lost item on dead ox
« Reply #3 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.
 
The following users thanked this post: Chazzler, Hellblazer, davidhoff, willhoff