[1.7.4] Classic.lua:104: attempt to index field 'npcs_display' (a nil value)

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
austen
Posts: 1
Joined: Sat Aug 14, 2021 7:21 pm

[1.7.4] Classic.lua:104: attempt to index field 'npcs_display' (a nil value)

#1 Post by austen »

I created a new character while using the Minimal UI and later changed to the Classic UI, at which point I started receiving the error below. I was able to make the save file functional again by editing main in the save archive and removing the following line:

Code: Select all

d["show_npc_list"]=true
Error text:

Code: Select all

error = "Game version: tome-1.7.4\
Addons: items-vault-1.7.0[O], possessors-1.7.4[O]\
\
Lua Error: /mod/class/uiset/Classic.lua:104: attempt to index field 'npcs_display' (a nil value)\
  At [C]:-1 __index\
  At /mod/class/uiset/Classic.lua:104 resizeIconsHotkeysToolbar\
  At /mod/class/uiset/Classic.lua:59 activate\
  At /mod/class/Game.lua:116 runReal\
  At /mod/class/Game.lua:97 run\
  At /engine/Module.lua:1122 instanciate\
  At /engine/utils.lua:2999 showMainMenu\
  At /engine/init.lua:207 \
  At [C]:-1 dofile\
  At /loader/init.lua:217 "
seen = true
reported = true
Report hash: 3905cbaf9fd4ba4bd3c4bac800bf06e0

Post Reply