This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "Macro"

From Project 1999 Wiki
Jump to: navigation, search
(Percent Descriptors)
Line 5: Line 5:
 
Sample commands used in macros:
 
Sample commands used in macros:
  
/memspellset
+
/memspellset  
  
 
/autoinventory (good when foraging i.e.)
 
/autoinventory (good when foraging i.e.)
Line 46: Line 46:
 
</table>
 
</table>
  
===Pause===
+
===Actions===
  
Pause commands are special as they are executed at the end of each macro line even though they are typed at the front.
+
====Spells====
Pauses a macro sequence for 10 * x milliseconds. The actual value is a little lower, so /pause 500 is approximately 60 seconds +/- a couple seconds for server ticks.
+
Pause cannot go over 70 seconds.
+
  
Format: /pause [#]
+
'''Format:''' /castspell [number of spell gem (1-9)]
  
'''Usage'''
+
====Abilitys====
  
/pause 10 <pauses for 1 second>
+
'''Format:''' /doability [number on Abilities page or Combat page of Actions window]
  
/pause 15 <pauses for 1.5 seconds>
+
'''Eamples:'''
 +
*/doability 4 <will do the 4th Skill on Abilities Page>
 +
*/doability 7 <will do the 3rd Skill on Combat page>
  
/pause 100 <pauses for 10 seconds>
+
<table class="eoTable">
 +
  <tr>
 +
      <th colspan="2"><div align="center"><h3>Abilities Menu</h3></div></th>
 +
      <th colspan="2"><div align="center"><h3>Combat Menu</h3></div></th>
 +
  </tr>
 +
  <tr>
 +
      <td>[1]</td>
 +
      <td>[2]</td>
 +
      <td>[Melee]</td>
 +
      <td>[Ranged]</td>
 +
  </tr>
 +
  <tr>
 +
      <td>[3]</td>
 +
      <td>[4]</td>
 +
      <td>[7]</td>
 +
      <td>[8]</td>
 +
  </tr>
 +
  <tr>
 +
      <td>[5]</td>
 +
      <td>[6]</td>
 +
      <td>[9]</td>
 +
      <td>[10]</td>
 +
  </tr>
 +
</table>
  
===Timer===
+
====Disciplines====
  
Timer will not go over 7 hours
+
'''Format:''' /disc [name of Discipline]
  
 +
'''Example:''' /disc Righteous Indignation
  
==Examples==
+
===Pause===
  
===Corpse Dragging===
+
Pause commands are special as they are executed at the end of each macro line even though they are typed at the front.
 +
Pauses a macro sequence for 10 * x milliseconds. The actual value is a little lower, so /pause 500 is approximately 60 seconds +/- a couple seconds for server ticks.
 +
Pause cannot go over 70 seconds.
  
Line 1: /pause 10, /corpse
+
'''Format:''' /pause [#]
Line 2: /pause 10, /corpse
+
Line 3: /pause 10, /corpse
+
Line 4: /pause 10, /corpse
+
Line 5: /corpse
+
  
===Leveling Spell Casting===
+
'''Examples:'''
 +
*/pause 10 <pauses for 1 second>
 +
*/pause 15 <pauses for 1.5 seconds>
 +
*/pause 100 <pauses for 10 seconds>
  
This will cast the spell in your top spell slot once every 6 seconds for 5 casts.
+
===Timer===
  
Line 1: /pause 60, /cast 1
+
Doesn't seem to work in P99
Line 2: /pause 60, /cast 1
+
Line 3: /pause 60, /cast 1
+
Line 4: /pause 60, /cast 1
+
Line 5: /cast 1
+
  
==Stolen from Zam==
+
/timer
Not sure if all commands work on P1999.
+
  
    Pause example 1:
+
Timer will not go over 7 hours
        /pause 55, /cast 1
+
        This casts the spell in slot one and then pauses for 55 tenths of a second (5.5 seconds).
+
    Pause example 2:
+
        /pause 55, /cast 1
+
        /pause 30, /cast 2
+
        /pause 10, /g Send in the dogs of war!
+
        /pet attack
+
        This would cast the spell in slot one, pause for 5.5 seconds, cast the spell in slot two, pause for 3 second, tell your group "Send in the dogs of war!", pause 1 second then tell your pet to attack your current target.
+
        The 5.5 seconds and 3 seconds are significant because it gives your spell time to cast. You also have to account for refresh time. Macro's will keep running and will not wait on its own for your spells to cast! So in this example spell 1 might take 5 seconds to cast, 1/2 second to refresh and spell 2 might take 2.5 seconds.
+
  
    You can also use your AA's in macros. Use the command "/alt list" to find the alt activation number or see the Activatable AAs here.
+
==Examples==
  
 +
===Corpse Dragging===
  
 +
*Line 1: /pause 10, /corpse
 +
*Line 2: /pause 10, /corpse
 +
*Line 3: /pause 10, /corpse
 +
*Line 4: /pause 10, /corpse
 +
*Line 5: /corpse
  
    Autoforage macro: (Assumes Forage is #4 on ability page of Actions window, and assumes you have double forage AAs, if not you can remove the 2nd line):
+
===Leveling Casting Skills===
            /pause 6,/doability 4
+
            /pause 6,/autoinventory
+
            /autoinventory
+
  
    Vishimtar (last DoN raid) cure macro:
+
This will cast the spell in your top spell slot once every 6 seconds for 5 casts.
            /tar mournful
+
            /pause 4
+
            /say Hail, %t
+
            /say shoulder my burden
+
 
+
    Macro for often /tell information:
+
            /pause 20,/r reply_text_you_wish_to_send
+
            /pause 20,/r more_reply_text_you_wish_to_send
+
 
+
    Macro to grab aggro (using AA and taunt ability, assuming Taunt is #3 on combat page of Actions window. To determine the /altactivate # to use, view your ability in the Alternate Advancement Window. The id # will be shown in the information box at the bottom if an ability is selected: Ability Activate ID: ###.)
+
            /pause 4,/g Aggroing %t
+
            /pause 4,/doability 7
+
            /pause 4,/alt activate ####
+
 
+
    In order to macro a combat ability the command is
+
        /disc FULL NAME OF DISCIPLINE
+
 
+
        Paladin example
+
            /disc Righteous Indignation
+
 
+
 
+
New /timer command
+
 
+
(Not sure when this was added.)
+
 
+
    With the new /timer command you can add a new first line to the above forage macro so it will let you know when forage is available again:
+
            /timer 1000
+
            /pause 6,/doability 4
+
            /pause 6,/autoinventory
+
            /autoinventory
+
 
+
    You can also use /timer in spell and disc macros to let you know when they are available again. Or set it to the spell duration for things like hots, debuffs, slows and dots to let you know when to recast. You can have multiple macros with /timer running, unlike /pause. You can right click (as if to edit) a macro button with a running timer to stop it. /timer can be placed on the same line as another command but not on the same line as a /pause command. The value for /timer is the time in tenths of a second exactly unlike /pause, so in the following macro the timer will end about 10 seconds before the third line runs.
+
 
+
            /timer 500
+
            /pause 500, /time
+
            /time
+
 
+
    Example, spell slot 7 is ensnare (no detrimental extension), timer is a little short for time to resnare before old wears off
+
 
+
            /timer 7900, /cast 7
+
  
(( /timer adds the cool-down shadow graphic to your social macro hot-buttons. It's the same shading you'd see on spell icons or AA hot-keys ))
+
*Line 1: /pause 60, /cast 1
 +
*Line 2: /pause 60, /cast 1
 +
*Line 3: /pause 60, /cast 1
 +
*Line 4: /pause 60, /cast 1
 +
*Line 5: /cast 1

Revision as of 20:10, 7 July 2017

A Macro is a customizable hotkey with 5 lines (1 command per line and a pause), you can store 12 per page and have 10 pages of macros. Common macros, include pulling, spell casting, corpse dragging. Your macros are stored per character file "Yourcharactername_project1999.ini" in your EQ directory.

Contents

Macro Commands

Sample commands used in macros:

/memspellset

/autoinventory (good when foraging i.e.)

/Gsay incoming with %T

Percent Target Descriptors

Shortcut Value Checked Result
%T Target's Name A Qeunos Guard
%S Gender Pronoun he/She/it
%O Gender Pronoun Him/Her/it
%P Gender Pronoun His/Hers/Its
%R Target's Race (players only) Human

Actions

Spells

Format: /castspell [number of spell gem (1-9)]

Abilitys

Format: /doability [number on Abilities page or Combat page of Actions window]

Eamples:

  • /doability 4 <will do the 4th Skill on Abilities Page>
  • /doability 7 <will do the 3rd Skill on Combat page>

Abilities Menu

Combat Menu

[1] [2] [Melee] [Ranged]
[3] [4] [7] [8]
[5] [6] [9] [10]

Disciplines

Format: /disc [name of Discipline]

Example: /disc Righteous Indignation

Pause

Pause commands are special as they are executed at the end of each macro line even though they are typed at the front. Pauses a macro sequence for 10 * x milliseconds. The actual value is a little lower, so /pause 500 is approximately 60 seconds +/- a couple seconds for server ticks. Pause cannot go over 70 seconds.

Format: /pause [#]

Examples:

  • /pause 10 <pauses for 1 second>
  • /pause 15 <pauses for 1.5 seconds>
  • /pause 100 <pauses for 10 seconds>

Timer

Doesn't seem to work in P99

/timer

Timer will not go over 7 hours

Examples

Corpse Dragging

  • Line 1: /pause 10, /corpse
  • Line 2: /pause 10, /corpse
  • Line 3: /pause 10, /corpse
  • Line 4: /pause 10, /corpse
  • Line 5: /corpse

Leveling Casting Skills

This will cast the spell in your top spell slot once every 6 seconds for 5 casts.

  • Line 1: /pause 60, /cast 1
  • Line 2: /pause 60, /cast 1
  • Line 3: /pause 60, /cast 1
  • Line 4: /pause 60, /cast 1
  • Line 5: /cast 1