macro help (uosteam)

Don't know how something works? Here you will find some useful links. And if you have a question, feel free to ask.
Post Reply
User avatar
nocturne7saint
Elder Scribe
Posts: 180
Joined: Thu May 30, 2019 9:32 pm

macro help (uosteam)

Post by nocturne7saint »

I don't know where to look for the macros I'm going to need.

first i need an attack nearest discordance macro, been looking for one.

second I might need one for chivalry and bushido macros that go good with bow and swords both.

still not quite sure what kind of macros i need, but suggestions will be appreciated
Last edited by nocturne7saint on Fri Apr 14, 2023 7:20 pm, edited 1 time in total.
blackstone from the ILV guild
User avatar
ButteryBiscuits
Elder Scribe
Posts: 112
Joined: Tue Apr 30, 2019 9:32 am

Re: combat macros (uosteam)

Post by ButteryBiscuits »

i think there is a section in the forums here for uosteam vs razor vs easyuo macros, if not just search by type. Also recommend joining Matrix's (un)official UOEX discord server. There are definitely macro sections in there.
BB
---------------------------
ButteryBiscuits
in game name ButteryBiscuits
https://en.wikipedia.org/wiki/Mermaid_of_Warsaw
User avatar
nocturne7saint
Elder Scribe
Posts: 180
Joined: Thu May 30, 2019 9:32 pm

Re: combat macros (uosteam)

Post by nocturne7saint »

Yeah I found a discordance/attack macro in that part of the forums. have not tested it yet though.
blackstone from the ILV guild
sarmatian
Grandmaster Scribe
Posts: 88
Joined: Fri May 29, 2020 10:55 am

Re: combat macros (uosteam)

Post by sarmatian »

User avatar
nocturne7saint
Elder Scribe
Posts: 180
Joined: Thu May 30, 2019 9:32 pm

Re: combat macros (uosteam)

Post by nocturne7saint »

so i found this macro, i have a dagger and a pair of scizzors in my backpack, but when i execute this macro it keeps telling me "no dagger"

Code: Select all

//you need dagger and scissors in backpack
//auto loot may not work on your server !
//also loots feather's and gold
if not @findtype '0x2006' 'any' 'ground' '1' '2'
  sysmsg ' ******No Corpse Found******' '28'
  stop
else
  @setalias! 'o' 'found'
endif
if not @findtype '0xec4' 'any' 'backpack'
  sysmsg '*****No dagger*****' '25'
  stop
else
  @usetype! '0xec4' 'any' 'backpack'
  waitfortarget '5000'
  target! 'o'
  pause 600
endif
if @findtype! '0x1079' 'any' 'o' 'any' '2'
  @movetype '0x1079' 'o' 'backpack'
  pause 2000
  @usetype! '0xf9f' 'any' 'backpack'
  waitfortarget '2000'
  targettype '0x1079' 'any' 'backpack'
  pause 600
endif
if @findtype! '0x1bd1' 'any' 'o' 'any' '2'
  @movetype '0x1bd1' 'o' 'backpack'
  pause 1000
endif
if @findtype! '0xeed' 'any' 'o' 'any' '2'
  @movetype '0xeed' 'o' 'backpack'
  pause 1000
endif
if @findtype! '0xf26' 'any' 'o' 'any' '2'
  @movetype '0xf26' 'o' 'backpack'
  pause 1000
endif
ignoreobject 'o'
sysmsg 'Corpse Now Ignored' '25'
pause '1500'
blackstone from the ILV guild
sarmatian
Grandmaster Scribe
Posts: 88
Joined: Fri May 29, 2020 10:55 am

Re: macro help (uosteam)

Post by sarmatian »

use object inspector from UOSteam Macro tab to check if your dagger has the same type/graphic as in script
this is most helpful tool when creating debuging scripts
vempa
Journeyman Scribe
Posts: 28
Joined: Thu Apr 04, 2013 7:31 pm

Re: macro help (uosteam)

Post by vempa »

There are a couple other things you could try, after Sarmatian's comments;

Make sure the dagger is in you backpack and not a container within

Remove the '@' signs to enable verbose system messages - might shed more light.

Try removing the single quotes around item IDs:
if not @findtype '0xec4' 'any' 'backpack'
becomes
if not findtype 0xec4 'any' 'backpack'
Make sure your indentation is uniform and correct- I've never written UOSteam but from the syntax, it might be running on a python interpreter and thus might be sensitive to TABS/Spaces.
Essentially, make sure u use all tabs or all spaces for indents, don't mix them. Might also be the case for newlines but given the context, unlikely to be the issue here
User avatar
Eremite
Grandmaster Scribe
Posts: 96
Joined: Sat Jan 28, 2023 7:20 pm

Re: macro help (uosteam)

Post by Eremite »

Here's the one I use for attacking the nearest mob: https://github.com/Erumite/UOEX-Macros/ ... est.groovy

It will:
1. Find nearest mob and start attacking them
2. If you have a pet (only one), it will tell them to attack also if you're in war mode (else tells them to guard you)
3. You can edit the Momentum Strike bit to whatever special attack you want to use (primary, secondary, etc)
4. Keeps Confidence and Consecrate Weapon up on a timer - can edit this with the same format I use here.
5. Casts Divine Fury if stam < 150 (edit to whatever)
6. Casts Discordance on Enemy
7. Runs some organizers that I like to run on-the-fly - delete if you don't need this.
8. Scans all equipped items and will warn you with a big read head message if something's durability drops below 15/X

I tried to add comments in the code as well to kinda help out anyone else who can't make sense of what I'm gong for. :D
Post Reply