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

Lua Can't login to server

Dzoqa

New Member
Joined
May 4, 2017
Messages
40
Reaction score
1
hi guys,

Ive tried to login on my fresh dedicated server and i cant login, while im choosing character and press enter i can wait 100005223293s and nothing :p

its from console:
May 23 22:06:34 tfs[880]: >> Loaded all modules, server starting up...
May 23 22:06:34 tfs[880]: >> Undercity Server Online!
May 23 22:07:57 tfs[880]: Dzoqa has logged in.
May 23 22:07:57 tfs[880]: Lua Script Error: [CreatureScript Interface]
May 23 22:07:57 tfs[880]: data/creaturescripts/scripts/others/login.lua:eek:nLogin
May 23 22:07:57 tfs[880]: data/creaturescripts/scripts/others/login.lua:122: attempt to call global 'isInArray' (a n il value)
May 23 22:07:57 tfs[880]: stack traceback:
May 23 22:07:57 tfs[880]: [C]: in function 'isInArray'
May 23 22:07:57 tfs[880]: data/creaturescripts/scripts/others/login.lua:122: in function <data/creaturescrip ts/scripts/others/login.lua:73>
May 23 22:07:57 tfs[880]: Dzoqa has logged out.
 
put at the end of global.lua
Code:
function isInArray(a, f)
    for k, v in pairs(a) do
       if v == f then
          return true
       end
    end
    return false
end
 
Back
Top