Thread Tools Display Modes
04-27-13, 02:26 PM   #1
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
EncounterJournal API

I've been trying to fix HabeebIt for a few hours today, and I keep getting stuck at this point:

If anything is selected in the Dungeon Journal that is not the current boss you're on/just killed it will lock up the API and only return for that particular boss, no matter what you change the API to look up for.

Anyone know a way around this or a way to properly reset or prevent this from happening?
  Reply With Quote
04-27-13, 03:53 PM   #2
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 1,600
Originally Posted by p3lim View Post
I've been trying to fix HabeebIt for a few hours today, and I keep getting stuck at this point:

If anything is selected in the Dungeon Journal that is not the current boss you're on/just killed it will lock up the API and only return for that particular boss, no matter what you change the API to look up for.

Anyone know a way around this or a way to properly reset or prevent this from happening?
Does simulating a Home click fix it?
Lua Code:
  1. EncounterJournalNavBarHomeButton:Click()
  Reply With Quote
04-27-13, 04:20 PM   #3
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
I found out the reason, EJ_SetDifficulty() triggers EJ_DIFFICULTY_UPDATE, which in turn causes the Dungeon Journal to refresh with different values.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » EncounterJournal API


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off