darkmihai / oregoncore

Automatically exported from code.google.com/p/oregoncore
0 stars 0 forks source link

Combatlog bug for all totems [totem timer] #140

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
By niyo (03 May 2010 - automatically ported issue):

If you cast a totem spell you should get displayed how long the totems lasts 
and what totem you summoned. This is just working for the first totem you cast, 
if you cast the same totem again this is not working anymore.

I think this is because the clients gets no information about the summoned 
totem, the combatlog looks like this:

PLAYER casts Earthbind Totem.
PLAYER`s Earthbind Totem summons $destIcon$destNamestring.

Also there is no entry in the combatlog if you destroy the totem or if the 
totem gets destroyed by "Totemic Recall" or by an enemy.

Original issue reported on code.google.com by stfxm...@gmail.com on 30 Dec 2010 at 3:45

GoogleCodeExporter commented 8 years ago
By Anonymous:
totem timers blizzard interface does not rely on combat log events.
it relies on the event PLAYER_TOTEM_UPDATE
this event should be triggered when a totem is summoned, destroyed, or end it's 
time and contains the totem slot
1 is fire, 2 is earth, 3 is water, 4 is air
When the totem timers blizzard's "addon" read this event use GetTotemInfo(slot) 
to retrieve name, duration etc.
the information about the totem are correctly update, duration, cast time etc, 
the only one that is not update correctly is the totem name, i don't know why 
but if you delete your cache then the first time u cast a totem you have also 
the totem name and PLAYER_TOTEM_UPDATE is triggered. 
PLAYER_TOTEM_UPDATE is always triggered correctly any time a totem disappear 
(dead, end time etc) and when you zone into a new map  / log into the game  
(PLAYER_ENTERING_WORLD)
If you want to fix it you have to understand why the event is not triggered 
without cleaning you cache and why the name is not stored.
totem timers' is totally missing in TC2 where PLAYER_TOTEM_UPDATE is never 
triggered even cleaning the cache and when a totem is 
summoned/destroyed.....only when zoning into a map ( /console reloadui should 
make the game fire the event PLAYER_ENTERING_WORLD and let you see the event 
being triggered)
hope you find a solution :)

Original comment by stfxm...@gmail.com on 30 Dec 2010 at 3:45

GoogleCodeExporter commented 8 years ago
By kerhong:

Original comment by stfxm...@gmail.com on 30 Dec 2010 at 3:45

GoogleCodeExporter commented 8 years ago
By kerhong:
working on it.

Original comment by stfxm...@gmail.com on 30 Dec 2010 at 3:45

GoogleCodeExporter commented 8 years ago
By lukaasm:
probably cause: not sending proper information on totem summon to caster or not 
enough data so on second summon nothing will happen because game still be waing 
for rest of data ?

Original comment by stfxm...@gmail.com on 30 Dec 2010 at 3:45

GoogleCodeExporter commented 8 years ago

Original comment by stfxm...@gmail.com on 30 Dec 2010 at 5:54