2 Attachment(s)
RatSmasher - Kills rats behind Lumbridge - DEATHWALKING - HOME TELEPORTS IF LOST
About
I realized that there are no combat scripts currently out, so i decided to whip this up in a few hours. It is my first script on the site.
It death-trains on the large rats behind Lumbridge castle, upon death, it will walk straight back to the training spot and continue. If under any circumstance the script gets lost, it shall home teleport and proceed the deathwalk route.
I've ran it for 2 hours + without any upsets. Of course there's still minimal random support out for 2007scape, but you really don't seem to get many randoms at this spot.
Features
- Death walking
- Will home teleport if lost
- Allows user to select the training style
- Auto-login (new)
- S.M.A.R.T compatibility (new)
Future Features
- Anti random support
- Option to train against the jail guards
Instructions
- Make sure you have the 2007 include, you can find it HERE
- Download Script
- Beat the anti-leech
- Select combat style at the top of the script
- Equip only three items and no food (as you will be sure to die)
- Stand at the rats behind Lumbridge castle
- Make sure game brightness is at maximum
- Target the game window with the green cross-hair icon
- Run script
Current known bugs
- Will have trouble competing with others at the training spot, try and find an empty world
- Bot thinks it's in combat if there's any health bar near the very center of the screen. This can sometimes cause the script to go idle for a moment when someone is fighting right next to you.
Version History
1.0 - Initial Release
1.1 - Changed anti-leech and tidied up the code.
1.2 - Optimized the deathwalk function
1.21 - Optimized the deathwalk function even more.
1.3 - Optimized deathwalk function to perfection (i believe), added auto-login and S.M.A.R.T support.
FAQ
Q: The script doesn't walk back to the rats upon dieing?
A: Make sure you have the latest version of the script, i have done a lot of work on the deathwalking functions. If there's still issues, please increase the tolerance variables [V1.3+] (see comments within scripts). This will most likely fix these problems.
Q: The script hovers over the rats but doesn't click them
A: You need to make sure you have downloaded and installed the latest version of the 2007 include. Make sure the font is installed with it!
Take note
If the script appears to be buggy or unstable, you may have to manually select the colors using the color picker tool.
I have marked the variables you may need to change at the top of the script.
Anti-Leech
Sorry but there are three simple anti-leech syntax errors in my script, they are really simple. If you can't figure them out you don't deserve to run the script. Please do not post or PM me about these.
Feedback
Please leave me positive/negative feedback on how the script goes for you. If there's any bugs/errors PLEASE REPORT THEM IN THIS THREAD. If the script runs very well for you, please post too!
Special Thanks
blockay - I borrowed the turnRunOn procedure from his Tree cutter -> Shaft fletcher script.
Remember, if you're planning to use the SMART version, you will need to have set it up for RS2007. A nice tutorial on this can be found here.
Thank you everyone for the feedback and support of this script! You've been awesome. Due to new rules, here is a guide to solve the anti leech:
Quote:
Originally Posted by
nolt194
Okay I did a bit of tweaking and found the solutions to common errors.
Common Error 1
Code:
Exception in Script: Unable to find file 'SLR/SRL.Simba'
The SLR is spelled wrong, just change it to SRL, this should be the outcome
Common Error 2
Code:
[Error] C:\Simba\Scripts\Phury_RatSmasher_v1_3_SMART_AL.si mba(27:12): is ('=') expected at line 26
Compiling failed.
combatType := 1;
For this one the ':' should not be there. just remove that from the code and you should be set.
Common Error 3
Code:
Phury_RatSmasher_v1_3_BROWSER_AL.simba(330:12): Type mismatch at line 329
wait('500');[/code]
For this one, remove the ' from both sides of the 500.
final code for line 329 should look like this
Any more problems? PM me