SphereServer BugTracker - SphereServer
View Issue Details
0001870SphereServerexecutable - windows buildpublic20-12-10 21:4321-12-10 02:01
alex_petro 
MrSugarCube 
normalmajoralways
closedno change required 
IntelWindows 2003 server
 
 
Automated (specify build number)
None
Command_Sysmsgs, NoHouseMuteSpeech
1378
0001870: Triggers in Item events seems broken
I was making a curse event for items on my shard and after I have attached the event on items, something was wrong, some triggers was no fired.

So I have installed a Sphere with no custom scripts, and i tryed again, i get the same problem.

On details the triggers in events seem conflicts each other, i show you an example:


[EVENTS E_ITEM_CURSED]
ON=@DCLICK
serv.log DCLICK <name>

on=@EquipTest
serv.log EquipTest <name>

ON=@EQUIP
serv.log EQUIP <name>

ON=@Unequip
serv.log UnEquip <name>

I have attached the event to the item i_pants_long and placed it on the ground, and i made a Dclick on it.

The rusult in console:
1:22:(krynn_debug.scp,16)EQUIP long pants

DCLICK Lost --

---

Now I discovered that there some relationship from the various triggers, because if I change the event in this way the things changes:

[EVENTS E_ITEM_CURSED]
ON=@DCLICK
serv.log DCLICK <name>

on=@Click
serv.log Click <name>

ON=@EQUIP
serv.log EQUIP <name>

ON=@Unequip
serv.log UnEquip <name>

Result:
21:28:(krynn_debug.scp,10)DCLICK long pants
21:28:(krynn_debug.scp,16)EQUIP long pants


Is last SVN Build
No tags attached.
Issue History
20-12-10 21:43alex_petroNew Issue
20-12-10 22:04alex_petroNote Added: 0000784
21-12-10 02:01MrSugarCubeNote Added: 0000785
21-12-10 02:01MrSugarCubeStatusnew => closed
21-12-10 02:01MrSugarCubeAssigned To => MrSugarCube
21-12-10 02:01MrSugarCubeResolutionopen => no change required

Notes
(0000784)
alex_petro   
20-12-10 22:04   
I have the same problem also on a build of several month ago.
(0000785)
MrSugarCube   
21-12-10 02:01   
For items, the EVENTS and TEVENTS properties should be a list of TYPEDEFs.

[EVENTS E_ITEM_CURSED] -> [TYPEDEF T_ITEM_CURSED]