ClassicAssist Mini Tutorial with some very basic examples

Discussion about the WoD
Post Reply
Gordie
Upstanding
Upstanding
Posts: 46
Joined: Tue Jan 12, 2016 7:33 pm

ClassicAssist Mini Tutorial with some very basic examples

Post by Gordie » Thu Mar 18, 2021 12:59 am

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.
Attachments
armmacro.jpg
armmacro.jpg (81.17 KiB) Viewed 234 times
primary.jpg
primary.jpg (81.25 KiB) Viewed 234 times
use skill.jpg
use skill.jpg (79.48 KiB) Viewed 234 times
Last edited by Gordie on Thu Mar 18, 2021 1:12 am, edited 1 time in total.

Gordie
Upstanding
Upstanding
Posts: 46
Joined: Tue Jan 12, 2016 7:33 pm

Re: ClassicAssist Mini Tutorial with some very basic examples

Post by Gordie » Thu Mar 18, 2021 1:03 am

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)

Gordie
Upstanding
Upstanding
Posts: 46
Joined: Tue Jan 12, 2016 7:33 pm

Re: ClassicAssist Mini Tutorial with some very basic examples

Post by Gordie » Thu Mar 18, 2021 1:31 am

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")

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests