Signup Now
Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 74
  1. #11
    Free User
    Join Date
    Mar 2016
    Posts
    37
    Reputation
    29
    Rep Power
    0
    What if I separate my dropped itens in 2 different backpacks?
    Also, how it re-open backpacks if any of them are full and bot opened 'next backpack'?

  2. #12
    Free User
    Join Date
    Feb 2016
    Posts
    5
    Reputation
    10
    Rep Power
    0
    I am new using this bot. Where is the code that you have to change? I am trying to implement new depot system in scripts with old depot system but i can't. Could someone help me?

  3. #13
    Free User mantribal's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    165
    Reputation
    21
    Rep Power
    21
    @Dehan Help-me? I would like the action acknowledges my LootBP of setup

    --### Dehan's Depot Boxes Depositer v1.0.0 ###

    lootingBp = getuseroption('LootBP')
    nonstackableNumber = 1
    stackableNumber = 2


    --[[DO NOT EDIT BELOW THIS LINE]]--

    setsetting('Looting/OpenNextBP', 'no')
    waitping()
    while windowcount("Depot Chest") == 0 do
    opendepot(true)
    wait(300)
    openitem(3502)
    wait(500)
    end

    depotId = 22796
    stackableId = depotId + stackableNumber
    nonstackableId = depotId + nonstackableNumber

    while (true) do
    foreach lootingitem i do
    while itemcount(i.id, lootingBp) > 0 do
    if itemproperty(i.id, 5) then
    moveitemsonto(i.id, stackableId, 1, 'depot chest', lootingBp, 100)
    else
    moveitemsonto(i.id, nonstackableId, 1, 'depot chest', lootingBp, 100)
    end
    end
    end
    if (itemcount(lootingBp, lootingBp) > 0) then
    openitem(lootingBp, lootingBp, false)
    waitcontainer(lootingBp, false)
    else
    break
    end
    wait(100)
    end
    Last edited by mantribal; 03-13-2016 at 03:48 AM.

  4. #14
    Free User Dani Scripts's Avatar
    Join Date
    Dec 2013
    Location
    Mexico
    Posts
    558
    Reputation
    56
    Rep Power
    22
    Thanks a lot @Dehan, this is an awesome action, would be interesting if this put rashid items on 1 depot and blue on other one and green djinns on other one D:, that would be f.... awesome but i think that's too much to ask XD
    Last edited by Dani Scripts; 03-13-2016 at 06:53 AM.

  5. #15
    Free User siwylkw's Avatar
    Join Date
    Dec 2013
    Posts
    289
    Reputation
    15
    Rep Power
    21
    Wow! I really need that! Thank you so much

  6. #16
    Free User
    Join Date
    Jun 2014
    Posts
    112
    Reputation
    15
    Rep Power
    20
    @Dehan


    Man I am struggling with a problem I changed a little bit this action to make it changeable in cavebot settings, it looks like this.


    --### Dehan's Depot Boxes Depositer v1.0.0 ###


    local lootingBp = getlootingdestination('lootbp')
    local nonstackableNumber = getlootingdestination('nonstackdp')
    local stackableNumber = getlootingdestination('stackdp')


    --[[DO NOT EDIT BELOW THIS LINE]]--


    setsetting('Looting/OpenNextBP', 'no')
    waitping()
    while windowcount("Depot Chest") == 0 do
    opendepot(true)
    wait(300)
    openitem(3502)
    wait(500)
    end


    depotId = 22796
    stackableId = depotId + stackableNumber
    nonstackableId = depotId + nonstackableNumber


    while (true) do
    foreach lootingitem i do
    while itemcount(i.id, lootingBp) > 0 do
    if itemproperty(i.id, 5) then
    moveitemsonto(i.id, stackableId, 1, 'depot chest', lootingBp, 100)
    else
    moveitemsonto(i.id, nonstackableId, 1, 'depot chest', lootingBp, 100)
    end
    end
    end
    if (itemcount(lootingBp, lootingBp) > 0) then
    openitem(lootingBp, lootingBp, false)
    waitcontainer(lootingBp, false)
    else
    break
    end
    wait(100)
    end

    But there is one problem, when he reaches depo, he openes the locker, and he doesnt open previous loot bp, if he has loot in last loot bp he deposits it corectly, if he doesnt have loot he skips previous bp and goes to next wpt. he doesnt open previous bpacks in both situation, why is that ?

  7. #17
    Free User
    Join Date
    Feb 2016
    Posts
    20
    Reputation
    10
    Rep Power
    0
    I suggest adding the underlined part to the code:
    Code:
    while (true) do
    	foreach lootingitem i do
    		while itemcount(i.id, lootingBp) > 0 and i.id ~= 3035 do
    			if itemproperty(i.id, 5) then
    				moveitemsonto(i.id, stackableId, 1, 'depot chest', lootingBp, 100)
    			else
    				moveitemsonto(i.id, nonstackableId, 1, 'depot chest', lootingBp, 100)
    			end
    		end
    	end
    I guess it wouldn't be nice to deposit platinum coins.
    Last edited by preula; 03-13-2016 at 09:47 PM.

  8. #18
    Free User siwylkw's Avatar
    Join Date
    Dec 2013
    Posts
    289
    Reputation
    15
    Rep Power
    21
    @Dehan Can you create depot box withdrawer? For example thunderstorm runes.

  9. #19
    Free User sadak's Avatar
    Join Date
    Apr 2015
    Location
    Brazil
    Posts
    49
    Reputation
    28
    Rep Power
    0
    @Dehan @siwylkw it would be awesome!

  10. #20
    Wind Powered
    Join Date
    Jan 2014
    Posts
    126
    Reputation
    10
    Rep Power
    21
    Rally nice Dehan!

    Great Job!

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •