Results 1 to 3 of 3

Thread: Porque essa action nao funciona?

  1. #1
    iBot User lucasd's Avatar
    Join Date
    Mar 2012
    Location
    São Paulo, Brasil
    Posts
    134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Porque essa action nao funciona?

    Ola amigos, gostaria que vocês me ajudassem em um duvida aqui, porque essa action não funciona, chega na frente no npc e não fala nada, ele passa para o proximo waypoit. ai segue a action com o bp setup que eu uso

    action de comprar pots

    local MPToBuy = MPmax - MPamount

    opentrade()
    buyitemsupto(MPtype, MPToBuy) wait(1000)
    npcsay("bye") wait(600)
    Backpack setup

    -- Backpack Settings --
    MainBP = "Beach Backpack"
    LootBP = "Green Backpack"
    GoldBP = "Golden Backpack"

    MainDPBP = "Fur Backpack"
    LootDPBP = "Brocade Backpack"
    StackDPBP = "Red Backpack"

    -- Potions Settings --
    MPtype = "strong mana potion"
    MPmax = 100
    MPmin = 15
    MPprice = 80

    -- Distance Settings --
    SpearType = "royal spear"
    SpearMax = 50
    SpearMin = 10
    SpearPrice = 15

    -- Hunt Settings --
    CapToLeave = 50
    Selling Account with RP 180
    Click here and check the account!!

  2. #2
    Normal User
    Join Date
    Dec 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    eu tenho o mesmo problema

  3. #3
    iBot User 3173654's Avatar
    Join Date
    Aug 2012
    Posts
    1,393
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    28 Post(s)
    Reputation
    202
    Rep Power
    9
    usa essa:

    PHP Code:
    wait(1000)
    opentrade()
    wait(1000)
    if 
    itemcount(MPtype) < MPmax  then
    buyitemsupto
    (MPtypeMPmax)
    end
    npcsay
    ('Bye')
    wait(1000
    http://www.tibiaibot.com/forum/showthread.php?16907-FREE-Scripts-3173654&highlight=3173654+free+scripts

Posting Permissions

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