View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001870SphereServerexecutable - windows buildpublic20-12-10 21:4321-12-10 02:01
Reporteralex_petro 
Assigned ToMrSugarCube 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformIntelOSWindows 2003 serverOS Version
Product Version 
Target VersionFixed in Version 
Summary0001870: Triggers in Item events seems broken
DescriptionI 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.

Steps To ReproduceOn 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


Additional InformationIs last SVN Build
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsCommand_Sysmsgs, NoHouseMuteSpeech
Internal Build Number1378
Attached Files

- Relationships

-  Notes
(0000784)
alex_petro (reporter)
20-12-10 22:04

I have the same problem also on a build of several month ago.
(0000785)
MrSugarCube (administrator)
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]

- Issue History
Date Modified Username Field Change
20-12-10 21:43 alex_petro New Issue
20-12-10 22:04 alex_petro Note Added: 0000784
21-12-10 02:01 MrSugarCube Note Added: 0000785
21-12-10 02:01 MrSugarCube Status new => closed
21-12-10 02:01 MrSugarCube Assigned To => MrSugarCube
21-12-10 02:01 MrSugarCube Resolution open => no change required


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker