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
Script request: UH refiller from DP
#1
Hello!

I have been sitting here all day trying to work this out but i give up!
|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="Sad" title="Sad" class="smilie smilie_8" />

What i want is part of my refiller, drag UH's from my loaded depot to my little Uh Backpack and when it reach the end of it, its done!
This is what i got so far, if it helps you get an understanding of what i need.



Character bp UH = bp inside of bp (click next bp when full)
depot bp is just 20x bps inside of my "UHDP"-bp , so i need it to go into the first one, once its empty, go back and into next (trashing the empty one would be cool but not needed)

(gray backpack is the bp UHs, (buy a bp blank and you get it as gray, so every bp uh sold on the server is made in a gray one)
--character
UhBp=5117

--depot
UHDP='blue backpack'



reachgrounditem('locker')
wait(500)
openitem('locker')
wait(1000)
openitem(UHDP, 'locker')
wait(200,400)
openitem('gray backpack', UHDP)

while itemcount(3160, UhBp)<20 do

        while itemcount(3160, 'gray backpack')>0 and getcontainer(UhBp).usedslots<20 do
                moveitems(3160, UhBp, 'gray backpack')

                    while getcontainer(UhBp).usedslots==20 do
                        wait(500)
                        openitem(UhBp, UhBp)
                        wait(500)
                   
                    while itemcount(3160, 'gray backpack')==0 do
                        wait(500)
                        higherwindow('gray backpack')
                        wait(1500)
                        moveitems(2870, ground(posx(), posy(), posz()), UHDP, 1)
end
end end

#2
Hello.

I just fixed your code, but i didn't tested it.

local RUNE_ID = 3160

--character
CHARACTER_RUNES_BP=5117

--depot
DEPOT_RUNES_MAIN='blue backpack'
DEPOT_RUNES_BP='gray backpack'



reachgrounditem('locker')
wait(500)

openitem('locker')
wait(1000)

openitem(DEPOT_RUNES_MAIN, 'locker')
wait(200,400)

openitem(DEPOT_RUNES_BP, DEPOT_RUNES_MAIN)
wait(200,400)

while itemcount(RUNE_ID, CHARACTER_RUNES_BP) < 20 do
    if itemcount(RUNE_ID, DEPOT_RUNES_BP) > 0 then
        moveitems(RUNE_ID, CHARACTER_RUNES_BP, DEPOT_RUNES_BP)
        wait(500, 800)

        local characterRunesBp = getcontainer(CHARACTER_RUNES_BP)
        if characterRunesBp.open and characterRunesBp.usedslots == 20 then
            openitem(CHARACTER_RUNES_BP, CHARACTER_RUNES_BP)
            wait(500, 800)
        end
    else
        higherwindow(DEPOT_RUNES_BP)
        wait(800, 1200)
        moveitems(DEPOT_RUNES_BP, ground(posx(), posy(), posz()), DEPOT_RUNES_MAIN, 1)
        wait(800, 1200)
        openitem(DEPOT_RUNES_BP, DEPOT_RUNES_MAIN)
        wait(800, 1200)
    end
end

#3
You are my hero and my angel, I fucking love you!
Its works great and its exactly what i was trying to do!

Much love, and i hope you have the best of the best days!
also, hope you win the lottery !



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016