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 .
×
This post has been closed. You can still view previous posts, but you can't post any new replies.

Nested macro broke chat log; clearing chat log does not help

When I open Roll20 today, no matter what I type into chat or which macro I use, all I see is broken templates without text.  Yesterday, I was updating a macro we have been using for a while now. Checking the console in Chrome shows that this particular macro is causing problems, but clearing the chat log does not solve anything. The console states Uncaught Error: Syntax error, unrecognized expression: #sheet-rolltemplate-default {{name=**Magic Missile** The only thing I changed in the macro was adding a (1d4+1) to a magic missile chain, no syntax was changed. The macro worked yesterday, but today, the chat is broken. Here is the full macro I was using: ?{Which spell are you casting?| Magic Missile, &{template:default} {{name=**Magic Missile**}} {{@{target|token_name} takes [[ (1d4+1)+(1d4+1)+(1d4+1)+(1d4+1) ]] damage}}| Burning Hands, &{template:default} {{name=**Burning Hands**}} {{@{target|token_name} takes [[ 5d4 ]] fire damage}}| Mage Armor, &{template:default} {{name=**Mage Armor**}} {{@{target|token_name} gains [[4]] AC}}| Fireball, &{template:default} {{name=**Fireball****}} {{@{target|token_name} takes [[(7d6)]] fire damage}} } What else can I provide to make my problem clearer? I appreciate any help I can get. Thanks
1471550263

Edited 1471550344
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
A couple suggestions/thoughts from when this happened to me. If this is a global macro, make sure that you undid the parsing of the html entities that occurs when you reopen a global macro. (ideally any macro with html replacements in it should be stored in a character's abilities as those don't parse the html entities when they are opened). This may have caused your problem by causing some parsing of html entities so that you wound up with an improperly formatted macro. When you say you have tried clearing the chat log, do you mean the "clear chat log" button that is available while you are in game, or do you mean the "clear chat archive" one that is available from the game settings drop down menu on the game details page? vs. The second one is the one that you want to use as you need to clear the chat archive, not the chat log. Hope that helps, Scott
1471550275
Phil B.
Forum Champion
Sheet Author
Are you clearing the chat log from inside the game? This only blanks the log in the game temporarily. To actually delete the log, if you are the GM, you have to go to the game details page and Cleare the Chat Archive under the Settings dropdown. If this still doesn't fix it let me know and I can take a closer look.
Many thanks, I realize what I did wrong. I forgot about the option to clear the whole chat archive. This has solved the problem. Much appreciated.