Results 1 to 2 of 2

Thread: Depositar loot no DP

  1. #1
    Normal User mullets's Avatar
    Join Date
    Aug 2012
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    5

    Depositar loot no DP

    Bom, eu peguei um script de Blue Djinns de Yalahar, mas existe um problema.
    Quando o char vai para o DP, ele não deposita os stackable itens, não sei porque.
    No setup, está configurado as bps certas (ele abre a Red BP e dentro tem as Orange BP que são para NONSTACKABLE e as Blue que são para STACKABLE).

    A action nesta hora é:

    Code:
    while windowcount("Depot Chest") == 0 do
    reachgrounditem("depot")
    wait(1000,1500)
    openitem("depot")
    wait(1000,1500)
    openitem("Depot Chest","Locker",false,0)
    wait(1000,1500)
    end
    openitem(stashBp, "depot chest")
    
    while itemcount("green gem") ~= 0 do
    depotdeposit(nonstackableBp,"green gem")
    wait(100,200)
    end
    while itemcount("blue gem") ~= 0 do
    depotdeposit(nonstackableBp,"blue gem")
    wait(100,200)
    end
    while itemcount("mystic turban") ~= 0 do
    depotdeposit(nonstackableBp,"mystic turban")
    wait(100,200)
    end
    while itemcount("Hailstorm Rod") ~= 0 do
    depotdeposit(nonstackableBp,"hailstorm rod")
    wait(100,200)
    end
    while itemcount("wand of inferno") ~= 0 do
    depotdeposit(nonstackableBp,"wand of inferno")
    wait(100,200)
    end
    while itemcount("green piece of cloth") ~= 0 do
    depotdeposit(stackableBp,"green piece of cloth")
    wait(100,200)
    end
    while itemcount("blue piece of cloth") ~= 0 do
    depotdeposit(stackableBp,"blue piece of cloth")
    wait(100,200)
    end
    while itemcount("magma monocle") ~= 0 do
    depotdeposit(nonstackableBp,"magma monocle")
    wait(100,200)
    end
    while itemcount("noble turban") ~= 0 do
    depotdeposit(stackableBp,"noble turban")
    wait(100,200)
    end
    while itemcount("small sapphire") ~= 0 do
    depotdeposit(stackableBp,"small sapphire")
    wait(100,200)
    end
    while itemcount("small emerald") ~= 0 do
    depotdeposit(stackableBp,"small emerald")
    wait(100,200)
    end
    while itemcount("jewelled belt") ~= 0 do
    depotdeposit(stackableBp,"jewelled belt")
    wait(100,200)
    end
    while itemcount("seeds") ~= 0 do
    depotdeposit(stackableBp,"seeds")
    wait(100,200)
    end
    while itemcount("strong mana potion") ~= 0 do
    depotdeposit(stackableBp,"strong mana potion")
    wait(100,200)
    end
    while itemcount("wooden flute") ~= 0 do
    depotdeposit(nonstackableBp,"wooden flute")
    wait(100,200)
    end
    while itemcount("Dirty Turban") ~= 0 do
    depotdeposit(stackableBp,"Dirty Turban")
    wait(100,200)
    end
    Last edited by mullets; 09-18-2012 at 04:54 PM.

  2. #2
    Normal User Healer Dark's Avatar
    Join Date
    Jul 2012
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    n seria + facil vc fazer
    Code:
    while getcontainer("Backpack que fica o loot").usedslots ~= 0 do
    depotdeposit(stackableBp, "stacks itens")
    wait(500)
    depotdeposit(nonstackablebp, "no stack itens")
    end
    acho desperdicio tanto while, quando apenas 1 ou 2pode resolver >_< + claro, sua action eu vi nada errado
    ou vc pode usar até um simples if, evito as x usar while nas action pq comgo buga, se tu criar uma action while pro char usar potion com mppc > 40 e mppc < 80, mesmo que a condição fique verdadeira o char n para de usar potion ;s, sinceramente eu n vi nenhum erro ai, tenta tirar os while e fazer só 2 depotdeposit e olha se funciona, se funcionar vai implementando os while aos poucos.
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Healer Dark
    ~~~~~~~~~~~~~~~~~~~~~~~~

Posting Permissions

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