ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Combat/Healing/Looting => Topic started by: holmedog on October 24, 2011, 07:22:06 PM

Title: Holmedog's GUMP Attacker
Post by: holmedog on October 24, 2011, 07:22:06 PM
This script is designed to let you easily attack targets with a hotkey.  I use it because I am terrible at targetting and this will easily avoid those situations.

Code: [Select]
; ; ##########################################
; Script Name:  menu attacker
; Shard OSI / FS: OSI Servers
; Version: 1.1a
; Revision Date: 20111101
; Public Release:
; Global Variables Used:
; Purpose: pops up a menu to target a mob, and then attacks on hotkey
;      __  __  __  __  __  __  __
; ##########################################

Update
Pretty much a rewrite using some of the original parts.  It was pointed out to me that this script didn't weather the EUO 1.5 transition very well (yes it's that old), and to be honest I hadn't tested it beyond pushing play and making sure the hotkeys still made me path.  I'm going to add some more functionality in as soon as I'm able to test with EUO on the current patch.

Title: Re: Holmedog's GUMP Attacker
Post by: Crome969 on October 24, 2011, 11:14:18 PM
This script is designed to let you easily attack targets with a hotkey.  I use it because I am terrible at targetting and this will easily avoid those situations.

Code: [Select]
; ##########################################
; Script Name:  menu attacker
; Author: holmedog
; Version: 1.0 release
; Client Tested with: EA 6.0.1.0
; EUO version tested with: 1.5 Version 13/
; Shard OSI / FS: OSI Servers
; Revision Date: N/A
; Public Release:
; Global Variables Used:
; Purpose: pops up a menu to target a mob, and then attacks on hotkey
;      __  __  __  __  __  __  __
; ##########################################

If I have this submitted incorrectly, please let me know.  I'm dumping some of my personal library and I'd like to get these as right as possible.
Hello Holmedog, you missed the File Attachment, to let us see the file:)
Title: Re: Holmedog's GUMP Attacker
Post by: holmedog on October 25, 2011, 05:28:00 AM

Hello Holmedog, you missed the File Attachment, to let us see the file:)
[/quote]

Thanks!  Sorry about that.  It appears the issue was in the ImageShack upload button.  I didn't realize it was different than a normal attachment button.
Title: Re: Holmedog's GUMP Attacker
Post by: 12TimesOver on October 25, 2011, 07:07:56 AM
Hehe, I know it's there and I still press it from time to time ;)

Thanks for jumping in and getting active, hopefully your efforts will be returned with some testers!

X
Title: Re: Holmedog's GUMP Attacker
Post by: camotbik on November 01, 2011, 10:47:58 AM
just currius, does this really work?
Code: [Select]
wait .5s
Title: Re: Holmedog's GUMP Attacker
Post by: TrailMyx on November 01, 2011, 11:16:58 AM
Probably not.  Should be "wait 10" to get to the 1/2 second.
Title: Re: Holmedog's GUMP Attacker
Post by: freddy on November 01, 2011, 11:25:59 AM
doesn't work at all with euo 1.5

Easyuo doesn't support decimals - oeuo might
Title: Re: Holmedog's GUMP Attacker
Post by: holmedog on November 01, 2011, 03:00:14 PM
just currius, does this really work?
Code: [Select]
wait .5s

Odd, I don't remember where I pulled that from.  I'll update it in the script.  Thank you!
Title: Re: Holmedog's GUMP Attacker
Post by: cjddnddl on November 01, 2011, 03:01:50 PM
so good.. ?????
Title: Re: Holmedog's GUMP Attacker
Post by: camotbik on November 01, 2011, 05:15:01 PM
Title: Re: Holmedog's GUMP Attacker
Post by: holmedog on November 01, 2011, 05:19:51 PM
Ok I dont want to be mean, but.

No offense taken, not at all.  I've been meaning to rewrite this one, but just wanted to dump some of my personal library when I signed up.  This script in particular is ~5-6 years old and I definitely need to revisit it.  I'm still in the process of getting used to UO again in general, though, so it's kind of fallen behind. 

I'll take a poke at this tonight and reorder it.  As you said, there is a definite need for real subs - and I don't particularly like the way the menubutton is called as a sub, either. 
Title: Re: Holmedog's GUMP Attacker
Post by: camotbik on November 01, 2011, 05:34:20 PM
lol, it is 3:33 AM here, so i messed up the pathfind it should be in the repeat loop, anyways, you get the point.
Title: Re: Holmedog's GUMP Attacker
Post by: holmedog on November 01, 2011, 05:45:45 PM
lol, it is 3:33 AM here, so i messed up the pathfind it should be in the repeat loop, anyways, you get the point.

:)  I rewrote a large portion of this for the GUI I am using w/ the fully AFK version, so I had a good starting ground.  Sadly, like an idiot I went and patched just a moment ago, so I'm going to have to check if it works as I expect when everything is back online.  I'm going to update the OP real fast with the new version.
Title: Re: Holmedog's GUMP Attacker
Post by: Crome969 on November 02, 2011, 12:40:22 AM
doesn't work at all with euo 1.5

Easyuo doesn't support decimals - oeuo might
On oEUO you have Seconds splitted in 1000/s so 0.5s would be wait(500) , in euo it would be wait 10 and in stealth would be wait(500) too:-)
Title: Re: Holmedog's GUMP Attacker
Post by: roadrunner on September 27, 2013, 06:26:01 AM
 :)   I just dl'd and tested this on OSI shard, at a Fel champ spawn on a swords swinging sampire.  It worked awesomely well. I love to farm the 1st levels of the spawns for the Pink "SoT" scrolls, and this is perfect for the magic using spawns like undead, demon, etc. that are too annoying to do on my wizard.

Thanks Holmedog, great job on the script!  Rate it 10 for works as advertized  & 10 for ease of use!
Title: Re: Holmedog's GUMP Attacker
Post by: Endless Night on April 07, 2015, 10:12:16 AM
Can anyone who has used this script please post a review.

I would love to move it to the approved script section,  as code looks clean.   But I do not that the script is missing a "halt" command and when stop hotkey is pressed script will look back to top and auto restart without halt command after while loop.

Title: Re: Holmedog's GUMP Attacker
Post by: Endless Night on October 17, 2015, 10:01:04 AM
Congratulations your Script has been moved to Script library
(If you feel the script is in the wrong section please send me a pm.)

Thank you for your submission.


Script has a very simplistic interface but works as advertised.  Congratulations.