ScriptUO

Official ScriptUO EasyUO Scripts => Site Scripter Libraries => 12TimesOvers' Script Library => Topic started by: 12TimesOver on September 16, 2011, 12:35:05 PM

Title: XIIxOveR's Single Pet Vet - 1.0
Post by: 12TimesOver on September 16, 2011, 12:35:05 PM
Code: [Select]
;==================================================
; Script Name: XIIxOveR's Single Pet Vet
; Author: XIIxOveR
; Version: 1.0
; Revision: 09/11
; Purpose: Train Vet
;==================================================
Description:
As with all of my training scripts, I needed to train a skill and wasn't totally happy with my script options so I threw one together. It's not perfect but it did the trick for me! This script will train Vet using a single account and a single pet. This does not require you to put the pet in an unreachable location, etc. It simply tells the pet to stay then walks away a couple of steps.

Script includes the 12x RoT Timer for Siege and Mugen.
 
Requirements
 1. Enough Magery to cast Magic Arrow (doesn't take much)
 2. A mount
 3. Bandaids
 4. LRC suit
 5. Must be either guilded and/or in Fel

Instructions:
 1. Put a ton of bandaids in your pack (an open container close by will work too)
 2. Mount a horse, bonded is always handy in case it dies
 3. Press play

Notes:
 1. You can keep bandaids in a container if you can leave it open from wherever you are standing. The script will look in any open container, I just didn't feel like coding a Secure since the toon walks a couple steps away from the mount at start thus making containers annoying.
 2. Be smart. Posts reporting the following script problems will be singled out and the poster ridiculed unmercifully!
     a) the script user is trying to train Vet against a casting pet and getting themselves killed
     b) the script user is max'd out in SDI and Eval and is killing the pet with a single Magic Arrow

X
Title: Re: XIIxOveR's Single Pet Training Vet - 1.0
Post by: 12TimesOver on September 17, 2011, 12:41:02 PM
Script updated. Addressed issue with "CloseShop" sub where I try to invis self and remount horse before stopping script so horse isn;t lost. Set now to attempt this of only 80 Magery or higher. Also fixed skill tracking menu issue.

X
Title: Re: XIIxOveR's Single Pet Training Vet - 1.0
Post by: NObama on September 17, 2011, 02:31:32 PM
Darn.  I misread the thread title and thought this was a script to train a single pet's skills.
Title: Re: XIIxOveR's Single Pet Training Vet - 1.0
Post by: 12TimesOver on September 21, 2011, 11:07:21 AM
Darn.  I misread the thread title and thought this was a script to train a single pet's skills.
Guess I'll change the name since, now that you've said that, that's how I read the title too.

Also, script updated 09/21/2011 to fix an issue in the "CloseShop" sub and added some logic in the "DamagePet" sub to make sure pet is actually damaged before moving to heal sub (in case character fizzles casting Magic Arrow, etc).

X
Title: Re: XIIxOveR's Single Pet Vet - 1.0
Post by: Mad Tamer on January 25, 2014, 11:19:16 AM
Hello! First let me say thank you for your scripts... They are great... I am playing on siege and this script is not waiting 5 mins between vetting attempts (I am at 75 vet) I am gonna try playing with the Timers Area but I don't know what to change or by how much ect. Is 5 mins 500? I don't know what one to edit outta these 3... Should the script automatically figure out the wait for siege? Well thank you for your help in advance!


set %sWait 10
set %mWait 20
set %lWait 30
Title: Re: XIIxOveR's Single Pet Vet - 1.0
Post by: gimlet on January 25, 2014, 01:55:04 PM
Hello! First let me say thank you for your scripts... They are great... I am playing on siege and this script is not waiting 5 mins between vetting attempts (I am at 75 vet) I am gonna try playing with the Timers Area but I don't know what to change or by how much ect. Is 5 mins 500? I don't know what one to edit outta these 3... Should the script automatically figure out the wait for siege? Well thank you for your help in advance!

set %sWait 10
set %mWait 20
set %lWait 30


Well none of those. changes required

change this line

set !RoTShards Seige_Perilous_Mugen_

to this

set !RoTShards Siege_Perilous_Mugen_


next add

this at very bottom of script

Code: [Select]


Sub RoT_Timer

Chooseskill Vete Real
If #Skill < 800                        ; 5 Minute Interval
   Set %ROTSkillTimer #SCNT + 300
If #Skill >= 800 && #Skill < 900       ; 8 Minute Interval
   Set %ROTSkillTimer #SCNT + 480
If #Skill >= 900 && #Skill < 1000      ; 12 Minute Interval
   Set %ROTSkillTimer #SCNT + 720
If #Skill >= 1000 && #Skill < 1200     ; 15 Minute Interval
   Set %ROTSkillTimer #SCNT + 900
Repeat
   {
   If %ROTSkillTimer - #SCNT > 120
      {
      Wait 2400
      Set #LobjectID #BackpackID
      Event Macro 17 0
      }
   Wait 50
   }
Until #SCNT >= %ROTSkillTimer
Return    




Title: Re: XIIxOveR's Single Pet Vet - 1.0
Post by: 12TimesOver on January 25, 2014, 03:36:30 PM
ROFL nice catch Gimlet! I can't believe I did that :) I'll assume I made the mistake in my base subs so I'll go check all of my scripts.

X
Title: Re: XIIxOveR's Single Pet Vet - 1.0
Post by: moslet on April 27, 2017, 09:31:03 PM
Still works great. After 110 the gain barely moves, so it is necessary to start healing someone's dead pet repeatly.

simple modification:
- Sub Damage Pet: remove the casting magic arrow lines
- Sub Heal Pet: change the delay from 3s to 5s (res takes 5s for the owner gump to show up)

The friend can just sit idle and doesn't need to click the gump.

After that, see fast gains again =)