Go Back   Forum > Runes of Magic - (EN) > Community > AddOns & UI

Reply
 
Thread Tools Display Modes
Old 27.11.2008, 23:32   #1
omnifas
 
omnifas's Avatar
 
Server: Somewhere in Germany
Gilde: Wicked Red
 
Join Date: 14.07.2008
Age: 23

Gender:
Location: California

Users Flag!
Beitrag [Guide]Advanced Macroing(by TheGooch)

*****If you can do it, it doesn't mean you should*****
***A bot is a bot, no matter how you look at it***

>>>>All Credit For These Findings Goes To Thegooch(Cyanide)<<<<


This is a compilation of Macro Commands using the /script command found by Thegooch(Cyanide) in the [Guide]Basic Macro Commands thread.

Recommend reading through Syndreamer's Basic Macro Commands guide once if you are new to the Macroing Scene.

Message:
Experiment a bit after looking through some of the listed Macros. If you need help or found a use for a Function we don't have up yet, post.

Each Content links to the post with the explanations and details.

Contents:(anything without a name on it is founded by TheGooch)
Changing Width of Chat Frame, and relocating the Framerate text(Crtl-X)
If you always party with only one other person, then here's some handy macros
Put the open backpack where you want
Cancel Buff by Index(Number)
Using skills through hotbar slot
Numbers for each corresponding hotbar
Moving the Casting Bar(also moves crafting/gathering progress, credit strombow for pointing it out)
Moving the "Equipment Damaged" Graphic
Moving the Scrolling Text
Open Bank, House Chest, Character Window
Checking the amount of HitPoints a mob has(before Attack)
Assisting Person(requires you to target the person you want to help)
Get Target's Primary/Secondary Classes in chat frame
Remove Class Icons

Toggle Hotbar Lock
Report the level of crown elites
Loot frame positioning
Conditional Action Script(omnifas)
Modifier Functions(alt, shift, ctrl)
Sending Monster Information to public chat
Movement Functions(DennyR)
Variables
Camera Functions

These only scratch the surface, there is far more you can do with the current macro system.

There are more in the Thread, but due to my beliefs I will not list them, but if you are willing to search/read through the thread you'll find them.

Terms/Syntax/General Information to know:

/script - Needs to be in the Macro of Most if not all of the Macros listed above. It Tells the Macro System to access the LUA Functions in the RoM API. Like the /cast function which tell the system to access the Cast Function.

Syntax of an if/else statement
-
Code:
/script if (*Condition*) then *Action*; else *Action*; end
Example:
Code:
/script if (UnitHealth("player")/UnitMaxHealth("player")<=.85) then UseAction(9); elseif (UnitHealth("player")/UnitMaxHealth("player")<=.90) then UseAction(11); else UseAction(13); end
The semicolon (; ) - is used to mark the end of a statement, its like the period (.) in english. It is better to learn from example, look at the above example and guess why the (; ) is there.

Character Limit - Macros are limited by a certain number of characters(letters) allowed per Macro. There are ways to connect Macros, and you'll see a few in the list above.

RoM/WoW Similarities - A lot of functions are similar to the WoW API, http://www.wowwiki.com/Portal:Interface_customization, so some functions from WoW may work in RoM.

Tips:
Quote:
Originally Posted by TheGooch View Post
If you include it with your other favorite macros (for window positions) then it's just one click of a macro to set up a bunch of stuff each time you log in. Unfortunately the 1793 patch still doesn't save all these settings, so we're using macro's to set a bunch in one shot.
Quote:
Originally Posted by Stormbow View Post
Hotbar Numbering
Main Bar: 1-20
Upper Bar: 21-40
Right Bar: 41-60
Left Bar: 61-80
Quote:
Originally Posted by Stormbow View Post
Tip: Throw all your UI mods on one of your unused Quick Bars (I use Left Bar: 61-80, which is not visible on my screen) and use the /script UseAction(61); UseAction(62); UseAction(63); etc. script to activate all of them from one visible quick bar slot.
Quote:
You can stack multiple items under one /script command (but the macro's only allow a certain number of characters)(separate with a semi-colon( ; ))
Quote:
Originally Posted by TheGooch View Post
This tip isn't a macro, but it's related to macros. Often you write macros under one character but want your other characters to be able to use it as well. If you're familiar with windows and copying files, it's pretty easy to do, and faster than logging in as each character and re-creating the macro's over and over for each character.

If you're using Windows Vista, your macro file is here:
C:/Users/[your windows user name]/Documents/Radiant Arcana/[character name]/Macro.bsd

If you're using Windows XP, your macro file is here:
C:/Documents and Settings/[your windows user name]/My Documents/Radiant Arcana/[character name]/Macro.bsd

Just copy the Macro.bsd file from the character name folder that has the most up-to-date macros into each of your other characters folders (overwriting them if they exist). The next time you log in as those characters you will have all your latest macros and just need to drag the ones you want onto your hotbar.
__________________
:purewin:One armed Bandit of Wicked Red, literally.:purewin:

₪ :cheese: I Like Cheese :cheese: ₪
Omnifas 23/21(Inactive)
Ominous 30/26(Active)
Omnivox 10/09(Sleeps most of the time)

Last edited by omnifas; 22.01.2009 at 11:50..
omnifas is offline   Reply With Quote
Old 27.11.2008, 23:40   #2
Dasadorah
 
Dasadorah's Avatar
 
Server: Macantacht- The most magical server of all.
Gilde: Wicked Red; Guildmaster
 
Join Date: 01.08.2008
Age: 22

Gender:
Location: (Louisiana) USA

Users Flag!
Default

Very nice, /moved to guides and stickies.
__________________
Wicked Red lives on forever!

Retired on July 01, 2009 Warrior/Priest 50/50
Dasadorah is offline   Reply With Quote
Old 28.11.2008, 22:32   #3
TheGooch
 
TheGooch's Avatar
 
 
Join Date: 28.08.2008

Default

Here's a new one. I noticed this setting doesn't get saved and I don't like those class icons over everyone's heads. You can disable them with this macro:

Code:
/script GC_SetTitleIconVisible(false);
If you include it with your other favorite macros (for window positions) then it's just one click of a macro to set up a bunch of stuff each time you log in. Unfortunately the 1793 patch still doesn't save all these settings, so we're using macro's to set a bunch in one shot.
__________________
The Gooch (Cyanide in-game).

Check out my Inventory Viewer AddOn
Check out my Notepad AddOn
TheGooch is offline   Reply With Quote
Old 29.11.2008, 03:51   #4
syndreamer
 
syndreamer's Avatar
 
Server: USA
Gilde: Runes of Magic Savant
 
Join Date: 22.07.2008
Age: 25

Gender:

Users Flag!
Default

Cheers Omnifas and TheGooch for creating this thread!
syndreamer is offline   Reply With Quote
Old 29.11.2008, 09:29   #5
Stormbow
Gesperrt
 
 
Join Date: 15.09.2008

Default

Quote:
Originally Posted by TheGooch View Post
Here's a new one. I noticed this setting doesn't get saved and I don't like those class icons over everyone's heads. You can disable them with this macro:

Code:
/script GC_SetTitleIconVisible(false);
If you include it with your other favorite macros (for window positions) then it's just one click of a macro to set up a bunch of stuff each time you log in. Unfortunately the 1793 patch still doesn't save all these settings, so we're using macro's to set a bunch in one shot.
Tip: Throw all your UI mods on one of your unused Quick Bars (I use Left Bar: 61-80, which is not visible on my screen) and use the /script UseAction(61); UseAction(62); UseAction(63); etc. script to activate all of them from one visible quick bar slot.
Stormbow is offline   Reply With Quote
Old 29.11.2008, 09:31   #6
TheGooch
 
TheGooch's Avatar
 
 
Join Date: 28.08.2008

Default

Quote:
Originally Posted by Stormbow View Post
Tip: Throw all your UI mods on one of your unused Quick Bars (I use Left Bar: 61-80, which is not visible on my screen) and use the /script UseAction(61); UseAction(62); UseAction(63); etc. script to activate all of them from one visible quick bar slot.
Great idea! Good thinking!
__________________
The Gooch (Cyanide in-game).

Check out my Inventory Viewer AddOn
Check out my Notepad AddOn
TheGooch is offline   Reply With Quote
Old 29.11.2008, 09:36   #7
Stormbow
Gesperrt
 
 
Join Date: 15.09.2008

Default

Quote:
Originally Posted by TheGooch View Post
Great idea! Good thinking!
Thank you.
Stormbow is offline   Reply With Quote
Old 29.11.2008, 09:50   #8
omnifas
 
omnifas's Avatar
 
Server: Somewhere in Germany
Gilde: Wicked Red
 
Join Date: 14.07.2008
Age: 23

Gender:
Location: California

Users Flag!
Default

yes, thank you for the tip, reminded me to make a tip section.
__________________
:purewin:One armed Bandit of Wicked Red, literally.:purewin:

₪ :cheese: I Like Cheese :cheese: ₪
Omnifas 23/21(Inactive)
Ominous 30/26(Active)
Omnivox 10/09(Sleeps most of the time)
omnifas is offline   Reply With Quote
Old 30.11.2008, 05:52   #9
TheGooch
 
TheGooch's Avatar
 
 
Join Date: 28.08.2008

Default

Here's a new one for you guys...

Everyone is happy they recently added the ability to lock the hotbars so we can't accidently drag our icons off them in the heat of a battle. But, someone (in one of the other threads) mentioned that it'd be better if there was a hotkey to enable/disable the lock. Well, you can use the following macro to toggle the locked state:

Code:
/script if (ACTIONBUTTON_LOCKED==true) then ACTIONBUTTON_LOCKED=false; else ACTIONBUTTON_LOCKED=true; end
__________________
The Gooch (Cyanide in-game).

Check out my Inventory Viewer AddOn
Check out my Notepad AddOn
TheGooch is offline   Reply With Quote
Old 30.11.2008, 06:08   #10
TheGooch
 
TheGooch's Avatar
 
 
Join Date: 28.08.2008

Default

This tip isn't a macro, but it's related to macros. Often you write macros under one character but want your other characters to be able to use it as well. If you're familiar with windows and copying files, it's pretty easy to do, and faster than logging in as each character and re-creating the macro's over and over for each character.

If you're using Windows Vista, your macro file is here:
C:/Users/[your windows user name]/Documents/Radiant Arcana/[character name]/Macro.bsd

If you're using Windows XP, your macro file is here:
C:/Documents and Settings/[your windows user name]/My Documents/Radiant Arcana/[character name]/Macro.bsd

Just copy the Macro.bsd file from the character name folder that has the most up-to-date macros into each of your other characters folders (overwriting them if they exist). The next time you log in as those characters you will have all your latest macros and just need to drag the ones you want onto your hotbar.
__________________
The Gooch (Cyanide in-game).

Check out my Inventory Viewer AddOn
Check out my Notepad AddOn
TheGooch is offline   Reply With Quote
Reply

Bookmarks

Tags
guide, macro, script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT +2. The time now is 05:09.

Top

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.