• 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 Error in walkback.lua compare nil with number

dhrsantan

A.K.A Lbakiller
Joined
Nov 27, 2014
Messages
94
Reaction score
10
Location
The netherlands
The following error is given.
PHP:
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/walkback.lua:onStepIn
data/movements/scripts/walkback.lua:2: attempt to compare nil with number
stack traceback:
          [C]: in functon `__1e`
          data/movements/scripts/walkback.lua:2: in function <data/movements/scripts/walkback.lua:1>

the walkback.lua:

PHP:
function onStepIn(creature, item, position, fromPosition)
    if item.uid > 0 and item.uid <= 65535 then
        creature:teleportTo(fromPosition, false)
    end
    return true
end

Using TFS 1

running on a linux ubuntu server 14.04

Compiled worng sources. nvrm
 
Last edited:

Similar threads

Back
Top