• 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 Snow movement tfs 1.1

FLE

Member
Joined
Oct 5, 2008
Messages
422
Reaction score
24
Location
Vancouver Canada


Code:
function onStepOut(creature, item, position, fromPosition)
    if creature:isPlayer() and creature:isInGhostMode() then
        return true
    end

    if item:getId() == 670 then
        item:transform(6594)
    else
        item:transform(getTileItemById + 15)
    end
    item:decay()
    return true
end
 
Code:
function onStepOut(creature, item, position, fromPosition)
    if creature:isPlayer() and creature:isInGhostMode() then
        return true
    end

    if item:getId() == 670 then
        item:transform(6594)
    else
        item:transform(item.itemid + 15)
    end
    item:decay()
    return true
end
 
Thank you, this fixed it.
but i am getting many other errors also I did not see before, I am reverting too my older working 1.1.

I am using orts data pack and it seems to be having problems with newest release of tfs 1.1

Thanks @Rydan

!
 
Fle, you wanna know why? The official release of TFS 1.1 has change many functions. That's why new errors poping up. The devolpers of ORTS need's to update the datapack.
 
Back
Top