ScriptUO

Official ScriptUO EasyUO Scripts => Site Scripter Libraries => UOMaddogs' Script Library => Topic started by: UOMaddog on October 25, 2009, 07:31:41 PM

Title: Maddog's Explosion Pot Chucker
Post by: UOMaddog on October 25, 2009, 07:31:41 PM
PURPOSE:
This script will attempt to chuck an Explosion pot at your last target. It holds the cursor until the last split second then throws it so it can be used to target people on the run. If the target is not within range, then the pot will be thrown on the ground so you don't take damage.


INSTRUCTIONS:
- Set the hotkey to whatever you want
- To determine valid hotkeys, visit: http://wiki.easyuo.com/index.php/OnHotKey
- Press Play and use hotkey to activate!
- Do NOT do anything until after the pot has been thrown! This usually takes 2.8 seconds so it can be thrown on the ground


VERSION HISTORY:
Version 1.0
- Initial script release
- Auto-targets last target
- If target is out of range, throws pot on the ground 3 tiles away
Title: Re: Maddog's Explosion Pot Chucker
Post by: Ludim on January 09, 2010, 05:01:58 AM
sooo how do i get the scriptz0r?
Title: Re: Maddog's Explosion Pot Chucker
Post by: Toptwo on January 09, 2010, 05:31:56 AM
You follow the site rulz0rs....try reading them.
Title: Re: Maddog's Explosion Pot Chucker
Post by: DeadIssue2 on January 09, 2010, 06:39:08 AM
Ohh TT you beat me to that one.
Title: Re: Maddog's Explosion Pot Chucker
Post by: Ludim on January 09, 2010, 10:57:43 AM
You follow the site rulz0rs....try reading them.

ok thanks dudez0rrrrrr
Title: Re: Maddog's Explosion Pot Chucker
Post by: Toptwo on January 09, 2010, 11:16:31 AM
My pleasure...and since you responded to my post I have no doubt you will follow the rulez now and post up a roxxor introduction!
Title: Re: Maddog's Explosion Pot Chucker
Post by: kenshin87 on January 13, 2010, 07:22:35 PM
ha that was amusing

Post Merge: January 13, 2010, 07:25:48 PM
by the way maddog great script. i have been trying to tinker with it a bit to try to get at least two pots to be thrown at the same time.really havent quite figured it out completely yet. i of course get it to prime two or as many as i want. is there a way to scan your backpack to identify the first primed explode pot then continue to the second and third? thanks again
Title: Re: Maddog's Explosion Pot Chucker
Post by: UOMaddog on January 13, 2010, 09:02:16 PM
So far no one has been able to figure out a way to do it  :(
Title: Re: Maddog's Explosion Pot Chucker
Post by: kenshin87 on January 14, 2010, 10:10:11 AM
hmm unfortunate. i was talking with some guildies the other day and i never knew you were able to throw pots back or throw them elsewhere when they are on the ground. possible area scan and throw tiles away? just throwing out some counter ideas.
Title: Re: Maddog's Explosion Pot Chucker
Post by: kenshin87 on February 09, 2010, 08:30:17 AM
hey maddog. so i tried to pm you but i figured this would be the easiest way to contact you. instead of continuously hitting the hotkey button it may be easier to have it run on a loop until the target is out of range and or the user hits a stopkey macro. if you dont mind me messing around with the script i can try to implement that and put up what i have.
Title: Re: Maddog's Explosion Pot Chucker
Post by: UOMaddog on February 09, 2010, 08:34:02 AM
By all means, go right ahead! I can post multiple versions or even possibly add a little menu with 3 options to choose from! (Single, Continuous, Not sure what Third option is yet, but we'll see)
Title: Re: Maddog's Explosion Pot Chucker
Post by: kenshin87 on February 14, 2010, 11:08:23 AM
Code: [Select]
;==============================================================
;================MADDOG EXPLOSION POT CHUCKER==================
;==============================================================
;=========================Version 1.0==========================
;==============================================================
;==============================================================

;Instructions:
;- Set the hotkey to whatever you want (http://wiki.easyuo.com/index.php/OnHotKey)
;- Press Play and use hotkey to activate!
;- Do NOT do anything until after the pot has been thrown! This usually takes 2.5 seconds so it can be thrown on the ground

;Version 1.0
;- Initial script release
;- Auto-targets last target
;- If target is out of range, throws pot on the ground 3 tiles away

;SET YOUR HOTKEY HERE:
set %hotkey  F12
;Example "set %hotkey F12" or "set %hotkey ESC ctrl"

;#############################################################
;#################DO NOT EDIT BELOW THIS LINE#################
;#############################################################


set %explopot TUF

 while #true
{
onhotkey %hotkey
   gosub ChuckExplo
}
 {
sub ChuckExplo
finditem %explopot C_ , #backpackid
if #findcnt < 1
   return
set #lobjectid #findid
event macro 17 0
target 3s
onhotkey f11
Return
wait 70
finditem #ltargetid G_10
if #findcnt < 1
   {
   set #ltargetx #charposx - 3
   set #ltargety #charposy - 3
   set #ltargetz #charposz
   set #ltargetkind 2
   event macro 22 0
   }
set #ltargetx #findx
set #ltargety #findy
set #ltargetz #findz
set #ltargetkind 1
event macro 22 0
onhotkey f11
Return
wait 15
onhotkey f11
Return
}
gosub chuckexplo

as you can see i am not the best scripter in the world but what i did was throw in a couple of onhotkey commands within the script to have it return to the top of script where it goes on hot key f12. i also just threw in gosub chuckexplo at the end to have it continuoulsy go to the main sub and loop until the hot key f11 is pressed. i have come across another script that will be in your messages. take a look at it and maybe you can get a better grasp on it then i did. i tried to tinker with it to make it effective but my script abilities are lets say sub par atm lol. thanks for the script and i hope to be able to contribute more.

Code tags are our friends - Cerveza
Title: Re: Maddog's Explosion Pot Chucker
Post by: kenshin87 on February 15, 2010, 05:59:16 AM
hey madddog so i sent the other thing i hope you recieved it. what would be neat is if you impleted that 3 option menu. but of course have the user have 3 seperate hotkey macros. one coinciding with the button such as f10 with one pot and done, 2 would be the continuous with a check** (if target goes out of range and or dies/disappears script will wait for the hot key again), and 3 would be dependent on the script i had sent you if you are able to figure out exactly how to do the 2 or 3 round burst type thing. 
Title: Re: Maddog's Explosion Pot Chucker
Post by: UOMaddog on February 15, 2010, 12:43:34 PM
I'll see what I can do, I've been a little bit busy with work and life lately so I don't know how quickly I'll get it done. I did get the PM's. I have a bad habit of forgetting about them if I don't reply immediately. I'll re-work this script as soon as I can! Thanks for being patient!
Title: Re: Maddog's Explosion Pot Chucker
Post by: kenshin87 on February 17, 2010, 07:25:55 AM
lol no problem we all forget things like that. hope all is well and thanks again. i hope whenever it gets done the new script will enable users to compete with some of the others that seem to be bombarding explo pots at us
Title: Re: Maddog's Explosion Pot Chucker
Post by: kenshin87 on March 12, 2010, 11:05:26 AM
hey maddog just returned to playing from a month break now. was wondering if you were able to look at what i had sent you from a while back.