Page 1 of 9 123 ... LastLast
Results 1 to 25 of 207

Thread: First Script - [07] Ranged Guild Minigame

  1. #1
    Join Date
    May 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default First Script - [07] Ranged Guild Minigame

    Hey

    This is a script for the Ranged Guild minigame. 40 Range req, and 200gp x number of games you want to play. I recommend wearing a coif in case you stand on top of the judge.

    SRL-OSR is required! Find it here: https://github.com/SRL/SRL-OSR
    Download the ZIP and extract the contents into Simba/Includes/SRL-OSR/

    If you want the progress report to work properly in 1.1 you will need to open Simba\Includes\SRL-OSR\SRL\core\amounts.simba and change line 215 from

    S := GetTextAtExWrap(b.x1, b.y1, b.x2, b.y2, 0, 1, 1, Col[i], 0, StatChars);

    to

    S := GetTextAtExWrap(b.x1, b.y1, b.x2, b.y2, 0, 1, 1, Col[i], 0, StatChars07);

    Otherwise it does not read the 0s when counting items.



    Changelog
    Code:
    0.1 - Initial release
    
    1.0 - Fail-safes, fixing bugs, making it smoother
    
    1.1 - It should not get stuck on the scoreboard, I swear! Also progress report, see above. Some other little stuff
    
    1.11 - More Antirandoms, moar random clicks.
    
    1.2 - Added the corner spamclick firing method, it's a bit temperamental at the moment so I'm not sure if I would recommend it. Although even if it runs off fairly regularly it seems to get about the same xp/h that the normal firing method does. It is quite a lot faster if it keeps working for long periods of time, but it is more likely to run off. I'll keep trying to make it better though.
    Antirandoms should now work all the time (although obviously only the ones included in OSR-SRL). 
    
    1.3 - More random spamclicking. Don't know if its worth it. Runs from combat now, however it also runs if someone below you is in  combat (because I just used the SRL incombat and changed the health bar coordinates). More accurate clicking of the target. More reliable antirandom. Probs other stuff.
    Few more things will be coming soon, like smoother and less bot-like camera movement to get the target into corner. Could add a straightforward spamclicker but like I have said, it does not work for me probably because I'm on terrible wireless.
    Attached Files Attached Files
    Last edited by Sape; 05-01-2013 at 06:36 PM.

  2. #2
    Join Date
    Feb 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I cant bypass protection...

  3. #3
    Join Date
    Feb 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Error] C:\Simba\Scripts\rangeguild.simba(78:4): Unknown identifier 'rsReady' at line 77
    Compiling failed.

  4. #4
    Join Date
    May 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Hi, I'm not entirely sure what has gone wrong for you, I didn't actually put any antileech things in, when I get home I will check I didn't break it before uploading or something. Are other 07 scripts working alright for you?

    Edit - Ok so I'm back, it looks like rsReady is part of the EoC login, although I'm not sure, having never scripted for EoC. Make sure you have set up Simba and SMART8 for Oldschool Runescape. There's a decent guide for it somewhere in the Help section I think.
    Last edited by Sape; 03-07-2013 at 05:20 PM.

  5. #5
    Join Date
    Mar 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hi Sape, thanks for posting your script.

    It partially worked for me, but during the Fire procedure it doesn't seem to be able to locate the targets. The count is still printed and loops but the cursor doesn't move during that time.

    I'm still new to this so I can't offer any advice, but I thought I'd let you know what works for me.

  6. #6
    Join Date
    May 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Cool thanks. It seems the TargetDTM needs updating every now and then, especially when you first use it. I'm going to try and see if I can make it create the DTM itself so you won't have to bother with it, and add some more failsafes etc. over the next couple of days. Will update it when its done.

    - Ok I just changed the TargetDTM (and competition judge colour) and put my brightness up to 4, it seems to work for me having logged in and out a few times, if you wanna try it now that would be cool.
    Last edited by Sape; 03-07-2013 at 08:19 PM.

  7. #7
    Join Date
    Feb 2013
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    What sort of xp is this

    I did a 10 min sample works out at 23k/hr and smoother than any other bot i've seen so far. Nice script
    Last edited by jaypwns; 03-08-2013 at 06:41 PM.

  8. #8
    Join Date
    Oct 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    the problem with this is u lose too much money.

  9. #9
    Join Date
    Feb 2013
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by blitzandkill View Post
    the problem with this is u lose too much money.
    20kgp per hour is nothing, plus you can buy green d'hide bodys or rune arrows with the tickets

    this is 5k loss max per hour

  10. #10
    Join Date
    May 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Thanks for testing, yeah I've been trading for rune arrows and then selling the arrows for 200gp ea. As long as you're average points per game is over 400 you break even. I think it's influenced by you're range attack bonus (and maybe level)

    (400 points = 40 tickets, 2000 tickets for 50 rune arrows so you need to play 50 games, totally 10k spent, then sell 50 rune arrows for 200 each, which gives 10k)

    My average is probably 450ish, so I make some money.
    Last edited by Sape; 03-08-2013 at 10:00 PM.

  11. #11
    Join Date
    Mar 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    why doesnt it work for me every time i press start it says compailing fail

  12. #12
    Join Date
    May 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Can you copy and paste the entire error message? That isn't a lot to go on. It compiles for me fine. Have you set up simba and SMART for OSRS?

  13. #13
    Join Date
    Mar 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Im using your bot as i type this and i notice that sometimes it will talk to the judge 2 or 3 times before it will actually start the game. ive also noticed that it will sometimes get stuck after the game has ended and it will start clicking around in the chat box. other than that the script runs pretty good!

  14. #14
    Join Date
    Nov 2011
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    After using this for near 3 hours, got a couple of bits of feedback for you:

    - You should remove ambiguous right-click search terms; I.E "talk to", because there are multiple NPC's that look like the compo. judge with a talk-to option, so the bot sometimes tries clicking random NPC's
    -There needs to be a failsafe for closing the box that pops up, it'll sometimes sit there for a while until I manually close it, though spam clicking the targets would also solve this

    More to come.

    Good script so far.

  15. #15
    Join Date
    May 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Yea thanks, I did actually remove the talk-to, I just haven't updated it yet because that's pretty much the only change. I will be adding more failsafes soon, just had a bit of uni work recently so I haven't been able to look at it properly. Thanks a lot for the feedback

  16. #16
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
    What does this error mean? I'm very new at this. Thanks. :b
    EDIT: I got it all to work, great script!
    Last edited by 938; 03-17-2013 at 06:11 PM. Reason: Fix

  17. #17
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just Tested it for about 15 minutes seems to work smoothly so far!
    Edit: After a while on the last arrow fired it doesnt close the window and just moves the mouse around as if it were talking to the judge
    Last edited by xAJS; 03-17-2013 at 08:25 PM.

  18. #18
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Error] C:\Simba\Includes\SRL/SRL.Simba(751:13): Unknown identifier 'GetColorToleranceSpeed' at line 750
    Compiling failed.

    Got a solution for me?

  19. #19
    Join Date
    May 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    xAJS - Yep I'll add more failsafes in a couple of days.

    tomaatje - I'm not sure, Have you got SRL/P07 etc installed correctly?

  20. #20
    Join Date
    Mar 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thank you! so far good script send the proggy in later

  21. #21
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I also have the common bug, after a few loops through, it doesn't close the scoreboard window after the last arrow is fired and it just moves the mouse around as if it were talking to the judge, without actually progressing to this stage yet. It gets stuck here and just cycles through. To me, someone with a very limited knowledge, it seems like you need to wait longer after firing at the target to then close the scoreboard pop up, then proceed as normal to talking to the judge.

  22. #22
    Join Date
    Dec 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Damn has been working flawless so far, been babysitting while doing my hw and its been doing great.

  23. #23
    Join Date
    Mar 2013
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    is this for eoc or 07scape?

  24. #24
    Join Date
    May 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    07scape. I'm making a better one currently though, hopefully it will be done later tonight.

  25. #25
    Join Date
    Mar 2013
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    best script i've ever used so far. good job sape!!!

Page 1 of 9 123 ... 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
  •