Signup Now
Results 1 to 3 of 3
  1. #1
    Free User jNoWB's Avatar
    Join Date
    Dec 2015
    Posts
    75
    Reputation
    7
    Rep Power
    0

    Modification in user code Dehan

    To not have to be always in the script editing my lootbp, I can only for my variable after the "="? So I can only change the setup, and does not need direct changes in action ..?

    Exemple:



    lootingBp = LootBP
    nonstackableNumber = 2
    stackableNumber = 1





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

    lootingBp = 'jewelled backpack'
    nonstackableNumber = 2
    stackableNumber = 1

    --[[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


  2. #2
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    -yes.

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  3. #3
    Free User jNoWB's Avatar
    Join Date
    Dec 2015
    Posts
    75
    Reputation
    7
    Rep Power
    0
    @ozzix
    Only works that way, thank you.

     lootingBp = getlootingdestination('lootbp')
    nonstackableNumber = 2
    stackableNumber = 1
    Last edited by jNoWB; 04-03-2016 at 01:34 PM.

 

 

Posting Permissions

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