ScriptUO

Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: TrailMyx on June 10, 2008, 11:18:51 AM

Title: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on June 10, 2008, 11:18:51 AM
Code: [Select]
;=================================================================
; Script Name: TrailMyx's Bushido Commander
; Author: TrailMyx
; Version: 1.0
; Shard OSI / FS: OSI / FS OK
; Revision Date: 9/29/2007
; Purpose: Helps automate lightning strike, honor, honorable execution
; Globals:
; Special Thanks:
;=================================================================

(http://img165.imageshack.us/img165/9431/bushidoassistant1rp6.jpg)

Momentum strike isn't implemented in this version.  I have a starting list of monsters which the script will attempt to honor, and you can add and delete from this list easily.

Note this really is a beta release since I haven't tested it as fully as my other scripts.  So use with caution.

Also this script is meant to work well with the CLAw looter and Healing Commander.  If you use this combination, you should have few problems.  If you use another healing script, be careful.

Setup:

You should have your Lightning Strike and Momentum strike icons from your Bushido book out on your desktop and uncovered from any window.  Initial setup will ask you to click each icon to save the location.  This information is stored in your registry, so as long as your icon positions don't move, when you start the script subsequently you won't have to go through the same initialization like you do with other Bushido scripts.

Once set up, you can easily GM+ your Bushido using lightning strike alone.  Also, this script is an easy way to gain Honor.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on June 19, 2008, 12:20:16 PM
I'm moving this here to to solicit input.  I know it's not done yet; Momentum strike and evasion aren't implemented. 
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: eightonefive on July 18, 2008, 08:27:47 AM
ill try it out, and let you know how it works for me. if there are any bugs in a script you can rest assured they will show up when I run it.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on July 18, 2008, 08:44:45 AM
The main issue with it right now is that its just not done yet.  Really the only functions that are working at the moment are Lightning strike, confidence, Honored and Honorable execution.

I have the groundwork layed for Momentum strike, but still haven't finished that.

Since I only really use LS, I just never got around to the rest. Perhaps someday.... ;)
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: xxcaptainxx on August 08, 2008, 05:29:53 PM
can't wait to give this a shot
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on August 08, 2008, 05:39:45 PM
can't wait to give this a shot


It's got alot of work and I haven't had time to completely address everything about bushido.  But it'll handle honor, honorable execution and lightning strike pretty well.  Plus it works very well with our Healing Commander here (still one of my favorite and most useful scripts.)
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: xxcaptainxx on August 08, 2008, 05:50:39 PM
yes i love healing commander..  works great, i would love to take that script and mix it with a pet fighting type script so it could inteligently heal you and pets
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on August 08, 2008, 05:53:12 PM
yes i love healing commander..  works great, i would love to take that script and mix it with a pet fighting type script so it could inteligently heal you and pets

There you go, your first scripting project!!!  :)

UO is great because it always presents you with possible programming tasks....
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: xxcaptainxx on August 24, 2008, 10:01:40 AM
I like this script works well.  now would it be hard to add in consicrate weapon? 

and kind of off topic, does cinsicrate override curse wep, and vise versa?
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on August 24, 2008, 04:07:22 PM
I like this script works well.  now would it be hard to add in consicrate weapon? 

and kind of off topic, does cinsicrate override curse wep, and vise versa?


Oh lol, it works?!?  Heh, cool.  Yeh, I like it too.

That's kinda why I named it "Bushido" assistant... 

Ok, so I'm done being a smart-ass.  I've wanted to evolve it to a more of a combat assistant, but I just haven't had time.  I did have a version that does EOO, consecrate, etc, but that wasn't up to the point to be released.  The bushido portion worked well enough for my 24/7 artie farmer, so that's where it stayed.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Bullmoose on September 07, 2008, 07:13:21 AM
Wills script work as a bushido trainer ?
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on September 07, 2008, 10:34:10 AM
Wills script work as a bushido trainer ?


Sure does.  I turn it on and go find a fast spawn.  Like Bushido, it takes forever to train, but at least it trains you.  One of my bushido dudes is over 110 now only by passively using this script.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Khameleon on October 16, 2008, 01:23:23 AM
I think I might have messed something up here.. is there a way to reset the global vars?
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on October 16, 2008, 04:28:05 AM
This should reset everything:

Code: [Select]
gosub TM_SetPersistantVariable TM_UseLightningStrike N/A
gosub TM_SetPersistantVariable TM_UseMomentumStrike N/A
gosub TM_SetPersistantVariable TM_UseHonorTarget N/A
gosub TM_SetPersistantVariable TM_UseHonorableExecution N/A
gosub TM_SetPersistantVariable TM_UseEvasion N/A
gosub TM_SetPersistantVariable TM_UseCounterAttack N/A
gosub TM_SetPersistantVariable TM_UseConfidence N/A
gosub TM_SetPersistantVariable TM_MonsterList N/A
gosub TM_SetPersistantVariable TM_Lightning_Strike_X N/A
gosub TM_SetPersistantVariable TM_Lightning_Strike_Y N/A
gosub TM_SetPersistantVariable TM_Momentum_Strike_X N/A
gosub TM_SetPersistantVariable TM_Momentum_Strike_Y N/A
stop
;------------------------------------------------------------
sub TM_GetPersistantVariable
  set #RESULT %1 , _ , #CHARID
  set #RESULT * . #RESULT
return #RESULT
;------------------------------------------------------------
sub TM_SetPersistantVariable
  set #RESULT %1 , _ , #CHARID
  set * . #RESULT %2
return
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Cerveza on October 16, 2008, 04:51:45 AM
You know that some are mutually exclusive?

Counter Attack and Evasion for sure. They both can NOT be toggled on.

A neato little toggle for them would be the way to go, so that if CA is selected it will auto UN-select Evasion.

As soon as you get this done I'm ripping it up and adding in:

Divine Fury
Enemy of One
Trapped Crate
Consecrate Weapon
Curse Weapon
Potions: GC, TR, GH

Anything else?
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on October 16, 2008, 05:18:14 AM
Yeh, for things like Momentum Strike and Lightning Strike, they are like modes.  It's been a while since I went through to determine which ones can happen in parallel.  Part of why this isn't done yet.  But the LS/Confidence/Honor/Honorable execution work pretty well.

But you've got a pretty good list there.  The way I did the buttons for LS/MS is nice because it will sense if you moved the button and ask you to re-init the button location.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Ultima on October 16, 2008, 10:44:39 AM
This thread has me drooling too bad I play KR  :'(

With what Cerveza wants to add this looks like it would be a solo Peerless Boss DH afk .  Especially with Whammy template becoming even more popular with the upcoming changes I'd look at adding in special move 1 or 2 if it's feasible. The last few times I solo'd DH  I spammed BladeWeave more than half the time because of the endless mana pool. Some of the special moves are extremely powerful. One that OMG alluded too that I didn't understand at first and until recently starting playing Wraith form was 'feint'.

Now I know why OMG plays a Mace fighter with Wind's Edge against DH. The ability to spam Feint is extremely powerful. Unofficially it says you take 1/2 damage from everything.  Imagine being able to spam that at will ;D
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Hoby on December 01, 2008, 04:53:16 PM
I couldnt get any of it to work.  I start it and nothing happens, about the third time i restart it is get the message to target momentum strike, which i dont use.  Every once in a while when miasamo is almost dead it will try to honor it.  Lol.  Never have gotten LS to work.  Once after restarting it like five times it asked me to target the icon, but never did work. Not sure what to do.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Hoby on December 01, 2008, 05:02:39 PM
Could it have something to do with the fact that i have show approaching names turned off?  Just wondering.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on December 01, 2008, 08:25:38 PM
Well, remember this is in the "debug" section for a reason.  :)  Your feedback is the first.

As long as you don't have lightning strike or momentum strike checked, it doesn't matter how you set it up.

Sounds like this one won't work with the rest of the things you're running.  Also, since this isn't finished yet, I've got some setup issues to work through too.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Cerveza on December 02, 2008, 06:23:20 AM
I've actually gotten my "Combat Assistant" engine working pretty well.

Lightning Strike
Momentum Strike
Curse Weapon
Honor and Attack
Heal, cure, refresh potions
Divine Fury
Enemy of One
Evasion
Counter Attack

Timers are set for those based on skill (Curse Weapon) and set duration (Heal Pots), and adjustable for those set by Karma (Enemy of One).

I can put it up here later if someone wants to make up a nice menu for it.

Attached is what I was thinking. Adjustable settings, on the fly.

*I thought the button setup was pretty damn smart.

Play - Plays the script
Pause - Pauses the script
Stop - Stops the script
Load - Loads the settings from the file listed under
Record - Saves the settings to the file listed under
Tools - ?? just liked the button there

Now if only it worked....
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on December 02, 2008, 09:20:15 AM
Dude!  You've gotta stop teasing us with that and FINISH IT!!  lol
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Cerveza on December 02, 2008, 11:00:39 AM
I know. Like I said, the engine was working fine. I was tuning it a bit to see if there was just too much stuff in there.

I used the "if #enemyID count is greater then 0" to determine if it should be casting the "combat" spells, like evasion, curse weapon, etc.

It was working great, but when you first meet an enemy, it took it like 10 seconds to get everything cast up!

Curse Weapon
Evasion
Enemy of One
Honor
Consecrate Weapon

Thats a LOT of stuff to cast at once.

I might put up the engine with the menu template to see if someone wants to work them together.

If there's interest of course.
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: 12TimesOver on December 02, 2008, 02:49:19 PM
If there's interest of course.

Does a one-legged duck swim in a circle??
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Khameleon on December 02, 2008, 10:45:14 PM
If there's interest of course.

Does a one-legged duck swim in a circle??

Do Dogs piss on brick walls?
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: tehmt on January 11, 2014, 02:22:42 PM
bump ?
 ;D
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Crisis on January 11, 2014, 02:53:07 PM
Since this was last posted in almost 6 years ago, I am guessing that it is in the Elite section or was dropped. My money is on the Elite section!  8)
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: TrailMyx on January 11, 2014, 03:39:15 PM
Someone will have to "An Corp" Cerveza anyhow.  ;)
Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: tehmt on January 12, 2014, 11:05:56 AM
An Corp <Cerveza> !

*fizzle*

 8)

...any recommendation for things like frequently casting evasion ?

Title: Re: TrailMyx's Bushido Assistant 1.0
Post by: Masscre on March 06, 2014, 09:21:44 AM
Someone will have to "An Corp" Cerveza anyhow.  ;)

He stopped by this weekend but did not say anything or post anything. I was on when i noticed he was also logged on.