Results 1 to 4 of 4

Thread: Problem with action script

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

    Problem with action script

    I have been using such an action but now it doesn't works. Is just drops and get on another wpt. Could someone tell me what wrong with this is?

    closewindows()
    wait(500, 1000)
    openitem(mainbp, 'back')
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(potbp, mainbp, true)
    wait(500, 1000)
    resizewindows()
    wait(500,900)
    sellflasks()
    wait(500,900)
    opentrade()
    wait(500, 1000)
    buyitemsupto(mananame, manatobuy)
    wait(500,1000)
    if itemcount(healthname) < healthtobuy then
    buyitemsupto(healthname, healthtobuy)
    Last edited by Nilowz; 04-24-2013 at 10:13 AM.

  2. #2
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    956 Post(s)
    Reputation
    586
    Rep Power
    10
    Open a debug console and paste bugs here, also copy the setup if you may.

  3. #3
    Normal User
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Ok this is good, but I want to add to this action which move manas and health potions to mana bp.
    This is my SETUP:
    -- Setup
    -- Backpack Setup:
    mainbp = "Yellow Backpack" -- Main BP.
    potbp = "Beach Backpack" -- Bp to pots.
    lootbp = "Backpack" -- Loot BP
    goldbp = "orange backpack" -- BP to gold.
    maindpbp = "grey backpack" -- Main backpack on DP.
    stackabledpbp = "blue backpack" -- BP to deposit stackable loot on dp.
    lootdpbp = "brocade backpack" -- BP to deposit loot on dp.


    -- Potions Setup:
    mananame = "mana potion" -- Name of mana potion.
    manaprice = 50 -- Price of mana potion to buy.
    manatobuy = 100 -- How many mana potions to buy?
    manatoback = 35 -- How many potions to back reffil?
    healthname = "strong health potion" -- Name of health potion.
    healthprice = 100 -- Price of health potion to buy
    healthtobuy = 40 -- How many potions buy?
    healthtoback = 15 -- How many potions to back reffil?

    -- Hunt:
    captoback = 50 -- How much cap to back reffil?
    Last edited by Nilowz; 04-24-2013 at 10:12 AM.

  4. #4
    Banned
    Join Date
    Apr 2013
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    good job

Posting Permissions

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