Results 1 to 10 of 10

Thread: @jesus im getting mad help me please

  1. #1
    Normal User
    Join Date
    Dec 2012
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4

    @jesus im getting mad help me please

    if cap < 1000 setsettings("Settings\\CaveBot", "off")
    wait(2000)
    dropitems('gold coin')
    wait(200,2000)
    setsettings("Settings\\CaveBot", "on")
    wait(2000)

    whats wrong.. tell me what is wrong

  2. #2
    iBot User
    Join Date
    May 2012
    Location
    Spain
    Posts
    213
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    15 Post(s)
    Reputation
    32
    Rep Power
    5
    you forgot to add then and end

    PHP Code:
    if cap 1000 
    then
       setcavebot
    ('off')
    wait(2000)
    dropitems('gold coin')
    wait(200,2000)
       
    setcavebot('on')
    wait(2000)
    end 
    Regards, NWA

  3. #3
    Normal User
    Join Date
    Dec 2012
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4
    thank you he is droping the gold now but doesnt stop :O i did the cap thing to 130 but hes throwing away all my gold coins

  4. #4
    Normal User Y4rR0's Avatar
    Join Date
    May 2012
    Location
    Warsaw, Poland
    Posts
    596
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    87
    Rep Power
    6
    Why pickup and rops if you can turn off looting? ;p
    I think this would be way better, because you wont waste time frist to pickup, then to drop.

    if (cap <= 1000) then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination", "off")
    elseif (cap >= 1050) then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination", GoldBP)
    end

  5. #5
    Normal User Hawkeye's Avatar
    Join Date
    May 2012
    Posts
    508
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    43
    Rep Power
    6
    Quote Originally Posted by Y4rR0 View Post
    Why pickup and rops if you can turn off looting? ;p
    I think this would be way better, because you wont waste time frist to pickup, then to drop.

    if (cap <= 1000) then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination", "off")
    elseif (cap >= 1050) then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination", GoldBP)
    end
    I think it's a better idea but he might take all of this gold later.
    The true warrior doesn't fight because he hates people infront of him,
    he fight because he is loyal to those behind him.

  6. #6
    Normal User
    Join Date
    Dec 2012
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4
    yep i want to pickup the gold later from the ground :/

  7. #7
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5

    if cap < 1000
    then
    setcavebot('off')
    wait(2000)
    while cap < 1000 do
    dropitems('gold coin')
    wait(200,2000)
    end
    setcavebot('on')
    wait(2000)
    end





    if (cap <= 1000) then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination", "ground")
    elseif (cap >= 1050) then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination", GoldBP)
    end


    The first action may be added as WPT "Action" in a secret SQM (for example).

    I'm not sure does the first will work
    Last edited by zami84; 03-13-2013 at 09:45 AM.

  8. #8
    Normal User Y4rR0's Avatar
    Join Date
    May 2012
    Location
    Warsaw, Poland
    Posts
    596
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    87
    Rep Power
    6
    Quote Originally Posted by Hawkeye View Post
    I think it's a better idea but he might take all of this gold later.
    Ah yea, didnt think about it. Then Zami's actions with while loop should work.

  9. #9
    iBot User
    Join Date
    May 2012
    Location
    Spain
    Posts
    213
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    15 Post(s)
    Reputation
    32
    Rep Power
    5
    lol what the.. now lua works haaha, you did not said for what you wanted the script, test it


    local capacitytodrop = 500
    local requiredcapacity = 1000

    if target.id == 0 and maround() == 0 and cap < capacitytodrop
    then
    while cap < capacitytodrop and itemcount("gold coin") > 1
    do
    setcavebot('off')
    wait(1000)
    while itemcount("gold coin") > 1 and cap < requiredcapacity
    do
    dropitems('gold coin')
    wait(200,2000)
    end
    setcavebot('on')
    wait(1000)
    end
    end


    Regards, NWA
    Last edited by NWA; 03-13-2013 at 12:55 PM. Reason: truth about itemcount gold coin, nice zami
    Regards, NWA

  10. #10
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    while cap < capacitytodrop and itemcount("gold coin") > 1


    Without that bot can stuck. I think

Posting Permissions

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