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 .
×

No attribute was found for BLANK

I've read a number of similar issues but none match mine exactly.  I have a macro that generates specifically the error  No attribute was found for @{CHARACTER_NAME|Current}.   With the character name being one of several characters I've tested this with.  This is when I try it with the Macro Bar and the Token Action.  Rolled from the Abilities page with the d20 icon I get the error "You attempted to use a roll command looking for the value of a selected token, but no tokens are selected."  The character in the token menu is linked to the correct character sheet (not a handout). It seems to hinge on the  @{selected portion of the command.  Most of my macros start @{selected|Attribute|Current} with the attribute portion targeting a specific stat on the abilities page. Another macro lacking this portion works from Macro Bar, Token Action, and Abilities Screen. Here is the strange part.  I have two games  that utilize these macros, on the same character sheet (I checked the sheet version and they are the same, Dan 3col 5R V1.43 ).  One game was built maybe 2-3 years ago, and the one I'm working one is less than a year old.  The macros work in the other, older game with no issue as intended.  I saved my macros to Notepad from the older game, and as best I can tell, they are identical. Old Game Macro:   &{template:default} {{name=Initiative}} {{ Dexterity = [[ @{selected|DEX|Current} ]] }} [[@{selected|DEX|Current} +&{tracker}]] New Game Macro: &{template:default} {{name=Initiative}} {{ Dexterity = [[ @{selected|DEX|Current} ]] }} [[@{selected|DEX|Current} +&{tracker}]] The above macro should look show the Dexterity score in a label, and add it to the tracker.  I've tested maybe six of my macros, they work in the older game but not in the newer one.  I've compared several with no differences in syntax.  Some sort of legacy setting?  I've tried Chrome, Firefox, and Edge, with Edge and Chrome having no addons.  I've cleared my cache and browser history.  I've checked for duplicate characters but don't see any.  I've changed the .png icon with the appropriate character to have a matching name as the character sheet. I've tried changing the names of the characters with no change. I've tried fiddling with the commands for "Use Selected Token/Apply Token Defaults/Update Default Token" with no change. I've double checked my spelling in the macros as far as the attribute goes. I uploaded a new token and attached it to a character sheet I only filled in one numeric category.  No connection.
As an update, I did notice the old game has the Legacy tag and the new one does not.
1772089975

Edited 1772138794
vÍnce
Pro
Sheet Author
Hi Jason, Does it work if you simply remove "|Current"? It seems that the non-legacy games are no longer recognizing (or rather flat out failing to render) the extra "descriptor/placeholder" tags. Example;&nbsp; I can use @{selected|foo|Enemy1} in legacy, but it fails in non-legacy.&nbsp; ;-( Something has changed... I believe the it may be related to the "|max" casing issue recently brought up. <a href="https://app.roll20.net/forum/permalink/12675027/" rel="nofollow">https://app.roll20.net/forum/permalink/12675027/</a> Please open a ticket with the Help Desk (link at the bottom of the page)
This seems to work.&nbsp; I've tested it with a few different ones.&nbsp; I'll start changing my macros but keep this post followed in case something else comes up.
1772138745
vÍnce
Pro
Sheet Author
+1 @Jason Hopefully this will get resolved without the community having to rewrite their macros that include a descriptor. Help desk request&nbsp; #448618 submitted.
I just experienced the same error in a Jumpgate game using the Add Custom Turn script by The Aaron.&nbsp; The script worked fine on Tuesday but today (Friday) it gives the&nbsp;"You attempted to use a roll command looking for the value of a selected token, but no tokens are selected" error. The script will put the custom effect into the turn order but the character picture it usually adds is missing.