• 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 randomstast console

Jpstafe

Well-Known Member
Joined
Aug 8, 2011
Messages
507
Reaction score
68
Hello Otland community, I would like to know if it has a solution in this old scripth, this error in console that I have got, it is an old script, but I feel that it fulfills its function well, I was recommended to move to something more current but as I do not have the knowledge or time to do it, I opted for this scripth, it works perfectly.. But it only gives arm and def.. I don't know if it has to do with this error that I get on the console that doesn't give me the other stats.
I'm using TFS 1.2
Error:
XML:
in a timer event called from:
(Unknown scriptfile)
data/creaturescripts/scripts/randomstats.lua:138: attempt to index local 'it_u' (a nil value)
stack traceback:
        [C]: in function '__index'
        data/creaturescripts/scripts/randomstats.lua:138: in function 'assign_loot_Stat'
 
Back
Top