Download
(29Kb)
Download
Updated: 01-03-24 04:17 PM
Pictures
File Info
Compatibility:
Guardians of the Dream (10.2.0)
Updated:01-03-24 04:17 PM
Created:04-19-22 12:31 PM
Downloads:239
Favorites:3
MD5:

gmKeystone

Version: 1020-2024010301
by: gmarco [More]

GmKeystone

A minimal LDB plugin for displaying your m+ score and runs.

Requires a data broker display like chocolate bar, bazooka, ninjapanel, stat block, titan panel,
docking station and more.

You can show keys or score in LDB using the right mouse button.

More:
- It shows the m+ score on players tooltip
- It shows in chat a link to your actual keystone
- It can auto-inserts the keystone without have to search it in bags
- It shows a Great Vault preview (if not actual try reload)

If you don't see the icon please clean up your WoW cache folder.

If you are interested in helping translating, please visit forum:
https://www.wowinterface.com/downloa....html#comments

providing the following entries:

Lua Code:
  1. L["JADE"]                           = ""
  2. L["GROUND"]                         = ""
  3. L["HoV"]                            = ""
  4. L["COURT"]                          = ""
  5. L["ALGE"]                           = ""
  6. L["RUBY"]                           = ""
  7. L["AZURE"]                          = ""
  8. L["NOKH"]                           = ""
  9.  
  10. L["set to show keys"]               = ""
  11. L["set to show score"]              = ""

Full LOCALE support on:
- enUS
- itIT. Thanks to Pugnoferreo.
- zhTW. Thanks to BNS.

1020-2024010301
- bump toc
- add the missing challenge mapIDs

1010-2023051301
- add the missing Vortex Pinnacle dungeon

1010-2023050701
- bump toc
- added in .toc the IconTexture key

1005-2023012801
- added affixes names (with icons)

1005-2023012601
- bump TOC
- used _G["FIND_A_GROUP"] instead of "-"

1002-2023012201
- added affixes tracking

1002-2023011801
- added the tracking of locked dungeons and raids (usefull if are gearing up and want to know fast where you are saved)

1002-2023010201
- some workarounds to work on chinese LOCALE.
- changed the scorefont to see if it works on chinese LOCALE (even if I think is not a problem of addon but it is a font related).

1002-2023010101
- another LOCALE removed

1000-2022123101
- replaced a couple of LOCALE

1000-2022122401
- fixed the management of "lootedi'" :)

1000-2022122101
- finally found, thanks to SDPhantom, the way to manage affix names without have to worry about LOCALE.
https://www.wowinterface.com/forums/showthread.php?p=341833#post341833
- reworked a strange 1..8 limitations in numbers of m+ runs in vault rewards display ... sooner or later I'll remember why I wrote that thing in that way :)
- edit localization.lua to remove unused entries (where we use game data instead).

1000-2022121801
- updated and fixed to works now on different LOCALE.
It is tested on:
"esES", "esMX", "ptBR", "frFR", "deDE", "itIT", "zhTW"

I need the translation in game of:
L["Fortified"] = "????????"
in zhCN, koKR, ruRU ... (thanks).

1000-2022121701
- second bunch of fixes for areaID codes
- updated zhTW localization. Thanks to BNS.

1000-2022121601
- first fixes to the new season of m+

1000-2022112701
- fixed the auto-insert keystone

1000-2022111702
- removed:
LoadAddOn("Blizzard_WeeklyRewards")
that caused a frame with warning to stay in the middle of the screen :/

1000-2022111701
- fix some bugs on 100002

1000-2022110601
- added X-WoWI-ID and X-Curse-Project-ID keywords to let WowUp manage it
- bump toc

1000-2022102701
- fixed to run on ver.10.0.0
- if UnitLevel("player") == GetMaxPlayerLevel() then --> is not true anymore :)

925-2022080301
- updated dungeons list for new season
- updated TOC

920-2022050401
- fixed a bug in displaying a great vault if no vault at all
- fixed a bug in display locale dungeons names
- clean code and refined it

920-2022050301
- added localization support
Actually supported:
itIT. Thanks to Pugnoferreo.
zhTW. Thanks to BNS.
- first implementation of Great Vault Preview.
Need some code review, but it works :)
- changed the colors in LDB tooltip

920-2022042401
- added the "on mouse over" display of m+ score on players tooltip

920-2022042201
- added the option to display in LDB the key or the score

920-2022041601
- total rewritten
- use LibQTip

830-2020031501
- first release
Optional Files (0)


Archived Files (26)
File Name
Version
Size
Author
Date
1010-2023051301
28kB
gmarco
05-13-23 06:00 AM
1010-2023050701
28kB
gmarco
05-07-23 01:15 AM
1005-2023012801
28kB
gmarco
01-28-23 02:46 AM
1005-2023012601
28kB
gmarco
01-26-23 12:00 AM
1002-2023012201
28kB
gmarco
01-22-23 12:59 AM
1002-2023011801
28kB
gmarco
01-18-23 01:06 AM
1002-2023010201
27kB
gmarco
01-02-23 12:34 PM
1002-2023010101
27kB
gmarco
01-01-23 12:51 PM
1000-2022123101
27kB
gmarco
12-31-22 02:16 AM
1000-2022122401
27kB
gmarco
12-23-22 11:11 PM
1000-2022122101
27kB
gmarco
12-20-22 11:33 PM
1000-2022121801
27kB
gmarco
12-18-22 02:23 AM
1000-2022121701
28kB
gmarco
12-16-22 11:39 PM
1000-2022121601
27kB
gmarco
12-16-22 02:32 AM
1000-2022112701
27kB
gmarco
11-27-22 04:58 AM
1000-2022111702
27kB
gmarco
11-16-22 11:57 PM
1000-2022111701
27kB
gmarco
11-16-22 05:52 PM
1000-2022110601
27kB
gmarco
11-06-22 03:03 AM
1000-2022102701
26kB
gmarco
10-27-22 05:56 AM
925-2022080401
27kB
gmarco
08-04-22 01:38 AM
925-2022080301
26kB
gmarco
08-03-22 04:02 AM
920-2022050401
26kB
gmarco
05-04-22 02:20 AM
920-2022050301
26kB
gmarco
05-03-22 02:04 AM
920-2022042401
24kB
gmarco
04-24-22 10:26 AM
920-2022042201
24kB
gmarco
04-22-22 10:00 AM
920-2022041901
24kB
gmarco
04-19-22 12:31 PM


Post A Reply Comment Options
Unread 01-03-24, 04:19 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
It should be fixed in the latest version I upload today.

Please let me know if it is working as expected because I dont play so much in this period (as I said


Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 01-03-24 at 04:20 PM.
Report comment to moderator  
Reply With Quote
Unread 01-01-24, 01:24 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi,

I'll check it ASAP even if I dont play wow so much in the last times.

Stay tuned.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-16-23, 01:37 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Hi,

Got the following error spam today:

170x gmKeyStone/core.lua:100: attempt to index field '?' (a nil value)
[string "@gmKeyStone/core.lua"]:100: in function <gmKeyStone/core.lua:96>
[string "@gmKeyStone/core.lua"]:337: in function <gmKeyStone/core.lua:126>
[string "@gmKeyStone/core.lua"]:352: in function `OnEnter'
[string "@Bazooka/Bazooka.lua"]:1582: in function `showTip'
[string "@Bazooka/Bazooka.lua"]:1387: in function <Bazooka/Bazooka.lua:1378>

Locals:
(*temporary) = <table> {
}
(*temporary) = <table> {
WM = "WM"
}
(*temporary) = nil
(*temporary) = 168
(*temporary) = "attempt to index field '?' (a nil value)"
dataobj = <table> {
}
L = <table> {
WM = "WM"
}
mapIDs = <table> {
210 = <table> {
}
2 = <table> {
}
244 = <table> {
}
245 = <table> {
}
246 = <table> {
}
247 = <table> {
}
248 = <table> {
}
249 = <table> {
}
369 = <table> {
}
250 = <table> {
}
251 = <table> {
}
252 = <table> {
}
375 = <table> {
}
376 = <table> {
}
377 = <table> {
}
378 = <table> {
}
379 = <table> {
}
380 = <table> {
}
381 = <table> {
}
382 = <table> {
}
227 = <table> {
}
165 = <table> {
}
197 = <table> {
}
166 = <table> {
}
198 = <table> {
}
199 = <table> {
}
438 = <table> {
}
200 = <table> {
}
169 = <table> {
}
401 = <table> {
}
233 = <table> {
}
400 = <table> {
}
234 = <table> {
}
402 = <table> {
}
403 = <table> {
}
404 = <table> {
}
405 = <table> {
}
406 = <table> {
}
399 = <table> {
}
206 = <table> {
}
392 = <table> {
}
207 = <table> {
}
239 = <table> {
}
208 = <table> {
}
391 = <table> {
}
209 = <table> {
}
370 = <table> {
}
353 = <table> {
}
}
I'm not sure what triggered it, maybe when we signed up for a Throne of Tides key.
Report comment to moderator  
Reply With Quote
Unread 01-15-23, 06:32 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi,

I am levelling some ALT ... and I find usefull to know which dungeon I am locked into.
So I have added to gmKeystone a section to show them.








I hope it doesnt hurts so much, or I'll add an option to disable it.
I tested it a little more and then I commit.

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 01-02-23, 07:03 PM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 111
Uploads: 1
Everything is returning to normal, so thank you!

https://upload.cc/i1/2023/01/03/Aud73M.jpg
Last edited by BNS : 01-02-23 at 07:04 PM.
Report comment to moderator  
Reply With Quote
Unread 01-02-23, 12:35 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by BNS
/run print(C_ChallengeMode.GetAffixInfo(10))
強悍 非首領敵人生命力提高20%,造成的傷害提高30%。 463829

/run print(string.sub(C_ChallengeMode.GetAffixInfo(10),1,1))
□ (A box like the screenshot)

/run print(C_ChallengeMode.GetAffixInfo(9))
暴君 首領的生命力提高30%。首領與其爪牙所造成的傷害提高15%。 236401

/run print(string.sub(C_ChallengeMode.GetAffixInfo(9),1,1))
□ (A box like the screenshot)

I used the version 1000-2022122401. The affix can be displayed normally, but the score is still not displayed.
Hi BNS.
I have make some fixes for all the problems.

Can you check if everything is fine now !?

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 01-02-23, 02:43 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 111
Uploads: 1
/run print(C_ChallengeMode.GetAffixInfo(10))
強悍 非首領敵人生命力提高20%,造成的傷害提高30%。 463829

/run print(string.sub(C_ChallengeMode.GetAffixInfo(10),1,1))
□ (A box like the screenshot)

/run print(C_ChallengeMode.GetAffixInfo(9))
暴君 首領的生命力提高30%。首領與其爪牙所造成的傷害提高15%。 236401

/run print(string.sub(C_ChallengeMode.GetAffixInfo(9),1,1))
□ (A box like the screenshot)

I used the version 1000-2022122401. The affix can be displayed normally, but the score is still not displayed.
Last edited by BNS : 01-02-23 at 02:55 AM.
Report comment to moderator  
Reply With Quote
Unread 01-01-23, 11:44 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by gmarco
Hi BNS,

I have changed a thing thinking to do better :/ but obviusly I was wrong :/

the code is:

Lua Code:
  1. tooltip:SetCell(row,3,string.sub(C_ChallengeMode.GetAffixInfo(10),1,1),"LEFT",1)
  2. tooltip:SetCellTextColor(row,3,1,1,0,1)
  3. tooltip:SetCell(row,4,string.sub(C_ChallengeMode.GetAffixInfo(9),1,1),"LEFT",1)
  4. tooltip:SetCellTextColor(row,4,1,1,0,1)

that put in column 3 the first character of the affix "Fortified" in your LOCALE (I supposed to be something like a "F").
Same thing, but for "Tyrannical" but on the 4th col (that I thought that it should be a "T" in Chinese).

You can check a thing for me before I revert or make a fix.
Can you write one line at once in your chat this codes ?
Can you succeded in reading ?

Lua Code:
  1. /run print(C_ChallengeMode.GetAffixInfo(10))
  2. /run print(string.sub(C_ChallengeMode.GetAffixInfo(10),1,1))
  3.  
  4. /run print(C_ChallengeMode.GetAffixInfo(9))
  5. /run print(string.sub(C_ChallengeMode.GetAffixInfo(9),1,1))

Please let me know because the font in the tooltip is the same for everything so if it displays the other part of text it should display also the F or T (in Chinese) .

My suspect is that the 1st char of the strings are not something valid or at least are not these:

Lua Code:
  1. L["F"] = "悍"
  2. L["T"] = "暴"

Please let me know.
Hi,

if I am right we can fix in this way:

Lua Code:
  1. local fort1 = string.sub(C_ChallengeMode.GetAffixInfo(10),1,1)
  2. local tyra1 = string.sub(C_ChallengeMode.GetAffixInfo(9),1,1)
  3. if GetLocale() == "zhTW" then
  4.     fort1 = L["F"]
  5.     tyra1 = L["T"]
  6. end

So for every locale we use the first char of the affix reported by the blizzard function, for your locale we bypass it using the defined localization provided till now.

Lua Code:
  1. L["F"] = "悍"
  2. L["T"] = "暴"

these ones.

Please let me know if you can do tthe tests I suggest so I can commit asap.

Thanks.

P.s
Then we have to fix also the fact that you dont display the m+ score number ...
Have you try to change to other font ?
Just to check if it display the number and the affixes initials ?!
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 01-01-23 at 11:47 PM.
Report comment to moderator  
Reply With Quote
Unread 01-01-23, 11:02 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi again BNS ,

another thing ...

In your image that you upload it seems to me that is missing your m+ score number.



Check this sample:



Did you notice this !?
Let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 01-01-23 at 11:03 PM.
Report comment to moderator  
Reply With Quote
Unread 01-01-23, 10:53 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi BNS,

I have changed a thing thinking to do better :/ but obviusly I was wrong :/

the code is:

Lua Code:
  1. tooltip:SetCell(row,3,string.sub(C_ChallengeMode.GetAffixInfo(10),1,1),"LEFT",1)
  2. tooltip:SetCellTextColor(row,3,1,1,0,1)
  3. tooltip:SetCell(row,4,string.sub(C_ChallengeMode.GetAffixInfo(9),1,1),"LEFT",1)
  4. tooltip:SetCellTextColor(row,4,1,1,0,1)

that put in column 3 the first character of the affix "Fortified" in your LOCALE (I supposed to be something like a "F").
Same thing, but for "Tyrannical" but on the 4th col (that I thought that it should be a "T" in Chinese).

You can check a thing for me before I revert or make a fix.
Can you write one line at once in your chat this codes ?
Can you succeded in reading ?

Lua Code:
  1. /run print(C_ChallengeMode.GetAffixInfo(10))
  2. /run print(string.sub(C_ChallengeMode.GetAffixInfo(10),1,1))
  3.  
  4. /run print(C_ChallengeMode.GetAffixInfo(9))
  5. /run print(string.sub(C_ChallengeMode.GetAffixInfo(9),1,1))

Please let me know because the font in the tooltip is the same for everything so if it displays the other part of text it should display also the F or T (in Chinese) .

My suspect is that the 1st char of the strings are not something valid or at least are not these:

Lua Code:
  1. L["F"] = "悍"
  2. L["T"] = "暴"

Please let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 01-01-23 at 10:55 PM.
Report comment to moderator  
Reply With Quote
Unread 01-01-23, 08:52 PM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 111
Uploads: 1
In the latest version, the affixes cannot be displayed normally. The font specified by the addon does not support Chinese.

https://upload.cc/i1/2023/01/02/t72WBj.jpg
Last edited by BNS : 01-01-23 at 08:53 PM.
Report comment to moderator  
Reply With Quote
Unread 12-16-22, 08:56 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Thanks BNS,

I'll try to commit as soon as possible ...
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 12-16-22, 04:49 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 111
Uploads: 1
if LOCALE == "zhTW" then

L["JADE"] = "玉蛟"
L["GROUND"] = "影月"
L["HoV"] = "英靈"
L["COURT"] = "眾星"
L["ALGE"] = "學院"
L["RUBY"] = "晶紅"
L["AZURE"] = "蒼藍"
L["NOKH"] = "諾庫德"

L["Temple of the Jade Serpent"] = "玉蛟寺"
L["Shadowmoon Burial Grounds"] = "影月墓地"
L["Halls of Valor"] = "英靈殿"
L["Court of Stars"] = "眾星之廷"
L["Algeth'ar Academy"] = "阿爾蓋薩學院"
L["Ruby Life Pools"] = "晶紅生命之池"
L["The Azure Vault"] = "蒼藍密庫"
L["The Nokhud Offensive"] = "諾庫德進攻據點"

L["Score"] = "分數"
L["Fortified"] = "強悍"
L["Tyrannical"] = "暴君"
L["F"] = "悍"
L["T"] = "暴"
L["set to show keys"] = "設定為顯示鑰石"
L["set to show score"] = "設定為顯示分數"
L["Mythic+ score"] = "傳奇+分數"

return end
Report comment to moderator  
Reply With Quote
Unread 12-16-22, 02:34 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi all,
I have commited a version that should fixes some bugs of the current release.

Some problem should remain related to areaID code of new dungeons of which I am unsure.

This ones:

Lua Code:
  1. [433] = { "ALGE",       "Algeth'ar Academy" },
  2.     [430] = { "RUBY",       "Ruby Life Pools" },
  3.     [428] = { "AZURE",      "The Azure Vault" },

I hope to fix them soon.
Take care.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 12-16-22, 12:03 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by Aisenfaire
Hi,

gmKeystone started erroring after my key turned into shadowmoon burial grounds.

Hi all,

I am fixing the addon, but I am unable to find the areaID code of the new dungeons.
If you have a m+ key can you launch in the chat this:

Lua Code:
  1. /run print(C_MythicPlus.GetOwnedKeystoneChallengeMapID())

giving me back the number it returns and the name of the key you have.

The fix is ready I think I need only the id of the dungeons



(because I have the areaID for my m+ key

Thanks so much for the help. it is much appreciated.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 12-16-22 at 12:03 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: