Hello. Im using 7.72 OTHire distro version 0.0.3 and i have an issue with promotion. On previous version 0.0.2 it worked just fine. Both NPC or through talkaction script.
Now i keep getting the same error with isPromoted() function.
Here is my promotion.lua script from talkactions - PASTEBIN
Same thing with NpcSystem
Now i keep getting the same error with isPromoted() function.
Code:
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/promote.lua:onSay
data/talkactions/scripts/promote.lua:16: attempt to call global 'isPromoted' (a nil value)
stack traceback:
data/talkactions/scripts/promote.lua:16: in function <data/talkactions/scripts/promote.lua:1>
Here is my promotion.lua script from talkactions - PASTEBIN
Same thing with NpcSystem
Code:
Lua Script Error: [Npc interface]
data/npc/scripts/king.lua:onCreatureSay
data/npc/scripts/lib/npcsystem/modules.lua:93: attempt to index field 'promotions' (a nil value)
stack traceback:
data/npc/scripts/lib/npcsystem/modules.lua:93: in function 'callback'
data/npc/scripts/lib/npcsystem/keywordhandler.lua:47: in function 'processMessage'
data/npc/scripts/lib/npcsystem/keywordhandler.lua:180: in function 'processNodeMessage'
data/npc/scripts/lib/npcsystem/keywordhandler.lua:133: in function 'processMessage'
data/npc/scripts/lib/npcsystem/npchandler.lua:298: in function 'onCreatureSay'
data/npc/scripts/king.lua:7: in function <data/npc/scripts/king.lua:7>