View Full Version : Warrior Guild Script
Alorn15
09-07-2009, 12:18 PM
Auto Warrior
autowar.lic - requires slib.lic, azlib.lic, SpiffyLib-guild-db.xml.txt
To automate warrior guild training, including the getting and doing of tasks. Feedback is welcome. If you want to help please PM me - preferably with an AIM SN.
Setup
1. Download slib.lic, azlib.lic, and SpiffyLib-guild-db.xml.txt from the repository
2. Type ;autowar and fill in relevant settings
3. Add wander boundaries to your field reps ground, via ;wander add - The goal is pin yourself in
4. Type ;autowar SKILL, where SKILL is TRICKS, WARCRIES, BERSERK, BATTER, TACKLE, or DISARM
Tips
1. Once you get spin attack reps, use a dagger ('get dagger' in hunt setup commands)
2. Don't add stamina hog scripts to the Hunting Scripts field (no surge of strength)
3. ;go2 typeahead = 4 (or 3, depending on your latency)
4. Have a dedicated partner use the script in Trainer mode.
5. Report bugs.
http://img24.imageshack.us/img24/5549/autowar4.jpg
Durgrimst
09-07-2009, 01:10 PM
If you haven't already made up your mind, I would love if you could do tricks next. And I can try to help you out if you need anything to make that happen.
Alorn15
09-07-2009, 01:18 PM
That's the plan, and I do appreciate the offer of help.
Edit: Berserk script added.
Edit: Berserk script updated. Again.
Edit: Some tricks info added.
SpiffyJr
09-08-2009, 06:11 PM
That's the plan, and I do appreciate the offer of help.
Edit: Berserk script added.
Edit: Berserk script updated. Again.
Edit: Some tricks info added.
Look at SpiffyAlchemy and the SpiffyLib-guild-db.xml.txt file for how I did the guilds. You could even use SpiffyLib as it has some nifty functions for getting around guild places defined in the XML file. SpiffyLib.go2_guild_place('courtyard'); for example will go to the nearest guild courtyard of your chosen profession. The downside is that the XML file needs to be updated. The upside is most of the coding has been done for you and you can keep your logic separate form your pathing (separation of concerns is a GOOD thing).
My two cents.
Alorn15
09-08-2009, 09:45 PM
Looking into it now, Spiffy, thanks.
Fantastic. Both Teras and Wehnimer's are mapped out, and Tillmen will be updating the database. This really simplifies things.
Also, great idea with <paths>.
Alorn15
09-11-2009, 06:54 PM
autowar.lic posted with full berserk functionality and limited tricks functionality. Setup explained in first post.
Alorn15
09-12-2009, 11:06 PM
Just updated autowar.lic and azlib.lic in the repository. Tricks training is now done except for the following: skilled masters reps and audience reps beyond Draw. All cleaning reps and spit/feint reps are in.
If anyone wants other audience reps added, contact me. Otherwise the rest will be added as I get them.
Also, SpiffyLib-guild-db.xml.txt has been updated in the original post. An issue was fixed with the leavesReps path.
Flessen
09-13-2009, 02:13 AM
I have downloaded azlib, slib, SpiffyLib-guild-db.xml.txt (also replaced it with your code) and autowar. when I typed ;azlib it just started and exited...no setup instructions. So I went ahead and tried autowar. This is what I got
* Crystol just bit the dust!
>
Klidel nods to you and says, "Need help with training? Just ASK if you do."
>
You feel fully energetic again.
>;autowar Berserk
--- Lich: autowar active.
-- closest guild room is
-- closest guild room is
--- Lich: go2 active.
--- Lich: go2 has exited.
[autowar]>ask electra for BERSERK train
Who are you trying to ask?
Usage:
ASK {entity} ABOUT/FOR/TO {subject}
[autowar]>ask electra for BERSERK train
>
Who are you trying to ask?
[autowar]>gld
Usage:
ASK {entity} ABOUT/FOR/TO {subject}
>
You are a member of the Warrior Guild.
You are current with your dues and must check in again sometime in the next 58 days.
You currently have 5 ranks out of a possible 80 for your training.
You have 2 ranks in the Berserk skill.
You need 46 training points to earn your next rank.
The Training Administrator told you to go out and practice Berserk against creatures.
[autowar]>stance def
You have 5 repetitions remaining to complete this task.
You have 1 rank in the Tackle skill.
You need 135 training points to earn your next rank.
The Training Administrator told you to practice tackling a partner.
You have 11 repetitions remaining to complete this task.
You have 1 rank in the War Cries skill.
You need 37 training points to earn your next rank.
The Training Administrator told you to get a partner to teach some war cry techniques.
You have 16 repetitions remaining to complete this task.
You have 5 ranks in the Batter Barriers skill.
You have earned enough training points for your next rank.
Click GLD MENU for additional commands.
From this point it wandered around the guild trying to look for something to berserk on since that was my task. It doesn't seem to know I'm in landing and is thinking I'm in Teras since that is the default if not landing... What have I forgotten to do?
Alorn15
09-13-2009, 05:20 AM
Flessen -
That's typically the output I get if I'm in an unmapped room. Try ;update update forcemap to make sure you've got the latest map.dat. If you still get the same behavior, please go to Klidel, type ;e echo Room.current.id, and tell me what it says.
Thanks.
Flessen
09-13-2009, 03:45 PM
That did it. ;updater updater seemed to fix it. Thanks
SpiffyJr
09-13-2009, 05:25 PM
Sweet. Someone actually used my db files. <3
Alorn15, contact me and I'll get you the key required to update the .xml file. This goes for any authors who will be using my databases and would like access to update them. You might want to post it over on the wiki page too.
Flessen
09-15-2009, 12:35 PM
This just started happening when berserking in the saunas.
K>
(eval):12: warning: Object#id will be deprecated; use Object#object_id
(eval):4: warning: Object#id will be deprecated; use Object#object_id
K>
(eval):12: warning: Object#id will be deprecated; use Object#object_id
K>
(eval):4: warning: Object#id will be deprecated; use Object#object_id
(eval):12: warning: Object#id will be deprecated; use Object#object_id
K>
Alorn15
09-15-2009, 06:32 PM
Flessen -
That's strange, because the id method isn't called until you actually get out of the sauna and use go2. The above would be expected in the sauna, because you typically you get that deprecated message when you're in an unmapped room. Hmm.
Flessen
09-15-2009, 09:05 PM
I did a ;l to see if go2 was still in operation and it wasn't. So I'm stumped.
KR>
[autowar]>meditate
You're hot enough! Time to stop meditating and start berserking!
[autowar: Will pause if waiting for stamina. No input required.]
K>
[autowar]>berserk
You begin to concentrate on the grimmest images possible, searching seldom-visited places of your soul for rage and bloodlust.
You are beginning to feel a little fatigued.
Everything around you turns red as you work yourself into a berserker's rage!
K>
The redness fades from the world and you begin to breathe harder.
[You have 11 repetition(s) remaining.]
K>
[autowar]>berserk
(eval):12: warning: Object#id will be deprecated; use Object#object_id
You begin to concentrate on the grimmest images possible, searching seldom-visited places of your soul for rage and bloodlust.
You are beginning to feel a little fatigued.
You can taste the bloodlust in the back of your throat but it wanes too quickly.
Roundtime: 8 sec.
KR>
[autowar]>berserk
Flessen
09-16-2009, 10:35 AM
Was doing trick tasks and was cleaning floors when this happened. (Note: this is my first time doing any tricks.)
[Guild Hall, Second Floor]
A cast-iron chandelier sways slightly above you; two of the five candles are missing and the other three are wickless, disfigured globs of melted wax. Swathes of cobwebs cover the chandelier, spotted here and there with dried insect carcasses. A set of stairs lead to the floor below. You also see a staircase.
Obvious exits: south, west
>
[go2: travel time: 0:00:01]
--- Lich: go2 has exited.
[autowar]>kneel
You kneel down.
K>
[autowar]>clean floor
That's enough scrubbing for this floor, let someone else have a crack at it.
K>
--- Lich: go2 active.
* Elbromo just bit the dust!
K>
[go2: error: failed to find a path between your current room (16992) and destination room (17004)]
--- Lich: go2 has exited.
[autowar]>kneel
You are already kneeling.
K>
[autowar]>clean floor
That's enough scrubbing for this floor, let someone else have a crack at it.
K>
--- Lich: go2 active.
[go2: error: failed to find a path between your current room (16992) and destination room (17003)]
--- Lich: go2 has exited.
[autowar]>kneel
You are already kneeling.
K>
[autowar]>clean floor
That's enough scrubbing for this floor, let someone else have a crack at it.
K>;kill
--- Lich: go2 has exited.
Flessen
09-16-2009, 11:03 AM
The other error with Oject id started occuring without your script (or any script for that matter) running. I turned off all scripts to verify. So I think this isn't a autowar error.
Alorn15
09-16-2009, 01:42 PM
The new map.dat cut solhaven off from the world. This has been fixed, just ;update update.
In other news, ;go2 typeahead=4 is your friend.
Alorn15
09-17-2009, 11:26 AM
V.4: New versions of autowar.lic and azlib.lic uploaded to the repository - fixed berserk spam during chambers reps, fixed loop involving promotion, fixed feint cost, added several tricks tasks, added error-handle for unmapped room start.
Also, it would be helpful for me to have the following information for Ta'Vaalor and Ta'Illistim -
1. Name of taskmaster
2. Name of guildmaster
3. go2 roomID of a free drink and the name of said drink
4. go2 roomID for where you'd do audience reps
Alorn15
09-18-2009, 03:46 AM
V.5: New versions of autowar.lic and azlib.lic uploaded to the repository - GUI added with tooltips, option to run scripts while doing field reps added, fixed post-trick stow issue, added several tricks (audience list is nearing completion), reduced berserk spam further. Teras, Ta'Vaalor, and Ta'Illistim have all been mapped, but a function to parse the xml is broken at present.
You will lose your old settings when upgrading to this version.
Alorn15
09-20-2009, 01:19 PM
Any warriors on Teras training tricks at present? Please PM me - I need some information.
Durgrimst
09-20-2009, 06:52 PM
If you want to get this running effeciently on Teras, I might move back early to help you with it, but I have been flying through it in WL so far.
Alorn15
09-21-2009, 12:31 AM
Durgrimst raced through tricks quicker than I thought anyone would.
*points at Durgrimst*
So I uploaded new versions of autowar/azlib: 1.51 - Rewrote both scripts to be cleaner, added spin attack/toss-n-slice/catch sheath reps, fixed hang with 'stop balancing' and 'stop juggling'
Durgrimst
09-21-2009, 01:08 AM
*Durgrimst wins GS4*
^
Alorn15
09-21-2009, 03:14 PM
As soon as I get the following town-specific information, I can have these guilds working:
1) Teras
- Room ID for free food for tslice. Name of food.
- List of room ID's where you find leaves for rake reps
2) Ta'Vaalor and Ta'Illistim
- Name of taskmaster, name of guildmaster
- Room ID for free drink for guzzle. Name of drink.
- Room ID for free food for tslice. Name of food.
- List of room ID's where you find leaves for rake reps
If you want your town to be fully functional, PM me that information. The hard part is done.
Deathravin
09-21-2009, 04:20 PM
Wow... Considering this was your general wizard script not a few weeks ago, now it has a gui and niftiness, I must say very good job.
Flessen
09-21-2009, 08:08 PM
IMHO this is a must have for any warrior doing guild reps.
Durgrimst
09-21-2009, 08:13 PM
IMHO this is a must have for any warrior doing guild reps.
^ Smartest person ever...
Alorn15
09-22-2009, 12:14 PM
1.52 - Teras/Ta'Vaalor/Ta'Illistim guilds added to xml and closest_guild function fixed, but town-specific variables still needed. Haircut and kick sheath reps added - this completes tricks training.
On repository now.
Alorn15
09-22-2009, 12:19 PM
Squish.
nichelas
09-29-2009, 06:05 PM
Probaby a dumb question, but where is the repository?
:club:
Alorn15
09-29-2009, 07:32 PM
It's a lich script that acts as the script database.
;repos help
In other news, I started the tackle module. Basically you will run tackle/disarm in one of two modes: normal mode or slave mode. Normal mode will get complete tasks as normal, and slave mode will make your character a trainer, waiting at a set location to do partner reps with anyone running the script on normal mode.
Alorn15
09-30-2009, 02:33 AM
This is what it looks like so far. Feedback on additional features/UI design would be easier to incorporate sooner rather than later. So... go!
EDIT: 'Slave mode' renamed 'Trainer mode' by prudent request.
http://img59.yfrog.com/img59/1346/autowarwithtackle.jpg
Talk to me about getting autowar to work in River's Rest?
Alorn15
10-01-2009, 08:24 PM
For autowar.lic to work in any town, the following needs to occur:
1) The guild must be mapped for go2.
2) SpiffyLib-guild-db.xml.txt needs to be updated with locations like taskmaster, guildmaster, etc. (You can download the file from the repository and see the full list for yourself.)
3) For wtrick guzzle and wtrick to work in your town, let me know the best way to get food/drink. Preferably free food/drink.
As far as accomplishing 1, you'll have to talk to Tillmen about mapping, or convince me to come to RR, map it, and then lobby Tillmen to update the database. As far as accomplishing 2, that's easy once it's mapped. As far as 3 goes, you can reach me at AIM: alexx1523
EDIT: Also, I'd like to add that if you're using Auto Warrior for tricks training, I highly recommend using the landing - the script will utilize Solhaven's guild for cleaning reps, when necessary. It's very, very, very easy to master tricks with this script in the landing.
Alorn15
10-03-2009, 01:22 AM
http://img24.imageshack.us/img24/5549/autowar4.jpg
V1.6: Tackle added, Trainer Mode added (with tackle support), Red messaging text added (credit to SpiffyJr), reduced berserk stance spam, settings now character-specific, abstracted guildmaster/taskmaster variables, cleaned AzLib initialize, disarm/batter added to GUI but not functional. Kudos to Durgrimst for helping out with tackle and trainer mode.
- You must download new versions of autowar.lic, azlib.lic, and SpiffyLib-guild-db.xml.txt when upgrading to this version
- You will lose your settings when upgrading to this version.
Alorn15
10-06-2009, 03:18 PM
1.7: Warcry, disarm, and batter added. Warcry/disarm added to trainer mode. Warcry doesn't execute field reps, or any reps involving warcries past Bertrandt's. Batter doesn't execute crate, sheet metal, or open door reps.
TODO: General polish - the above skills are not nearly as tested as the first three were. Add field reps to warcry, add warcries beyond Bertrandt's, add break crates, break sheet metal and open doors to batter. Reduce spam on vocal cord check, and add cloud-avoidance behavior to field reps. Add functionality to other towns.
- You must download azlib.lic, autowar.lic, and SpiffyLib-guild-db.xml.txt for this update.
- Aside from bug control and what is mentioned above, the script is now complete. In order to accomplish most of the items listed in TODO, I need more information than my character currently has access to. Please report bugs, and please contact me if you are interested in helping with further implementation.
Alorn15
10-22-2009, 04:14 PM
1.71 - Added Ta'Vaalor except sauna/rake reps, fixed rank 25+ tackle masters reps, increased tackle stamina cost to 12, fixed a trainer mode hang issue.
Trainer mode setting removed from GUI: now started via ;autowar trainer.
The reason behind moving 'trainer' to a command line argument is that it's a lot more convienent when you're training two warriors at once and frequently swapping training mode from one to the other.
To update: Download azlib.lic, autowar.lic, and SpiffyLib.guild-db.xml.txt off the repository
Valyss
11-11-2009, 02:59 PM
Long time listener, first time caller.
I finally jumped and installed lich last night, as the appeal of autowar was finally too much. So, clean install of lich, I got azlib, slib, and SpiffyLib-guild-db.xml.txt from the repository.
So, I start up ;autowar, and it exits immediately with an error message like:
--- Lich: autowar active.
-- closest guild room is
// something about town variables not being set (sorry, at work, don't have the exact messaging handy)
I saw someone had a semi-similar experience when they were in an unmapped room, so I tried running updater, forced update on the map, etc. No avail.
Any suggestions? It looks great, and I can't wait to start using it!
Alorn15
11-11-2009, 03:00 PM
Hey Valyss -
As opposed to going back and forth on the forums, contact me in-game at Azanoth or on-AIM at alexx1523.
EDIT: Since you're new to lich I should probably tell you how to do that. Heh. ;chat to azanoth
Donut
12-17-2009, 08:25 PM
Just installed lich today... trying to get autowar to work.
I get this message when standing in the Illistim guild:
| Town-specific variables not found. Please contact Azanoth to help implement this town's guild.
| You will also receive this message if go2 cannot find a path from your current room to the nearest guild.
I am in a mapped room, I've got all of the slib, azlib, and and the spiffylib-guild-db.xml.txt all downloaded, so I'm not sure what I've gotten wrong.
Any help appreciated.
Alorn15
12-17-2009, 08:26 PM
Is illistim mapped? I forget.
Donut
12-17-2009, 08:27 PM
the guild-db file has illistim in it.
Alorn15
12-17-2009, 10:49 PM
That's good. I'm still pretty sure it's not 'enabled' though. The enabling process is just adding a few town specific variables to autowar.lic - near the top of the file. Hopefully someone that is familiar with autowar/Ruby can chime in here.
Step 1: Edit autowar.lic and add the following after line 80:
elsif(closestGuild == 13307) # Ta'Illistim
@foodRoomID = 17189
@food = "leg"
@drinkRoomID = 17189
@drink = "ale"
Step 2: ?
Step 3: Profit
Alorn15
12-18-2009, 11:44 AM
Somebody give this man the autowar key!
Valyss
12-31-2009, 02:50 PM
I'm going to start training up warcries this week in the Landing. Anyone want to partner up? Or, if you'd just be willing to train me, I have another warrior with tackle/disarm master to reciprocate.
Send me a PM if you're interested!
Ugotfaced
03-07-2010, 10:06 AM
Ok, I may be stupid, I JUST downloaded lich. And everyone seems to know where the whole repo. is. and where you go to download files.. Where do I go? lol, sorry if this comes off as stupid.
Alorn15
03-07-2010, 03:49 PM
http://www.lichproject.com/wiki/Guide
Itachi
04-06-2010, 08:05 PM
Now that Azanoth isn't active anymore, was anyone planning on taking over this project to finish batter barriers? Add break crates, break sheet metal and open doors. ( To the landing )
pabstblueribbon
04-18-2010, 10:06 PM
nevermind
Gnomad
04-25-2010, 07:02 PM
I'd offer to help, but my warrior isn't touching batter for a long time.
Minor issue in azlib, it has prune hedges, but Vaalor has more than one hedge (singular).
Anebriated
05-27-2010, 08:34 PM
>;autowar berserk
--- Lich: autowar active.
| Starting script for berserk...
--- Exception: uninitialized constant AutoWar::SpiffyLib
autowar:65:in `startTraining'
--- Lich: autowar has exited.
to help you narrow down the issue it runs normal if your hands arent empty...
>get lance
You remove a well-made black vultite lance from in your backpack.
>;autowar berserk
--- Lich: autowar active.
>
| Starting script for berserk...
| ERROR: Please empty your hands and restart the script.
--- Lich: autowar has exited.
Alorn15
05-28-2010, 12:29 AM
Do you have slib, and spiffylib-guild-db.xml.txt (sp?)? The other issue I'm thinking of is that slib was just updated, and im not sure if it still has this functionality....
Anebriated
05-28-2010, 12:32 AM
yeah it was working for me for a few weeks then just stopped. Its definitely because spiffy cleaned up his scripts on the repo and now something in ;autowar isnt calling the data correctly.
Vilthanis
05-28-2010, 06:19 PM
Hello,
Still tring to get Autowar working. I'd be happy to make the changes to Autowar If I knew what changed and is causing the error. Anyone have a print out of the old SpiffyLib-guild-db.xml so I can see what changed?
Thanks much,
Vilthanis
Vilthanis
05-28-2010, 06:40 PM
OK just got it to work. the problem is in the changes made to slib, I DL'd the slib3 and renamed to check if this was the problem and autowar is working now. I'll see if I can find what changed and then see if autowar can be fixed to use the "official" slib that works for all the new updated scripts.
Vilthanis
kookiegod
05-28-2010, 11:55 PM
OK just got it to work. the problem is in the changes made to slib, I DL'd the slib3 and renamed to check if this was the problem and autowar is working now. I'll see if I can find what changed and then see if autowar can be fixed to use the "official" slib that works for all the new updated scripts.
Vilthanis
Awesome!
kookiegod
06-12-2010, 02:27 PM
OK just got it to work. the problem is in the changes made to slib, I DL'd the slib3 and renamed to check if this was the problem and autowar is working now. I'll see if I can find what changed and then see if autowar can be fixed to use the "official" slib that works for all the new updated scripts.
Vilthanis
Did you ever figure out an official fix?
Khariz
06-12-2010, 02:42 PM
If he did, it isn't implemented. I've been using the slib3 fix for a while now though. Seems to work just fine.
kookiegod
06-12-2010, 03:22 PM
If he did, it isn't implemented. I've been using the slib3 fix for a while now though. Seems to work just fine.
Does it affect anything else like ;sloot, ;waggle or other stuff slib is used for?
~Paul
Khariz
06-12-2010, 03:39 PM
Does it affect anything else like ;sloot, ;waggle or other stuff slib is used for?
~Paul
I didn't when I changed slibs after I had been running slib for a while, but when I logged out and back in with slib3 running as the primary slib, it biffed sloot.
I login with slib, rename slib to slib2, rename slib to slib3, and use the script, and when I log out, I reverse it.
I think I'll make a batchfile to do that for me.
Boreus
06-12-2010, 05:36 PM
Couldn't you just change Autowar to call slib3 instead of slib and then just leave the slib names alone?
kookiegod
06-13-2010, 06:13 PM
Couldn't you just change Autowar to call slib3 instead of slib and then just leave the slib names alone?
I thought about that myself this morning and made the change in autowar as I been studying it and slib to learn to code in this.
I tested it with tackle, both partner reps, skilled master, and creature reps and working perfect.
Great minds think alike. :)
~Paul
Klinor
06-24-2011, 03:15 AM
If anyone is able to give the dummies guide to fixing autowar, I'd appreciate it.
wandererjs
07-12-2011, 03:05 PM
Does anyone have a list of what's broken in autowar? With a minor tweak, it took me from 22 ranks of berserk to master in short order.
Hypothetically, if someone was going to update it, remove dependencies on slib in favor of ;go2 tags, make it work in all guilds... what features are broken currently, and what features would you want added?
Kad
Gizmo
07-12-2011, 03:26 PM
Not sure, as of now nothing is broke for me.
I Have yet to use it for berserk though, only wtricks
trall541
09-18-2011, 07:13 PM
anybody able to figure out how to fix berserk to be able to do field reps? if so can you post what i need to do to fix it? thanks for the help
Blade
04-19-2012, 11:57 AM
see below. It looks like others have posted about this before, but the solutions I've seen don't appear to be working. my repo says there isnt a slib3. can someone please help me fix this issue with batter.
>;autowar batter
--- Lich: autowar active.
[autowar: Loading Autowar...]
| Starting script for batter...
[autowar]>get skull-pommelled claidhmore
You remove a razor sharp skull-pommelled claidhmore from in your mithril alloy harness.
>
| ERROR: Please empty your hands and restart the script.
--- Lich: autowar has exited.
>put claid in harn
You put a razor sharp skull-pommelled claidhmore in your mithril alloy harness.
>;autowar batter
--- Lich: autowar active.
[autowar: Loading Autowar...]
| Starting script for batter...
[autowar]>get skull-pommelled claidhmore
You remove a razor sharp skull-pommelled claidhmore from in your mithril alloy harness.
>
| ERROR: Please empty your hands and restart the script.
--- Lich: autowar has exited.
Ibidmb
04-26-2012, 10:56 PM
anybody able to figure out how to fix berserk to be able to do field reps? if so can you post what i need to do to fix it? thanks for the help
This.. Please?
Uryens
04-27-2012, 10:36 AM
[wander]>target random
You are now targeting a wind witch.
>
--- Lich: wander has exited.
--- Exception: type mismatch: String given
autowar:2084:in `=~'
--- Lich: autowar has exited.
Tillmen
04-27-2012, 03:00 PM
Line 2084 is:
fput "stance def" unless stance =~ 'defensive'
should be:
fput "stance def" unless stance =~ /defensive/
or
fput "stance def" unless stance == 'defensive'
Uryens
04-27-2012, 06:39 PM
Tillmen - Whats the easiest way to change that line? I am new to the Lich Program and haven't quite mastered it yet.
Uryens
04-27-2012, 07:06 PM
Nevermind I figured it out
Snoopy Dogg
08-23-2012, 05:05 PM
got a couple few scripts i made for the later ranks of bashing in ta'illistim, but could probably be changed around for any town pretty easily
this one script will handle using your head to bash boxes with the master AND using your head to bash the cheap practice boxes:
def goto(place)
start_script( 'go2', [place] )
wait_while { running?('go2') }
end
dowhat = proc {
result = dothis "gld", /have a trainer|no repitions|practice boxes with your head/
if result =~ /have a trainer/
goto('17121')
fput "ask #{GameObj.npcs[0].noun} about batter train"
matchwait /drags a box before you/
fput "get box"
elsif result =~ /practice boxes with your head/
goto('17150')
elsif result =~ /no repititions/
goto('17110')
fput "ask #{GameObj.npcs[0].noun} about batt train"
end
}
keepbashin = proc {
waitrt?
fput "get box"
}
done = proc {
waitrt
goto('17110')
fput "drop box"
exit
}
dowhat.call
loop {
waitrt?
result = dothis "bash box", /You need to|only cause trouble|You need|remaining|completed this task/
if result =~ /You need to|only cause trouble/
keepbashin.call
elsif result =~ /completed this task/
done.call
else
end
}
this one will do door bashing tasks:
@bashWep = "claidhmore"
def goto(place)
start_script( 'go2', [place] )
wait_while { running?('go2') }
end
dowhat = proc {
@bashTarget = nil
result = dothis "gld", /metal stage door|without a weapon|wooden stage door|completed this task/
if result =~ /metal stage door/
@bashTarget = "door"
goto('17122')
fput "go metal door"
elsif result =~ /wooden stage door/
@bashTarget = "door"
goto('17122')
fput "go wood door"
elsif result =~ /without a weapon/
@bashTarget = "door"
goto('17122')
fput "stow right"
sleep 1
fput "go wood door"
end
}
dunskies = proc {
waitrt?
fput "stow right"
sleep 0.5
fput "out"
sleep 0.5
goto('17110')
fput "ask #{GameObj.npcs[0].noun} about train batt"
sleep 1
exit
}
fput "get my #{@bashWep}"
dowhat.call
loop {
waitrt?
result = dothis "bash #{@bashTarget}", /remaining|You need|completed this task/
if result =~ /completed this task/
dunskies.call
end
}
Snoopy Dogg
09-18-2012, 11:11 PM
does anyone have anything for skilled masters for tricks?
prance1520
04-18-2013, 11:46 AM
Anyone still actively maintaining autowar? I ran into one of the TODOs (batter crates) and added it. I can finish off a few of the other TODOs as well. If someone has the key for the repo, let me know and I can send you the updates.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.