Jump to content

nowskivip

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by nowskivip

  1. 20 hours ago, Zelek said:
    
    
    
    auto(100)
    local idsToFind = {3031, 3035} -- items ids to find
    
    local tiles = g_map.getTiles()
    for _, tile in pairs(tiles) do
        local topItem = tile:getTopItem()
        if topItem then
            for _, id in pairs(idsToFind) do
                if topItem:getId() == id then
                    playSound("alarm.wav")
                    sleep(1000)
                    return
                end
            end
        end
    end

     

    Remember to enable "Read map tiles" in Info & options tab.

    changed auto 100 to auto 2000 and everything works now, thank you ❤️

  2. 1 hour ago, Zelek said:
    
    auto(100)
    local idsToFind = {3031, 3035} -- items ids to find
    
    local tiles = g_map.getTiles()
    for _, tile in pairs(tiles) do
        local topItem = tile:getTopItem()
        if topItem then
            for _, id in pairs(idsToFind) do
                if topItem:getId() == id then
                    playSound("alarm.wav")
                    sleep(1000)
                    return
                end
            end
        end
    end

     

    Remember to enable "Read map tiles" in Info & options tab.

    Instant bot crash after enabling this script 😐 read map tiles is on ;-;  (tried on rots)

×
×
  • Create New...