Page 1 of 2 12 LastLast
Results 1 to 25 of 43

Thread: [AL] HyperStunAlch

  1. #1
    Join Date
    Feb 2013
    Posts
    342
    Mentioned
    8 Post(s)
    Quoted
    110 Post(s)

    Default [AL] HyperStunAlch

    Hi!

    First script for 07 - seems to work alright.
    Decided I did not want to use reflection, so settled for AeroLib.

    I have no chance to use it fully at the minute but I ran for a little while.

    It stated it would do around 1100 curses per hour, and should be around the same alch's meaning a good 2200 spells per hour and if stunning will be 170k ish per hour.

    Item to be alched needs to be in the spot where the high alch spell is.

    Features
    • Aerolib - no reflection
    • Minimal antiban
    • Confuse/Weaken/Curse/Vulnerability/Stun
    • Alch as well as other spells
    • Easily change NPC with ACA colour picker
    • Specify amount of spells to do (both normal and alch)


    To do
    • Create failsafes
    • Implement a better antiban


    Code:
    Updates
    V1 - Initial release
    V1.1 - Progress report is now printed on screen
    V1.2 - Progress report now reflects alching, can now specify amount of spells to complete, added another  spell and renamed procedure
    Attached Files Attached Files
    Last edited by GetHyper; 01-30-2016 at 09:37 AM.

  2. #2
    Join Date
    Dec 2015
    Location
    where do you live!
    Posts
    30
    Mentioned
    2 Post(s)
    Quoted
    13 Post(s)

    Default

    You may want to note that the item needing to be high-alched has to be in a specific area within the inventory.

    I'll start testing later tonight, grats on the release!


    (A procedure that detects the number of runes left depending on alching or else and logs the player if none are detected could prove to be a useful antiban.)

  3. #3
    Join Date
    Feb 2013
    Posts
    342
    Mentioned
    8 Post(s)
    Quoted
    110 Post(s)

    Default

    Quote Originally Posted by Keelijh View Post
    You may want to note that the item needing to be high-alched has to be in a specific area within the inventory.

    I'll start testing later tonight, grats on the release!


    (A procedure that detects the number of runes left depending on alching or else and logs the player if none are detected could prove to be a useful antiban.)
    I was meant to write that, thank you!

    Yeah, I have noted there are no fail-safes.

    I will get a progress report up later.
    Last edited by GetHyper; 01-25-2016 at 08:45 AM.

  4. #4
    Join Date
    Jan 2016
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Does it solves Randoms?

  5. #5
    Join Date
    Dec 2007
    Posts
    289
    Mentioned
    4 Post(s)
    Quoted
    86 Post(s)

    Default

    Great job on your first script - all colour no less

    I'm not sure what improvements you plan on making, but if you need a few ideas:

    • sensible naming for procedures (ie. replace uno() with castHighAlchemy() or similar)
    • add uptext checking in findObject()
    • similar to adding in sensible naming for procedures, make sure it's clear exactly what each procedure/function is doing. findObject() for example actually clicks on the object. You may prefer to have findObject() return a boolean (based on if uptext found? ) and then perform an appropriate action as a result. Alternatively perhaps you want an interactObject() procedure instead, which will find and interact with the specified object.
    • personally not a fan of the hard coded coordinates for the spells using in the loading() procedure. You'll get away with this just fine if the failsafes you intend to implement handle potential error scenarios


    Well done

  6. #6
    Join Date
    Feb 2013
    Posts
    342
    Mentioned
    8 Post(s)
    Quoted
    110 Post(s)

    Default

    Quote Originally Posted by honeyhoney View Post
    Great job on your first script - all colour no less

    I'm not sure what improvements you plan on making, but if you need a few ideas:

    • sensible naming for procedures (ie. replace uno() with castHighAlchemy() or similar)
    • add uptext checking in findObject()
    • similar to adding in sensible naming for procedures, make sure it's clear exactly what each procedure/function is doing. findObject() for example actually clicks on the object. You may prefer to have findObject() return a boolean (based on if uptext found? ) and then perform an appropriate action as a result. Alternatively perhaps you want an interactObject() procedure instead, which will find and interact with the specified object.
    • personally not a fan of the hard coded coordinates for the spells using in the loading() procedure. You'll get away with this just fine if the failsafes you intend to implement handle potential error scenarios


    Well done
    Thanks, nice and constructive!

    - I normally do name my procedures properly, I was just bored.
    - I'm also not a fan of hard coded co-ords but it will do until I use DTM's (I have used before, I was just being lazy with this)

    It's just a stepping stone for me trying to script in 07 tbh.

  7. #7
    Join Date
    Jan 2016
    Posts
    36
    Mentioned
    1 Post(s)
    Quoted
    18 Post(s)

    Default

    nice. cant wait to test this out later today.

  8. #8
    Join Date
    Sep 2015
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Hey, I'm testing this right now, it's working pretty great so far! One (very) minor fix, though, you never increment the variable keeping track of high alch casts - so the XP/h reported by the proggy is significantly lower.

  9. #9
    Join Date
    Feb 2013
    Posts
    342
    Mentioned
    8 Post(s)
    Quoted
    110 Post(s)

    Default

    Quote Originally Posted by grimAuxilatrix View Post
    Hey, I'm testing this right now, it's working pretty great so far! One (very) minor fix, though, you never increment the variable keeping track of high alch casts - so the XP/h reported by the proggy is significantly lower.
    Now that's something I did forget! Sorry.
    Hoping to update this weekend.

  10. #10
    Join Date
    Jan 2016
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    nice man, can you tell me how to add, "vulnerability" or could you add it?

  11. #11
    Join Date
    Feb 2013
    Posts
    342
    Mentioned
    8 Post(s)
    Quoted
    110 Post(s)

    Default

    Quote Originally Posted by Old_Timer View Post
    nice man, can you tell me how to add, "vulnerability" or could you add it?
    I'll pop it in later for you .

    Edit: updated script.
    Last edited by GetHyper; 01-30-2016 at 09:33 AM.

  12. #12
    Join Date
    Jan 2016
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    'vulnerability':
    begin
    x := 594 + randomRange(-5, 5);
    y := 399 + randomRange(-5, 5);
    spellXP := 76;
    Got it thanks

    I remember when i was working on a script I doenloaded a tool to get the color tol, hue and sat. Is that necessary or can i just use the npc color that i get with the dropper?
    Last edited by Old_Timer; 02-01-2016 at 04:46 PM.

  13. #13
    Join Date
    Jan 2016
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    it seems like it skips spells a lot (clicks but doesn't cast) and may move to fast in some occasions for the game to register the clicks (nothing happens, or it repeats the last spell). Also, looks like it runs a pattern on the fails and re-do's of the spell.

    Perhaps it is just the character I am choosing might be too small? Did you run into any issues while testing it?
    Last edited by Old_Timer; 02-01-2016 at 06:39 PM.

  14. #14
    Join Date
    Feb 2013
    Posts
    342
    Mentioned
    8 Post(s)
    Quoted
    110 Post(s)

    Default

    Quote Originally Posted by Old_Timer View Post
    Got it thanks

    I remember when i was working on a script I doenloaded a tool to get the color tol, hue and sat. Is that necessary or can i just use the npc color that i get with the dropper?
    I don't honestly know, what I do know is that it will work a lot better with ACA tool getting tol etc.

  15. #15
    Join Date
    Jan 2016
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thread here: https://villavu.com/forum/showthread.php?t=26944 at least it works for choosing the best color in osrs,idk what else i used it once 2 years ago for a rs3 script.
    Last edited by Old_Timer; 02-01-2016 at 06:40 PM.

  16. #16
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    Really nice script mate.

    It is very easy to reach (which I love because I'm learning haha).

    Would you mind if I borrow a few lines for a regular stunner bot I want to make?

  17. #17
    Join Date
    Feb 2013
    Posts
    342
    Mentioned
    8 Post(s)
    Quoted
    110 Post(s)

    Default

    Quote Originally Posted by Dan the man View Post
    Really nice script mate.

    It is very easy to reach (which I love because I'm learning haha).

    Would you mind if I borrow a few lines for a regular stunner bot I want to make?
    Be my guest, I need to update it really but haven't had IRL time to read through other people's scripts to get a better understanding of 07/AL.

  18. #18
    Join Date
    Feb 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    GetHyper,

    The timing was wrong in this as it was alching and stunning and going straight back to alching, repeat cycle etc. This would mean it would skip stunning and just alch but still 'Draw' that it was getting 220k xp per hour.

    I changed the line 134 to

    wait(randomRange(2000, 150));
    This I think, is the correct timing and quotes about 163-165k xp/hour which is typical xp for this activity.

    Thanks for the script!

  19. #19
    Join Date
    Nov 2011
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    The basic curse function seems to work great, thanks for the script!

    Wish it worked without SMART though.

  20. #20
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    496
    Mentioned
    5 Post(s)
    Quoted
    220 Post(s)

    Default

    Quote Originally Posted by her0nz View Post
    the basic curse function seems to work great, thanks for the script!

    Wish it worked without smart though.
    Simba Code:
    //{$define smart}

  21. #21
    Join Date
    Aug 2014
    Location
    UK
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Mind if I modify the script to make it support the lower level variants of stun?

    Thanks

  22. #22
    Join Date
    Jan 2016
    Posts
    77
    Mentioned
    0 Post(s)
    Quoted
    44 Post(s)

    Default

    Pretty underrated script considering how great and cheap the xp is.

    Would love to see an updated version which deals with the smaller bugs (like misclicks), breaks, and antiban.

    Good job with the original though! Can confirm still works to this day.

  23. #23
    Join Date
    Jan 2013
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    What npc would you recommend using this against, trying vs rats but keeps misclicking them

  24. #24
    Join Date
    Feb 2013
    Posts
    342
    Mentioned
    8 Post(s)
    Quoted
    110 Post(s)

    Default

    Quote Originally Posted by the henhead View Post
    What npc would you recommend using this against, trying vs rats but keeps misclicking them
    I used it on the skeleton in varrock sewer, zoom in.
    Last edited by GetHyper; 02-01-2017 at 04:23 PM. Reason: Whoops

  25. #25
    Join Date
    Jan 2017
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Im getting 94 mage, how is banrate with this compared to only alch script?

Page 1 of 2 12 LastLast

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
  •