SphereServer BugTracker - SphereServer
View Issue Details
0001853SphereServerexecutable - genericpublic14-11-10 15:1714-11-10 18:18
Ordonez 
MrSugarCube 
lowcrashalways
closedno change required 
20-09-2009, 0.56b Prerelease 
 
Automated (specify build number)
None
Command_Sysmsgs, NoHouseMuteSpeech
1256
0001853: @unequip + remove -> crash
Server crashes due no item is put on the backpack or the dragging layer.
Create any wereable item with:

on=@unequip
remove

Try to pick it up from paperdoll, or to equip another item in same layer.
There is no triggered way to prevent the unequipment, due @unequip doesnt has "return" values.

None of the @pickup_xxxx triggers do when you pick it up from the paperdoll.
There is no way to prevent unequipment without a char event with @equiptest on it.

Internal build #1256, Apr 6 2010 (but i think it still crashes in newer ones)
No tags attached.
duplicate of 0001769closed MrSugarCube What error could cause this crash? 
jpg infiniteloop.JPG (187,159) 14-11-10 15:17
http://tracker.sphere.torfo.org/bugs/file_download.php?file_id=47&type=bug
jpg
Issue History
14-11-10 15:17OrdonezNew Issue
14-11-10 15:17OrdonezFile Added: infiniteloop.JPG
14-11-10 17:36MrSugarCubeRelationship addedduplicate of 0001769
14-11-10 18:18MrSugarCubeNote Added: 0000757
14-11-10 18:18MrSugarCubeStatusnew => closed
14-11-10 18:18MrSugarCubeAssigned To => MrSugarCube
14-11-10 18:18MrSugarCubeResolutionopen => no change required

Notes
(0000757)
MrSugarCube   
14-11-10 18:18   
The crash is the result on an infinite loop caused by your script.

When an item is deleted it has to be unequipped first, which will cause the @UnEquip trigger to fire. Since @UnEquip fires before the item has finished unequipping, calling REMOVE will cause Sphere to attempt to unequip the item again (which in turn fires @UnEquip again, and so on).