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

Problems Editing Roll20 Character Sheet- For DND 5e

I'm trying to build off of Roll20's character sheet but after copying and pasting the HTML,CSS, and JSON files from GitHub into the game settings page I create a character sheet in game to test it everything appears fine but when I try to enter a value in for an ability score it reverts back to 10 unless I hover over it with my cursor. Also none of the skill roles have their modifiers added, clicking the box next to them doesnt appy proficiency to the rolls, and dragging items from the compendium doesn't work. Does anyone know what I did wrong or if I missed a step somewhere. Thanks for any help.
1543448290
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I'd check the HTML code. My guess is that you copied before the entire file loaded and so you have an incomplete script.
I looked at it and it looks like the file loaded fully but I checked the number of lines of HTML code and it seems the one I pasted is roughly 150 lines short. (The CSS file had the same number). I tried recopying and pasting the HTML again but it was still off. Is that normal for it to be shorter? Don't have a lot of experience coding but my initial thought is maybe the formatting changed the number of lines? Should use the source formatting though.
1543451705
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The CSS file had the same number of lines as the html? The html for the 5e by Roll20 should be something like 11.5k lines longer than the css. Copying the code into the sheet editor (custom sheet in game settings) shouldn't cause any formatting changes. Look at the last line of the html code you've got in the custom sheet, is it a </charmancer> tag? Make sure you are copying from either the raw code or having opened the code to "edit" it. If you just copy the code that is presented in the preview, it is truncated.
Well I feel dumb. Pretty sure that is the problem but I can't test it right now. Thanks for the help!
1543452352
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
No worries, I still barely understand GitHub, and occasionally screw things up by miss submitting them.