Results 1 to 2 of 2

Thread: Pegar gold do chao ""avanÇado""

  1. #1
    iBot User lulute's Avatar
    Join Date
    Feb 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Question Pegar gold do chao ""avanÇado""

    Olá pessoal, achei uma action no forum pra pegar gold do chao mas eu preciso que ele pegue o gold , somente quando não haver bichu na tela e q ele pare o cave bot quando ha gold no chao pq ele fica tentando pegar e andar nos waypoints ao mesmo tempo ! tentei adptar essa mas n ta dando certo ! alguem sabe alguma coisa...



    if maround(5) == 0 then
    setcavebot("no")

    local coordx = {...}
    local coordy = {...}
    local coordz = {...}
    local check = {...}
    local qtditem = {...}
    local m = 0 or nill
    local totalitems = 0 or nill

    for i = -7, 7 do
    for u = -7, 7 do
    m = m + 1
    coordx[m] = posx + i
    coordy[m] = posy + u
    coordz[m] = posz
    for k = 1, n do
    if toptileitem(coordx[m], coordy[m], coordz[m]) == itemstocheck[k] then
    totalitems = totalitems + 1
    if qtditem[k] ~= nill then
    qtditem[k] = qtditem[k] + 1
    else
    qtditem[k] = 1
    end
    check[m] = true


    reachlocation(coordx[m], coordy[m], coordz[m])
    moveitems(itemstocheck[k], ground(coordx[m], coordy[m], coordz[m]), LootBP, 100)
    wait(300, 500)

    elseif k == n and check[m] ~= true then
    check[m] = false
    end
    end
    end
    end
    setcavebot("yes")
    end

  2. #2
    iBot User lulute's Avatar
    Join Date
    Feb 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    "UP"

Posting Permissions

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