• 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!

[ERROR - TALKACTION !BLESS]

Hyagosrs

Member
Joined
Mar 10, 2018
Messages
94
Solutions
1
Reaction score
11
i get an error while i say !bless, look:

Lua:
2020-08-05 04:11:52 -  Lua Script Error: [Scripts Interface]
2020-08-05 04:11:52 -  /home/hyago/otserv/data/scripts/talkactions/player/bless.lua:callback
2020-08-05 04:11:52 -  ...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:4: attempt to index global 'Blessings' (a nil value)
2020-08-05 04:11:52 -  stack traceback:
2020-08-05 04:11:52 -   [C]: in function '__index'
2020-08-05 04:11:52 -   ...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:4: in function <...e/hyago/otserv/data/scripts/talkactions/player/bless.lua:3>

and this is my bless.lua:

Code:
local bless = TalkAction("!bless")

function bless.onSay(player, words, param)
    return Blessings.BuyAllBlesses(player)
end

bless:register()



anyone could help me?
 
What server are you using? Do you have this function? Blessings.BuyAllBlesses
 
i solve my problem, the problem was /data/lib/compat/compat.lua ..
i change my compat.lua and all worked. but thanks!!!
 
Back
Top