Results 1 to 4 of 4

Thread: Eu preciso de ajudo em meu projeto

  1. #1
    Normal User thuco's Avatar
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Eu preciso de ajudo em meu projeto

    Ola Boa Noite , fiz um script para caçar com meu pally , mas fui juntando ideias de uns e montando o meu , mas claro que daria algo errado então estou aqui para pedia juda .
    Ps: Para pally .
    setup :

    -- Script made by Thuco!


    -- Main script settings:

    SoftBootsRefiller = false -- Choose true if you want it
    PvP_Server = false -- Choose true if you're playing on PVP world, choose false if you're playing on Optional-PvP world
    Mount = true -- Choose true if you want to use mount
    Alarms = false -- (true/false)
    Normal_Boots = 'boots of haste' -- Name of normal boots


    -- Customize your Backpacks Settings:

    MainBP = "moon backpack" -- Backpack that you use as the main
    LootBP = "backpack of holding" -- Backpack with items (rares, stackable)
    GoldBP = "jewelled backpack" -- Backapck with gold
    SuppBP = "green backpack" -- Backpack with supplies

    -- Customize Depot Backpack Settings:

    MainDpBp = "dragon backpack"
    StackItems = "blue backpack"
    LootRares = "brocade backpack"
    GemsBP = "yellow backpack" -- Backpack with enchanted gems

    -- Customize your Supplies Settings:
    MpToBuy = 900 -- Amount of wanted Mana Potions
    GhpToBuy = 40 -- Amount of wanted Great Health Potions
    UhpToBuy = 1000 -- Amount of wanted Ultimate Health Potions

    MpToLeave = 50 -- Amount of Mana Potions to Leave
    GhpToLeave = 10 -- Amount of GHP to Leave
    UhpToLeave = 320 -- Amount of UHP to Leave

  2. #2
    Normal User thuco's Avatar
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Continuando ,
    banco esta assim :

    local Mana = positive(MpToBuy - itemcount("Strong Mana Potion"))*80
    local GHP = positive(GhpToBuy - itemcount("Great Spirit Potion"))*190
    local UHP = positive(UhpToBuy - itemcount("Prismatic bolt"))*20
    local Soft = positive(itemcount("worn soft boots"))*10000
    local Total = Mana + GHP + UHP + Soft + 2000

    say("hi")
    wait(1500,2500)
    npcsay("deposit all")
    wait(200,300)
    npcsay("yes")
    wait(200,300)

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

    setsettings("Settings\\Actions\\List\\Haste\\Enabled","yes")



    onde ele compra prismatic bolt ta uma action assim:
    local spearmax = 1000
    local TotalSpear = spearmax - (weaponamount + itemcount("prismatic bolt"))

    say("hi")
    wait(2000)
    npcsay("trade")
    wait(2000)


    if (weaponamount + itemcount("Prismatic bolt")) < spearmax
    then
    buyitemsupto("Prismatic Bolt", TotalSpear)
    end

    wait(2000)
    setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no")

  3. #3
    Normal User thuco's Avatar
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Continuando :
    onde muda as prismatic para bp de supply esta assim :

    local MainBpName = "moon backpack"
    local AmmoName = "Prismatic Bolt"
    local SupplyBpName = "green backpack"

    while itemcount(AmmoName, MainBpName) > 1 do
    moveitems(AmmoName, MainBpName, SupplyBpName, 100)
    end

    wait(1000)
    setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes")
    wait(1000)

    onde compra as mana esta assim :

    findcreature("Sandra")
    say("Hi")
    wait(500,900)
    sellflasks()
    wait(500,900)
    opentrade()
    wait(500, 1000)
    buyitemsupto("great spirit potion", GhpToBuy,itemcount("great spirit potion"))
    wait(500,900)
    moveitems("great spirit potion", MainBP, SuppBP, 100)
    wait(500,900)
    MP = MpToBuy - itemcount("strong mana potion")
    while MP > 0 do
    buyitems(("strong mana potion"), MP)
    wait(500,900)
    end

    e finalizando checker esta assim :

    if itemcount("strong mana potion") < MpToLeave or itemcount("great spirit potion") < GhpToLeave or itemcount("prismatic bolt") < UhpToLeave
    then gotolabel("Leave")
    else gotolabel("CheckOpenBp_Hunt2")
    end

  4. #4
    Normal User thuco's Avatar
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    gostaria de algo mais simplis mudando as quantidades pelo setup .

    Mas ta complicado pegando td de kina e mudando para pally ;/

    Agradeço a atenção Thuco.

Posting Permissions

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