Page 1 of 1

ClassicAssist Mini Tutorial with some very basic examples

Posted: Thu Mar 18, 2021 12:59 am
by Gordie
ClassicAssist is something I like to use instead of razor, just because it is easier to have your macros do what you want them to do through lines of code, instead of recording bits and pieces and try to mash them together and hope for them to make sense.'

Feel free to contribute your macros in the thread if you found a way to make something that is handy :) I am a complete newbie with python, so it will be a while for me to build anything useful out of them.

Where to get: https://github.com/Reetus/ClassicAssist/releases/
Commands and some very limited info and examples: https://github.com/Reetus/ClassicAssist ... o-Commands
How To Load it with ClassicUO: Drop you plugins programs that you want to use within the correct folder to load them at startup \ClassicUO\Data\Plugins

You can also save a profile for each of your characters if you like to use same/similar keybindings, so you don't need to override anything.

Re: ClassicAssist Mini Tutorial with some very basic examples

Posted: Thu Mar 18, 2021 1:03 am
by Gordie
object and serials - the serial is without " or ' - this particular object is probably a stack of meteor shower scrolls or lockpicks or something
UseObject(0x484ca0a2)
WaitForTarget(5000)

Pet/Henchie target closest red and attack, plus self attack: (this is with an archer player character pov, not completely sure how it works in melee)
GetEnemy(["Murderer"],'any','closest')
Pause(120)
Msg('All Kill')
WaitForTarget(5000)
Pause(100)
Target("last")
Pause(130)
Attack("last")

For Gray targets:
GetEnemy(["Gray"],'enemy','closest')
Pause(100)
Msg('All Kill')
WaitForTarget(5000)
Pause(100)
Target("last")
Pause(100)
Attack("last")

Meditation macro:
WarMode("on")
Pause(1300)
WarMode("off")
WarMode("off")
Pause(200)
UseSkill("Meditation")

Self buffing with magery:
Cast("Strength")
WaitForTarget(5000)
Target("self")
Pause(2700)
Cast("Agility")
WaitForTarget(5000)
Target("self")
Pause(2700)
Cast("Cunning")
WaitForTarget(5000)
Target("self")
Pause(2700)
Cast("Protection")
WaitForTarget(5000)
Target("self")
Pause(2700)
Cast("Bless")
WaitForTarget(5000)
Target("self")
Pause(2700)
Cast("Polymorph")
Pause(2000)

Re: ClassicAssist Mini Tutorial with some very basic examples

Posted: Thu Mar 18, 2021 1:31 am
by Gordie
You can also tab through nearby Grays with this example. Note however that it targets and attacks "last", in case you just bandaged a friendly, you might just start shooting or hitting at them. Happened to me once, but it works most of the time brilliantly anyway :)

GetEnemy(["Gray"],'enemy','nearest')
Attack("last")