SRL Archive - RS3 Magic

The Poor Man's Humidifier


Adieux

2014-08-10 21:18:13

[OUTDATED]A Bit Poor's Humidifier!





Currently out-dated if enough people want it to be updated I will, but for now It's too much of a pain

Features
-Uses humidify spell
-Has Anti-Ban
-Terminates when out of supplies



What it does
-Grabs item from preset
-Performs humidify/or skill in action bar 1
-Performs anti-ban randomly
-Deposits
-Repeats until out of supplies



Requirements:
1. Level 68 Magic
2. Lunar Spell Book







Rewards:
Magic Exp, Roughly 50,000 Exp an hour


For the GP's, Makes roughly 1 mil - 1.5 mil an hour









Set Up
1. Make sure you follow this awesome guide to setup your graphic settings.

2.Set up your preset correctly like this
Have a Steam battleStaff like in the picture
You dont need to use clay, you can use anything that can be humidified, like vials, watering cans, etc…

3.Have Humidify spell in the first slot of the active action bar… Like so

4.Start off in any SRL supported bank (change bank in script) Important: Only tested at Edgeville but it should be fine anywhere that the include allows.

5.Start with bank closed, and pin already entered (no pin support lol)






Progress Reports:
[spoiler=Proggies]Profit from same progress report:
Bought
Sold

[/spoiler]









[LEFT]Well, that's about all that you need to do really. Please let me know if you experience any bugs or anything wrong with the script.
Also, Im super open to criticisms and any sort of help. Any progress report is always welcome! (will be adding a better progress reporter later). Thanks to all the awesome guides here at SRL and everyone that helped me when I posted on the forums!
[/LEFT]

KeepBotting

2014-08-10 21:33:50

Gratz on the release!

Adieux

2014-08-10 21:46:00

From: KeepBotting
Gratz on the release!


Thanks!

And super huge thanks to you for helping me!

The Spark

2014-08-10 22:15:01

gratz on release, script looks pretty good :)

Might be a good idea to add some fail safes though, because a player might lag, and it won't know that something went wrong because it just keeps repeating without checking anything.

Adieux

2014-08-10 22:21:44

From: sparkyownage
gratz on release, script looks pretty good :)

Might be a good idea to add some fail safes though, because a player might lag, and it won't know that something went wrong because it just keeps repeating without checking anything.


Thanks!

There are some failsafes, like if the bank doesnt open then it'll terminate the script. If you have less than 28 items in inventory it'll also terminate.
Need some more ideas on more fail safes though.

The Spark

2014-08-10 22:26:53

From: A Bit Poor
Thanks!

There are some failsafes, like if the bank doesnt open then it'll terminate the script. If you have less than 28 items in inventory it'll also terminate.
Need some more ideas on more fail safes though.


Hm, you can make it check if xp is actually added.

You could look for the white colour from when it says +65 xp.

For example:


Look for the white text where it says +35. so you know that when it gets xp, the spell successfully was cast.

Also, if the bank doesn't open, maybe the script could wait like 10 seconds instead of terminating, because in 10 seconds, the lag will have worn off, and it can continue, so after the 10 seconds, it would look to see if the bank interface was open, and if it wasn't, it would try to open it again, and then it would terminate the script. So it checks twice, and then terminates, making it able to be used for longer periods of time

Adieux

2014-08-10 22:30:34

From: sparkyownage
Hm, you can make it check if xp is actually added.

You could look for the white colour from when it says +65 xp.

For example:


Look for the white text where it says +35. so you know that when it gets xp, the spell successfully was cast.

Also, if the bank doesn't open, maybe the script could wait like 10 seconds instead of terminating, because in 10 seconds, the lag will have worn off, and it can continue, so after the 10 seconds, it would look to see if the bank interface was open, and if it wasn't, it would try again, and then it would terminate the script. So it checks twice, and then terminates, making it able to be used for longer periods of time


Ah, thanks ill try to get this in there!

The Spark

2014-08-10 22:38:06

From: A Bit Poor
Ah, thanks ill try to get this in there!


Ok, I just thought of one more failsafe :)

It could look for a change in pixels in the backpack, because when you humidify clay it turns into soft clay, i.e different items are now in the backpack, so the pixels have changed.

You can use a function from the include files for this:


function TabBackPack.waitSlotPixelChange(slot, waitTime: integer): boolean;

It would need to look for this like right after it casts the humidify spell, and since it's a function, it'll result true or false depending on if it successfully casted the spell, and if it results true, then the script can continue to banking, but if it results false, then the script should wait 10 seconds, to see if it was lag, and then look for the colours of soft clay and regular clay in the inventory to see which one is there after 10 seconds have passed. Then it should bank or recast the spell depending on what colours it finds.

Add it if you want to, if you feel you have sufficient failsafes already than you don't need to add any of the ones that I suggested :)

Adieux

2014-08-10 22:59:20

From: sparkyownage
Ok, I just thought of one more failsafe :)

It could look for a change in pixels in the backpack, because when you humidify clay it turns into soft clay, i.e different items are now in the backpack, so the pixels have changed.

You can use a function from the include files for this:


function TabBackPack.waitSlotPixelChange(slot, waitTime: integer): boolean;

It would need to look for this like right after it casts the humidify spell, and since it's a function, it'll result true or false depending on if it successfully casted the spell, and if it results true, then the script can continue to banking, but if it results false, then the script should wait 10 seconds, to see if it was lag, and then look for the colours of soft clay and regular clay in the inventory to see which one is there after 10 seconds have passed. Then it should bank or recast the spell depending on what colours it finds.

Add it if you want to, if you feel you have sufficient failsafes already than you don't need to add any of the ones that I suggested :)


No, you can never have too many failsafes haha! Thank you very much for the suggestions! Ill get these done as soon as im done with these 100k essence I need to turn into astrals haha

Jake

2014-08-11 01:13:41

Well done.

The good times when this method made around 2-4m/hour a few years ago.

toxjq

2014-08-11 02:29:18

really nice script. good job

Adieux

2014-08-11 13:30:20

From: Jake
Well done.

The good times when this method made around 2-4m/hour a few years ago.


From: toxjq
really nice script. good job


Thank you guys! but, yeah sadly it doesnt make as much as it used to anymore :/

b12hitman

2014-08-23 12:56:41

From: A Bit Poor
Thank you guys! but, yeah sadly it doesnt make as much as it used to anymore :/


Hey i wanted some easy magic exp and some gp when ever i start the script it gives me "Successfully executed." i have simba set up properly

vvarfare

2014-08-31 03:34:08

Casting Humidify
Exception in Script: Runtime error: "Access violation" at line 184, column 28 in file "C:\Simba\Includes\SRL-6\lib\utilities\types\tbox.simba"
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (31-08-14 at 02.32.55 AM).txt] has not been freed in the script, freeing it now.

keep running in to this problem

Syntax

2014-08-31 03:55:25

From: vvarfare
Casting Humidify
Exception in Script: Runtime error: "Access violation" at line 184, column 28 in file "C:\Simba\Includes\SRL-6\lib\utilities\types\tbox.simba"
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (31-08-14 at 02.32.55 AM).txt] has not been freed in the script, freeing it now.

keep running in to this problem

Try running the script as administrator. Also check if you have the tbox.simba in: C:\Simba\Includes\SRL-6\lib\utilities\types\

b12hitman

2014-08-31 12:53:16

From: Syntax
Try running the script as administrator. Also check if you have the tbox.simba in: C:\Simba\Includes\SRL-6\lib\utilities\types\


i keep getting the same error i have tbox in the folder

vvarfare

2014-08-31 16:44:20

I do have it in that folder, and i also tried running it as an administrator, same problem.

Syntax

2014-09-01 07:32:19

From: vvarfare
I do have it in that folder, and i also tried running it as an administrator, same problem.


Try using the script in a browser or updating SMART.

dexter1

2014-09-03 01:36:32

I can't get this script to work, both browser and SMART give me that same error a few posts above, The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]. I'm also not understanding what you mean by start the script with pin already entered. When I press run a new window always pops up, and then nothing happens at the login screen. I put in my username and pass in the script but nothing happens, it doesn't login. I followed the instructions on the how to set up simba thread thats rated 5 stars, but on the how to run a script yours doesnt follow the same format.

Please I've been getting annoyed after trying to much to get this script to work, please someone tell me what I'm doing wrong.

Adieux

2014-09-08 09:42:53

From: dexter1
I can't get this script to work, both browser and SMART give me that same error a few posts above, The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]. I'm also not understanding what you mean by start the script with pin already entered. When I press run a new window always pops up, and then nothing happens at the login screen. I put in my username and pass in the script but nothing happens, it doesn't login. I followed the instructions on the how to set up simba thread thats rated 5 stars, but on the how to run a script yours doesnt follow the same format.

Please I've been getting annoyed after trying to much to get this script to work, please someone tell me what I'm doing wrong.


Sorry I've been gone for a while but im not sure why youre getting that error, usually it means you either dont have your GfX set up correctly
Make sure you follow this guide completely https://villavu.com/forum/showthread.php?t=47714, I would recommend also uninstalling everything.

When I say start with pin already entered I mean make sure before you running the script, and logging in that you either have no bank pin or you manually enter it in yourself, then start the script.

baboushkah

2014-09-24 16:17:37

Getting the same error as mentioned above. My bank is open, it withdraws the items by doing preset 2 then dies; Exception in Script: Runtime error: "Access violation" at line 184, column 28 in file "C:\Simba\Includes\SRL-6\lib\utilities\types\tbox.simba"
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (31-08-14 at 02.32.55 AM).txt] has not been freed in the script, freeing it now.

Tried re-installing and running as admin to no avail.

UPDATE: updated simba https://villavu.com/forum/showthread.php?t=110246 and SRL and am now receiving the following error and it is no longer even withdrawing the preset.

Error: Access violation at line 181
Execution failed.
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (24-09-14 at 05.25.08 PM).txt] has not been freed in the script, freeing it now.
Error: Unknown declaration "MOUSE_MOVE" at line 372
Compiling failed.

warlord94

2015-01-16 19:33:12

Working fine for me.

wowgnomes

2015-03-06 23:47:45

I'm getting an error with this script upon startup…
SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (06-03-15 at 10.46.35 PM).txt
Casting Humidify
Error: Access violation at line 145
Execution failed.
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (06-03-15 at 10.46.35 PM).txt] has not been freed in the script, freeing it now.

line 145 is result := point((self.x2 + self.x1) div 2, (self.y2 + self.y1) div 2);