Ross's Butterflies
What it doesCatches butterflies and releases them! Supports nets and barehanded.
How to set it up• Fill out the options at the top (debug, antiban, butterfly type).
• If using net have a butterfly net wielded and a butterfly jar in inventory.
• If using bare hands make sure USE_NET is false.
• Start at Butterfly Hunter Symbol at any of the butterfly hunting grounds.
Known bugs• None
Planned updates• Better XP calculations
How you can helpTest the script!
Version 3.0 Released!v1.0 Base release (8 downloads)[HR][/HR]v1.1 No functionality changes, but rewrote the script using a big ugly record (2 downloads)[HR][/HR]v2.0 Barehanded support! Also added log dropping and other features. (34 downloads)[HR][/HR]v3.0 Motion Detection: Now uses motion detection to catch butterflies. Uses color to filter out things
like chinchompas and kebbits.
Snowy Island: Snowy Island now catches both butterflies, to use this you must have Snowy knight
requirements.
Experience: Barehanded XP is now calculated based on averages. The longer it runs, the more accurate
it is. Double XP still screws up counter though. [HR][/HR]
TylerT
2014-09-29 00:25:14
Gzzz on release! I will be using this.
The Mayor
2014-09-29 00:32:56
Very nicely laid out script ;) You should def look into records to manage all the variables associated with the different butterfly types. Then you can avoid using all of those case statements :)
Trollcrank
2014-09-29 10:10:14
I was considering making one of these for the hand caught butterflies but now maybe I won't :D . The handcaught ones give agility exp and hunter exp with fast respawns, however it requires high levels. I'll probably use this later today
From: The Mayor
Very nicely laid out script ;) You should def look into records to manage all the variables associated with the different butterfly types. Then you can avoid using all of those case statements :)
Update coming later tonight!
From: Trollcrank
I was considering making one of these for the hand caught butterflies but now maybe I won't :D . The handcaught ones give agility exp and hunter exp with fast respawns, however it requires high levels. I'll probably use this later today
Sweet! Yeah barehanded will be coming soon. Let me know if you get some better colors when testing!
Trollcrank
2014-09-29 18:00:08
From: Ross
Sweet! Yeah barehanded will be coming soon. Let me know if you get some better colors when testing!
So the ruby harvest color didn't work for me at all. It didn't detect them period and so I tried to get the colors but it ended up detecting the rocks as white too. I'll keep trying for a few minutes and edit this if I get a better color match.
E: The colors are better but it detects the spikes on the kebits too. Perhaps get more colors and then add a filter to exclude the kebbit spikes. It also detects the bunny rabbits white tail :/ . Maybe just complain to jagex to fix the freaking color of the RUBY butterfly to red instead of white lol.
RH_COLOUR = 10405060;
RH_TOL = 10;
RH_HUE = 0.37;
RH_SAT = 1.46;
From: Trollcrank
So the ruby harvest color didn't work for me at all. It didn't detect them period and so I tried to get the colors but it ended up detecting the rocks as white too. I'll keep trying for a few minutes and edit this if I get a better color match.
E: The colors are better but it detects the spikes on the kebits too. Perhaps get more colors and then add a filter to exclude the kebbit spikes. It also detects the bunny rabbits white tail :/ . Maybe just complain to jagex to fix the freaking color of the RUBY butterfly to red instead of white lol.
RH_COLOUR = 10405060;
RH_TOL = 10;
RH_HUE = 0.37;
RH_SAT = 1.46;
Hmm.. odd it's still working for me. I'll keep updating.
nero_dante
2014-09-29 19:39:10
Not sure if you made because of my request, but thanks for making this :) Can't wait for barehanded catching :)
From: nero_dante
Not sure if you made because of my request, but thanks for making this :) Can't wait for barehanded catching :)
Nope! But I'm glad it worked out!
Barehanded almost complete
Need an account with at least 80 Hunter to test on. PM me with acc info if you can help!
I'll give thanks in OP :p Thanks in advance!
e: don't download current version, there is a bug if you don't have the maps.
e2: No longer need any accounts.
BAREHANDED SUPPORT RELEASED
Check OP for details. Also make sure to delete any maps you may have downloaded from previous versions.
Gruntzer
2014-10-02 21:13:20
thanks for the release , my hunter skill needs some leveling :P
The Mayor
2014-10-03 20:12:40
Gonna give this a whirl. My expectations are very high :)
From: The Mayor
Gonna give this a whirl. My expectations are very high :)
Oh God….
The Mayor
2014-10-03 23:15:12
==============Ross's Butterflies=============
Catching: Ruby Harvest
Butterflies Caught: 622
Hunter XP: 14928
Hunter XP/hr: 5752
Time running: 02h 35m 43s
==============================================
Not bad at all :) Level 15 -> 32 stopped manually
RlagkRud
2014-10-05 00:43:21
I recommend adding a failsafe terminate script. I've had multiple instances where (while doing ruby harvest) I find my character stuck in a random corner of the fairy world thing. It still detects colors, causing the mouse to move, and I don't log out. This could be a ban hazard.
I'm guessing it sometimes clicks on the fairy ring and gets stuck.
I just added a counter to terminate if theres 20+ failed butterfly finds.
Otherwise, great script! nce I get a 6+ hour proggy I'll post it
From: RlagkRud
I recommend adding a failsafe terminate script. I've had multiple instances where (while doing ruby harvest) I find my character stuck in a random corner of the fairy world thing. It still detects colors, causing the mouse to move, and I don't log out. This could be a ban hazard.
I'm guessing it sometimes clicks on the fairy ring and gets stuck.
I just added a counter to terminate if theres 20+ failed butterfly finds.
Otherwise, great script! nce I get a 6+ hour proggy I'll post it
Great idea! I'm actually moving away from color and into motion detection with the next update, as well as adding power-levelling on snowy island. I think people will be very pleased :)
Ashaman88
2014-10-06 16:21:33
Nice man! Also if you want some help on the butterfly's (especially the snowy ones - those are a pain), take a look through my old script
https://villavu.com/forum/showthread.php?t=96725It was pretty stable before the rs3 srl6 switch up.
From: Ashaman88
Nice man! Also if you want some help on the butterfly's (especially the snowy ones - those are a pain), take a look through my old script https://villavu.com/forum/showthread.php?t=96725
It was pretty stable before the rs3 srl6 switch up.
Hi, I was actually going to look at it for plagiarism purposes but the paste was down. :p Looks like it's back up, so will do! Thanks :)
The one thing that's difficult for me right now is the wait function (using you getXPBar function for that), and tracking the xp split between agility and hunter.
e: I forgot you script in Japanese and I can't read it :p Although it looks like your wait function when catching a butterfly involves the pixel shift of the player.
lendaz
2014-10-06 22:57:36
Butterflies Caught: 429
Hunter XP: 214500
Hunter XP/hr: 77646
Agility XP: 42900
Agility XP/hr: 15529
Time running: 02h 45m 45s
Great script , but sometimes it enter in another floor while catching snowy butterflyes and stay there doing nothing forever.
From: lendaz
Butterflies Caught: 429
Hunter XP: 214500
Hunter XP/hr: 77646
Agility XP: 42900
Agility XP/hr: 15529
Time running: 02h 45m 45s
Great script , but sometimes it enter in another floor while catching snowy butterflyes and stay there doing nothing forever.
Thank you for the proggy, are you talking about the island to the north?
lendaz
2014-10-07 01:54:01
From: Ross
Thank you for the proggy, are you talking about the island to the north?
yes
lendaz
2014-10-07 21:22:57
==============Ross's Butterflies=============
Catching: Snowy Knight
Butterflies Caught: 883
Hunter XP: 441500
Hunter XP/hr: 83056
Agility XP: 88300
Agility XP/hr: 16611
Time running: 05h 18m 56s
The xp/h could be better if the script have a fail safe to leave the island… But is one of the best scripts that i saw here. Thank you
RlagkRud
2014-10-09 02:19:14
hit 99 hunter with this. went from 93-99. Thanks!
From: RlagkRud
hit 99 hunter with this. went from 93-99. Thanks!
That's awesome! Congrats!!
lendaz
2014-10-14 05:47:08
Made my account with 1b xp banned today , 200m mage and divination … Got stuck in barehand black warlock …
From: lendaz
Made my account with 1b xp banned today , 200m mage and divination … Got stuck in barehand black warlock …
That's awful man, I'm really really sorry to hear that. Where did it get stuck? I don't want this to happen to anyone else.
I have a suspicion that the ban wasn't from warlocks though, it was probably from the Snowy progress report you posted on the last page. I posted on the OP when I published it not to use the Snowy version because it was very bot-like.
Again though, I'm really sorry to hear that and want to make sure I fix the script!
lendaz
2014-10-14 09:50:58
From: Ross
That's awful man, I'm really really sorry to hear that. Where did it get stuck? I don't want this to happen to anyone else.
I have a suspicion that the ban wasn't from warlocks though, it was probably from the Snowy progress report you posted on the last page. I posted on the OP when I published it not to use the Snowy version because it was very bot-like.
Again though, I'm really sorry to hear that and want to make sure I fix the script!
I know that was a risk , i could had stop with a 200m divination xp haha , but its the life .The script only recognize when butterflies are in the screen.I woke up and saw the script click all the time in the ooglo village but was a barrier.5 hours doing this and after the update i got banned.
From: lendaz
I know that was a risk , i could had stop with a 200m divination xp haha , but its the life .The script only recognize when butterflies are in the screen.I woke up and saw the script click all the time in the ooglo village but was a barrier.5 hours doing this and after the update i got banned.
I will be adding a failsafe on the next release (very soon).
Thank you for the report and once again I'm really really sorry!
nero_dante
2014-10-16 03:33:40
ruby harvest don't seem to be working properly. Never seems to find any butterflies, even though they're all around. Not sure why
EDIT…. Figured out why, i just changed the colour… like u said in the main post lol. I use this colour one which is working really well '11061187'
nero_dante
2014-10-16 03:55:13
By the way, few ideas….. firstly, perhaps if you could make the bot right click before catching a butterfly that way you can but in a secondary measure to see that your actually clicking a butterfly and not the fairy rings for example. Also, perhaps have the bot look for more than only 1 color, cause they seem to change colour a lot when flying around, when their wings are in differnt places etc. Another idea, is for the bot to right clock on another butterfly while it attempts to catch a butterfly so it can easily get to another one without it always having to run back to the starting position. Lastly, perhaps if when searching for butteflies it moves the camera around so it can look around for more butterflies before returning to the starting position. Cause i feel like returning to the same spot all the time is very bot like. But it does catch the butterflies well and it seems like this bot can go far and I will help out using it until I'm 99 agility and I'm only 82 at the moment. :P
edit. Another idea is when running back to starting position, if it see's a butterfly while running back it will go to catch it instead of continuing to run back until it gets back to starting position.
From: nero_dante
By the way, few ideas….. firstly, perhaps if you could make the bot right click before catching a butterfly that way you can but in a secondary measure to see that your actually clicking a butterfly and not the fairy rings for example. Also, perhaps have the bot look for more than only 1 color, cause they seem to change colour a lot when flying around, when their wings are in differnt places etc. Another idea, is for the bot to right clock on another butterfly while it attempts to catch a butterfly so it can easily get to another one without it always having to run back to the starting position. Lastly, perhaps if when searching for butteflies it moves the camera around so it can look around for more butterflies before returning to the starting position. Cause i feel like returning to the same spot all the time is very bot like. But it does catch the butterflies well and it seems like this bot can go far and I will help out using it until I'm 99 agility and I'm only 82 at the moment. :P
edit. Another idea is when running back to starting position, if it see's a butterfly while running back it will go to catch it instead of continuing to run back until it gets back to starting position.
Hi,
First, thank you for the detailed post.
I will be updating the script this weekend (Saturday if I'm not too hungover) to use motion detection instead of colors, so most of those issues will be solved.
Second, I wouldn't use the script right this moment due to it not having a failsafe if it gets stuck!
Third, I've been discussing the finding butterfly while waiting and it's an excellent idea. I honestly like yours the best out of all ideas given right now.
The walking back thing won't be able to be implemented due to it using blindwalk, however the camera rotation definitely will be. Thanks again!
nero_dante
2014-10-17 01:18:37
Awesome,can't wait to try it out once it's updated :)
v3.0 released!
Now uses motion detection to catch the butterflies. No more dealing with color! Other changes detailed in OP.
nero_dante
2014-10-18 14:05:53
From: Ross
v3.0 released!
Now uses motion detection to catch the butterflies. No more dealing with color! Other changes detailed in OP.
Will check that out right now. I'll post back in like an hour
nero_dante
2014-10-18 14:41:37
I think you might need to make the bot right click butterflies before catching them. It's just constantly missing all the butterflies when trying to click on them.
Also, stops catching them after like 1 or 2 catches for some reason. Not sure why.
Yeah it catches only 1 butterfly now and then just stays still. I tried restarting client.. still does it, and I re installed client and no change… Tried a different bot and other bots work.
From: nero_dante
I think you might need to make the bot right click butterflies before catching them. It's just constantly missing all the butterflies when trying to click on them.
Also, stops catching them after like 1 or 2 catches for some reason. Not sure why.
Yeah it catches only 1 butterfly now and then just stays still. I tried restarting client.. still does it, and I re installed client and no change… Tried a different bot and other bots work.
That's odd, where are you catching them? I ran it for 15 minutes at all locations earlier. Are you sure you set it up right at the top? The names are different now.
nero_dante
2014-10-18 15:54:29
Doing at ruby harvests. Nah, i set up properly. Cause it catches the first butterfly properly. but messes up after that one.
That makes me think that it tries to run back but it can't find its location on the map. All you put for butterfly_type was "ruby", right?
Enable debug and let me know what it says.
nero_dante
2014-10-18 16:36:13
yeah only ruby, and okay I'll put debug on now and check
nero_dante
2014-10-18 16:45:48
SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (18-10-14 at 09.40.55 PM).txt
– sps.init()
—- Path exists (C:\Simba\Includes\SPS\img\runescape_other\WOODLAND.png)
—- Setup area "WOODLAND" in 31ms
– sps.init()
– setupSRL()
—- Setting up SRL…
—- initSmart():
—— Attempting to pair to a previously spawned client
—— smartPairToExistingClient():
——– Found 1 free client(s), attempting to pair to one…
———- smartSetAsTarget(): Succesfully set SMART[37636] as Simba's target
——– Succesfully paired to a existing client, SMART[37636]
—— smartPairToExistingClient(): result = true
—— Succesfully initialized via pairing to a previously spawned client
—- initSmart()
—— smartSetupDrawing(): Succesfully setup SMART drawing
—- Waiting up to 5 minutes for RS to load…
—— TRSActionBar.__findButton(): Found the actionbar button @ {X = 566, Y = 396}
—— TRSActionBar.__find(): result = true (height = 75)
—— Dynamic interfaces have been set.
—- Client is ready.
—- Setup SRL in 0 Seconds
– setupSRL(): True
– isMouseOverText()
—- Current mouse-over text: "Catch Ruby harvest"
—- Found "arvest" in mouse-over string: "Catch Ruby harvest"
– isMouseOverText(): True
Catching a butterfly.
That's all it says, nothing after catching butterfly
I tried both v2 and v3 and found that v2 was working pretty well at snowy knights/sapphire glacials when v3 was both slower than v2 and buggier since it got stuck at near the path to the upper island. V2 works excellently though, not too concerned with the "bot-likeness" atm since I haven't seen a single soul other than myself at the spot since I had 85 hunter lol.
cbrems
2014-11-06 13:24:09
Is there anyway I can get ahold of v2.0?
Doesn't release butterflies from jar. (Snowy)
Overall very slow.
warlock wont work at all for me.
SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (06-11-14 at 05.28.42 PM).txt
– sps.init()
—- Path exists (C:\Simba\Includes\SPS\img\runescape_other\JUNGLE.png)
—- Setup area "JUNGLE" in 31ms
– sps.init()
Error: Access violation at line 283
Execution failed.
The following DTMs were not freed: [0, 1]
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image, 2]
File[C:\Simba\Includes\SRL-6/logs/SRL log (06-11-14 at 05.28.42 PM).txt] has not been freed in the script, freeing it now.
EDIT: same error when trying other spots. I am using net and jar
tried restarting simba / dl new script.
masterBB
2014-11-14 11:11:02
Moved to outdated on request