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

Customizing 5th Edition OGL, none of the text worker's are working.

the files found at this link:&nbsp; <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/5th%20Edition%20OGL%20by%20Roll20" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/5th%20Edition%20OGL%20by%20Roll20</a> produce a broken character sheet. If you set it up with NO modifications none of the text workers will actualy fire. None of the ability modifiers update, none of the skills get filled out, and the charactermancer doesnt work. Im not familiar enough with the system yet to figure it out. Does anybody know whats going on?
1570519289
Andreas J.
Forum Champion
Sheet Author
Translator
IIRC the charmancer at least requires compendium access to work, did you remember to enable it in the campaign you're testing your sheet with? No idea about the rest.
1570519350
GiGs
Pro
Sheet Author
API Scripter
You're right, there's definitely something funny going on with that sheet when you install it as a custom sheet. I just tried it, and changed the strength to 14, and it didnt seem to take. But when i hover over the strength score, it flickers between a score of 14 and 10. Going to options and trying to launch charactermancer, and nothing happens. Is there a step you need to do after installing the sheet to get it to work properly?
1570519462
GiGs
Pro
Sheet Author
API Scripter
Having compendium set explicitly doesnt make a difference.
GiGs said: Having compendium set explicitly doesnt make a difference. I have Access Compendium In-Game set to "D&amp;D 5th eddition" and Share my compendium with players? &nbsp; set to yes in the game settings. is there something im missing? cause there is no change for me.
GiGs said: Is there a step you need to do after installing the sheet to get it to work properly? No idea, there is no documentation on how to set it up.
1570539791

Edited 1570539803
GiGs
Pro
Sheet Author
API Scripter
Dazalius said: GiGs said: Is there a step you need to do after installing the sheet to get it to work properly? No idea, there is no documentation on how to set it up. That question was directed to others. I know you don't know, hehe. With any other sheet I've used, it's just been a simple matter of copying the files into the appropriate tabs in the custom sheet section, not sure why this isnt working. Though I remember some posts saying that the official roll20 sheets do some things normal sheets can't, and it may be that those features break the sheet for normal custom sheet use. We'll have to wait for official confirmation one way or another.
1570548272
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Found the problem, there's a syntaxerror being thrown that is preventing the sheetworkers from loading. The problem is on line 15541 (bolded below): ('undefined' in byLevel) { &nbsp; delete byLevel.undefined; } _.each(byLevel, function(level) { &nbsp; &nbsp; spellnumber += level.length; }); I'm guessing this was supposed to be an if statement, but the if got left off. The error doesn't appear to be present in the live code.
1570548377

Edited 1570548434
GiGs
Pro
Sheet Author
API Scripter
good find! also lol, I am assuming you used google closure or similar but I'm imagining someone working through line by line and eventually, "aha, I found the error, on line... 15,541"
1570548553
Caden
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You can comment out. It will work then. ('undefined' in byLevel) { &nbsp; delete byLevel.undefined; }
1570548650
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
heh, yes. Google Closure compiler is how I avoid pulling my hair out when bootup errors happen in my scripts and sheets. It's my first step when I see that syntaxError: message in the developer console or the roll20 api console. I can't imagine that there'd be any reasonable way to find that error without automated checking.
Thanks when i get a chance ill see if it works. Ill also check out that google closure thing.