1. ## Master Divination

Master Divination

Current Version: 1.2

What the script does: Trains divination, anywhere!

See the script for Setup Instructions, Credits, and Bug Notes.

Features:
• Customizable break system
• Fast detection of when we're done siphoning or depositing memories (kudos footballjds for some of his methods. check out his div script at https://villavu.com/forum/showthread.php?t=106925)
• Predictive clicking - this script clicks the rift while running towards it most of the time, which resulted in a huge xp/hr boost and is the main reason I'm even bothering publishing this script
• Antiban - I am very satisfied with the AntiBan I put in my scripts, and I think you will be too
• Any div spot - Works with any divination spot. Anyone with basic knowledge of color scripting and sps can set up whatever spot they want to train at
• The release version of this script will only have the level 80 and 85 spots. I'll add the others when I have time or someone requests them.
• If anyone makes maps and sets up colors for any spot that's not already here I'll put it in the script for others to use!
• Enriched wisp prioritization
• Guthix Cache support - will still click the rift when the color changes due to Guthixian Cache D&D
• Familiar support - Supports Light Creature and Nightmare Muspah familiar usage.

Spots Supported:
• [ ]Pale
• [ ]Flickering
• [ ]Bright
• [x]Glowing1
• [x]Sparkling
• [ ]Gleaming
• [ ]Vibrant
• [ ]Lustrous
• [ ]Elder
• [x]Brilliant2
• [x]Luminous
• [x]Incandescent

Note 1: Odd behavior. Babysit til 40.
Note 2: Needs enriched wisp values

Here's a script with more wisp values thanks to Lemon Star. Here are the areas supported:
Spots Supported:
[ ] Pale [x] Lustrous
[ ] Flickering [ ] Elder
[x] Bright [x] Brilliant ^1
[x] Sparkling [x] Luminous
[x] Gleaming [x] Incandescent
[x] Vibrant
Last edited by TomTuff; 04-01-2016 at 06:51 AM. Reason: Uploaded 1.2 - compiling fixes

2. Progs:
Originally Posted by TomTuff
Originally Posted by TomTuff
Just wanted to post a proggy

Originally Posted by TehCrazyBrit

Longest proggy?
Are you going to add musuph supppot? :P

Originally Posted by Popz

works wonderfully(radiant, toExp; toBonusExp -> ~122k/hr). This is 1.0. Thank you for the script.
Originally Posted by TehCrazyBrit

runs pretty smooth
Originally Posted by Dark_Flame

Works pretty good at brilliant wisps, with enriched support, it would be perfect
Originally Posted by TehCrazyBrit

runs pretty smooth
Originally Posted by Dark_Flame

Works pretty good at brilliant wisps, with enriched support, it would be perfect
Originally Posted by TehCrazyBrit

Got another long proggy for you, still going so expect one possibly longer than the last one I posted.
Originally Posted by TehCrazyBrit

Still going!
Also we have successfully crashed incandescent energies to 26gp each >.>
Originally Posted by bapsta
to exp
to energy
Originally Posted by knotted fear
Boutta hit 99, gonna go for 120 24/7 and see how well I can do.

Originally Posted by blastfable9
A proggy at Lustrous wisps =)
Attachment 27293
Originally Posted by Asuna
Attachment 27297

First time here. Just wanted to post my for experience using this bot. Easy to set up. Love the script.
Will leave a few more hours.

99s:
Originally Posted by blazin247
Just got 99 DIVINATION!! THANKS!
Originally Posted by TehCrazyBrit

THanks a bunch man, awesome script :P
Originally Posted by Paradox The Divine
Hit 99, great script. Just siphoning and converting to memories to sell for cash now. Would still appreciate a Chronicle Fragment collecting feature.
Originally Posted by Silentcore
I already said this but thanks for your wonderful script which took me from 96-99 with absolute no problem at all.

and here's one of my last progress that got me to 99.
Originally Posted by J_R
Just wanted to say I got 99 using this script, loving the sexy cape
Originally Posted by Triblouge
Yeah, the ban rate on divination scripts shouldn't be bad, I just got 99 using this starting at level 80. Never once trained div legit, and I don't particularly bot safely (babysit, breaks, and just plain don't bot a lot).
Originally Posted by abdul981
script got me 17m xp -120 div ty L0L
Originally Posted by What
I LOVED THIS SCRIPT! Got me straight to 99! ran for 10 hrs+ at times, no ban, worked amazing, thank you so much!
Originally Posted by Yuskie
Thanks for 99 divination!
Originally Posted by uhit
Got 99 from this baby
Originally Posted by aliensexist
just got 99 div! thanks for help in getting me the rarest skillcape in the game!

on a side note: incandescents are flawless as of 3/23/2015
Originally Posted by 3zx

thanks for this awesome script
Originally Posted by Hayhurst
Ay, thanks lmao used this since 99.

Originally Posted by bapsta
Wow, congrats!! I'm 1.1m away from 99 I want to get the 120 cape too, it'll be a long grind. Here's a proggy from overnight http://i.imgur.com/jEZTH3f.png
Aaand 99 is mine! Attachment 26569 yayyy!!
Originally Posted by Inenting
Thanks! I got 99 div with this script from 80. I have been using it for around 7 to 13 hours a day.
I got 99 about a month ago and still not banned so this scripts is very trustworthy!
Originally Posted by scob
@TomTuff

A week ago, with your bot and from lvl 85 .
Thanks!
Last edited by TomTuff; 04-11-2016 at 05:15 AM.

3. Registered User
Join Date
Oct 2014
Posts
6
Mentioned
0 Post(s)
Quoted
3 Post(s)
Thanks so much for this release! Good job man.
Is there anyway that you can add Incandescent wisps, that'd be even better.
Others (non-scripters) would greatly appreciate it also because we could use your script from 80-99.
Last edited by Whynotskill; 10-30-2014 at 11:49 AM.

4. SRL Junior Member
Join Date
Mar 2014
Posts
74
Mentioned
1 Post(s)
Quoted
41 Post(s)
Gratz on release!!
Does the script get the chronicle fragment and destroy them?

5. SRL Junior Member
Join Date
Dec 2011
Posts
70
Mentioned
5 Post(s)
Quoted
31 Post(s)
Thanks and congrats on release! I'll be sure to try it out and let you know how it goes.

6. Originally Posted by Whynotskill
Thanks so much for this release! Good job man.
Is there anyway that you can add Incandescent wisps, that'd be even better.
Others (non-scripters) would greatly appreciate it also because we could use your script from 80-99.
I'm only 90 div myself. I could try adding the colors and maps but I won't be able to tell if it works for a few days.

Originally Posted by lendaz
Gratz on release!!
Does the script get the chronicle fragment and destroy them?
No, I am 99 Hunter so I wasn't concerned about adding this. I will consider adding it in the future, however it is not a priority.

7. Glad you were able to use some of my old functions/procedures
Maybe after my term paper I'll update my script :P

8. Originally Posted by footballjds
Glad you were able to use some of my old functions/procedures
Maybe after my term paper I'll update my script :P
Why would I reinvent the wheel when some poor sap already did all the work for me?

Anyways, I'm uploading 1.0b right now. I reverted a change that I put in right before uploading it that I didn't really test and have now decided to take out. I also put in support for the level 90 spot.

I'll be adding support for all the other zones over the next 1-2 days.

9. Originally Posted by TomTuff
Why would I reinvent the wheel when some poor sap already did all the work for me?

Anyways, I'm uploading 1.0b right now. I reverted a change that I put in right before uploading it that I didn't really test and have now decided to take out. I also put in support for the level 90 spot.

I'll be adding support for all the other zones over the next 1-2 days.
precisely. Don't reinvent, just re-brand.

10. Originally Posted by footballjds
precisely. Don't reinvent, just re-brand.
Simba Code:
{*** WRITTEN BY TOMTUFF 100% ORIGINAL ***}function energyColorCount: Integer;

11. Awesome, so the script gets enriched wisps? Haven't looked at the script but maybe you could have some sort of 'state' where it becomes more aware whenever ((getCurrentMinute % 20) = 0) for a duration of 3-5 mins?

12. Originally Posted by Sin
Awesome, so the script gets enriched wisps? Haven't looked at the script but maybe you could have some sort of 'state' where it becomes more aware whenever ((getCurrentMinute % 20) = 0) for a duration of 3-5 mins?
It does. It won't stop depositing memories or stop harvesting the current wisp, but if the enriched wisp is there when it wants to click on a wisp it will prioritize the enriched one.

13. Nice release chatBox.getXPBar() was added to srl6 a while back so you should probably use that

14. Originally Posted by The Mayor
Nice release chatBox.getXPBar() was added to srl6 a while back so you should probably use that
Ohh thanks for the heads up, will set that for the next upload.

I intended to get all the spots done today, but i have to leave for class in an hour and each spot takes 20 minutes because I have to wait for the enriched wisp to come. So they'll be up tomorrow I guess.

15. Registered User
Join Date
Oct 2014
Posts
6
Mentioned
0 Post(s)
Quoted
3 Post(s)
Originally Posted by TomTuff
I'm only 90 div myself. I could try adding the colors and maps but I won't be able to tell if it works for a few days.
If you can post just the colors I would do the SPS maps etc by myself.

16. Originally Posted by Whynotskill
If you can post just the colors I would do the SPS maps etc by myself.
I'm not going to upload this as an attachment.
https://gist.github.com/TomTuff/6f23...e186/revisions

17. Registered User
Join Date
Oct 2014
Posts
6
Mentioned
0 Post(s)
Quoted
3 Post(s)
Originally Posted by TomTuff
I'm not going to upload this as an attachment.
https://gist.github.com/TomTuff/6f23...e186/revisions
Ive been using it for around 3 hours now and it is working perfectly fine, thanks.

18. Just a suggestion... since there's been so many divination bans in the past, you guys might want to customize this a little so not everyone is running the exact same thing.

Nice to see a fresh div script. iirc footballjds has been too busy being a daddy this year to do much runescaping.

19. Registered User
Join Date
Oct 2014
Posts
23
Mentioned
0 Post(s)
Quoted
14 Post(s)
Script looks nice, will test it out for Dxp as we speak. Paint looks simple but gets to the point. If you could add a time counter til next level that would be nice. I love the mouse speed, its like a reflection of myself playing but I am not. Will definitely be using this until 99 div, almost at 94. The way it tries to convert memories is so human like, it amazes me. Can't wait for future updates, keep it up. Will post progress later with some decent hours.

20. Registered User
Join Date
Oct 2014
Posts
23
Mentioned
0 Post(s)
Quoted
14 Post(s)
-- TRSChooseOption.select() result = true
[Worked: 1 H, 46 M, 57 S, XP: 197078, XP/HR: 110556]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 5 S, XP: 197078, XP/HR: 110412]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 125 ms
[Worked: 1 H, 47 M, 6 S, XP: 197078, XP/HR: 110406]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 6 S, XP: 197078, XP/HR: 110401]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 110 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 6 S, XP: 197078, XP/HR: 110395]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 94 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 110 ms
[Worked: 1 H, 47 M, 7 S, XP: 197078, XP/HR: 110390]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 125 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 7 S, XP: 197078, XP/HR: 110381]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 110 ms
[Worked: 1 H, 47 M, 7 S, XP: 197078, XP/HR: 110375]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 9 S, XP: 197078, XP/HR: 110351]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 9 S, XP: 197078, XP/HR: 110345]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 110 ms
[Worked: 1 H, 47 M, 10 S, XP: 197078, XP/HR: 110339]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 10 S, XP: 197078, XP/HR: 110333]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 12 S, XP: 197078, XP/HR: 110293]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 94 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
[Worked: 1 H, 47 M, 13 S, XP: 197078, XP/HR: 110287]
-- sps.getPlayerPos(): result = {X = 138, Y = 114}, took 109 ms
failed too many times, trying backup procedures
-- sps.getPlayerPos(): Angle is at 64.3530259055245, Setting angle to 0 degrees
-- TRSChooseOption._select():
---- ERROR: ChooseOption menu never appeared
-- TRSChooseOption.select() result = false
---- TRSMinimap.clickCompass(): Clicked compass
-- sps.getPlayerPos(): result = {X = 134, Y = 134}, took 4571 ms
[Worked: 1 H, 47 M, 18 S, XP: 197078, XP/HR: 110199]
-- sps.getPlayerPos(): result = {X = 134, Y = 134}, took 109 ms
-- isMouseOverText()
---- Current mouse-over text: ""
---- Current mouse-over text: ""
---- Current mouse-over text: ""
-- isMouseOverText(): False
-- isMouseOverText()
---- Current mouse-over text: ""
---- Current mouse-over text: ""
---- Current mouse-over text: ""
-- isMouseOverText(): False
-- isMouseOverText()
---- Current mouse-over text: "Convert memories Energy Rift"
---- Found "Convert memories" in mouse-over string: "Convert memories Energy Rift"
-- isMouseOverText(): True
-- TRSChooseOption._select():
---- Options found: [ConveM memories Energy RiM, ConveM to energy Energy RiM, ConveM to experience Energy RiM, ConveM to enhanced experience Energy RiM, Walk here grosvenor, Examine Energy RiM, Follow grosvenor, Trade with grosvenor, Req Assist grosvenor, Report grosvenor, Cancel]
---- Found option "to experience" in "ConveM to experience Energy RiM"
-- TRSChooseOption.select() result = true
No clue what happened here it got stuck when the wisp was inbetween the two evergreen tress with inv full, had to manually disable smart to go to the rift. Went back to normal so far though.

21. Originally Posted by Whynotskill
Ive been using it for around 3 hours now and it is working perfectly fine, thanks.

Originally Posted by bonsai
Just a suggestion... since there's been so many divination bans in the past, you guys might want to customize this a little so not everyone is running the exact same thing.

Nice to see a fresh div script. iirc footballjds has been too busy being a daddy this year to do much runescaping.
Thanks Bonsai. Have there been lots of div bans in the past? Didn't know

Originally Posted by blazin247
Script looks nice, will test it out for Dxp as we speak. Paint looks simple but gets to the point. If you could add a time counter til next level that would be nice. I love the mouse speed, its like a reflection of myself playing but I am not. Will definitely be using this until 99 div, almost at 94. The way it tries to convert memories is so human like, it amazes me. Can't wait for future updates, keep it up. Will post progress later with some decent hours.
Well I don't track your current XP. I could have it check your total div xp on first login and do the calculation but it's not really worth it. Thanks for the compliments on the script.

Originally Posted by blazin247
No clue what happened here it got stuck when the wisp was inbetween the two evergreen tress with inv full, had to manually disable smart to go to the rift. Went back to normal so far though.
I ran into this exact problem myself. There is 1 exact tile on the island for the level 85 spot where it can see a little corner of the rift but when it mouses to it it can't actually deposit to the rift from there. I'm thinking about the simplest way to fix this. The trouble is that when the walk to rift part gets called, it doesn't move because of how the sps walking functions are made (it's close enough that it doesn't walk it just returns true and does nothing).

Use this version:
https://gist.github.com/TomTuff/97785ee2b535b75c51ba

22. Registered User
Join Date
Oct 2014
Posts
23
Mentioned
0 Post(s)
Quoted
14 Post(s)
Originally Posted by TomTuff

Thanks Bonsai. Have there been lots of div bans in the past? Didn't know

Well I don't track your current XP. I could have it check your total div xp on first login and do the calculation but it's not really worth it. Thanks for the compliments on the script.

I ran into this exact problem myself. There is 1 exact tile on the island for the level 85 spot where it can see a little corner of the rift but when it mouses to it it can't actually deposit to the rift from there. I'm thinking about the simplest way to fix this. The trouble is that when the walk to rift part gets called, it doesn't move because of how the sps walking functions are made (it's close enough that it doesn't walk it just returns true and does nothing).

Use this version:
https://gist.github.com/TomTuff/97785ee2b535b75c51ba
How do I get it to convert to a simba file?

23. Originally Posted by blazin247
How do I get it to convert to a simba file?
Just copy paste everything relevant (Lines 1-967, don't miss any) into simba and save it somewhere.

24. Registered User
Join Date
Oct 2014
Posts
23
Mentioned
0 Post(s)
Quoted
14 Post(s)
Originally Posted by TomTuff
Just copy paste everything relevant (Lines 1-967, don't miss any) into simba and save it somewhere.
Yea i got it, is it fine to name it MasterDivination 1.0c ?

25. Originally Posted by blazin247
Yea i got it, is it fine to name it MasterDivination 1.0c ?
File name doesn't matter