Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Runemaker: Add open food backpack.
#1
As far as I can see there is no option where you can put tons of food in a backpack on ground and withdraw it to your main backpack.
Runemaker Tab just let you to take the food from X SQM as I can understand.

And I modify a script of yours.
It withdraws from a specific backpack on group certain amount of selected food.

local FOOD_BP_ID = 2869 -- BP id
local FOOD_BP_NAME = 'Blue Backpack' -- BP Name
local FOOD_ID = 3578 -- Food id
local MIN_FOOD = 2 -- Min food in backpack
local MAX_FOOD = 15 -- Max food in backpack

if connected() and itemcount(FOOD_ID) <= MIN_FOOD then
    if reachgrounditem(FOOD_BP_ID, FALSE) then
        local tiles = gettiles()
        local player_x = posx()
        local player_y = posy()
        local player_z = posz()

        local food_location = { x = 0, y = 0 }

        for _, tile in ipairs(tiles) do
            if math.abs(tile.posx - player_x) <= 1 and math.abs(tile.posy - player_y) and tile.posz == player_z and tile.itemcount > 1 then
                for __, item in ipairs(tile.items) do
                    if item.id == FOOD_BP_ID then
                        food_location.x = tile.posx
                        food_location.y = tile.posy
                        break
                    end
                end
            end

            if food_location.x > 0 then
                break
            end
        end


        openitem(FOOD_BP_ID, ground(food_location.x, food_location.y, player_z))
        wait(500, 800)
        moveitems(FOOD_ID, '0', FOOD_BP_NAME, MAX_FOOD)
    end     
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016