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
If Item ID Move to A different BP
#1
Hi,

Just wondering if there is a way to move items to different bps, for example if you are fishing and you loot a marlin then move to red backpack and if you loot a silver birch move to yellow backpack, and drop items such as trash?

thanks.
Reply

#2
Hello.

Maybe something like this.
local MAIN_BP = 'brown backpack' -- container name, id or index.
local CONFIGS = {
    { Items = { 'marlin', 'another marlin type' }, Destinaton = 'red backpack' },
    { Items = { 'silver birch', 'another item', }, Destinaton = 'yellow backpack' },
}
local TRASH = {
    { Item = 5326, Count = 1 }, -- wood
}

if connected() and hppc() >= 80 then
    for _, config in ipairs(CONFIGS) do
        for __, item in ipairs(config.Items) do
            if itemcount(item, MAIN_BP) > 0 then
                moveitems(item, config.Destination, MAIN_BP, 100)
                wait(450, 600)
            end
        end
    end

    for _, item in ipairs(TRASH) do
        if itemcount(item.Item, MAIN_BP) >= item.Count then
            moveitems(item.Item, ground(posx(), posy(), posz()), '', 100)
            wait(450, 600)
        end
    end
end
Reply

#3
Hi,
Thanks!

The trash dropper works but I cant seem to get the sorter to work

and example of my set up is Brown backpack (Main), Orange backpack (for IDs - 25623, 25626, 25632), Blue backpack (for IDs - 25379, 25386) not sure why its not sorting the items :S2
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016