Results 1 to 4 of 4

Thread: Pegando Rings depot

  1. #1

    Join Date
    Aug 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Pegando Rings depot

    Como pegar itens depot
    os life rings no caso estao dentro da stackable DPBP
    reachgrounditem("depot")
    wait (1000)
    openitem("depot")
    wait (1000)
    openitem(3502, "locker")
    wait (1000)
    openitem(MainDPBP, "depot chest")
    wait (1000)
    openitem(StackableDPBP, "MainDPBP,")
    wait(700,900)
    nao sei se esta certo pra abrir a stack bp .. ajuda ae plx

  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
    Code:
    Como pegar itens depot
    os life rings no caso estao dentro da stackable DPBP
    reachgrounditem("depot") 
    wait (1000) 
    openitem("depot") 
    wait (1000) 
    openitem(3502, "locker") 
    wait (1000)
    openitem(MainDPBP, "depot chest")
    wait (1000)
    openitem(StackableDPBP, "MainDPBP,")
    wait(700,900)
      if itemcount("Life Ring", "Backpack do ring") <= quantidade de rings then
        while itemcount("Life Ring", StackableDPBP) > 0 and itemcount("Life Ring", "Backpack do ring") <= quantidade de rings do
        moveitems("Life Ring",StackableDPBP,"Backpack do ring",1)
        wait(300)
        end
      end

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    openitem(StackableDPBP, "MainDPBP,") tenta tira as aspas

  4. #4
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    Aqui,
    Code:
    local ringname = "life ring"
    local quantopegar = 2
    
    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    openitem(MainDPBP, "depot chest")
    wait(1000)
    openitem(StackableDPBP, MainBPDP)
    wait(1000)
    if itemcount(ringname) >= 1 then
    moveitems(ringname, MainBP, quantopegar)
    end

Posting Permissions

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