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
(Created page with "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 c...")
 
(Training Feign death skill for Monk)
 
(22 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
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.
 
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.
  
==Macro Commands==
+
For directions on how to make hotkeys to invoke macros, see the [[Advanced_Techniques_Guide]] under "Macros". 
  
Sample commands used in macros:
+
==Macro Commands==
  
/memspellset
+
Sample ''[[commands]]'' used in macros:
  
 
/autoinventory (good when foraging i.e.)
 
/autoinventory (good when foraging i.e.)
Line 11: Line 11:
 
/Gsay incoming with %T
 
/Gsay incoming with %T
  
===Percent Descriptors===
+
<s>/memspellset</s>  Doesn't seem to work in P99
  
%T    Target's Name
+
===Percent Target Descriptors===
  
 +
<table class="eoTable3">
 +
  <tr>
 +
      <th>Shortcut</th>
 +
      <th>Value Checked</th>
 +
      <th>Result</th>
 +
  </tr>
 +
  <tr>
 +
      <td>%T</td>
 +
      <td>Target's Name</td>
 +
      <td>A Qeynos Guard</td>
 +
  </tr>
 +
  <tr>
 +
      <td>%S</td>
 +
      <td>Gendered Subject Pronoun</td>
 +
      <td>he/she/it</td>
 +
  </tr>
 +
  <tr>
 +
      <td>%O</td>
 +
      <td>Gendered Object Pronoun</td>
 +
      <td>him/her/it</td>
 +
  </tr>
 +
  <tr>
 +
      <td>%P</td>
 +
      <td>Gendered Possessive Pronoun</td>
 +
      <td>his/hers/its</td>
 +
  </tr>
 +
  <tr>
 +
      <td>%R</td>
 +
      <td>Target's Race (players only)</td>
 +
      <td>Human</td>
 +
  </tr>
 +
</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:''' /cast [number of spell gem (1-8)]
  
'''Usage'''
+
====Abilities====
  
/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
+
''The above description has remained unedited because its meaning is unclear, but pause is 100 * x milliseconds, as detailed below in the example /pause 100 <pauses for 10 seconds> pauses 100 x 100ms = 10000ms = 10s or /pause 10 <pauses for 1 second> pauses 10 x 100ms = 1000ms = 1s''
Line 2: /pause 10, /corpse
+
Line 3: /pause 10, /corpse
+
Line 4: /pause 10, /corpse
+
Line 5: /corpse
+
  
===Leveling Spell Casting===
+
Remember to account for your latency to the server when adding pauses in your macro. A higher latency may require a longer pause than someone with a lower latency.
  
This will cast the spell in your top spell slot once every 6 seconds for 5 casts.
+
'''Format:''' /pause [#]
  
Line 1: /pause 60, /cast 1
+
'''Examples:'''
Line 2: /pause 60, /cast 1
+
*/pause 10 <pauses for 1 second>
Line 3: /pause 60, /cast 1
+
*/pause 15 <pauses for 1.5 seconds>
Line 4: /pause 60, /cast 1
+
*/pause 100 <pauses for 10 seconds>
Line 5: /cast 1
+
  
==Stolen from Zam==
+
===Timer===
Not sure if all commands work on P1999.
+
  
    Pause example 1:
+
<s>/timer     Timer will not go over 7 hours</s>  Doesn't seem to work in P99
        /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==
  
 +
===Bind Wound===
  
 +
*Line 1: /pause 95, /doability #
 +
*Line 2: /pause 95, /doability #
 +
*Line 3: /pause 95, /doability #
 +
*Line 4: /pause 95, /doability #
 +
*Line 5: /doability #
  
    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):
+
Alternate Line 5: /sit
            /pause 6,/doability 4
+
            /pause 6,/autoinventory
+
            /autoinventory
+
  
    Vishimtar (last DoN raid) cure macro:
+
===Corpse Dragging===
            /tar mournful
+
            /pause 4
+
            /say Hail, %t
+
            /say shoulder my burden
+
  
    Macro for often /tell information:
+
*Line 1: /pause 10, /corpse
            /pause 20,/r reply_text_you_wish_to_send
+
*Line 2: /pause 10, /corpse
            /pause 20,/r more_reply_text_you_wish_to_send
+
*Line 3: /pause 10, /corpse
 +
*Line 4: /pause 10, /corpse
 +
*Line 5: /corpse
 +
 
 +
===Dragging Two Corpses===
 +
#/pause 2, /target Name'
 +
#/pause 2, /corpse
 +
#/pause 2, /target Name'
 +
#/corpse
 +
 
 +
===Leveling Casting Skills===
 +
 
 +
This will cast the spell in your top spell slot once every 6 seconds for 5 casts.
  
    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: ###.)
+
*Line 1: /pause 60, /cast 1
            /pause 4,/g Aggroing %t
+
*Line 2: /pause 60, /cast 1
            /pause 4,/doability 7
+
*Line 3: /pause 60, /cast 1
            /pause 4,/alt activate ####
+
*Line 4: /pause 60, /cast 1
 +
*Line 5: /cast 1
  
    In order to macro a combat ability the command is
+
===Cannibalize Stand Sit===
        /disc FULL NAME OF DISCIPLINE
+
pause 14 for Canni 1, 2 & 3
  
        Paladin example
+
pause 26 for Canni 4
            /disc Righteous Indignation
+
  
 +
#/pause 2, /stand
 +
#/pause 14, /cast 1
 +
#/sit
  
New /timer command
+
===Pet Attack Different Target===
 +
This requires the player to be targeting the npc they want their pet to attack instead.
  
(Not sure when this was added.)
+
#/pause 2, /pet back
 +
#/pet attack
  
    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:
+
===Pet Back Follow===
            /timer 1000
+
Backs the pet off a target to their owner and off their guard spot.
            /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.
+
This can also be used to trick the fire ele pet into casting DS on it self
  
            /timer 500
+
#/pause 2, /pet back
            /pause 500, /time
+
#/pet follow
            /time
+
  
    Example, spell slot 7 is ensnare (no detrimental extension), timer is a little short for time to resnare before old wears off
+
===Fishing===
 +
Fishing requires your cursor to be empty before using the skill. Using a /say message will help you know when to press the hotkey again.
  
            /timer 7900, /cast 7
+
*/pause 130, /doability #
 +
*/pause 10, /autoinv
 +
*/pause 130, /doability #
 +
*/pause 10, /autoinv
 +
*/say I caught something!
  
(( /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 ))
+
===Training Feign death skill for Monk===
 +
Will trigger 3 feign deaths and leave you feign deathed
 +
*/pause 20, /doability #
 +
*/pause 80, /sit
 +
*/pause 20, /doability #
 +
*/pause 80, /sit
 +
*/doability #

Latest revision as of 23:50, 20 September 2025

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.

For directions on how to make hotkeys to invoke macros, see the Advanced_Techniques_Guide under "Macros".

Contents

Macro Commands

Sample commands used in macros:

/autoinventory (good when foraging i.e.)

/Gsay incoming with %T

/memspellset Doesn't seem to work in P99

Percent Target Descriptors

Shortcut Value Checked Result
%T Target's Name A Qeynos Guard
%S Gendered Subject Pronoun he/she/it
%O Gendered Object Pronoun him/her/it
%P Gendered Possessive Pronoun his/hers/its
%R Target's Race (players only) Human

Actions

Spells

Format: /cast [number of spell gem (1-8)]

Abilities

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.

The above description has remained unedited because its meaning is unclear, but pause is 100 * x milliseconds, as detailed below in the example /pause 100 <pauses for 10 seconds> pauses 100 x 100ms = 10000ms = 10s or /pause 10 <pauses for 1 second> pauses 10 x 100ms = 1000ms = 1s

Remember to account for your latency to the server when adding pauses in your macro. A higher latency may require a longer pause than someone with a lower latency.

Format: /pause [#]

Examples:

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

Timer

/timer Timer will not go over 7 hours Doesn't seem to work in P99

Examples

Bind Wound

  • Line 1: /pause 95, /doability #
  • Line 2: /pause 95, /doability #
  • Line 3: /pause 95, /doability #
  • Line 4: /pause 95, /doability #
  • Line 5: /doability #

Alternate Line 5: /sit

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

Dragging Two Corpses

  1. /pause 2, /target Name'
  2. /pause 2, /corpse
  3. /pause 2, /target Name'
  4. /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

Cannibalize Stand Sit

pause 14 for Canni 1, 2 & 3

pause 26 for Canni 4

  1. /pause 2, /stand
  2. /pause 14, /cast 1
  3. /sit

Pet Attack Different Target

This requires the player to be targeting the npc they want their pet to attack instead.

  1. /pause 2, /pet back
  2. /pet attack

Pet Back Follow

Backs the pet off a target to their owner and off their guard spot.

This can also be used to trick the fire ele pet into casting DS on it self

  1. /pause 2, /pet back
  2. /pet follow

Fishing

Fishing requires your cursor to be empty before using the skill. Using a /say message will help you know when to press the hotkey again.

  • /pause 130, /doability #
  • /pause 10, /autoinv
  • /pause 130, /doability #
  • /pause 10, /autoinv
  • /say I caught something!

Training Feign death skill for Monk

Will trigger 3 feign deaths and leave you feign deathed

  • /pause 20, /doability #
  • /pause 80, /sit
  • /pause 20, /doability #
  • /pause 80, /sit
  • /doability #