Results 1 to 4 of 4

Thread: Alguem me ajuda, qual é erro dessa minha CHECK!!!

  1. #1
    Normal User
    Join Date
    May 2013
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    8
    Rep Power
    0

    Alguem me ajuda, qual é erro dessa minha CHECK!!!

    --
    -- __________.__ __ __________ __ .__
    -- \______ \__| ____ | | __ \______ \_____ _____/ |_| |__ ___________
    -- | ___/ |/ \| |/ / | ___/\__ \ / \ __\ | \_/ __ \_ __ \
    -- | | | | | \ < | | / __ \| | \ | | Y \ ___/| | \/
    -- |____| |__|___| /__|_ \ |____| (____ /___| /__| |___| /\___ >__|
    -- \/ \/ \/ \/ \/ \/
    -- _________ .__ __
    -- / _____/ ___________|__|______/ |_ ______
    -- \_____ \_/ ___\_ __ \ \____ \ __\/ ___/
    -- / \ \___| | \/ | |_> > | \___ \
    -- /_______ /\___ >__| |__| __/|__| /____ >
    -- \/ \/ |__| \/
    --

    -- ____ _ _ ____ _ _
    -- | __ ) __ _ ___| | ___ __ __ _ ___| | __ / ___|| |_ ___| |_ _ _ _ __
    -- | _ \ / _` |/ __| |/ / '_ \ / _` |/ __| |/ / \___ \| __/ _ \ __| | | | '_ \
    -- | |_) | (_| | (__| <| |_) | (_| | (__| < ___) | || __/ |_| |_| | |_) |
    -- |____/ \__,_|\___|_|\_\ .__/ \__,_|\___|_|\_\ |____/ \__\___|\__|\__,_| .__/
    -- |_| |_|

    mainBp = "Backpack" -- Main Backpack
    lootBp = "Jewelled Backpack" -- Loot Backpack
    goldBp = "Yellow Backpack" -- Gold Coin Backpack

    stashBp = "Orange Backpack" -- Backpack inside depo containing backpacks to store loot
    stackableBp = "Fur Backpack" -- Stackable Items Backpack
    nonstackableBp = "Beach Backpack" -- Non-Stackable Items Backpack

    -- ____ _ ____ _
    -- / ___| _ _ _ __ _ __ | |_ _ / ___| ___| |_ _ _ _ __
    -- \___ \| | | | '_ \| '_ \| | | | | \___ \ / _ \ __| | | | '_ \
    -- ___) | |_| | |_) | |_) | | |_| | ___) | __/ |_| |_| | |_) |
    -- |____/ \__,_| .__/| .__/|_|\__, | |____/ \___|\__|\__,_| .__/
    -- |_| |_| |___/ |_|

    nameMp = "Mana Potion" -- Mana potion to use
    maxMp = 300 -- Number of Mana potions to buy
    minMp = 9000 -- Number of Mana potions to stop hunting
    priceMp = 50 -- Mana potions price


    nameHp = "Great Health Potion" -- Health potion to use
    maxHp = 20 -- Number of Health potions to buy
    minHp = 5 -- Number of Health potions to stop hunting
    priceHp = 100 -- Health potions price

    minCap = -1 -- Minimum Capacity to have to stop hunting
    extraGp = 3000 -- Extra gold to withdraw when resupplying (For travel, ect)
    exoriCount = 3 -- Use Exori when there are this many monsters

    pvpServer = false -- Is this a PvP server? (true or false)
    exoriCount = 4 -- Use exori when there are this many monsters
    creaturesToHit = {"Blood Crab", "Thornback Tortoise", "Tortoise", "Toad"} -- List the monsters to cast exori gran on

    Stackable = {"turtle shell", "white pearl", "thorn", "bloody pincers", "poisonous slime", "piece of crocodile leather", "crocodile boots"}
    nonStackable = {"war hammer"}

    -------------------------------------------------------------
    ~~ESSA AQUI É CHECADA ~~
    if (itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap) then gotolabel("LeaveHunt") else gotolabel("HuntStart") end

    PS: Ela nunca vai para "HuntStart", Sempre ela vai para "LeaveHunt", Cendo que eu tenho 200 MP ainda e 20 GHP

  2. #2
    Normal User
    Join Date
    May 2013
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    8
    Rep Power
    0
    DUVIDAS: 1º Por que quando minimzo o Tibia, o bot para de caçar ? ele não segue a rota do script, ele so segue a script rota quando a tela o tibia esta aberta, (maximizado)
    2º Por que, Ele sempre quando é na hora de checar, ele vai para "LeaveHunt" ????
    ME AJUDEM!

  3. #3
    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
    > minMp = 9000 -- Number of Mana potions to stop hunting
    se tu n quer que o char saia da hunt só por assim
    > minMp = -1 -- Number of Mana potions to stop hunting
    provavelmente esse é o erro ^^
    ---------------------------------------------------------
    sim o bot n funciona direito minimizado
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Healer Dark
    ~~~~~~~~~~~~~~~~~~~~~~~~

  4. #4
    iBot User
    Join Date
    Apr 2012
    Posts
    232
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    42
    Rep Power
    5
    nameMp = "Mana Potion" -- Mana potion to use
    maxMp = 300 -- Number of Mana potions to buy
    minMp = 9000 -- Number of Mana potions to stop hunting
    priceMp = 50 -- Mana potions price


    -


    se vc colocou que o char tem q comprar 300, certamente a quantidade de potion para ele sair da hunt tem q ser menor que 300.
    o erro está aí, vc colocou 9000 mp, ou seja 300 < 900 (300 é menor que 9000), por isso o char nao volta pra o início da hunt, e sim pra o waypoint destinado a sair da hunt e ir no dp

    ao inves de por 9000 coloque 50 que ele vai rodar de boa

Posting Permissions

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