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
Help pls
#1
Guys pls help me i need 2 scripts to make me afk scripts 

1: Deposit itens on depot o try to use this script but don`t working for me , i dont no
Code:

local CHARACTER_LOOT_BP = 'backpack'

local DEPOSITER_LOOT_MAIN_BP = 'green backpack'
local DEPOSITER_LOOT_ITEMS_BP = 'green backpack'
local DEPOSITER_STACKED_BP = 'yellow parcel'

local ITEMS_LOOT = { 'battle shield', 'battle shield', 'dwarven shield' }
local ITEMS_STACKED = { 'bolt', 'hunting bolt' }



reachgrounditem('depot')
wait(500)
openitem('depot')
wait(1000)

if itemcount(DEPOSITER_LOOT_MAIN_BP, 'Locker') > 0 then

   local DEPOSITER_LOOT_WINCOUNT = windowcount(DEPOSITER_LOOT_MAIN_BP)

   openitem(DEPOSITER_LOOT_MAIN_BP, 'Locker')
   wait(1000)

   if windowcount(DEPOSITER_LOOT_MAIN_BP) > DEPOSITER_LOOT_WINCOUNT then

       if itemcount(DEPOSITER_LOOT_ITEMS_BP, DEPOSITER_LOOT_MAIN_BP) > 0 then

           clearlastonto()

           for i = 0, #ITEMS_LOOT do
               while itemcount(ITEMS_LOOT[i], CHARACTER_LOOT_BP) > 0 do
                   moveitemsonto(ITEMS_LOOT[i], DEPOSITER_LOOT_ITEMS_BP, getlastonto(), DEPOSITER_LOOT_MAIN_BP, CHARACTER_LOOT_BP, 100)
                   wait(500)
               end
           end

       end

       higherwindow(DEPOSITER_LOOT_MAIN_BP)
       wait(1000)

   end

end

if itemcount(DEPOSITER_STACKED_BP, 'Locker') > 0 then
   
   local DEPOSITER_STACKED_WINCOUNT = windowcount(DEPOSITER_STACKED_BP)

   openitem(DEPOSITER_STACKED_BP, 'Locker')
   wait(1000)

   if windowcount(DEPOSITER_STACKED_BP) > DEPOSITER_STACKED_WINCOUNT then

       stackitems(DEPOSITER_STACKED_BP, false)

       for i = 0, #ITEMS_STACKED do
           while itemcount(ITEMS_STACKED[i], CHARACTER_LOOT_BP) > 0 do

               moveitems(ITEMS_STACKED[i], DEPOSITER_STACKED_BP, CHARACTER_LOOT_BP, 100)
               wait(500)

           end
       end
       
   end

end


2: IF need pick up ultimate healing runes on depot and drag to main backpack
Reply

#2
Hello.

#SCRIPT 1
What doesn't works on first script?
Btw... On line #5:
local DEPOSITER_STACKED_BP = 'yellow parcel'
Is this right? hehehe


#SCRIPT 2
That depends on your backpack organization on depot. I mean, how you keep your uhs there.
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.


#1 i fixed "Yellow parcel" But dont work

#2 u have any script for this ? like Blue backapack ( UH  Depot ) drag to your main backpack ( backpack [0] )
Reply

#4
Hello.

#SCRIPT 1
Once again, what doesn't works on first script?
Please, say exactly what the script does and where/when it stops working.


#SCRIPT 2
Not really, i had (not sure if i still have it) a script that pickup from floor, so i used to pickup runes (UH, gfb, etc.) from my house, which is way easier!
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Smile" title="Smile" class="smilie smilie_1" />

It really depends on how you save your UHs on depot... It's possible to make a script for both examples, it's not hard, but requires TIME and testing.

Example 01: You have a BP (let's call this "MAIN BP") with 20 bps inside (let's call each bp as "RUNE BP") and each rune bp has 20 runes... So Bot would have to open RUNE BPs to pickup runes and back to MAIN BP then go to next RUNE BP.

Example 02: You have a BP with 19 runes and one bp inside and this bp also contains 19 runes and another bp inside, etc... So Bot would have to open BP and pickup runes, so if need more runes then open next bp, etc.
Reply

#5
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Reply

#6
Hello.

Yes, i know that but stills. Anyway, i will make the script.

From LOCKER
local RUNE = 'ultimate healing rune' -- Rune NAME or ID
local RUNE_OZ = 2.1 -- Rune unit weight.
local RUNE_MAX_AMOUNT = 5 -- Max. amount that you wanna carry.
local RUNE_CONTAINER = 'backpack' -- Container that Rune will be moved to.

local pickup_count = math.max(0, (RUNE_MAX_AMOUNT - itemcount(RUNE, RUNE_CONTAINER)))
if pickup_count > 0 then
    
    local max_capacity = math.floor(cap() / RUNE_OZ)
    if pickup_count > max_capacity then
        pickup_count = max_capacity
    elseif pickup_count > 100 then
        pickup_count = 100
    end

    if pickup_count > 0 then
        local RUNE_ID = itemid(RUNE)

        reachgrounditem('locker')
        wait(1000)
        openitem('locker')
        wait(1000)

        while pickup_count > 0 and windowcount('Locker') > 0 do
            local LOCKER_COUNT = itemcount(RUNE_ID, 'Locker')
            if LOCKER_COUNT > 0 then
                if pickup_count >= LOCKER_COUNT or pickup_count > 100 then
                    pickup_count = 100
                end

                if moveitems(RUNE_ID, RUNE_CONTAINER, 'Locker', pickup_count) then
                    wait(1000)
                    pickup_count = math.max(0, (RUNE_MAX_AMOUNT - itemcount(RUNE, RUNE_CONTAINER)))
                    max_capacity = math.floor(cap() / RUNE_OZ)
                    if pickup_count > max_capacity then
                        pickup_count = max_capacity
                    elseif pickup_count > 100 then
                        pickup_count = 100
                    end
                else
                    break
                end
            else
                break
            end
        end
    end
end

From DEPOT CHEST
local RUNE = 'ultimate healing rune' -- Rune NAME or ID
local RUNE_OZ = 2.1 -- Rune unit weight.
local RUNE_MAX_AMOUNT = 5 -- Max. amount that you wanna carry.
local RUNE_CONTAINER = 'backpack' -- Container that Rune will be moved to.

local pickup_count = math.max(0, (RUNE_MAX_AMOUNT - itemcount(RUNE, RUNE_CONTAINER)))
if pickup_count > 0 then
    
    local max_capacity = math.floor(cap() / RUNE_OZ)
    if pickup_count > max_capacity then
        pickup_count = max_capacity
    elseif pickup_count > 100 then
        pickup_count = 100
    end

    if pickup_count > 0 then
        local RUNE_ID = itemid(RUNE)

        reachgrounditem('locker')
        wait(1000)
        openitem('locker')
        wait(1000)

        if windowcount('Locker') > 0 then
            openitem('depot chest', 'locker')
            wait(1000)

            while pickup_count > 0 and windowcount('Depot chest') > 0 do
                local LOCKER_COUNT = itemcount(RUNE_ID, 'Depot chest')
                if LOCKER_COUNT > 0 then
                    if pickup_count >= LOCKER_COUNT or pickup_count > 100 then
                        pickup_count = 100
                    end

                    if moveitems(RUNE_ID, RUNE_CONTAINER, 'Depot chest', pickup_count) then
                        wait(1000)
                        pickup_count = math.max(0, (RUNE_MAX_AMOUNT - itemcount(RUNE, RUNE_CONTAINER)))
                        max_capacity = math.floor(cap() / RUNE_OZ)
                        if pickup_count > max_capacity then
                            pickup_count = max_capacity
                        elseif pickup_count > 100 then
                            pickup_count = 100
                        end
                    else
                        break
                    end
                else
                    break
                end
            end
        end
    end
end
Reply

#7
he only pulled the uh when he had nothing in the backpack (character), if he has 3 uh`s he can not pull any, I do not know why, but if there is no uh in the backpack (character) he pulls normal only 100, if you put 200 buga and can not pull 2x for example
Reply

#8
Hello.

Did you setup variables correctly like "RUNE_MAX_AMOUNT" and "RUNE_CONTAINER"?

Which script are you using: From DEPOT CHEST or From LOCKER?
Reply

#9
Arkylis, could you make one that pickup the uh's from a main bp with 20 bps inside the main? like the example 01 that you told, this is to use in retrocores
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016