Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 Bugged item 
Rizpah
Corporal
Corporal

Joined: 14 Apr 2016
Posts: 30
Reply with quote
Daedalus had an item in his pdepot called "protection" and it had the sprite for the protect spell. Had no uses so he set it on the ground and it changed sprite to enhance weapon. Can't pick it up anymore or interact with it in anyway. it changes between the protect and ew sprites as you move around it. It's on the floor in the east side of the temple near one of the candle stands.
View user's profile Send private message
  
Lordlava
Greater God
Greater God

Joined: 16 Mar 2016
Posts: 1558
Location: The Land Down Under
Reply with quote
I can not find the cause of the problem but I can see where it is being extended.

It checks to see if the Item (in this case is a spell) is not ACTIVE. If it is not then it is deemed to be invalid and deletes the Spell on the character, but does not delete the actual item. It assumes if it is not ACTIVE then it does not exist. ACTIVE = 1.

However, if it is any other status then the item remains.

I have now added some code to actually also delete the item.

See if that solves the problem or creates more - it is very hard to recreate.

This is now active.

The corrupted item in the temple has been removed.

_________________
The Lord of Molten Rocks
View user's profile Send private message
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic