Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Minha action de tirar total gold para X POT e X FOOD não funciona mais alguem ajuda??

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

    Minha action de tirar total gold para X POT e X FOOD não funciona mais alguem ajuda??

    closewindows()
    wait(500, 1000)
    openitem(MainBPname, 'back')
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(SupplyBPname, MainBPname, true)
    wait(500, 1000)
    resizewindows()

    local mana = positive(manatobuy - itemcount(mananame)) * manaprice
    local health = positive(healthtobuy - itemcount(healthname)) * healthprice
    local Total = mana + health + 2000

    wait(500,1000)
    say("hi")
    wait(1500,2000)
    npcsay("deposit all")
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300)
    npcsay("balance")
    wait(2000)
    npcsay("withdraw "..Total)
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300)

  2. #2
    Normal User Onehit's Avatar
    Join Date
    Mar 2012
    Location
    Cwb
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    117
    Rep Power
    7
    Quote Originally Posted by charopinh0 View Post
    closewindows()
    wait(500, 1000)
    openitem(MainBPname, 'back')
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(SupplyBPname, MainBPname, true)
    wait(500, 1000)
    resizewindows()

    local mana = positive(manatobuy - itemcount(mananame)) * manaprice
    local health = positive(healthtobuy - itemcount(healthname)) * healthprice
    local Total = mana + health + 2000

    wait(500,1000)
    say("hi")
    wait(1500,2000)
    npcsay("deposit all")
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300)
    npcsay("balance")
    wait(2000)
    npcsay("withdraw "..Total)
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300)

    Como está o setup do script?

    NÃO RESPONDO DUVIDAS POR PM
    Brasil, aqui você é o palhaço.

  3. #3
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Onehit View Post
    Como está o setup do script?

    -- Setup:
    serverType = ("1") -- [[1 = PvP/PvPe]] [[0 = NonPvP]
    SoftbootsRefill = false
    SetAlarms = true
    UseMount = false
    CapToLeave = 50
    BuyFood = true
    NormalBoots = 'Boots of Haste' -- (Name of Bormal Boots)
    FirstFloor = true
    SecondFloor = true
    ThirdFloor = true
    Tower = true
    AntiFaceBySirmate = true
    -- >>>>>>>>>> Backpacks <<<<<<<<<<
    MainBPname = "Blue Backpack"
    LootBPname = "Purple Backpack"
    GoldBPname = "Yellow Backpack"
    SupplyBPname = "Expedition Backpack"
    -- >>>>>>>>>> Depot <<<<<<<<<<
    MainDepotname = "Brocade Backpack"
    LootDepotname = "Camouflage Backpack"
    AddonDepotname = "beach Backpack"
    RingsBP = "Dragon backpack"
    -- >>>>>>>>>> Potions <<<<<<<<<<
    mananame = "strong mana potion" -- Name of mana potion.
    manaprice = 80 -- Price of mana potion to buy.
    manatobuy = 120 -- How many mana potions to buy?
    manatoback = 50 -- How many potions to back reffil?
    runename = "sudden death rune" -- Name of runes.
    runeprice = 108 -- Price of runes to buy.
    runetobuy = 60 -- How many runes buy?
    runetoback = 25 -- How many runes to back reffil?

  4. #4
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Nesta action que você colocou, ele só irá retirar o dinheiro da mana corretamente, como você quer? eu faço para você aqui.

  5. #5
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Raph_ View Post
    Nesta action que você colocou, ele só irá retirar o dinheiro da mana corretamente, como você quer? eu faço para você aqui.
    então, essa action ai ele nem diz hi pro npc =(, ele abre as bp mais ai ele pula a parte de falar, faz igual mano so que com +2k pra comrpa food.

  6. #6
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Code:
    local Money = math.max(manatobuy - itemcount(mananame), 0) * itemcost(mananame) + math.max(runetobuy - itemcount(runename), 0) * itemcost(runename) + 2000
    local TotalMoney = math.ceil(Money / 1000) * 1000
    
    if ischannel("NPCs") then
    	npcsay("hi")
    	wait(8000, 1200)
    else
    	say("hi")
    	wait(1000, 2000)
    end
    npcsay("deposit all")
    wait(300, 900)
    npcsay("yes")
    wait(300, 900)
    npcsay("withdraw "..TotalMoney)
    wait(300, 900)
    npcsay("yes")
    wait(300, 900)
    npcsay("balance")
    wait(300, 900)
    
    if gold() < TotalMoney then
    	gotolabel(wpt.id-1)
    	return
    end

  7. #7
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    não esta funcionado =( coloquei pra abrir as bp em outra action e colokei aa que vc criou em outra action, ela não ta falando com o npc.

  8. #8
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Cara, tente baixar o bot novamente, entretanto lembre-se de extrair em uma nova pasta.

  9. #9
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    tambem ñ deu =(

  10. #10
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Consgui... peguei uma funcional do scrypt do BUgWT, porem tenho outro problema, algumas huds ñ aparecem mais =(

Posting Permissions

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