SRL Archive - Reflection

A little Jad helper


superuser

2011-04-20 07:14:42

Cheers,

I got really frustrated when Jad owned me too many times so I decided, no more!

I made this little combination script to work with Simba and Scar. It switches the correct prayer based on Jad's attack and never misses it. The script leaves mouse and keyboard to the user, who can focus on killing the healers without needing to worry about prayers.

This script is rather funny bubble-gum fix, but it really works.

Usage

Open su_jad.simba in Simba, run it. Once the Simba script is running, disable smart (it still reads the hooks but leaves mouse input to the user).
Open su_jad.scar in Scar, run it. Make sure the SMART-window is fully visible on the screen. That's it. The script wait's until it finds Jad.

One more thing. Right after wave 62, turn off your current prayer as the script handles the rest of the prayers.

If the player is using saradomin brews along with super restore potions, there's a few helper keyboard commands to those as well. Here are the mappings:

a = Set magic prayer on/off.
s = Drink saradomin brew.
d = Set ranging prayer on/off.
w = Drink super restore potion.

Player shouldn't mind a/d buttons, since the script really works, but they are there just in case.

I haven't been able to die at Jad while using these scripts. So, go on, kill the fucking bastard!

All the best,
SuperUser

Sir R. M8gic1an

2011-04-20 07:25:12

I don't see where it actually changes the prayer?

e: your Simba version is incomplete;

I suspect there's a smart command that activates / deactivates SMART, that could be useful to you to take control over SMART to change prayer and then give control back to the user ;)

~RM

superuser

2011-04-20 07:25:56

From: Sir R. M8gic1an
I don't see where it actually changes the prayer?

~RM


Look the Scar file closer.

Sir R. M8gic1an

2011-04-20 07:27:48

From: superuser
Look the Scar file closer.


Check the edit ;)

~RM

superuser

2011-04-20 07:30:02

From: Sir R. M8gic1an
I don't see where it actually changes the prayer?

e: your Simba version is incomplete;

I suspect there's a smart command that activates / deactivates SMART, that could be useful to you to take control over SMART to change prayer and then give control back to the user ;)

~RM


Very true; a little nuances. If people really wishes this, and are too lazy to press one button, then I shall update the script ;)
Nevertheless, the script itself is not incomplete. You were merely talking about a feature instead.

Sir R. M8gic1an

2011-04-20 07:32:50

From: superuser
Very true; a little nuances. If people really wishes this, and are too lazy to press one button, then I shall update the script ;)


Well, I don't really see how it would work otherwise…….. cus either the script would be taking care of prayers or you would be killing whatever without the script being able to switch players because SMART is disactivated…. or am I just plain wrong?

~RM

superuser

2011-04-20 07:34:37

From: Sir R. M8gic1an
Well, I don't really see how it would work otherwise…….. cus either the script would be taking care of prayers or you would be killing whatever without the script being able to switch players because SMART is disactivated…. or am I just plain wrong?

~RM


You are plain wrong. If you red my op, you would know that once the SMART-client is once enabled and then disabled, it still transfers the hooked-data. The only difference when SMART is disabled, is that you cannot use programmable mouse functions then, which is a good thing here.

Richard

2011-04-20 08:39:14

If I'm not mistaken, one script is saving data to the .ini, as it gets information from the client. Whilst the SCAR one reads from it, and uses the old school method of hijacking the mouse? Sounds like a very good idea, might use this instead of paying someone.

Echo_

2011-04-20 08:45:05

This is an interesting script, I have to try it. Now we're one step closer to making script that just runs the entire cave for you ;)

superuser

2011-04-20 08:47:51

From: Richard
If I'm not mistaken, one script is saving data to the .ini, as it gets information from the client. Whilst the SCAR one reads from it, and uses the old school method of hijacking the mouse? Sounds like a very good idea, might use this instead of paying someone.


You are correct, Sir!

Rich

2011-04-20 09:17:42

From: Echo_
This is an interesting script, I have to try it. Now we're one step closer to making script that just runs the entire cave for you ;)
Harry made one using only colour, and HarryJames made one using colour and Reflection.

Sir R. M8gic1an

2011-04-20 14:13:30

From: superuser
You are plain wrong. If you red my op, you would know that once the SMART-client is once enabled and then disabled, it still transfers the hooked-data. The only difference when SMART is disabled, is that you cannot use programmable mouse functions then, which is a good thing here.


I didn't realize you were hijacking the mouse the old way ;)

Rep+

~RM

Narcle

2011-04-20 14:30:28

I like the concept much. I've always wanted a helper type bot for RS. Like while your playing it auto eats for you etc. without to much interference.

smurg

2011-04-20 14:32:19

From: Rich
Harry made one using only colour, and HarryJames made one using colour and Reflection.


He means actually completing it. I thought both of theirs just fought and ran back in for tokkul and xp, not trying to get furtherst into the cave and kill Jad.

Rich

2011-04-20 15:00:07

Harry's was ages ago, so I can't really remember. You're probably right.

@OP: Good ingenuity.

Richard

2011-04-22 06:31:03

Okay, I've decided to definitely use this when I get home tonight, but I just have a couple of questions (not really about the script, but about Jad, and you seem to have knowledge, so…).

What is the best gear to attack him with (inventory as well)?
What do you do with those healers guys when they appear (also where I've slipped up before)?

Markus

2011-04-22 06:44:21

Use Rune cross w/ broad-tipped bolts. Kharil's or diamond (e) if you want to waste cash
Inventory: take 20-24 super rests and fill up with sara brews (might take purple sweets if 1-def).
It's a bit dependent on your skills, but I'd use this for 70 range, 70 def, 52 prayer:
From: Markus
Get 52, rune crossbow, 1k nice bolts (how about those slayer bolts, broad bolts hit nice too. Else just get dimmy (e) but those are expensive) and ava's accumulator.
Armour: black dhide body, gloves can be good rfd ones or just anything else that's good (black spiky vambs). I'd love Amulet of Fury but have no idea how to get hold of those nowadays. Else get something with a prayer bonus (holy symbol) or if nothing else, glory.
Verac's helm is good for the prayer bonus. Neitiznot can also do. I'm not up-to-date on the latest armour but prayer bonus are welcome.
Verac's plateskirt/other good platelegs which don't lower range are nice. Rune platelegs worst case scenario.
Shield spot: really, anything nice will do. I used a dfs once but those are expensive and unnecessary. A complete prayer book is good, or if you got some good shield which doesn't lower range too much, yes please.
Ring can be really anything, from archer's to recoil (recoil is fun as usually it'll still be intact when I leave the caves, as I won't lose too much hp).
Inventory: depending on prayer/range bonus between 20-24 super restores (4), fill the rest with saradomin brew (4).
Edit: Ok this is not really structured, lets steal some stuff from the big guys @ sythe:
Head: Verac's Helm/Neitiznot/Archer Helm/Anything else
Cape: Accumulator
Amulet: Amulet of Fury/Holy Symbol/Glory
Ammunition: 1K Diamond (e) Bolts/Broad/Addy
Weapon: Rune Crossbow
Body: Black D'Hide Body/Armadyl Body
Shield/Book: Any God Book/Obby Shield/Granite Shield/Spirit Shield
Legs/Bottom: Verac's Skirt/Armadyl Platelegs
Gloves: Best RFD Gloves (Barrows)/Black D'hide Vambs/Bracelet
Boots: Ranger Boots/Snakeskin Boots/Dragon Boots
Ring:Archer's Ring/Explorer Ring


Also, just don't die at Jad. It's not that hard ;)

superuser

2011-04-22 10:28:31

From: Richard
Okay, I've decided to definitely use this when I get home tonight, but I just have a couple of questions (not really about the script, but about Jad, and you seem to have knowledge, so…).

What is the best gear to attack him with (inventory as well)?
What do you do with those healers guys when they appear (also where I've slipped up before)?


I used as good range gear as possible along with guthans. When Jad appears, run the script and shoot him until he is at half life-points. Now, when the healers arrive, shoot each once, go as far from Jad as possible (remember, you don't need to see him since the script switches prayers correctly). Switch to guthans, kill the healers, switch back to ranging gear and kill Jad.

What comes to the inventory, take guthans (as I mentioned already) and few saradomin brews and rest should be super restores. Perhaps a couple of ranging potions won't hurt.

Piece of cake :)

1337w33d

2011-04-22 14:43:56

Brilliant idea, I was waiting for something like this to come out! +rep

edfromhumanresources

2011-04-22 15:07:57

I don't understand the simba script; you write to the ini file to switch the prayer?

I made a test script that alternated between the two and it was writing to the ini file but not having any effect on in game prayers, I don't want to spend 2 hours getting to jad for the script to bork, please explain.

Edit: lol don't worry, i got it, youre using 2 scripts side by side as if they were threads

Markus

2011-04-22 16:17:57

From: superuser
kill the healers


Na don't do that, I had way too many respawns and those really stress you. Just trap them behind yourself, a rock or Jad or whatever.

edfromhumanresources

2011-04-22 17:35:31

This works like a charm ;)

superuser

2011-04-22 18:03:34

From: edfromhumanresources
I don't understand the simba script; you write to the ini file to switch the prayer?

I made a test script that alternated between the two and it was writing to the ini file but not having any effect on in game prayers, I don't want to spend 2 hours getting to jad for the script to bork, please explain.

Edit: lol don't worry, i got it, youre using 2 scripts side by side as if they were threads


Oh man, people, you need to start reading original posts. The usage is there perfectly mentioned. Just take a few minutes and read how it works.

1337w33d

2011-04-23 19:03:16

When I run su_jad.simba it writes in the debug box that Jad is dead, instead of waiting. su_jad.scar waits though, is this correct? Just a bit confused, followed instructions in the original post. Ran the simba script first, then the scar script.

Rich

2011-04-23 19:07:19

From: 1337w33d
When I run su_jad.simba it writes in the debug box that Jad is dead, instead of waiting. su_jad.scar waits though, is this correct? Just a bit confused, followed instructions in the original post. Ran the simba script first, then the scar script.
Are you already at Jad, or just starting the caves?

1337w33d

2011-04-23 19:45:57

From: Rich
Are you already at Jad, or just starting the caves?


On wave 47… do I need to press play on su_jad.simba when Jad is about to come out?

Edit: Got to Jad, it selected range prayer instead of magic prayer and my friend died. I probably did something wrong but I don't know what :\ If someone could make a video (or something) on the correct way to set the scripts up (I always tend to read something wrong) I would be eternally grateful.

superuser

2011-04-23 21:36:42

From: 1337w33d
On wave 47… do I need to press play on su_jad.simba when Jad is about to come out?

Edit: Got to Jad, it selected range prayer instead of magic prayer and my friend died. I probably did something wrong but I don't know what :\ If someone could make a video (or something) on the correct way to set the scripts up (I always tend to read something wrong) I would be eternally grateful.


Oops, my apologies, there was a stupid bug in su_jad.simba. It works now, so download it again. Remember, turn off prayer after wave 62.

1337w33d

2011-04-25 11:39:23

From: superuser
Oops, my apologies, there was a stupid bug in su_jad.simba. It works now, so download it again. Remember, turn off prayer after wave 62.


No worries, wasn't me who got to Jad! :P Next time my buddy is over with his laptop we'll give this a go once again!

edfromhumanresources

2011-04-26 22:42:19

From: 1337w33d
When I run su_jad.simba it writes in the debug box that Jad is dead, instead of waiting. su_jad.scar waits though, is this correct? Just a bit confused, followed instructions in the original post. Ran the simba script first, then the scar script.


Yea I modified the script so that i could start everything running before the final wave, rather than having to start it after jad spawns. If you want to do this just wrap the repeatuntil block inside the jad finding if function.

Brandon

2011-04-27 14:30:03

ILU!!!!!!!!!!!! LOL I lost my firecape soloing corp beat 3 times.. 3 firecapes I lost.. now? I HAVE MY FIRECAPE BACK!! LOL I didnt have to do shit.. I clicked nothing.. The only thing I had to click was the healers.. and run around till only one is hitting me.. then attack jad and the script did the rest!!

I started the script on wave 1.. and then what i did was I used the "d" button to prot range on the 90's then I used the a button to protect mage the whole time on the 360's… I manually drank brews and restores.. though sometimes I accidentally pressed s and w and it drank lol..

After that I got to jad.. he spawned in the worst spot of course because my account is always bad luck like that.. the script just switch automatically I tripped out cuz I wasnt sure wth happened to my mouse since i was trying to click jad lol.. And bam! healers.. killed 1 of them.. lined up 3 of them.. one was hitting me.. click jad and just went and watch tv till it said I had the cape LOL! I have 90+ prayer so yeah I did watch tv..

P.S. Killed jad with 1 brew left and 12 sup restores.. meh you can see the invent urself..

stats:
99 range
99 mage
98 hp
99 herblore
90 prayer

Gear: Arma top (borrowed cuz im cheap like that), black d hide legs, zammy book, neitz helm, glory, ava alerter, ring of dueling (LOL)..

Finally!! A script for a high level guy like myself! REP!! ++

Pics:
[ATTACH]11075[/ATTACH]
[ATTACH]11076[/ATTACH]

1337w33d

2011-04-27 16:10:05

Friend is attempting again - will get back to you when he has his firecape!

footballjds

2011-04-27 16:12:26

From: 1337w33d
Friend is attempting again - will get back to you when he has his firecape!


1337w33d, tell me how it works, i'm interested in getting a fire cape on my account. :p

his defence was 1, and i tried 5 times and died at wave 53(when the 90's can't be prayed against because of the 360's, and the 180's are hUGE fuckers and get in the way of running around…)
I got my defence up, lol, no way i'll get a firecape without the old safe spots that got removed :(

superuser

2011-04-27 18:00:53

From: ggzz
ILU!!!!!!!!!!!! LOL I lost my firecape soloing corp beat 3 times.. 3 firecapes I lost.. now? I HAVE MY FIRECAPE BACK!! LOL I didnt have to do shit.. I clicked nothing.. The only thing I had to click was the healers.. and run around till only one is hitting me.. then attack jad and the script did the rest!!

I started the script on wave 1.. and then what i did was I used the "d" button to prot range on the 90's then I used the a button to protect mage the whole time on the 360's… I manually drank brews and restores.. though sometimes I accidentally pressed s and w and it drank lol..

After that I got to jad.. he spawned in the worst spot of course because my account is always bad luck like that.. the script just switch automatically I tripped out cuz I wasnt sure wth happened to my mouse since i was trying to click jad lol.. And bam! healers.. killed 1 of them.. lined up 3 of them.. one was hitting me.. click jad and just went and watch tv till it said I had the cape LOL! I have 90+ prayer so yeah I did watch tv..

P.S. Killed jad with 1 brew left and 12 sup restores.. meh you can see the invent urself..

stats:
99 range
99 mage
98 hp
99 herblore
90 prayer

Gear: Arma top (borrowed cuz im cheap like that), black d hide legs, zammy book, neitz helm, glory, ava alerter, ring of dueling (LOL)..

Finally!! A script for a high level guy like myself! REP!! ++

Pics:
[ATTACH]11075[/ATTACH]
[ATTACH]11076[/ATTACH]


Good to hear this was helpful for you :) Too bad the initial .simba file had a bug. Nevertheless, it works now.

Brandon

2011-04-27 18:09:06

From: footballjds
1337w33d, tell me how it works, i'm interested in getting a fire cape on my account. :p

his defence was 1, and i tried 5 times and died at wave 53(when the 90's can't be prayed against because of the 360's, and the 180's are hUGE fuckers and get in the way of running around…)
I got my defence up, lol, no way i'll get a firecape without the old safe spots that got removed :(


Yeah you can get it with one def.. But its hella expensive.. purple sweets is what u'd be using and Iunno if u can get excalibur enchanted at lvl 1 but if u can.. then get it! There aren't any safespots really except by italy rock to trap jad and south west corner is where u hide for the rest.. but you can run around the 360, and range the 90 that way the 180 & 90 will get trapped and wont hit u.. then kill the 360, safespot the 180..

1337w33d

2011-04-27 18:09:59

My friend is at Jad again and it's not doing any of the prayers? I downloaded the new .simba too… no prayers on and at italy rock, run at jad and nothing happens when he casts - su_jad.scar always says "waiting for SMART client…" in debug if that's normal.

superuser

2011-04-27 18:13:13

From: 1337w33d
My friend is at Jad again and it's not doing any of the prayers? I downloaded the new .simba too… no prayers on and at italy rock, run at jad and nothing happens when he casts - su_jad.scar always says "waiting for SMART client…" in debug if that's normal.


Hmm, obviously, you are doing something wrong. Make sure you run SMART client in lowest graphical mode with fixed width. Like always, when you're SMARTing…

1337w33d

2011-04-27 18:20:27

From: superuser
Hmm, obviously, you are doing something wrong. Make sure you run SMART client in lowest graphical mode with fixed width. Like always, when you're SMARTing…


That's what I'm doing man.

http://img815.imageshack.us/img815/9617/110427151809.png

Wow, tried it again and the mouse went all haywire and I couldn't even save myself by running back. What the heck.

superuser

2011-04-27 18:25:14

From: 1337w33d
That's what I'm doing man.

http://img815.imageshack.us/img815/9617/110427151809.png

Wow, tried it again and the mouse went all haywire and I couldn't even save myself by running back. What the heck.


Update your SCAR to >= 3.25 and try again. If it still doesn't work, turn on the Aero theme. Perks of SCAR…

EDIT:

Once the SCAR finds SMART window, do not move it since it needs to be in fixed point after that. Otherwise the script will click in wrong places.

Before you try again, try it with some other monster to ensure it works.

1337w33d

2011-04-27 18:28:20

From: superuser
Update your SCAR to 3.25 and try again. If it still doesn't work, turn on the Aero theme. Perks of SCAR…

EDIT:

Once the SCAR finds SMART window, do not move it since it needs to be in fixed point after that. Otherwise the script will click in wrong places.

Before you try again, try it with some other monster to ensure it works.


Alright, where would the 3.25 version be located? I tried google, freddy1990 and all I found was 3.22. I haven't used scar in years, so excuse my ignorance. to it

superuser

2011-04-27 18:30:04

From: 1337w33d
Alright, where would the 3.25 version be located? I tried google, freddy1990 and all I found was 3.22. I haven't used scar in years, so excuse my ignorance. to it


Here:

Scar 3.25 Beta

1337w33d

2011-04-27 19:20:54

Okay thank you. We're going to try it again now.

Edit: Strange, the beta download option didn't show up at first. Downloaded and installing now.

Brandon

2011-04-27 19:38:50

From: 1337w33d
Okay thank you. We're going to try it again now.

Edit: Strange, the beta download option didn't show up at first. Downloaded and installing now.



Start both scripts before you get to jad… like at wave one.. then on the the 90's press the d button and see..

I noticed when your multitasking while fighting, it does nothing.. example: I was doing prayer on 360's then i opened firefox.. went to a site.. went back to the smart window and tried turning off prayer.. it didnt work.. I had to manually switch prayer then the window was found and it switched it for me.. this is because smart has to get focus.. and keep focus..

1337w33d

2011-04-27 21:40:17

Well this time we did exactly as you say, and it still didn't work. Started it in the cave, said it found smart and was anchored, didn't touch anything except for the SMART window, nothing happened. :\

I don't know what it is, just bad luck I guess.

Pressed D multiple times before Jad, all that happened was it typed D into the RS chatbox like nothing was happening.

superuser

2011-04-29 01:27:57

From: 1337w33d
Well this time we did exactly as you say, and it still didn't work. Started it in the cave, said it found smart and was anchored, didn't touch anything except for the SMART window, nothing happened. :\

I don't know what it is, just bad luck I guess.

Pressed D multiple times before Jad, all that happened was it typed D into the RS chatbox like nothing was happening.


I'm sorry man this didn't work for you. Cannot think anything else, why it doesn't work :(

Brandon

2011-04-29 01:37:48

U had to press D first then press the prayer tab.. and it will do the rest.. If that didnt work then I have no clue :S

superuser

2011-05-07 16:08:23

One other thing. I hope you're not using curses, as this only works with standard pray book :)

William

2011-05-08 11:51:58

im going to try this today i hope it works it'll make my life alot easier ^^

- Damn this didn't work i got all the way to jad for nothing :/ i had a good spawn too lol, all it did was move my mouse toward the prayer symbol and click on it even though i had prayer tab already open.. i got 1 hit ftl…