Results 1 to 21 of 21

Thread: Scripting wait times

  1. #1
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default Scripting wait times

    I was thinking while doing herblore legitly, if I wanted to make a script for it, what would I make the wait times. I would want to do it fast, but not too fast like a bot. I was wondering what a good time would be, then I came up with a solution. So tell me what you guys think first, then when this gets a decent amount of replies with times I'll edit this and tell everyone what I came up with, I think I had a really good idea, hopefully you guys will like it.

    Oh by the way, the wait times I was talking about (because there could be thousands of different places to put them in a script) was when you use your herb with the vial, when the last vial gets the herb in it, how long to wait before you use the secondary ingredient with the unfinished potion (assuming you clicked the secondary ingredient while the herbs and being places in the vials, so once the last vial gets an herb you just click on the vial to start using secondary ingredients with unfinished pots).

    So you can start posting how long the wait should be, if your confused bout what I'm talking bout just tell me I'll try to make it more clear.


    EDIT: ok so what I mean is when the screen looks like this:
    (By the way, with the screen shot you can't tell, but I have my mouse hovering the last vial of water, unless you checked the uptext)

    (you have the vials starting to be mixed, and a secondary herb clicked ready to be used with unfinished pots)





    How long would you wait to make your script click the unfinished pot to make them start being made after the last vial of water has recieved an herb.

    so it starts doing this:






    I want what you think would be the MOST HUMAN-LIKE wait time.

    So far I've gotten:

    Shuttleu:---- 300+random(300)
    Runescapian: 200+random(300)
    Zytex:--------- 200+random(200)
    Coh3n:-------- x+random(1000) (I prefer x to already be defined )



    Well I didn't get quite as many responses as I would've liked but I got impatient and just want to say what I got, I was thinking something like you guys with the wait, and you all are pretty much right. What I decided to do to figure out how long I should make my wait, and this was to see what my personal wait time should be, was I googled reflex time, so I could get a site to test me. I found one here, if anyone wants to test theirs:

    http://www.happyhub.com/network/reflex/

    I wound up getting mostly all in the .300's of a second, which is 300ms, so only twice I think I got in the 290's. So I would do wait(300+random(100)), I just wanted to see how accurate us scripters would be at a human-like wait time, and it seems like we are pretty dead on good job guys. now I know though, my randoms for waiting should only be bout 100ms and wait times for clicking on que should be about 300ms. I think the best way to find out your personal wait time should be to also use that site to test your reflex, it's pretty fun to see what you get.
    Last edited by Baked0420; 06-19-2009 at 08:00 AM.

  2. #2
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Just do a search for the colour to change and then use a Wait(200+Random(200)); or something similar

  3. #3
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    What I do is I mix all of the herbs into vials first, then I mix all of the secondarys into those vials. Easier to bank that way (You only have two sets of items instead of 3)

  4. #4
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    Zytex, I know how to do it, I was just wondering what you guys would put as wait times, and Capricorn, I'm not sure of how your saying to do it, but the way I do it is I take out 9 vials, herbs, and 2nd ingredients. It's faster cuz in two times of opening the bank you've made 18 pots, if you do 14 herbs, and vials, mix em, then open bank again for 2nd ingredient you get 14 pots with two times banking.

    I think I'll post a pic of what I mean to make it more clear of what I'm asking.

  5. #5
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Um, this doesn't really answer you question, but are you saying you do Herblore with all the ingredients in your inventory? If so, let me suggest a better way IMO.

    What I do is treat it as if I was stringing bows. Make all the unfinished potions at once, then add the second ingredients. I could be wrong, but wouldn't that make your script simpler?

    For your waiting time, why don't you just time it. See how long it takes to finish and write it something like this:

    SCAR Code:
    Wait([Time] + Random(1000))

    Or something like that.

    EDIT: @Capricorn - You beat me to it.

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm, just try counting your own times when you're doing it?

    Btw lol @
    Tags
    herblore, speed
    ~Hermen

  7. #7
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    >.> I make small little scripts for myself all the time and never get reported or anything. It's not that important. If you saw my old sig with a 9 line curser, then you'd know what I mean. For an herblore script I made, I used MouseBox for the two spots in bank, CloseBank;, used MouseBox for the two things in inventory, MouseBox to do MakeAll and then repeat Wait(RandomRange(50, 100)); until(InvCount = 14); and I would run it and watch tv or something so if I leveled I could easily just do it again, which is what I think kept me from not being banned

    So the point in that nonsense is, don't worry too much. :]

  8. #8
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by Hermen View Post
    Hmm, just try counting your own times when you're doing it?

    Btw lol @

    Tags
    herblore, speed

    I think I know why you lol'd at that, but I didn't even notice until you said something


    and 99_, I'm not worrying, just wondering what you guys would make the wait time, because I think I found a way to get very good wait times.

  9. #9
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I honestly didn't even use waits. The only time I had a wait was when they were being made, and it was just repeat Wait(RandomRange(50, 100)); until(InvCount = 14);

  10. #10
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    ohh, oh well, I took it the wrong way, but I'm going to leave it there until I edit my first post again. So what do you guys think, how long should a wait be from the time the last unfinished pot gets made till you click on that pot to use it with an ingredient? What would you make it to be MOST HUMAN-LIKE. I want more responses.
    Last edited by Baked0420; 06-19-2009 at 03:41 AM.

  11. #11
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Baked0420 View Post
    Coh3n: x+random(1000) (I prefer x to already be defined )
    Lol I'd define it for you if my main was a member. I don't have a members account so I can't time it myself.

    You should really think about making all Unfinished potions first, then adding the ingredients. You can fill the whole inventory that way, which will speed it up (I know it's not much but it adds up).

    Quote Originally Posted by 99_ View Post
    I honestly didn't even use waits. The only time I had a wait was when they were being made, and it was just repeat Wait(RandomRange(50, 100)); until(InvCount = 14);
    I would think that's a more accurate way of doing it, don't you think?

  12. #12
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    A concentrated human would be rather quick. I'd go with about what Zyt3x said, 200+random(300) maybe.

    EDIT: Wtf O_O

    Tags
    cannabis, cocaine, herblore, poo, speed

  13. #13
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What I'd do is move the mouse to the area first and then wait. That's what I do.

  14. #14
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Lol I'd define it for you if my main was a member. I don't have a members account so I can't time it myself.

    You should really think about making all Unfinished potions first, then adding the ingredients. You can fill the whole inventory that way, which will speed it up (I know it's not much but it adds up).



    I would think that's a more accurate way of doing it, don't you think?
    in my other post, I showed that, that way is not faster, then you withdraw 14 vials and herbs, mix, then withdraw 14 ingredients, which is two times banking and you only store 14 pots, if you do 9 vials, herbs, and ingredients, then store, then do it again, then you've only banked two times and have made 19 pots, 5 more then your way, it adds up

    99_ I move the mouse to the area and wait till the last pot is mixed also, but after it's mixed, I'm asking what would be most human-like wait time.

    Runescapian, I tagged it herblore, and speed, then someone tagged cannabis and cocaine lol, then someone stupid tagged poo .

  15. #15
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    oh, it seems like I did not fully understand your question at first :P

    But still, 200 + Random(200) or Random(300) as Runescapian said would be perfect.

  16. #16
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  17. #17
    Join Date
    Dec 2006
    Location
    Canada, BC
    Posts
    728
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i would say switch it up.. like:
    SCAR Code:
    case Random(8) of
      0..7: wait(100+RandomRange(100, 300));
      8: wait(500+RandomRange(100, 300));
    end;
    Lance. Da. Pants.

  18. #18
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    I think wait(300+random(100)) should be good then for a little antiban maybe make it wait (2500+random(1500)) like the person wasn't paying attention for a sec, or whatever you'd want to make it, but I was just asking what people was thinking what the most human-like time was, before I told them how I found my answer. When paying attention I always got in the 300ms except twice I managed to get in the 200's but I'm pretty sure it was in the 290's so the really high 200's.

    EDIT: You guys should test your reflexes with that link I posted then see how accurately you can guess your reflex time. You can even post it here to compare multiple people's reflex times, so you have a general idea for when your scripting.

  19. #19
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  20. #20
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Use DTM,s make it if it finds the DTM in 1 slot of the inventory (the slot you want it to be in) then it continues. usefull for fletchers too
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  21. #21
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    300 + random(300)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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