[UOSTEAM] Attack Closest and Claim

If you make a Client-side script you can publish it here for other players to use
Post Reply
jerco05
Adept Scribe
Posts: 43
Joined: Sun Aug 17, 2014 9:14 pm

[UOSTEAM] Attack Closest and Claim

Post by jerco05 »

The first in what will be many scripts I've decided to start posting. I'm a little tired of the "elite" players, so I'm going to post all sorts of goodies. First a basic attack & claim for any warrior build. Note this script requires 220dex for instant healing.
This script will:
auto-heal/cure with bandages
play an organizer if you reach your weight limit (Player must set which organizer they want to use)
Cast Divine Fury if stamina drops below player configured limit
Get enemies within 10 tiles
Attack closest
Cast Consecrate Weapon every 10 seconds
Use primary/secondary ability if mana is over 34
Claim any corpse on the ground
Play an Organizer after claim to move to Bag of Holding (Player must specify the organizer to use)

Be sure to set your weight limit, stamina limit and organizers.
Happy Hunting.

Code: Select all

//Heals self with bandages
//-----------------------------------------------
if hits < maxhits or poisoned
  msg '[bandself'
endif
if weight > 380
  @organizer 'Organizer-1'
endif
//Casts Divine Fury if stam drops under 125
//-----------------------------------------------
if stam < 125
  cast 'Divine Fury'
endif
//Finds and Attacks enemies
//-----------------------------------------------
clearjournal
@getenemy 'murderer' 'criminal' 'enemy' 'gray' 'closest'!
if @inrange 'enemy' 10
  @attack 'enemy'
  //Creates, sets timer for and casts Consecrate Weapon
  //-----------------------------------------------
  if not timerexists 'consecrateweapon'
    settimer 'consecrateweapon' 0
  endif
  if timer 'consecrateweapon' >= 9000
    cast "Consecrate Weapon"
    settimer 'consecrateweapon' 0
  endif
  if mana > 34
    setability 'primary' 'on'
  endif
endif
pause 250
@cleartargetqueue
if @findtype 0x2006 'any' 'ground' 1 10
  msg '[claim'
  waitfortarget 1500
  @target 'found'
  pause 200
  @canceltarget
  pause 250
  @organizer 'Organizer-1'
  @cleartargetqueue
endif
replay
PM Richter in game
Dragor
Apprentice Scribe
Posts: 10
Joined: Sat Jan 09, 2021 11:00 pm

Re: [UOSTEAM] Attack Closest and Claim

Post by Dragor »

I have been looking for something like this. Not just to use, but to try to figure out how scripts work in steam. Thank you very much.
IGN: Dragor VonDau
Rebond12
Expert Scribe
Posts: 32
Joined: Mon Sep 05, 2016 3:37 pm

Re: [UOSTEAM] Attack Closest and Claim

Post by Rebond12 »

Nice Attack, is there a way to incorporate Autoloot so you can pull items from the body besides the gold?
User avatar
Johnny Warren
Legendary Scribe
Posts: 855
Joined: Mon Oct 11, 2010 11:40 pm

Re: [UOSTEAM] Attack Closest and Claim

Post by Johnny Warren »

Rebond12 wrote:Nice Attack, is there a way to incorporate Autoloot so you can pull items from the body besides the gold?
If you're using UOSteam just use the inbuilt autolooter. Set it up in Agents. It's very very good.
JOHNNY WARREN!
Image
Rebond12
Expert Scribe
Posts: 32
Joined: Mon Sep 05, 2016 3:37 pm

Re: [UOSTEAM] Attack Closest and Claim

Post by Rebond12 »

I have been using UOSteam for a while, the trouble I see is the Attack Closest and Claim will only pull the gold and ointments and then removes the corpse. Is there a way to script it to look for the autolooter before it removes the corpse?
User avatar
Alamiester
Legendary Scribe
Posts: 279
Joined: Wed Jan 04, 2017 8:49 pm

Re: [UOSTEAM] Attack Closest and Claim

Post by Alamiester »

pause is your friend in uosteam...
Nick
Legendary Scribe
Posts: 515
Joined: Fri Sep 24, 2010 12:40 pm
Location: PA native, liveing in NC right now Moveing to TX in march

Re: [UOSTEAM] Attack Closest and Claim

Post by Nick »

If you are a Razor User I have these scripts for you too just ask...

Auto-attack nearest nonfriendly. cast consecrate weapon, set double shot, discord, heal with bandaids, [claimall, sort valuables to HBOH, and trash to token bag.

Have a WW version as well as one that only targets one set target (for when you are somewhere where you want to kill one target but not all (Swoops, Banchee queen ect.)
if you don't have 220 DEX you can increase heal wait times and it works fine.
If you don't have an HBOH you can just change the Auto-target corps [claimall to [claim
Dragor
Apprentice Scribe
Posts: 10
Joined: Sat Jan 09, 2021 11:00 pm

Re: [UOSTEAM] Attack Closest and Claim

Post by Dragor »

Razor scripts would be extremely helpful. I use Razor Enhanced and haven't been able to find scripts anywhere.
IGN: Dragor VonDau
Starion
Master Scribe
Posts: 59
Joined: Wed Aug 18, 2010 6:52 am

Re: [UOSTEAM] Attack Closest and Claim

Post by Starion »

Hi Nick,

Can you send me the Razor Scipts if you have them, looking to use [claim after using the whirlwind attack, saves clicking on each corpse.

Thx in advance
Isedorf
Passer by
Posts: 3
Joined: Fri Sep 10, 2021 11:00 am

Re: [UOSTEAM] Attack Closest and Claim

Post by Isedorf »

If anyone has a copy of these razor scripts I would love a copy as well. Thank you!
Nick
Legendary Scribe
Posts: 515
Joined: Fri Sep 24, 2010 12:40 pm
Location: PA native, liveing in NC right now Moveing to TX in march

Re: [UOSTEAM] Attack Closest and Claim

Post by Nick »

this is for a non- 220 dex ww user that wants to use [claim not [claimall. you need to set up an organizer 1 with a hot bag and target the items you want to be moved to the bag that is auto claimed (best is HBOH but works with any bag you target) also need to preselect any instrument as it also discords all targets. have any ww weapon preselected. if you are not healing change the .25 second delay on [healself to a longer time (.5, 1 or 2 ect). it will target valid targets avoid guild members and claim all corpses. It has problems if you are hunting with other ppl who use EasyUO auot loot that does not claim their kills and they are not in your party allowing you to claim their kills as razor can't tell between corps you have rights to or do not and will keep trying to claim the same corps when you don't have rights to loot it.


!Loop
Assistant.Macros.ExtCastSpellAction|203|4294967295
Assistant.Macros.ForAction|5
Assistant.Macros.SetAbilityAction|13
Assistant.Macros.SpeechAction|0|52|3|ENU|0|[bandself
Assistant.Macros.PauseAction|00:00:00.1000000
Assistant.Macros.UseSkillAction|15
Assistant.Macros.HotKeyAction|1515|
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.SpeechAction|0|52|3|ENU|0|[claim
Assistant.Macros.PauseAction|00:00:00.1000000
Assistant.Macros.TargetTypeAction|False|8198
Assistant.Macros.PauseAction|00:00:00.1000000
Assistant.Macros.TargetTypeAction|False|8198
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.TargetTypeAction|False|8198
Assistant.Macros.PauseAction|00:00:00.1000000
Assistant.Macros.HotKeyAction|0|Organizer Agent-1
Assistant.Macros.SpeechAction|0|52|3|ENU|0|[bandself
Assistant.Macros.SetAbilityAction|13
Assistant.Macros.UseSkillAction|15
Assistant.Macros.HotKeyAction|1515|
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.SetAbilityAction|13
Assistant.Macros.UseSkillAction|15
Assistant.Macros.HotKeyAction|1515|
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.SpeechAction|0|52|3|ENU|0|[bandself
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.SetAbilityAction|13
Assistant.Macros.UseSkillAction|15
Assistant.Macros.HotKeyAction|1389|
Assistant.Macros.HotKeyAction|1368|
Assistant.Macros.SetAbilityAction|13
Assistant.Macros.SpeechAction|0|52|3|ENU|0|[bandself
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.EndForAction
Starion
Master Scribe
Posts: 59
Joined: Wed Aug 18, 2010 6:52 am

Re: [UOSTEAM] Attack Closest and Claim

Post by Starion »

Many thanks Nick, I'll give this a try later, which version of Razor you using ?
Nick
Legendary Scribe
Posts: 515
Joined: Fri Sep 24, 2010 12:40 pm
Location: PA native, liveing in NC right now Moveing to TX in march

Re: [UOSTEAM] Attack Closest and Claim

Post by Nick »

I don't honestly know.... I just downloaded the most current version off the razor website a year or two ago... don't think they are updating it anymore so its probably the most current version still.
EDIT: I'm dumb... its razor v1.0.14
Post Reply