SphereServer BugTracker - SphereServer
View Issue Details
0002201SphereServerexecutable - windows buildpublic03-09-13 17:4906-09-13 22:41
Coruja 
Ben 
normalmajoralways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
0002201: Latest nightly build doesnt fire some triggers [MAJOR BUG]
probably related to issue 0002200, the automatic detection of triggers is not firing all triggers yet. Most of them are working fine, but a few doesn't work yet, like:
@FameChange
@KarmaChange
@ExpChange
@ExpLevelChange
@ItemClick
@ItemEquip
@ItemEquipTest
@ItemUnequip
@ItemDropOn_Item
(and maybe all others @Item[something] triggers)
Using 03 sept 2013 nightly build
No tags attached.
Issue History
03-09-13 17:49CorujaNew Issue
03-09-13 18:02CorujaNote Added: 0001647
04-09-13 00:16BenNote Added: 0001648
04-09-13 02:19BenNote Edited: 0001648bug_revision_view_page.php?bugnote_id=0001648#r519
04-09-13 03:05CorujaNote Added: 0001649
04-09-13 03:11CorujaNote Edited: 0001649bug_revision_view_page.php?bugnote_id=0001649#r521
04-09-13 03:20CorujaNote Edited: 0001649bug_revision_view_page.php?bugnote_id=0001649#r522
04-09-13 05:10BenNote Added: 0001650
06-09-13 02:27CorujaNote Added: 0001651
06-09-13 22:41BenStatusnew => resolved
06-09-13 22:41BenFixed in Version => 0.56c Nightly
06-09-13 22:41BenResolutionopen => fixed
06-09-13 22:41BenAssigned To => Ben

Notes
(0001647)
Coruja   
03-09-13 18:02   
PS: some ppl on my server related that kill count doesnt raise when killing someone, I cant confirm yet, but maybe @Kill / @Death doesnt works too (I'm using EF_FixKillTrigger enabled on .ini)
(0001648)
Ben   
04-09-13 00:16   
(edited on: 04-09-13 02:19)
can you type U at the console and post the trigger list that gets printed?

[EDIT]
just tested
@FameChange
@KarmaChange
and they both work fine... maybe you should test properly before reporting bugs... I hate wasting my time looking for something that's not there...

(0001649)
Coruja   
04-09-13 03:05   
(edited on: 04-09-13 03:20)
I already had confirmed these triggers above, the others @Item[something] I cant confirm since I doesnt tested :D

but I tested again now using 4 sept nightly build, and when killing NPCs the default sphere fame/karma gain doesnt works. I set my fame=0/karma=0 and then start killing some NPCs and after some minutes my fame/karma remains on 0. Already checked all my char events and there's nothing like return 1 on @FameChange/@KarmaChange to prevent the gain. Sphere is not calling the default gain behavior, it doesnt even show the default "you gain some fame/karma" message (EDIT: the fame/karma doesnt decrease when I die too and I doesnt get the message "you lose some fame/karma"). Maybe thats related to @ExpChange, @ExpLevelChange which doesnt fire too.

about @ItemClick, @ItemEquip, @ItemEquipTest, @ItemUnequip and @ItemDropOn_Item, they doesnt work. I tested using a new test event and none of these triggers works

[EVENTS e_teste]
ON=@FameChange
SERV.B fire @FameChange

ON=@KarmaChange
SERV.B fire @KarmaChange

ON=@ExpChange
SERV.B fire @ExpChange

ON=@ExpLevelChange
SERV.B fire @ExpLevelChange

ON=@ItemEquip
SERV.B fire @ItemEquip

ON=@ItemEquipTest
SERV.B fire @ItemEquipTest

ON=@ItemUnequip
SERV.B fire @ItemUnequip

ON=@ItemDropOn_Item
SERV.B fire @ItemDropOn_Item

ON=@ItemDropOn_Pack
SERV.B fire @ItemDropOn_Pack

ON=@ItemDropOn_Self
SERV.B fire @ItemDropOn_Self

ON=@ItemDropOn_Ground
SERV.B fire @ItemDropOn_Ground



but strangely all these triggers are here on this list

Trigger @AAAUNUSED : NOT used.
Trigger @Abort : used 38 times.
Trigger @AfterClick : used 44 times.
Trigger @Attack : used 7 times.
Trigger @Buy : used 2 times.
Trigger @CallGuards : NOT used.
Trigger @charAttack : NOT used.
Trigger @charClick : used 3 times.
Trigger @charClientTooltip : NOT used.
Trigger @charDClick : NOT used.
Trigger @charTradeAccepted : NOT used.
Trigger @Click : used 57 times.
Trigger @ClientTooltip : used 32 times.
Trigger @CliPeriodic : used 6 times.
Trigger @ContextMenuRequest : used 25 times.
Trigger @ContextMenuSelect : used 24 times.
Trigger @Create : used 2651 times.
Trigger @Criminal : NOT used.
Trigger @Damage : used 12 times.
Trigger @DClick : used 245 times.
Trigger @Death : used 42 times.
Trigger @DeathCorpse : used 21 times.
Trigger @Destroy : used 53 times.
Trigger @Dismount : used 8 times.
Trigger @DropOn_Char : used 7 times.
Trigger @DropOn_Ground : used 13 times.
Trigger @DropOn_Item : used 8 times.
Trigger @DropOn_Self : used 9 times.
Trigger @EFFECT : used 33 times.
Trigger @Enter : used 12 times.
Trigger @EnvironChange : used 6 times.
Trigger @Equip : used 64 times.
Trigger @EquipTest : used 7 times.
Trigger @Exit : used 4 times.
Trigger @ExpChange : used 2 times. <-----------
Trigger @ExpLevelChange : used 2 times. <-----------
Trigger @Fail : used 38 times.
Trigger @FameChange : used 6 times. <-----------
Trigger @Gain : NOT used.
Trigger @GetHit : used 68 times.
Trigger @Hit : used 26 times.
Trigger @HitMiss : NOT used.
Trigger @HitTry : used 7 times.
Trigger @HouseDesignCommit : used 1 time.
Trigger @HouseDesignExit : used 1 time.
Trigger @Hunger : used 9 times.
Trigger @itemAfterClick : NOT used.
Trigger @itemBuy : used 2 times.
Trigger @itemClick : used 5 times. <-----------
Trigger @itemClientTooltip : NOT used.
Trigger @itemContextMenuRequest : NOT used.
Trigger @itemContextMenuSelect : NOT used.
Trigger @itemCreate : NOT used.
Trigger @itemDamage : NOT used.
Trigger @itemDCLICK : used 7 times.
Trigger @itemDestroy : NOT used.
Trigger @itemDropOn_Char : used 2 times.
Trigger @itemDropOn_Ground : used 6 times.
Trigger @itemDropOn_Item : used 2 times. <-----------
Trigger @itemDropOn_Self : used 2 times.
Trigger @itemEQUIP : used 4 times. <-----------
Trigger @itemEQUIPTEST : used 2 times. <-----------
Trigger @itemFIRE : NOT used.
Trigger @itemPICKUP_GROUND : used 3 times.
Trigger @itemPICKUP_PACK : used 2 times.
Trigger @itemPICKUP_SELF : NOT used.
Trigger @itemPICKUP_STACK : NOT used.
Trigger @itemSELL : used 2 times.
Trigger @itemSPELL : NOT used.
Trigger @itemSTEP : used 3 times.
Trigger @itemTARGON_CANCEL : NOT used.
Trigger @itemTARGON_CHAR : NOT used.
Trigger @itemTARGON_GROUND : NOT used.
Trigger @itemTARGON_ITEM : used 2 times.
Trigger @itemTimer : NOT used.
Trigger @itemToolTip : NOT used.
Trigger @itemUNEQUIP : used 3 times. <-----------
Trigger @Jailed : used 1 time.
Trigger @KarmaChange : used 6 times. <-----------
Trigger @Kill : used 2 times.
Trigger @Load : NOT used.
Trigger @LogIn : used 16 times.
Trigger @LogOut : used 27 times.
Trigger @Mount : used 2 times.
Trigger @MurderDecay : used 1 time.
Trigger @MurderMark : NOT used.
Trigger @NPCAcceptItem : NOT used.
Trigger @NPCActFight : used 23 times.
Trigger @NPCActFollow : NOT used.
Trigger @NPCAction : NOT used.
Trigger @NPCHearGreeting : NOT used.
Trigger @NPCHearUnknown : NOT used.
Trigger @NPCLookAtChar : used 3 times.
Trigger @NPCLookAtItem : NOT used.
Trigger @NPCLostTeleport : NOT used.
Trigger @NPCRefuseItem : NOT used.
Trigger @NPCRestock : used 385 times.
Trigger @NPCSeeNewPlayer : used 4 times.
Trigger @NPCSeeWantItem : NOT used.
Trigger @NPCSpecialAction : NOT used.
Trigger @PartyDisband : NOT used.
Trigger @PartyInvite : NOT used.
Trigger @PartyRemove : NOT used.
Trigger @PersonalSpace : used 2 times.
Trigger @PetDesert : used 2 times.
Trigger @PICKUP_GROUND : used 6 times.
Trigger @PICKUP_PACK : used 5 times.
Trigger @PICKUP_SELF : used 6 times.
Trigger @PICKUP_STACK : NOT used.
Trigger @PRESTART : used 5 times.
Trigger @PROFILE : used 3 times.
Trigger @ReceiveItem : used 1 time.
Trigger @RegionEnter : used 1 time.
Trigger @RegionLeave : used 3 times.
Trigger @RegionResourceFound : NOT used.
Trigger @RegPeriodic : used 6 times.
Trigger @Rename : used 4 times.
Trigger @ResourceFound : NOT used.
Trigger @ResourceTest : NOT used.
Trigger @Select : used 12 times.
Trigger @SELL : used 4 times.
Trigger @SeeCrime : NOT used.
Trigger @SkillAbort : NOT used.
Trigger @SkillChange : NOT used.
Trigger @SkillFail : used 1 time.
Trigger @SkillGain : used 1 time.
Trigger @SkillMakeItem : used 2 times.
Trigger @SkillMenu : NOT used.
Trigger @SkillPreStart : used 3 times.
Trigger @SkillSelect : used 1 time.
Trigger @SkillStart : used 6 times.
Trigger @SkillSuccess : NOT used.
Trigger @SkillTargetCancel : NOT used.
Trigger @SkillUseQuick : used 1 time.
Trigger @SkillWait : NOT used.
Trigger @SpellBook : NOT used.
Trigger @SpellCast : used 8 times.
Trigger @SpellEffect : used 22 times.
Trigger @SpellFail : used 1 time.
Trigger @SpellSelect : used 1 time.
Trigger @SpellSuccess : used 2 times.
Trigger @SpellTargetCancel : NOT used.
Trigger @Start : used 20 times.
Trigger @StatChange : NOT used.
Trigger @Step : used 47 times.
Trigger @StepStealth : used 1 time.
Trigger @Success : used 31 times.
Trigger @TARGETCANCEL : NOT used.
Trigger @TARGON_CANCEL : used 4 times.
Trigger @TARGON_CHAR : used 26 times.
Trigger @TARGON_GROUND : used 7 times.
Trigger @TARGON_ITEM : used 35 times.
Trigger @Timer : used 130 times.
Trigger @ToolTip : NOT used.
Trigger @TradeAccepted : used 2 times.
Trigger @UnEquip : used 30 times.
Trigger @UseQuick : NOT used.
Trigger @UserBugReport : NOT used.
Trigger @UserChatButton : used 1 time.
Trigger @UserExtCmd : NOT used.
Trigger @UserExWalkLimit : NOT used.
Trigger @UserGuildButton : used 1 time.
Trigger @UserKRToolbar : NOT used.
Trigger @UserMailBag : NOT used.
Trigger @UserQuestArrowClick : NOT used.
Trigger @UserQuestButton : used 1 time.
Trigger @UserSkills : NOT used.
Trigger @UserSpecialMove : NOT used.
Trigger @UserStats : NOT used.
Trigger @UserVirtue : NOT used.
Trigger @UserVirtueInvoke : NOT used.
Trigger @UserWarmode : used 4 times.
Trigger @Wait : NOT used.

(0001650)
Ben   
04-09-13 05:10   
I found the problem with the @itemXXX triggers.

As for the rest that you mentioned, "Fame/Karma/Exp triggers, Fame/Karma/Exp default system, it all works just fine (Yes, I tested). I don't know what or how you are testing all this, but you need to do it again.
(0001651)
Coruja   
06-09-13 02:27   
thx :D on latest 06 sept build everything is working fine, maybe this issue could be marked as resolved