Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Jun 2017
    Posts
    2
    Reputation
    10
    Rep Power
    0

    Buying potions in LOOP

    Por favor me ajudem, eu até comprei scripts para tentar resolver meu problema mas nada adiantou, primeiramente desculpem pelo meu inglês.
    Quando o bot vai até o vendedor para comprar potions o mesmo fica em loop infinito ou seja, se na minha action o bot tem que comprar 80 mana potion ele está compranto 80 e 80 e 80.. até acabar meu cap, alguem consegue me ajudar? eu tentei usar o script em meu PC e em meu nootebook, mas nada adiantou, tentei rodar outros scripts mas continua bugado, tentei também alterar o script mas continuo com o problema o comando é esse:

    -- Buy Potions
    wait(1000)
    if $posz ~= $wptz then gotolabel("shops")
    else
    resupply('sup')
    wait(1000,2500)
    end


    Observations: the term "sup" is used to buy mana potions, health potions and spear would that be the reason for the conflict?

  2. #2
    Moderator Josh's Avatar
    Join Date
    Dec 2013
    Posts
    1,395
    Reputation
    183
    Rep Power
    24
    resupply() takes 1 parameter which is a supplyitem category - Look at your supplyitem list in the supplies tab, confirm the category which spears and health potions have, and check that these are correct!
    Interested in software development and/or programming for Tibia?
    Check out the new Tibia Programming Forums (TibiaPF) by clicking the image below.

    Looking for a bot for the MMORPG, Medivia?
    Check out MediviaBotter, a powerful, injected bot by clicking the link below.


 

 

Tags for this Thread

Posting Permissions

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