Results 1 to 12 of 12

Thread: how can you make a very fast pouch emptying procedure?

  1. #1
    Join Date
    Feb 2013
    Posts
    104
    Mentioned
    1 Post(s)
    Quoted
    32 Post(s)

    Default how can you make a very fast pouch emptying procedure?

    I have been working on a runecrafting script and I can't figure out how to make an accurate pouch emptying procedure, I just can't manage to make it as fast as I'd like. Can someone help me out?

    Right now to empty the pouches I have it clicking the pouch, then the altar, waiting until I gain xp or 1 second. And then it waits a certain amount of time for each pouch before clicking on the next pouch. I have the times set as low as I could get them without clicking on the pouches too early otherwise it won't empty the ess and it will skip the pouch.

  2. #2
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Two ways I can think of:
    -Reduce time it waits before clicking on another pouch
    -Compare experience you have every Xms and if it matches the previous value then move on to the next pouch. (Since that means you haven't gained any EXP in that time)

  3. #3
    Join Date
    Feb 2013
    Posts
    104
    Mentioned
    1 Post(s)
    Quoted
    32 Post(s)

    Default

    Quote Originally Posted by Runehack123 View Post
    Two ways I can think of:
    -Reduce time it waits before clicking on another pouch
    -Compare experience you have every Xms and if it matches the previous value then move on to the next pouch. (Since that means you haven't gained any EXP in that time)
    ya i've got the wait times pretty much dialed in i'm making 7600 astrals per hour at 15 minutes of run time but i was just wondering if there was anything i could do to make it faster besides decreasing wait because it would not craft them

  4. #4
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Quote Originally Posted by blockay View Post
    ya i've got the wait times pretty much dialed in i'm making 7600 astrals per hour at 15 minutes of run time but i was just wondering if there was anything i could do to make it faster besides decreasing wait because it would not craft them
    I already told you my second way and you can also compare InvCount to see when it stopped decreasing if rune essence is disappearing in your inventory. Otherwise just use the second way I told you. Sin made a function called WaitInvCountDec I found in Ashaman's firemaker and used in the one I made.

  5. #5
    Join Date
    Feb 2013
    Posts
    104
    Mentioned
    1 Post(s)
    Quoted
    32 Post(s)

    Default

    Quote Originally Posted by Runehack123 View Post
    I already told you my second way and you can also compare InvCount to see when it stopped decreasing if rune essence is disappearing in your inventory. Otherwise just use the second way I told you. Sin made a function called WaitInvCountDec I found in Ashaman's firemaker and used in the one I made.
    "waiting until I gain xp or 1 second"
    I already have it set to wait until i gain xp. and if u wait for ess to appear in inv that is way slower i've already tried that

  6. #6
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Quote Originally Posted by blockay View Post
    "waiting until I gain xp or 1 second"
    I already have it set to wait until i gain xp. and if u wait for ess to appear in inv that is way slower i've already tried that
    Not to appear, but to disappear. By the way, I don't quite know how this Runescape thing works with what you're saying so please explain. What changes in your inventory, what is in your inventory etc..
    You can check if your InvCount is at X every couple of milliseconds I don't see how you're finding it slow.
    While InvCount > X Do >>>
    For to Do >>>
    Repeat until InvCount X>>

    What's happening when you are doing this please explain in more detail.

  7. #7
    Join Date
    Feb 2013
    Posts
    104
    Mentioned
    1 Post(s)
    Quoted
    32 Post(s)

    Default

    Quote Originally Posted by Runehack123 View Post
    Not to appear, but to disappear. By the way, I don't quite know how this Runescape thing works with what you're saying so please explain. What changes in your inventory, what is in your inventory etc..
    You can check if your InvCount is at X every couple of milliseconds I don't see how you're finding it slow.
    While InvCount > X Do >>>
    For to Do >>>
    Repeat until InvCount X>>

    What's happening when you are doing this please explain in more detail.
    oh i hadn't even thought of waiting for ess to disappear..that may work i'll see what i can do.
    when u runecraft u do some animation when u craft the runes so u have to wait, then you have to empty your pouch, not too soon otherwise it will not register because you are crafting runes. and not too late cuz i want fast xp. and after you empty your pouches u have to click on the altar again.

  8. #8
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Quote Originally Posted by blockay View Post
    oh i hadn't even thought of waiting for ess to disappear..that may work i'll see what i can do.
    when u runecraft u do some animation when u craft the runes so u have to wait, then you have to empty your pouch, not too soon otherwise it will not register because you are crafting runes. and not too late cuz i want fast xp. and after you empty your pouches u have to click on the altar again.
    Okay thanks. Just wait for your InvCount to be equal to however many items pouches you have in your inventory that are not rune essence. I wouldn't do WaitInvCountDec either since you're almost guaranteed that all the rune essence will disappear in one go and if it doesn't you can always add some sort of failsafe timer.

  9. #9
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    Quote Originally Posted by blockay View Post
    oh i hadn't even thought of waiting for ess to disappear..that may work i'll see what i can do.
    when u runecraft u do some animation when u craft the runes so u have to wait, then you have to empty your pouch, not too soon otherwise it will not register because you are crafting runes. and not too late cuz i want fast xp. and after you empty your pouches u have to click on the altar again.
    I mean I understand wanting fast exp but at the most you would only lose like 2 seconds. Not that much time, but either way Runehack gave some good suggestions.
    Finished B.S. Program in Radiology!!

    Projects: A big one! Total secret! hehe

  10. #10
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Just thought of another thing - make it hover over the next pouch you want to click on for even faster XP instead of leaving it sitting around after you click the altar. I'm sure you can squeeze in an extra few ms like that! And the most delay you'll get will be less than 300ms or even less. Just depends on how you go about checking if your inventory is at a certain point.

  11. #11
    Join Date
    Feb 2013
    Posts
    104
    Mentioned
    1 Post(s)
    Quoted
    32 Post(s)

    Default

    Quote Originally Posted by Element17 View Post
    I mean I understand wanting fast exp but at the most you would only lose like 2 seconds. Not that much time, but either way Runehack gave some good suggestions.
    ya but when ur doing laps in under a minute, 2 seconds will add up!

    Quote Originally Posted by Runehack123 View Post
    Just thought of another thing - make it hover over the next pouch you want to click on for even faster XP instead of leaving it sitting around after you click the altar. I'm sure you can squeeze in an extra few ms like that! And the most delay you'll get will be less than 300ms or even less. Just depends on how you go about checking if your inventory is at a certain point.
    ya i was doing that now hahah that will definitely help i'll let u know how fast i get it going :P right now im averaging 7868 astrals/hour at 36 minutes

    just found out about repair rune pouch spell gonna try and use that too, should help astrals/hr

  12. #12
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Quote Originally Posted by blockay View Post
    ya but when ur doing laps in under a minute, 2 seconds will add up!


    ya i was doing that now hahah that will definitely help i'll let u know how fast i get it going :P right now im averaging 7868 astrals/hour at 36 minutes

    just found out about repair rune pouch spell gonna try and use that too, should help astrals/hr
    Faster, better, stronger! Best of luck!
    Maybe some anti-ban to blend in better? e.g. just if you level up check your XP or some sort of mini-break every 50 minutes or so. Some little out-of-the-blue mouse movements here and there ..that's how I would do it at least. You need to make it situational since any normal player would just go for the most runes/h and would just poom pooom poom for the XP/money so anti-ban has to be appropriate I think. This is something you'll really have to put some serious thought into! Maybe no anti-ban at all? Who knows - it's down to you now so best of luck!

Thread Information

Users Browsing this Thread

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

Posting Permissions

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