User
Pass
2FA
 
 

[Multiple] API for totem-like summons

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash
Author Message1509
darkwavecze

[Mentally Stable]



Status: Offline
(since 23-08-2020 18:30)
Joined: 05 Sep 2015
Posts: 36, Topics: 13
Location: Czech Republic

Reputation: 167.2
Votes: 8

Post Posted: 24-08-2016, 18:00:32 | Translate post to: ... (Click for more languages)

WoW Freakz spell link: https://www.wow-freakz.com/spells.php?spell=46584&&name=raise-dead, https://www.wow-freakz.com/spells.php?spell=115313&&name=summon-jade-serpent-statue, https://www.wow-freakz.com/spells.php?spell=137639&&name=storm-earth-and-fire, https://www.wow-freakz.com/spells.php?spell=88747&&name=wild-mushroom (balance)

Bug description: Those 4 spells do not fire PLAYER_TOTEM_UPDATE event and you can't get data about your "totems" using GetTotemInfo(id) function
-- works fine for https://www.wow-freakz.com/spells.php?spell=115315&&name=summon-black-ox-statue, https://www.wow-freakz.com/spells.php?spell=145205&&name=wild-mushroom (resto) and currently I don't have Shaman to test with his totems.

Proof: I tested it using following WeakAuras triggers: (basically just prints if smth did happened)

1st trigger for PLAYER_TOTEM_UPDATE:
Code:
function(event,...)
    print(event);                                                                 
    local t = select(1,...);
    if t == nil then return; end;
    local active,name,_,_,icon = GetTotemInfo(t);
    print(active);
    print(name);
    print(icon);
end


2nd trigger for COMBAT_LOG_EVENT_UNFILTERED: //used when PLAYER_TOTEM_UPDATE didn't work at all
Code:
function(event,...)
    print(event);
    local ev._.source._._._.target.tname._._.spellId.spellName = select(2,...);
    print(spellName);
    local active,name,_,_,icon = GetTotemInfo(1); //tested it for all 4 possible ids
    print(active);
    print(name);
    print(icon);
end



explanation for screens: if PLAYER_TOTEM_UPDATE succeeds it print out active state, name of the totem and link to icon,
if it fails, I try to get totem info using COMBAT_LOG_EVENT_UNFILTERED - usually prints only false and two nils meaning it can't access the totem data

Restoration Druid: PLAYER_TOTEM_UPDATE event fires, I can get info about my shroom
Spoiler:


Balance Druid: PLAYER_TOTEM_UPDATE won't fire, can't get any info about any shroom
Spoiler:


Death Knight: same as balance
Spoiler:


Windwalker Monk: same as previous
Spoiler:


Mistweawer Monk: same
Spoiler:


Brewmaster Monk: event fires and Black Ox Statue is trackable
Spoiler:


proof that totems should be accesible by GetTotemInfo(id) (for druid (R/B), shaman and DK) and by that should fire PLAYER_TOTEM_UPDATE event:
http://wowprogramming.com/docs/api/GetTotemInfo

for WW monk - PLAYER_TOTEM_UPDATE is used in both of these addons:
http://www.mmo-champion.com/threads/1272451-Storm-Earth-and-Fire-WeakAura,
https://mods.curse.com/addons/wow/storm-earth-and-fire

for MW monk same as for WW:
http://www.mmo-champion.com/threads/1526765-Weakaura2-Custom-trigger-untrigger-for-totem-need-help

if I *** up anything or smth isn't clear, PM me
Darkiee

0 0
  
Back to top
View user's profile Send private message
madau

[the Insane]



Status: Offline
(since 11-11-2021 17:01)
Joined: 24 Jun 2012
Posts: 2813, Topics: 137
Location: Romania

Reputation: 742.9
Votes: 97

   
Post Posted: 24-08-2016, 20:25:53 | Translate post to: ... (Click for more languages)

where is the spell bug here?



Vengeance is in my heart, death in my hand,
Blood and revenge are hammering in my head.

0 0
  
Back to top
View user's profile Send private message
MikiQ22

[Harley Quinn]



Status: Offline
(since 27-01-2020 10:28)
Joined: 13 Jul 2015
Posts: 304, Topics: 71
Location: Joker's hideout

Reputation: 68.8
Votes: 33

  Battletag: postrow.ID_BATTLE_NET} 
Post Posted: 24-08-2016, 20:30:26 | Translate post to: ... (Click for more languages)

I guess this report is about spells not being counted on recount/skada and the guy is explaining why.


0 0
  
Back to top
View user's profile Send private message
darkwavecze

[Mentally Stable]



Status: Offline
(since 23-08-2020 18:30)
Joined: 05 Sep 2015
Posts: 36, Topics: 13
Location: Czech Republic

Reputation: 167.2
Votes: 8

Post Posted: 24-08-2016, 22:25:59 | Translate post to: ... (Click for more languages)

I'm not sure whether this is in any relation with Skada/Recount, this bug is mainly affecting user interface as there is no way to detect the status of your totems.

@madau the bug is about several spells which do not fire specific API event, but they should (the bugged ones are linked at the top)

0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash  


The time now is 26-04-2024, 21:19:42
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x