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

Push pins with text

Sorry for the vague title, but I wasn't sure how to describe the problem: Basically I have a macro in my campaign: &amp;{template:default} {{name=@{target|Select a Location|token_name}}} {{@{target|Select a Location|bar1}}} and <a href="http://journal.roll20.net/handout/-Nd0b9IyqTk74puYsXnD" rel="nofollow">http://journal.roll20.net/handout/-Nd0b9IyqTk74puYsXnD</a> This macro allows you to click on a token and bring out some text (previously written in bar 1 of the token) The macro works without problems, but when I tried to move it to a new campaign (Jumpgate I don't know if it matters) it no longer works Do you know why? And do you know how I can solve it?
1725329805

Edited 1725329825
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Lyt! This is because "- Nd0b9IyqTk74puYsXnD" is the id of a journal in your first game. A journal of the same name in the new game would not have the same ID. You need to insert the id of the handout journal in your new game.
1725346797

Edited 1725383424
Lyt
Plus
Oh got it. But I don't think it's just that Because now I tried to replace it with a handout of the new game ( -O5qeJU5GcUIBIA1iSL3 ) but it still gives the same error: You attempted to use a roll command that requires a character, but no character was found. I don't understand what it means, the macro doesn't require rolls or anything else, why would it need a character? (Even if I create a character and select it it doesn't work) Sorry if I ask so many questions but I created this macro years ago by watching and combining tutorials on YouTube, I'm not very expert on the subject
1725372636
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Is this by any chance in a Jumpgate game? I reported a bug with targeting in macros in Jumpgate games.
I tested this in Jumpgate, it works without issues exactly as you've put it here (I'm assuming you put the handout url in a chat link) - so I'm not sure what your issue might be. I tested it with linked tokens and with generic tokens, and it works. I tried multiple approaches to replicate your error, to no avail - the only thing I can think of that could be causing trouble would be the token name - and that's only because with the text provided, I can not find a way to get that error.
Tuo said: I tested this in Jumpgate, it works without issues exactly as you've put it here (I'm assuming you put the handout url in a chat link) - so I'm not sure what your issue might be. I tested it with linked tokens and with generic tokens, and it works. I tried multiple approaches to replicate your error, to no avail - the only thing I can think of that could be causing trouble would be the token name - and that's only because with the text provided, I can not find a way to get that error. Now, I know it's a bit of a stupid question (since the code is mine), but could you explain to me what links and codes you used? In particular the link to the handout url. Because I created a new one for the new campaign but it still doesn't work, I don't understand what I'm doing wrong. And now that it's working for you, I think that's the mistake keithcurtis said: Is this by any chance in a Jumpgate game? I reported a bug with targeting in macros in Jumpgate games. Yes, the game where I have the error is a Jumpgate game
Lyt said: Tuo said: I tested this in Jumpgate, it works without issues exactly as you've put it here (I'm assuming you put the handout url in a chat link) - so I'm not sure what your issue might be. I tested it with linked tokens and with generic tokens, and it works. I tried multiple approaches to replicate your error, to no avail - the only thing I can think of that could be causing trouble would be the token name - and that's only because with the text provided, I can not find a way to get that error. Now, I know it's a bit of a stupid question (since the code is mine), but could you explain to me what links and codes you used? In particular the link to the handout url. Because I created a new one for the new campaign but it still doesn't work, I don't understand what I'm doing wrong. And now that it's working for you, I think that's the mistake Right, so the chat link in the token bar would be [link label](<a href="https://journal.roll20.net/handout/" rel="nofollow">https://journal.roll20.net/handout/</a> -O5qeJU5GcUIBIA1iSL3 ), with the handout ID you gave earlier. The macro itself is the exact same you posted here.
Tuo said: Lyt said: Tuo said: I tested this in Jumpgate, it works without issues exactly as you've put it here (I'm assuming you put the handout url in a chat link) - so I'm not sure what your issue might be. I tested it with linked tokens and with generic tokens, and it works. I tried multiple approaches to replicate your error, to no avail - the only thing I can think of that could be causing trouble would be the token name - and that's only because with the text provided, I can not find a way to get that error. Now, I know it's a bit of a stupid question (since the code is mine), but could you explain to me what links and codes you used? In particular the link to the handout url. Because I created a new one for the new campaign but it still doesn't work, I don't understand what I'm doing wrong. And now that it's working for you, I think that's the mistake Right, so the chat link in the token bar would be [link label]( <a href="https://journal.roll20.net/handout/" rel="nofollow">https://journal.roll20.net/handout/</a> -O5qeJU5GcUIBIA1iSL3 ), with the handout ID you gave earlier. The macro itself is the exact same you posted here. Sorry to ask you all these questions (it doesn't help that I'm not a native speaker and am understanding) but what do you mean by chat link? Maybe I understood what my problem is, I'm using the wrong link. But what link do you use and how did you get it?
1725386162

Edited 1725386308
Don't worry about asking questions! Using the macro with the above&nbsp; [link label]( <a href="https://journal.roll20.net/handout/" rel="nofollow">https://journal.roll20.net/handout/</a> -O5qeJU5GcUIBIA1iSL3 ) in the bar 1 of the token should produce a template like this in the chat, and clicking the link in the template opens the handout. You can of course replace the text in the [link label] with any name for the link you like.
I honestly don't understand the problem haha.&nbsp;It still doesn't work Sorry, but what link should I take? The current link I took is the link to a handout. I essentially created the handout, copied the handout name into another handout in square brackets Like this: [name handout] And I copied the link. But it still doesn't work.&nbsp; Is this the right link or do I think I did something wrong?
Yes, that is a way to get the correct url for opening the handout - as long as you have that link in the parentheses after a set of square brackets [like this](and the url goes here), a link that opens the handout is created in the chat. You can do the same for character sheets, too. The string at the end of the url is the ID of the journal item in question. The format of square brackets + parentheses is what creates a link (or button) in chat - clicking the content in the brackets executes the content in the parentheses, which in this case is the url that opens the handout.
it still doesn't work I would like to send photos but roll20 is buggy and tells me "page not found" if I try to send photos Can you send me some screenshots of how you set up the tokens so I can try to see if I understand? Because I did exactly as you told me but it doesn't work sorry again for the inconvenience
The bar text input field is a bit inconvenient because of its size - the content in that field is&nbsp;[link label](<a href="https://journal.roll20.net/handout/-O5sRQtPa6kEhFyKLDge" rel="nofollow">https://journal.roll20.net/handout/-O5sRQtPa6kEhFyKLDge</a>), the url being for the handout in my test game. You could just as well put it in as a character ability to have easier editing.
So, I did exactly that and it doesn't work To be safe, I also tried creating another game (not Jumpgate) and it works there For the definitive test I took another game (jumpgate) and it works... I have no idea how this is possible, it seems like it's the only game where it doesn't work Is it possible it's a jumpgate bug as keithcurtis &nbsp;said?&nbsp; Tomorrow I'll try to send you some screenshots (hoping that roll20 works)
1725404645
Gauss
Forum Champion
There is another axis here, character sheet. Which sheet are you using in the game it does not work?&nbsp;
1725416733

Edited 1725417367
Gauss said: There is another axis here, character sheet. Which sheet are you using in the game it does not work?&nbsp; Good call - I loaded in a Beacon based character sheet (Candela Obscura), and even without any characters created in the game, without the macro or the handout interacting with characters in any way, the macro immediately produced the error from the original post. Seems we found the culprit. Good reason to avoid Beacon sheets, I'd argue. EDIT: I tested a bunch of sheets, seems consistent that it doesn't work with "advanced sheets" that don't use the standard sheet windows.
1725421498
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I believe that Candela Obscura is indeed a Beacon sheet. Roll templates are currently broken on Beacon sheets in the classic environment (though I thought they had been fixed in Jumpgate. Devs are aware of this issue, which apparently cropped up late last week.
Gauss said: There is another axis here, character sheet. Which sheet are you using in the game it does not work?&nbsp; They actually have different cards. The three cases in which it works are all with the 2014 D&amp;D character sheet, while the one that doesn't work is with: Beta D&amp;D 5E (2024)
1725434987
Gauss
Forum Champion
Lyt said: Gauss said: There is another axis here, character sheet. Which sheet are you using in the game it does not work?&nbsp; They actually have different cards. The three cases in which it works are all with the 2014 D&amp;D character sheet, while the one that doesn't work is with: Beta D&amp;D 5E (2024) Yup, as I suspected. The D&amp;D 5e (2024) sheet is a Beacon sheet. Beacon sheets are breaking a number of seemingly unrelated things.&nbsp;