Results 1 to 3 of 3

Thread: Bug in action , help pease.

  1. #1
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    61
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5

    Lightbulb Bug in action , help pease.

    My script dont take thunderstorm from depot ( i have good names of backpacks)
    There are 2 actions.
    1
    if TakeSuppliesFromDepot then
    closewindows()
    wait(100)
    while windowcount() < 2 do
    closewindows()
    wait(1000)
    openitem(MainBP, "back")
    wait(1000)
    openitem(SuppBP, MainBP, true)
    wait(1000)
    resizewindows()
    wait(1000)
    end
    else
    gotolabel("Bank1")
    end

    2
    local item = "thunderstorm rune"
    local location = SuppBP
    local DepoLocation = ExtraItemBP
    local WantedAmount = TsrToBuy


    local Amount = WantedAmount - (itemcount(item, location))

    reachgrounditem("depot")
    while (windowcount("Locker") ==0) do
    openitem("depot")
    wait(700,900)
    end

    while (windowcount("Depot Chest") == 0) do
    openitem(3502, "locker")
    wait(800,1000)
    end

    while (windowcount(ExtraItemBP) == 0) do
    openitem(ExtraItemBP, "Depot Chest", false)
    wait(1800,2000)
    end


    while Amount > 0 do
    if itemcount(item, DepoLocation) == 0 then
    openitem(DepoLocation, DepoLocation, false)
    wait(1000)
    end
    if Amount <= 0 then
    return
    else
    while Amount > 0 and (itemcount(item, DepoLocation) > 0) do
    moveitems(item, location, Amount)
    wait(300)
    Amount = WantedAmount - (itemcount(item, location))
    end
    if itemcount(DepoLocation, DepoLocation) == 0 and itemcount(item, DepoLocation) == 0 then
    return
    end
    end
    end

    Someone know where is bug ?

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    61
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    -- Script made by Garkstal13 for Eli Scripts! Highest Quality for Lowest Price!
    -- Name of script: Quaras Calassa for MS
    -- Main script settings:

    --[[

    _________ _____ _ __
    / ____/ (_) / ___/__________(_)___ / /______
    / __/ / / / \__ \/ ___/ ___/ / __ \/ __/ ___/
    / /___/ / / ___/ / /__/ / / / /_/ / /_(__ )
    /_____/_/_/ /____/\___/_/ /_/ .___/\__/____/
    /_/

    ]]--

    SoftBootsRefiller = false -- (true/false)
    PvP_Server = true -- (true/false)
    Mount = true -- (true/false)
    SreenshotOnAdvance = true -- (true/false)
    NormalBoots = 'boots of haste' -- Name of yours normal boots

    RopeToUse = "rope" -- Name of rope
    ShovelToUse = "shovel" -- Name of shovel
    PickToUse = "pick" -- Name of pick

    -- Extra Settings:
    TakeSuppliesFromDepot = true -- Take Supplies From Depot?
    StaminaCheck = 845 -- How many stamina to end hunt?

    CastUE = true -- Cast Ue Spell?
    CreatureToUe = 5 -- Amount Of Creatures To Cast.
    HppcToUe = 90 -- Hp % To Cast Ue.

    UseAreaRune = true -- Shoot Thunderstorm Runes?
    UWC = true -- Use With Crosshairs or Use On Target.
    CreatureToRune = 3 -- Creature To Shoot Rune.

    UseSdRunes = true -- Shoot Sd Runes?
    CreatureToSd = 4 -- Amount of Creatures To Shoot.

    UseMaxStrike = true -- Use Uiltamte Strike?
    UseStrongStrike = true -- Use Strong Strike?

    FishBodies = false -- Fishing water elementals

    LureMode = false
    MobsToLure = 2 -- Amount of mobs to start attacking
    HasteAfterKill = false

    Haste = false -- To and from resp
    HasteResp = false -- Haste at whole spawn.
    PlayerAlert = false -- Player On Screen Alert on Resp

    CapToDropGold = 200 -- Cap To Stop Looting Gold.
    LootGold = true -- False Will Stop Looting Gold.
    SWWM = true --- Stand with weak monsters
    FastLooting = false -- True = after meele kill, false = after all dead
    AntyRule = false
    MobsToAntiRule = 10 -- Anty Rule it is not working when LureModes is true.

    -- Spawns:
    West = true
    East = false

    -- Extra spawns:
    --West Side:
    Ship1 = false -- 2 hydromancers
    Ship2 = false -- 2 hydromancers, 1 mantassin, 2 constrictors
    Ship3 = false -- 2 mantassins, 1 pincher
    Ship4 = false -- 2 mantassins, 2 pinchers
    Ship5 = false -- 1 hydromancer, 1 mantassin, 1 pincher
    Ship6 = false -- 1 hydromancer, 2 pincher, 2 constricotr
    Ship7 = false -- 3 predators, 2 constrictors
    -- East Side:
    Ship8 = false -- 1 pincher
    Ship9 = false -- 1 constrictor, 3 predators
    Ship10 = false -- 2 mantassins, 3 predators
    Ship11 = false -- 2 mantassins, 2 hydromancers
    Ship12 = false -- 4 constrictors
    Ship13 = false -- 1 pincher, 1 hydromancer
    Ship14 = false -- 2 predators, 1 hydromancer
    Ship15 = false -- 2 hydromancers, 1 predator

    -- Customize your Backpacks Settings:

    MainBP = "Buggy Backpack" -- Backpack that you use as the main
    LootBP = "Blue backpack" -- Backpack with items (rares, stackable)
    GoldBP = "Beach Backpack" -- Backapck with gold
    SuppBP = "Jewelled Backpack" -- Backpack with supplies

    -- Customize Depot Backpack Settings:

    MainDpBp = "Grey Backpack" -- Main depot backpack
    StackItems = "Backpack" -- Backpacks with stack items
    LootRares = "Orange Backpack" -- Backpack with rares

    ExtraItemBP = "Camouflage backpack" -- Extra Item Backpack in Depot with Great Mana Potions / Thunderstorm Runes / Sudden Death Runes

    -- Customize your Supplies Settings:

    -- Potions
    MpName = "strong mana potion"
    MpToBuy = 300 -- Amount of wanted Mana Potions
    SdToBuy = 100 -- Amount of Great Health Potions
    TsrToBuy = 0 -- Amount of Ultimate Health Potions

    MpToLeave = 100 -- Amount of Mana Potions to Leave
    SdToLeave = 10 -- Amount of Great Health Potions to Leave
    TsrToLeave = 0 -- Amount of Ultimate Health Potions to Leave
    CapCheck = 100 -- Cap To Leave Spawn.




    ----------------------------------------------------------
    MpID = itemid(MpName)
    MpPrice = itemcost(MpName)

    function ChangeState(set,...)
    local monster = {...}
    for i,j in ipairs(monster) do
    local typ = getsettings("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped")
    if set == nil or typ == nil or monster == nil then
    return false
    end
    if set == "yes" or set == true or set == "on" then
    setsettings("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped", "yes")
    elseif set == "no" or set == false or set == "off" then
    setsettings("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped", "no")
    end
    end
    end

    My action setup

  3. #3
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    That's old withdrawing action from my scripts, just download a new copy and everything will be fixed.

Posting Permissions

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