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

Nested macros bug?

Hi folks, I am pretty clueless with a nested macro I created. It seems it changes itself to a not working macro and no matter how often I reset that it always changes. What I mean is this (s. image) . The brackets after [PW] show the proper formula as I typed it in. However the brackets after [EW] and [WW] show the result when opening the macro editor a second time (I just edited that image so you can see both types). Is that normal or am I has Skynet already taken control? Nevertheless, when I join the session and click on the nested macros, they do not work. When I reset the formula (s.above), they do work. What is the problem? Maybe I use the wrong browser (firefox, latest version)? Any help appreciated very much as I invested quite some time in this and am pretty clueless in this matter!
1496999188

Edited 1497011076
Loki
Sheet Author
Hi! It seems (generally) to be a normal behaviour that the text of a nested macro changes when you open it a second time. It occured also to me and my solution was (or is) to have the fully nested macros with the replaced symbols in a separate text file, to paste them when I want to change anything. But I don't know why only the after two brackets gets replaced. Also I can't reproduce your problem: I typed in the example macro (with all HTML replacements) and it doesn't change anything, no matter how often I open it. Maybe you could write the normal nested version (with replacements) down here (what does #13;  stand for?). Greetings / Grüße
Thank you very much for your response. It seems that particular error occurs randomly with macros. As soon as I open those nested macros in the macro-list and roll for a test, everything works fine. But when I open certain nestings via the main screen (with maps and so on), the nested macros appear properly, but don't lead anywhere when clicking on those pink boxes. For example, macro Nest "Besondere Würfe" is not properly working: When clicking on "Hand" it correctly asks for modifiers etc., but it won't throw any dice as a result. The other one "Improvisiert" works fine with rolls etc. A comparison between those two unfortunately is not very enlightening. The macro for "Besondere Würfe" (nest): &{template:default}{{name=Besondere Würfe}}{{[Hand](!#BloßeHand)[Improvisiert](!#Improvisierter-Angriff)[Ungelernt](!#Ungelernt)}} The macro for "Hand" (nested, mainly jammed): &{template:default}{{name=Angriff mit bloßer Hand}}{{Ergebnis=[[1d20+4+?{Angriffsbonus? |0}+?{Würfelmodifikator? |0}]]}}{{Schaden=[[1d6-4+?{Schadensbonus? |0}]]}} The macro for "Improvisiert" (also nested, working correctly): &{template:default} {{name=Improvisierter Angriff}} {{Ergebnis=[[1d20+4+?{Angriffsbonus? |0}+?{Würfelmodifikator? |0}]]}} {{Schaden=*abhängig von improvisierter Waffe + Schadensbonus*}} The "Ungelernt"-macro is a nested nest itself and stands for different more options which can be chosen in a second step (like "value+0", "+3", "+6", depending on the untrained type of skill). This macro doesn't lead anywhere either like "Hand". I don't know what I have done wrong or what I oversaw...
If #BloßeHand works properly (without nesting), then make sure its HTML entities (
) have not been reverted: &{template:default}{{name=Besondere Würfe}}{{[Hand](! 
 #BloßeHand)[Improvisiert](! 
 #Improvisierter-Angriff)[Ungelernt](! 
 #Ungelernt)}}
Thank you very much, Silvyre! It now seems to work after all...for now ;)