Pact activation error
GramThanos opened this issue · comments
There is a bug which causes an error when showing the list of ingredients.
Right after activating pacts (in my case it was for stats, agility and dexterity) ingredients stop showing while hover on item.
And after few days(?) the ingredients start showing again
(reported by Juliusz@Facebook)
Okay, so...
Activated a pact, got this:
global.js?4.3.8&built=1669113120524:5604
Uncaught TypeError: Cannot read properties of null (reading 'match')
at Object.display (global.js?4.3.8&built=1669113120524:5604:57)
at Object.init (global.js?4.3.8&built=1669113120524:5390:19)
at Object.inject (global.js?4.3.8&built=1669113120524:268:23)
at fireLoad (global.js?4.3.8&built=1669113120524:5920:14)
I remember i mentioned this somewhere, I think it was when I added the CDN images for buff icons, but I also remember that this error goes away on it's own, I don't know, more investigating is probably needed.
Assigning high priority, as this bug (activating a pact) stops many other features as well (materials included).
I potentially fixed:
- Reading the remaining time of an active pact
- Reading the remaining days as minutes after enabling a pact
@FrutyX do you know the original location of the powerup (Pacts) images?
I have added a way around the issue for now, but it would be good to have them in the list. I have tried the following paths without success:
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/powerups3_3.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/powerup3_3.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/rune3_3.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/runes3_3.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/3_3.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/apollo.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/powerup1.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/powerups1.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/powerups1_1.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/rune1.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/rune1_1.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/runes1.jpg
https://s51-en.gladiatus.gameforge.com/cdn/img/ui/powerups/runes1_1.jpg
I also know that when enabled, they may have "_border" in their name.