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

TFS 1.X+ 2 bugs (autoloot,tasks)

Joined
Feb 16, 2017
Messages
53
Solutions
2
Reaction score
9
Hey, i using TFS 1.3 by OTServBR and i have 2 bugs.
First is by lua script error shows after tryin to move any container. I cant change bp's etc.

Lua:
    -- Handle move items to the ground
    if toPosition.x ~= CONTAINER_POSITION then
        if item:isContainer() then
            local container = Container(item.uid)
            for categoryId = LOOT_START, LOOT_END do  --- THIS IS 441 LINE 
                if container:hasQuickLootCategory(categoryId) then
                    container:removeQuickLootCategory(categoryId)
                    self:setQuickLootBackpack(categoryId, nil)
                end
            end
        end

        return true
    end
123.png
Second is from NPC Grizzly Adams. In .lua killsRequired is 300, but in game task is done after 1 kill (no error in engine)
Please help <3

Lua:
    [5] = {
        killsRequired = 300,
        raceName = "Tarantulas",
        level = {6, 49},
        premium = true,
        creatures = {
            "tarantula"
        },
        rewards = {
            {type = "exp", value = {1500}},
            {type = "achievement", value = {"No More Hiding"}},
            {type = "storage", value = {34101, 1}},
            {type = "points", value = {2}}
        }
 
Last edited:
Hey, i using TFS 1.3 by OTServBR and i have 2 bugs.
First is by lua script error shows after tryin to move any container. I cant change bp's etc.

Lua:
    -- Handle move items to the ground
    if toPosition.x ~= CONTAINER_POSITION then
        if item:isContainer() then
            local container = Container(item.uid)
            for categoryId = LOOT_START, LOOT_END do  --- THIS IS 441 LINE
                if container:hasQuickLootCategory(categoryId) then
                    container:removeQuickLootCategory(categoryId)
                    self:setQuickLootBackpack(categoryId, nil)
                end
            end
        end

        return true
    end
View attachment 49234
Second is from NPC Grizzly Adams. In .lua killsRequired is 300, but in game task is done after 1 kill (no error in engine)
Please help <3

Lua:
    [5] = {
        killsRequired = 300,
        raceName = "Tarantulas",
        level = {6, 49},
        premium = true,
        creatures = {
            "tarantula"
        },
        rewards = {
            {type = "exp", value = {1500}},
            {type = "achievement", value = {"No More Hiding"}},
            {type = "storage", value = {34101, 1}},
            {type = "points", value = {2}}
        }

#1 upgrade the distro to the newest one
#2 creaturescript has check for an admin account and giving full kills.
 
Back
Top