Results 1 to 3 of 3

Thread: concertem minha action pls !!

  1. #1
    iBot User
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    10
    Rep Power
    5

    concertem minha action pls !!

    gente eu to tentando fazer um script 100 % da d-lair de venore, mas o único problema é quando o bot vai sacar o dinheiro... ele tira 7,5k sem nessecidade, sempre !! minha action setup é essa >>

    -- Backpack Settings --
    MainBP = "Backpack"
    LootBP = "camouflage Backpack"
    GoldBP = "brocade Backpack"
    PotionsBP = "fur backpack"

    -- Depot Settings --

    MainBPDP = "green Backpack"
    ItensBPDP = "purple Backpack"
    StackableBPDP = "orange Backpack"

    -- Potions mp --
    MPname = "mana potion"
    Mptobuy = 300
    MPprice = 50

    --- ´potions ghp --
    HPname = "great health potion"
    HPtobuy = 60
    HPprice = 190


    -- Hunt Settings --
    CAPtoleave = 150
    HPtoleave = 20
    MPtoleave = 100


    e a action para sacar o dinheiro no banco é essa >>.

    local mana = positive(MPtobuy - itemcount(MPname)) * MPprice
    local health = positive(HPtobuy - itemcount(HPname))* HPprice
    local Total = mana + health

    depositall()
    wait(500,900)
    say('hi')

    if Total >= 0 then
    npcsay("withdraw "..Total)
    wait(200,300)
    npcsay("yes")
    wait(200,300)
    npcsay("balance")
    wait(200,300)
    end

  2. #2
    iBot User jose maria's Avatar
    Join Date
    Jan 2014
    Location
    Brazil
    Posts
    85
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    19 Post(s)
    Reputation
    41
    Rep Power
    3
    Note que os nomes de suas variáveis aqui:
    Code:
    -- Potions mp --
    MPname = "mana potion"
    Mptobuy = 300
    MPprice = 50
    Tem de ser exatamente iguais aos nomes aqui:
    Code:
    local mana = positive(MPtobuy - itemcount(MPname)) * MPprice 
    local health = positive(HPtobuy - itemcount(HPname))* HPprice
    local Total = mana + health
    Só mudar um dos nomes, certificando de que esteja exatamente igual, considerando maiúsculo e minusculo.

  3. #3
    iBot User
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    10
    Rep Power
    5
    obg mano, passo dispercebido por mim este erro... rep + pra vc .. obg

Posting Permissions

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