Go to Page... |
Thread Tools | Display Modes |
05-05-19, 03:45 AM | #1 |
C_MythicPlus.GetOwnedKeystoneChallengeMapID() and other strange things :)
Hi all,
I am doing a little ldb for m+ keystone tracker using standard databroker and LibQTip. One of the problem I am facing is that the: Lua Code:
seems not available at the PLAYER_ENTERING_WORLD event. But I am unable to find what I have to load or wait to have this value. Infact after a while I got it. Mah. Another problem really strange is that a character usually get the data of the previous one logged before in the: Lua Code:
I check similar addons and all seems to have this kind of problem, is it a known bug ? I.e IKeyStones use this code to bypass: Lua Code:
Thanks so much for any tips. P.s. Also this seems to me strange and odd:
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot. Last edited by gmarco : 05-05-19 at 03:48 AM. |
|
05-08-19, 05:54 AM | #2 |
Have you tried this event - MYTHIC_PLUS_CURRENT_AFFIX_UPDATE?
It helped me but the task was a bit different Or C_Timer.After(2, ...) at PLAYER_LOGIN/PLAYER_ENTERING_WORLD may help Last edited by Voopie : 05-08-19 at 05:57 AM. |
|
05-09-19, 11:50 PM | #3 |
Hi,
thanks for the reply. The only way I succeded in let things works is with code like this: Lua Code:
Probably there will be a more correct way of doing thing but I was not able to find it I use the idea that if I have a keystone in the bag I did at least a m+ dungeon. I hope that it is right Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot. Last edited by gmarco : 05-10-19 at 12:08 AM. |
|
05-10-19, 12:12 AM | #4 |
Hi,
because it is always better to check the entire code and because it is a small addon I paste it here. Lua Code:
Thanks all.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot. |
|
WoWInterface » Developer Discussions » Lua/XML Help » C_MythicPlus.GetOwnedKeystoneChallengeMapID() and other strange things :) |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|