Results 1 to 3 of 3

Thread: Royal spears problem

  1. #1
    Normal User
    Join Date
    Jan 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Royal spears problem

    Hello! I have problem with royal spears reffiler:

    while weaponamount < RS_MAX do
    moveitems('Royal Spear', 'Depot Chest', 'weapon', RS2) wait (700,1000)
    end

    where RS_MAX = 50
    RS2 = RS_MAX - weaponamount

    when in dp is one stack with 100 royal spears its good and he take royal's but when there are one stack with 100 rs and second with for example 20 it's bugging and bot take one rs till 50 (it takes long time). Why it dont take this 20 spears from second stack and 30 from first?

  2. #2
    Normal User cat_salgado's Avatar
    Join Date
    Oct 2012
    Location
    Mexico
    Posts
    181
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    31
    Rep Power
    5
    I imagine that it is an action waypoint due to you withdraw rs from dp so if it is that you can do this:

    if RS2 = RS_MAX-weaponamount is in setup then delete it and set it in action waypoint like this


    Code:
    local RS2 = RS_MAX-weaponamount
    
    if weaponamount < RS_MAX then
      moveitems('royal spear','Depot Chest','weapon',RS2)
      wait(500,600)
    end

    then add another action waypoint with this

    Code:
    local RS2 = RS_MAX-weaponamount
    
    if weaponamount < RS_MAX then
      gotolabel(wpt.id-1)
    end


    FREE/PAY LASTEST SCRIPTS LAST VERSION LINK
    PURCHASE ULTIMATE DRAGON LORDS ZAO v1.0 15/01/13 Click Here
    FREE CYC THAIS RUN IF PK 100% AFK v1.4 06/01/13 Click Here
    FREE TARANTULAS PH WITH TASKER v2.2 16/01/13 Click Here

  3. #3
    Banned
    Join Date
    Jan 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    local RS2 = RS_MAX-weaponamount

    if weaponamount < RS_MAX then
    gotolabel(wpt.id-1)
    end

Posting Permissions

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