Results 1 to 2 of 2

Thread: character stucks when using action

  1. #1
    Normal User Kartofel's Avatar
    Join Date
    Jun 2012
    Posts
    397
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5

    character stucks when using action

    while itemcount("prismatic bolt", MainBpName) > 0 do
    wait(1000)
    moveitems("Prismatic Bolt", "Orange Backpack", 100)
    wait(1000)
    end


    After that action bot stucks. I reseted script, skiped to the next waypoints, nothing.. it is really annoying.

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Ah-hem..
    Move items "Prismatic bolt" from Orange Backpack to 100?

    Thats why it gets stuck. its Moveitems(item, from, to, ammount)

    PHP Code:
    local MainBpName "Backpack of Holding"
    local AmmoName "Prismatic Bolt"
    local SupplyBpName "Orange Backpack"

    while itemcount(AmmoNameMainBpName) > do
    moveitems(AmmoNameMainBpNameSupplyBpName100)
    end 
    Just make sure the variables are defined in your setup and you can use this supply mover for anything. I use it for mana pots.

Posting Permissions

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