Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Issue with players using specific macro

Hi all, I've added/created several macros over the years for my players to use and haven't really had any issues. I added a spell macro for them the other day, and when I test it or I run it as GM or player it works, but when the players I've assigned it to use it they only get the following output in chat: #P2-Spiritual Hammer Here is macro that I pulled from the 2e AD&D Macro post &{template:2Espell}{{title=@{selected|token_name} casts Spiritual Hammer}}{{splevel=Level 2 Priest}}{{school=Invocation}}{{sphere=Combat}}{{components=V, S, M}}{{time=[[5]]}}{{range=[[10*@{selected|level}]] yards}}{{duration=[[3+@{selected|level}]] rounds}}{{aoe=[[1]] war hammer}}{{save=None}}{{effects=This spell calls into being a field of force shaped like a hammer. The hammer works off of the Priest's THAC0 without any Strength bonuses they may have. The hammer deals [[1d4+1+{3,(ceil((@{selected|level})/6))}kl1)]] to man-size or smaller creatures and [[1d4+{3,(ceil((@{selected|level})/6))}kl1)]] damage to larger opponents and this conjured hammer is considered a magical weapon, operating as a +[[{3,(ceil((@{selected|level})/6))}kl1)]] weapon. The hammer will only strike in the same direction that the caster is facing. The hammer can be dispelled by enemies that have Magic Resistance. If the hammer strikes at a creature with Magic Resistance, the resistance is rolled for the first time. If the resistance is successful, then the hammer is lost while failure means the hammer can affect the creature.}} We're using the simplified 2e character sheet for our game. Thanks for looking!
1654479615
Kraynic
Pro
Sheet Author
You say they are assigned to use it.  Where is this macro stored, and how are you giving them access to it?
1654481559
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If they are running it from some sort of action button, double check for trailing spaces in the name or similar difference in spelling.
@Kraynic - all of my macros are in the Collections Tab under Macros. I gave them access via the Visible to Players box. @kiethcurtis - We tried running it as a token action and also by having them click the die icon in the Collections tab next to the macro. I'll double check the name.
1654525438
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
One thing I just noticed, you have the macro listed as being named  #P2-Spiritual Hammer.  Macros should not have spaces in the names. Try renaming and see what happens.
1654525484

Edited 1654525609
GiGs
Pro
Sheet Author
API Scripter
LordLollygag . said: @Kraynic - all of my macros are in the Collections Tab under Macros. I gave them access via the Visible to Players box. The error you're describing is exactly what happens when players dont have access to the macro, so the first think I'd do is recheck all the macro permissions. Edit: good point Keith. That space definitely shouldn't be there. You can get that error if you call a macro that doesn't exist.
HI, rather than start a new thread I'm jumping ion here to say that I have a similar issue. It's also with a macro on the 2E Character sheet. It's Garamonds Weapon Attack Macro. (7 macros with an associate Token Action) It works fine when I select the character token and run it from the Bar as the DM, but when the player runs it, it just says: #ATTACK1 (or whichever number they select). This is my first game, so I may be missing some level of authentication in the game for the player/character to use the macro. It's clearly working as I can run it from clicking on the Token, but the assigned player can't. I'd really appreciate any hints as to what I'm doing/not doing.
Sorry for the delay in responding. It was just the space in the name as was pointed out. I guess I should have rubber ducked my macros. :) Thanks for the help.
Tommy said: HI, rather than start a new thread I'm jumping ion here to say that I have a similar issue. It's also with a macro on the 2E Character sheet. It's Garamonds Weapon Attack Macro. (7 macros with an associate Token Action) It works fine when I select the character token and run it from the Bar as the DM, but when the player runs it, it just says: #ATTACK1 (or whichever number they select). This is my first game, so I may be missing some level of authentication in the game for the player/character to use the macro. It's clearly working as I can run it from clicking on the Token, but the assigned player can't. I'd really appreciate any hints as to what I'm doing/not doing. Did you grant access to each macro? There's the main macro, then each ATTACK# macro. They need permissions for each one.