• 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 analyzer not count drop

skovroski

New Member
Joined
Dec 23, 2019
Messages
29
Reaction score
3
Hello guys!
I put an !Autoloot on my server and I have a problem.
When it collects the items, the analyzer does not count what was pulled, the items, gold and etc .. Now if I take my cursor and pull it manually it counts. What could be going wrong?

Analyzer
Code:
    if self:getClient().os == CLIENTOS_NEW_WINDOWS then
        local t = Tile(fromCylinder:getPosition())
        local corpse = t:getTopDownItem()
        if corpse then
            local itemType = corpse:getType()
            if itemType:isCorpse() and toPosition.x == CONTAINER_POSITION then
                self:sendLootStats(item)
            end
        end
    end

Anyone can help me?
 
Back
Top