I haven't found anything related to this bug on the forums as this is either probably a very niche case or just due to the addons I had, so I'll just share a bug I've encountered:
If a weapon is not Telekinetically Grasped and the talent Frenzied Focus is already learnt, the right click menu bugs out with the following error:
Lua Error: /mod/dialogs/MapMenu.lua:177: attempt to perform arithmetic on a nil value
At [C]:-1 __add
At /mod/dialogs/MapMenu.lua:177 generateList
At /mod/dialogs/MapMenu.lua:32 init
At /engine/class.lua:147 new
At /mod/class/Game.lua:2753 mouseRightClick
At /mod/class/Game.lua:2685 fct
At /engine/Mouse.lua:71
I've narrowed this bug down to Frenzied Focus by adding a debugging statement to the ToME module. Do note however, this error log is after having removed two addons which superloaded onto MapMenu.lua in my attempts to find out what was causing this error. The error log with the two addons in question is as below:
Lua Error: /mod/dialogs/MapMenu.lua:177: attempt to perform arithmetic on a nil value
At [C]:-1 __add
At /mod/dialogs/MapMenu.lua:177 base_generateList
At .../addons/amadeus_tweaks/superload/mod/dialogs/MapMenu.lua:10 base_generateList
At /mod/addons/neka_qol09/superload/mod/dialogs/MapMenu.lua:13 generateList
At /mod/dialogs/MapMenu.lua:32 init
At /engine/class.lua:147 new
At /mod/class/Game.lua:2753 mouseRightClick
At /mod/class/Game.lua:2685 fct
At /engine/Mouse.lua:71
The first addon, amadeus_tweaks is my one personal addon of which I based the portion of the code superloading the MapMenu.lua file on the second addon, which is Nekarcos Quality of Life 09. If my understanding (both of the addons' code and the error log) is correct, the superloaded addons ought not to have any bearing on this error. Do correct me if I'm wrong. Thank you!
[1.7.6] Frenzied Focus + Right Click Menu
Moderator: Moderator
-
- Low Yeek
- Posts: 5
- Joined: Fri Jul 09, 2021 2:25 am