Results 1 to 3 of 3

Thread: Problema com closewindows()

  1. #1
    Normal User tryller's Avatar
    Join Date
    Oct 2012
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Problema com closewindows()

    O Codigo que estou usando pra abrir as bps antes de chegar na hunt esta fachanod o battle e isto buga ao abrir as bps. alguem sabe?

    Code:
    if not islocation(2) then
        gotolabel("guardian1")
    else
    closewindows()
    while windowcount() < 3 do
    closewindows()
    wait(1000,2000)
    openitem(mainBp, "back", true)
    wait(1500, 2000)
    resizewindows()
    
    wait(1000)
    
    openitem(lootBp, mainBp, true)
    wait(1500, 2000)
    resizewindows()
    
    wait(1000)
    
    openitem(goldBp, mainBp, true)
    wait(1500, 2000)
    resizewindows()
    
    wait(1500, 2000)
    resizewindows()
    wait(1000)
    end
    end

  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
    @tryller
    Repare que você está usando um closewindows depois do while, isso pode causar o loop, para abrir a mainbp você pode remover o true, eu usaria a action assim:
    if not islocation(2) then
    gotolabel("guardian1") else
    closewindows()
    wait(1000, 2000)
    while windowcount() < 3 do
    openitem(mainBp, "back")
    wait(900, 1100)
    resizewindows()
    wait(700, 900)
    openitem(lootBp, mainBp, true)
    wait(900, 1100)
    resizewindows()
    wait(700, 900)
    openitem(goldBp, mainBp, true)
    wait(900, 1100)
    resizewindows()
    wait(900, 1100)
    resizewindows()
    end
    end

  3. #3
    Normal User tryller's Avatar
    Join Date
    Oct 2012
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Vou aqui gabeil pq antes tava d eboa a action ai do nada bugo ;x

Posting Permissions

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