• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Potions with charges 2.0

have problem exhausted
with pots (except the health and mana potions) but strong,
great and ultimate no
fix them.
 
error....
[Error - TalkAction Interface]
data/talkactions/scripts/pot.lua:eek:nSay
Description:
data/lib/050-function.lua:718: attempt to concatenate local 'charge' (a nil valu
e)
stack traceback:
data/lib/050-function.lua:718: in function 'doAddPotWithCharges'
data/talkactions/scripts/pot.lua:3: in function <data/talkactions/script
s/pot.lua:1>
 
I'm using TFS 1.1 and I get this issue:
Lua Script Error: [Action Interface]
data/actions/scripts/potsys/potions.lua:eek:nUse
data/actions/scripts/potsys/potions.lua:52: attempt to call global 'getItemNameById' (a nil value)
stack traceback:
[C]: in function 'getItemNameById'
data/actions/scripts/potsys/potions.lua:52: in function <data/actions/scripts/potsys/potions.lua:36>
 
I'm using TFS 1.1 and I get this issue:
Lua Script Error: [Action Interface]
data/actions/scripts/potsys/potions.lua:eek:nUse
data/actions/scripts/potsys/potions.lua:52: attempt to call global 'getItemNameById' (a nil value)
stack traceback:
[C]: in function 'getItemNameById'
data/actions/scripts/potsys/potions.lua:52: in function <data/actions/scripts/potsys/potions.lua:36>
put this in lib/compat/compat.lua
Lua:
function getItemNameById(id)
    local it = ItemType(id)
    if it then
        return it:getName()
    end
end
 
Back
Top