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

[Bug] One attr does not change anymore (Custom charactersheet)

1447936647

Edited 1447943651
Browser: Version 46.0.2490.86 m Extensions: All disabled API Scripts: All disabled Character: "Basis" in my campaign "Shadowrun" should have an attribute attr_ini_w6 but this attribute is for some reason 1 and does not change anymore. It can be output via @{Basis|ini_w6{ as 1. <input  class="buttoninput" name="attr_ini_w6" value="1"></input> Under attributes and methods no attribute ini_w6 is created. reaning the field to "attr_iniW6","attr_ini_dice" did not help either. I use many of these attributes and this is the one not working at the moment. Support link Operating System Windows Windows NT 10.0 Screen Resolution 1920 x 1080 Web Browser Chrome 46.0.2490.86 Browser Size 1920 x 995 IP Address 80.110.112.30 Color Depth 24 Javascript Yes Flash Version 19.0.-1 Cookies Yes User Agent Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 Console log Spinning up new sandbox... Edit: The solution for me was to move to a new variable name as the old one was obviously broken. Likely there exist multiple variables in the object or something like that. <input  class="buttoninput" type="text" name="attr_initiative_basis" value="@{rea}+@{int}" disabled="true"></input> <input  class="buttoninput" type="text" name="attr_initiative_mod" value="0"></input> <input  class="buttoninput" type="text" name="attr_initiative_wuerfel" value="0"></input><!--this was ini_w6 before--> But this also means I have to set the value on all characters again, which is annoying - and who says that this won't occur again. I really hope sooner or later it will be feasible to have the character sheets only on roll20 but currently there is absolutely no way beside having a character sheet somewhere else saved as well...
1447956022
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
The issue is most likely there was multiple versions of the same attribute either in the html of the sheet or saved on the Attributes and Abilities tab. If the problem is the HTML one of the duplicates needs to be removed from the code. If the issue is multiple versions on the Attributes and Abilities tab then both would need to be deleted from that tab and the next time you update the field on the sheet it will repopulate correctly. This second issue is on a character by character basis and not a systemic issue.
1447957271

Edited 1447961227
I did check the Attributes & Abilities tab and the attribute did not exist multiple times. I had expected that to be the problem as I had experienced that before. I did delete the attribute. I also did check for the same attribute name - which is pretty easy to verify as there would be a second field with the name attr_ini_w6 for that to happen and even a quick text search can verify that was not the problem. Edit: What is by the way the design decision to allow multiple attributes of the same name? From what I have seen so far this only seems to break roll20 functionality. Is there a use case where this is actually a good idea?
1448199586

Edited 1448199644
Today again I noticed the strange behaviour with one of the characters. 1) The attributes did show only ONE variable instead of multiples which was "attr_tab". Which is definetly not how it should be. Only after a page reload all variables had been shown BUT 2) The tabs where again only accepting a change after the second or third click. And after rechecking, it did show all the attributes again BUT the character again had 3-4 tab variables. The code I use is based on the the css wizardry post about tabs <input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" title="First Tab" checked="checked" /> <input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" title="Second Tab" /> <input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" title="Third Tab" /> <input type="radio" name="attr_tab" class="sheet-tab sheet-tab4" value="4" title="Fourth Tab" /> which is in my case <input type="radio" id="attr_tab_1" name="attr_tab" class="sheet-tab sheet-tab-attribute" value="1" checked="checked"><span title="ATT"></span></input> <input type="radio" id="attr_tab_2" name="attr_tab" class="sheet-tab sheet-tab-kampf" value="2"><span title="KAM"></span></input> <input type="radio" id="attr_tab_3" name="attr_tab" class="sheet-tab sheet-tab-magie" value="3"><span title="MAG"></span></input> <input type="radio" id="attr_tab_4" name="attr_tab" class="sheet-tab sheet-tab-fertigkeiten" value="4"><span title="FER"></span></input> <input type="radio" id="attr_tab_5" name="attr_tab" class="sheet-tab sheet-tab-ausruestung" value="5"><span title="AUS"></span></input> <input type="radio" id="attr_tab_6" name="attr_tab" class="sheet-tab sheet-tab-connections" value="6"><span title="SOZ"></span></input> <input type="radio" id="attr_tab_7" name="attr_tab" class="sheet-tab sheet-tab-matrix" value="7"><span title="MAT"></span></input> <input type="radio" id="attr_tab_8" name="attr_tab" class="sheet-tab sheet-tab-technomancer" value="8"><span title="TM"></span></input> <input type="radio" id="attr_tab_9" name="attr_tab" class="sheet-tab sheet-tab-notes" value="9"><span title="NOT"></span></input> This attribute had been duplicated. This is definetly not a wished for behaviour and I still believe it is a bug that multiple attributes of the same name are stored. I mean, roll20 can't even differentiate between them anyway or am I wrong?
This is related to this thread:&nbsp; <a href="https://app.roll20.net/forum/post/2627477/bug-radi" rel="nofollow">https://app.roll20.net/forum/post/2627477/bug-radi</a>... I apologize for the duplicate thread, but I have sometimes really problems finding a thread here in the forums again. We really need a "my posts" or "my threads" feature :(
Wandler said: We really need a "my posts" or "my threads" feature :( Both exist and can be found on your profile ( View Replies and View Topics ).
Thank you :)