Page 1 of 1
macro help (uosteam)
Posted: Wed Apr 12, 2023 10:32 pm
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
Re: combat macros (uosteam)
Posted: Thu Apr 13, 2023 9:29 am
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.
Re: combat macros (uosteam)
Posted: Thu Apr 13, 2023 2:27 pm
by nocturne7saint
Yeah I found a discordance/attack macro in that part of the forums. have not tested it yet though.
Re: combat macros (uosteam)
Posted: Thu Apr 13, 2023 2:52 pm
by sarmatian
Re: combat macros (uosteam)
Posted: Fri Apr 14, 2023 7:17 pm
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'
Re: macro help (uosteam)
Posted: Sat Apr 15, 2023 3:10 pm
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
Re: macro help (uosteam)
Posted: Sun Apr 16, 2023 7:55 am
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
Re: macro help (uosteam)
Posted: Wed Apr 19, 2023 8:52 am
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.
