JustJack
2012-05-10 10:22:55
Ok, so here is my first attempt at one of these.
First, I learned most of this by taking apart other people's scripts, and there are certainly a few things in here that I have ripped off … it is a very simple script but I still would like to thank everyone, especially the author of the Caffeinated Killer (that is the main script I have used for learning SRL).
So I wanted to train agility. The agility training areas were a little difficult for me to script, and the existing scripts are just a little wobbly, so I decided to look at the monkey bars in the level 7 wilderness in the Edgeville dungeons. This is Wildy training, so be prepared to be PK'd while you are training. So far I only get killed every few days or so … one of the next things I need to add is to detect if I am being attacked, and then teleport away and drink antipoison or something … but for now, just don't carry anything of value with you and be prepared to die from time to time.
To get started, go to the area and climb over the monkey bars, and hang out on the North side of the chasm, where the Earth Warriors are. They will be agro for a little bit, it is better to fight them and eat a little until they stop bothering you.
You will not reach level 99 with this script - you only get 20 XP each time you cross. But, it is pretty good for leveling. You have to have 15 agility to cross the monkey bars. In 10 minutes I pulled 1500 XP, so that is 9000 XP per hour.
USAGE:
simply fire up SMART, log in, get your guy to the monkey bars, wait for the earth warriors to stop being aggro, cross the bars once, and enable SMART.
If you find that you are missing the monkey bars, then take a look at this line
MMouse(MSCX-27, MSCY-33, 9, 12);
the -27 and -33 are about where the bar should be every time - slightly to the left of the character, and slightly higher. To move the area where you look for the bars (if it is missing every time) try tweaking those two numbers. It is normal for it to fish around in a small area (defined by the 9 and 12 - the search area is a box 9 pixels wide and 12 pixels high) … if you find that it needs a slightly different search area, adjust these two numbers. I find that this line has been working for me and for one other tester, but you know how they can randomly change things…
TO DO:
Add a login section. I know this is standard stuff, I just haven't done it yet.
Add a section to determine if you are being attacked and flee.
Add XP counters, a way to report the XP back home and track.
Before I move forward with my TODO list, I would appreciate input on this. I know it is short and simple, but do you guys think it is random enough to avoid detection?
**** Updated to v1.2 *****
Added user logon info
Added 2 minute progress report to debug screen
tweaked the antiban to remove random clicks
Added a few comments
set the angle to 0 on startup
please let me know if this is working, and enjoy!
-jack
First, I learned most of this by taking apart other people's scripts, and there are certainly a few things in here that I have ripped off … it is a very simple script but I still would like to thank everyone, especially the author of the Caffeinated Killer (that is the main script I have used for learning SRL).
So I wanted to train agility. The agility training areas were a little difficult for me to script, and the existing scripts are just a little wobbly, so I decided to look at the monkey bars in the level 7 wilderness in the Edgeville dungeons. This is Wildy training, so be prepared to be PK'd while you are training. So far I only get killed every few days or so … one of the next things I need to add is to detect if I am being attacked, and then teleport away and drink antipoison or something … but for now, just don't carry anything of value with you and be prepared to die from time to time.
To get started, go to the area and climb over the monkey bars, and hang out on the North side of the chasm, where the Earth Warriors are. They will be agro for a little bit, it is better to fight them and eat a little until they stop bothering you.
You will not reach level 99 with this script - you only get 20 XP each time you cross. But, it is pretty good for leveling. You have to have 15 agility to cross the monkey bars. In 10 minutes I pulled 1500 XP, so that is 9000 XP per hour.
USAGE:
simply fire up SMART, log in, get your guy to the monkey bars, wait for the earth warriors to stop being aggro, cross the bars once, and enable SMART.
If you find that you are missing the monkey bars, then take a look at this line
MMouse(MSCX-27, MSCY-33, 9, 12);
the -27 and -33 are about where the bar should be every time - slightly to the left of the character, and slightly higher. To move the area where you look for the bars (if it is missing every time) try tweaking those two numbers. It is normal for it to fish around in a small area (defined by the 9 and 12 - the search area is a box 9 pixels wide and 12 pixels high) … if you find that it needs a slightly different search area, adjust these two numbers. I find that this line has been working for me and for one other tester, but you know how they can randomly change things…
TO DO:
Add a login section. I know this is standard stuff, I just haven't done it yet.
Add a section to determine if you are being attacked and flee.
Add XP counters, a way to report the XP back home and track.
Before I move forward with my TODO list, I would appreciate input on this. I know it is short and simple, but do you guys think it is random enough to avoid detection?
**** Updated to v1.2 *****
Added user logon info
Added 2 minute progress report to debug screen
tweaked the antiban to remove random clicks
Added a few comments
set the angle to 0 on startup
please let me know if this is working, and enjoy!
-jack