Quantcast
MythicGuildKeys - WoWInterface
Thread Tools Display Modes
03-29-17, 11:38 AM   #1
BloodDragon
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 19
Exclamation MythicGuildKeys

Hi,
After the patch to 7.2 my addon no longer works. I do not know why I do not find the error. Maybe one of you knows where the error is.

See the screenshots:

That's how it looked:


So it is now:



I was inactive for so long that I am probably noob.
Attached Files
File Type: lua MythicGuildKeys.lua (7.3 KB, 34 views)
  Reply With Quote
03-29-17, 11:55 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 500
The name of the keystone changed. Instead of all of them saying "Mythic Keystone", they are now "Keystone: Dungeon Name".
  Reply With Quote
03-29-17, 12:51 PM   #3
BloodDragon
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 19
But i search the Key with item ID not with the Name. I understand this.
My addon is attached, can you show me the error lines please.
Attached Files
File Type: zip MythicGuildKeys3.0.zip (34.0 KB, 31 views)

Last edited by BloodDragon : 03-29-17 at 12:54 PM.
  Reply With Quote
03-29-17, 01:12 PM   #4
Tim
A Frostmaul Preserver
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 285
Just some quick skimming and from what Kanegasi said..

Your MythicGuildKeys:evaluateIfKey function checks for a single item id of KEYSTONE_ITEM_ID. Since they changed the naming of keystones perhaps each dungeon keystone has their own id or perhaps every stone period has a unique id.

I would check the id of a stone in your bag and see if it matches your current KEYSTONE_ITEM_ID in your coding.
  Reply With Quote
03-29-17, 01:24 PM   #5
BloodDragon
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 19
The item ID has remained the same.
  Reply With Quote
03-29-17, 09:25 PM   #6
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 500
I have discovered something. Keystones are no longer items, they are keystones. Blizzard made a completely new thing and it's what's screwing up addons.

Here's me trying to /dump the string:

23:19 Dump: value=[Keystone: Return to Karazhan: Lower]
23:19 Dump: ERROR: [string "return [Keystone: Return to..."]:1: unexpected symbol near '|'
23:20 Dump: value=GetItemInfo([Keystone: Return to Karazhan: Lower])
23:20 Dump: ERROR: [string "return GetItemInfo([Keyston..."]:1: unexpected symbol near '|'
23:20 Dump: value=GetItemLink([Keystone: Return to Karazhan: Lower])
23:20 Dump: ERROR: [string "return GetItemLink([Keyston..."]:1: unexpected symbol near '|'

Then I try to print() it:

[string "print(|cffa335ee|Hkeystone:227:3:1:0:0:0|h[Keystone: Return to ..."] line 1:
unexpected symbol near '|'

What? Not |Hitem:, |Hkeystone:!

Edit: I just now realized I was being dumb and forgot to surround each attempt with quotes. Discovering the "keystone" object is still valid though lol.

Last edited by Kanegasi : 03-29-17 at 10:27 PM.
  Reply With Quote
03-30-17, 11:11 AM   #7
BloodDragon
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 19
I give up I do not come any further. Thanks anyway for the help.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » MythicGuildKeys

Thread Tools
Display Modes

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