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

[TFS1.3] Stage Skills Error

aqubjukr

Well-Known Member
Joined
Mar 13, 2013
Messages
200
Solutions
17
Reaction score
79
Location
Paraná, Brazil
I'm trying to implement a skill stages system on my server. It even works, however, when I use any spell with a player, the following error appears on my console:

Lua:
Lua Script Error: [Event Interface]
data/events/scripts/player.lua:Player@onGainSkillTries
data/events/scripts/player.lua:896: bad argument #1 to 'next' (table expected, got nil)
stack traceback:
        [C]: at 0x005be450
        [C]: in function 'next'
        data/events/scripts/player.lua:896: in function <data/events/scripts/player.lua:891>

Players.lua attached.
 

Attachments

Back
Top