Results 1 to 2 of 2

Thread: Problema com toptile em action

  1. #1
    iBot User
    Join Date
    Nov 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Problema com toptile em action

    estou tentando fazer um depositer no dp com toptileitem para retirar oque tem em cima antes de abri-lo.

    estou usando assim:

    reachgrounditem("depot")
    if toptileitem(posx,posy-1,posz) ~= 3499 then
    while toptileitem(posx,posy-1,posz) ~= 3499 do
    moveitems(toptileitem(posx,posy-1,posz), ground(posx,posy-1,posz), ground(posx,posy,posz), 100)
    end
    end
    wait(300,400)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    openitem(MainDPBP, "depot chest")
    wait(700,900)
    depotdeposit(StackableDPBP,"","","","","","","")
    wait(700,900)
    depotdeposit(LootDPBP,"","","","","","","","","")

    ele vai até o dp mas nao tira o item e fica tentando tirar sem parar, mas nao tira... se alguem puder ajudar... agradeço des de ja.
    onde 3499 é o id de depot
    Last edited by night.; 06-23-2013 at 09:47 PM.

  2. #2
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    reachgrounditem("depot")
    wait(1000, 2000)
    while toptileitem(posx-1,posy,posz) ~= 3499 do
    moveitems(toptileitem(posx-1,posy,posz), ground(posx-1,posy,posz), ground(posx+1,posy,posz), 100)
    end
    wait(300,400)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    openitem(MainDPBP, "depot chest")
    wait(700,900)
    depotdeposit(StackableDPBP,"","","","","","","")
    wait(700,900)
    depotdeposit(LootDPBP,"","","","","","","","","")

    Isso se o depot estiver do lado <<. Essa sua ideia é boa, eu vou ver se crio uma function pra fazer isso para todos os depots.

Posting Permissions

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