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

Minor Update - Character Sheet Menu and Quality of Life Fixes

1422981627

Edited 1423074002
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hi everyone, We pushed out a small set up updates today that hopefully will improve your user experience. Review the full Update of Holding coming soon. First up, the Character Sheet Menu got an overhaul. We've normalized our naming conventions, added system grouping for games, and added a search bar for quick look up. Next on the list are a series of small quality of life fixes: Input fields should save now if you hit the enter key. Squashed a bug where you'd sometimes have to click twice to get a new number input to focus after making a change to a different input. Empty context menus (right click menus) shouldn't open for players anymore. Let us know if you have comments or questions. Happy rolling! - Steve K.
1422981840
The Aaron
Forum Champion
API Scripter
Very awesome!
1422984423
Thank you, fixed some of my pet peaves.
1422984870
Gold
Forum Champion
I was "Holding" on until the next big update, but it is nice to see these incremental improvements coming out sooner. Thanks! Curious if you're going to add the same game-title organization & naming conventions to the LFG engine "Playing any of these games" menu, and everyone's Profile page "Enjoys playing" and "Seeks group for"? It would be nice to see them match up. I tested the Character Sheet drop-down and its Search Bar worked properly as expected -- if I typed in "Advan..." it skipped directly to the Advanced D&D listings I wanted even though "Advanced" is not the first word since they re-organized it alphabetically under the subheading "Dungeons and Dragons". So I think this would work equally well in the LFG dropdown and profile. Consequently, when the Profile listings are standardized to this, it will also reflect on the Orr Group quarterly poll of most popular games . The standardized game titles will look better there too, I think.
Thanks for the updates! Looks like they fixed some of the issues I was having when trying to write in mixed English and French :)
1422992363
DXWarlock
Pro
Sheet Author
API Scripter
Steve K. said: Input fields should save now if you hit the enter key. Squashed a bug where you'd sometimes have to click twice to get a new number input to focus after making a change to a different input. Thank you! it was driving my players crazy to remember to double click the next box in the area we had 20 number inputs, and to not hit enter but to click out.
1422994289
Falcon
Pro
Sheet Author
Steve - all my campaigns have reset to no character sheet and when I go back to my custom sheets the information is there but it won't keep the custom information up after save - it goes back to none.
1422994644

Edited 1423004556
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Black Falcon said: Steve - all my campaigns have reset to no character sheet and when I go back to my custom sheets the information is there but it won't keep the custom information up after save - it goes back to none. I see what you're saying Black Falcon. It's saving your Custom selection it's just not highlighting it on refresh like it should. I'll fix it. Edit: This is now fixed.
1423513034

Edited 1423513370
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
A few minor updates today. Due to TokBox removing their flash support we've also removed it as an audio/visual option on Roll20. All games that were previously using flash have been set to use WebRTC. When a targeting macro is used it will now remember the originally selected tokens and reselect them after the macro is finished. There is now a static global camera order. Instead of being added to the end of the line when you join a game, your camera will be added in the same order, starting with the GM on the left. This means the player you see to your left will see you on his right. We've also improved some security features on Roll20 that will better protect the site and it's users from malicious behavior. An indicator has been added to the API page to singify that a script is disabled. Let us know if you have any questions, comments, or concerns. Happy rolling.
1423513428
The Aaron
Forum Champion
API Scripter
SO FANTASTIC!!!!!
1423520313
Re-selection after the macro finishes does not bring up the token macros. The API indicator (name grayed out) isn't visible when that script is selected. Perhaps some kind of image or text could be colored red/green next to the names?
1423520698
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
HoneyBadger said: Re-selection after the macro finishes does not bring up the token macros. The API indicator (name grayed out) isn't visible when that script is selected. Perhaps some kind of image or text could be colored red/green next to the names? Good call on the token actions bar. I'll fix that. As for the API indicator, you have an enabled/disabled button for the script you're on.
1423520935
Yeah... but you have to scroll down. :D
1423525453
Also, the current change for token selection makes it worse. You have to deselect and then reselect the token to get the token bar to show up.
1423529650
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I've already found the solution. It'll get pushed out Soon TM.
1423531116
:D
1423603901
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
HoneyBadger said: Also, the current change for token selection makes it worse. You have to deselect and then reselect the token to get the token bar to show up. This is now fixed. It will now reselect the token and show the token actions bar.
1423921790

Edited 1423922098
Gen Kitty
Forum Champion
Steve K. said: A few minor updates today. When a targeting macro is used it will now remember the originally selected tokens and reselect them after the macro is finished. An indicator has been added to the API page to signify that a script is disabled. Let us know if you have any questions, comments, or concerns. Happy rolling. Neither of these behaviors are happening for me. This update isn't reflected in my campaign on Production. Edited to amend: I don't know if the disabled Script indicator is working... because I can't disable scripts. Wheefun!! ^_^
1423924556
Steve K. said: HoneyBadger said: Also, the current change for token selection makes it worse. You have to deselect and then reselect the token to get the token bar to show up. This is now fixed. It will now reselect the token and show the token actions bar. Totally not working for me on dev.
1423935391
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I'm seeing both the API disabled notification and the targeting reselect working on both dev and live. Can you give me some more information on what's happening for you?
1423936620
Gen Kitty
Forum Champion
The disabled notification is working for me; as I amended the issue is that I can't disable scripts at all. As to the other: I select a token and use a token-action that requires targeting, when the macro has finished nothing is selected -- expected behavior is that the original will be selected again.
1423936944
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
GenKitty said: The disabled notification is working for me; as I amended the issue is that I can't disable scripts at all. As to the other: I select a token and use a token-action that requires targeting, when the macro has finished nothing is selected -- expected behavior is that the original will be selected again. I'm using this as a test targeting macro: @{selected|token_name} attacks @{target|target1|token_name} then attacks @{target|target2|token_name}! It's working for me as both a in bar and token action macro. Does that work for you? Also, you can't disable scripts! Open a bug report ticket and I'll take a look.
1423949487

Edited 1423951826
It works for me that way, but not when I use it in an API command. !command @{selected|token_name} attacks @{target||token_name}
1423958434
Gen Kitty
Forum Champion
Steve K. said: I'm using this as a test targeting macro: @{selected|token_name} attacks @{target|target1|token_name} then attacks @{target|target2|token_name}! It's working for me as both a in bar and token action macro. Does that work for you? Your test macro, no matter where I put it (Ability as tokenaction, macro-in-bar, macro-as-tokenaction), results in nothing being selected when the macro is completed. Just to doublecheck, I am on production , not dev; is this supposed to be working on production? (Since the announcement was here and not Mentors I figured it as supposed to work on production)
1423961788
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
GenKitty said: Your test macro, no matter where I put it (Ability as tokenaction, macro-in-bar, macro-as-tokenaction), results in nothing being selected when the macro is completed. Just to doublecheck, I am on production , not dev; is this supposed to be working on production? (Since the announcement was here and not Mentors I figured it as supposed to work on production) Yes, it should work on production and does work for me, and evidently HoneyBadger. Are you getting any errors in the console log?
1423983062
Using your macro works for me on both production and dev servers. It does not work if I use it as part of a macro that starts with an api command. This works: @{selected|token_name} attacks @{target||token_name} This does not: !power --name|Reselection Test --Attacker|@{selected|token_name} --Defender|@{target||token_name} You should be able to test that even without a powercard script, since the api command will just fizzle if there's no script for that command.
1423997694
Gen Kitty
Forum Champion
Macro Used: @{selected|token_name} attacks @{target||token_name} No matter how I activate it (Ability as tokenaction, macro-in-bar, macro-as-tokenaction) I get the following in the web console: "targeting" app.js:18 "Switch mode to targeting" app.js:18 "Finished after going 3 levels deep." app.js:33 "select" app.js:18 "Switch mode to select" I hope this helps. ^_^
1424028987
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
GenKitty and HB can you hard clear your cache and try again? I'm not having that trouble, even with the API generated commands. I used your example and it reselected for me and I'm not seeing anything the console log that would suggest any errors being thrown.
1424038046

Edited 1424038314
Here's what I got after clearing my cache... and my original token was not re-selected. targeting app.js?1423940869:23 Switch mode to targeting app.js?1423940869:23 targeting app.js?1423940869:23 Switch mode to targeting app.js?1423940869:23 targeting app.js?1423940869:23 Switch mode to targeting app.js?1423940869:23 targeting app.js?1423940869:23 Switch mode to targeting app.js?1423940869:39 Finished after going 6 levels deep. app.js?1423940869:23 select app.js?1423940869:23 Switch mode to select jquery.min.js:2 Mixed Content: The page at '<a href="https://app.roll20dev.net/editor/" rel="nofollow">https://app.roll20dev.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net:5100/?src=s3.amazonaws.com/files.staging.d20.io/images/173865/WeALHci2nZmxg9m_AYnN7A/med.png%3F1409787352" rel="nofollow">http://imgsrv.roll20.net:5100/?src=s3.amazonaws.com/files.staging.d20.io/images/173865/WeALHci2nZmxg9m_AYnN7A/med.png%3F1409787352</a>'. This content should also be served over HTTPS. Did some more testing and it works, even with an api macro with just one target. Will test more later with increasing numbers of targets.
1424045145
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Follow up questions :P What browser and version are you two using?
1424045219
Latest chrome.
1424046414
Steve K.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
By latest, you mean latest stable? 40.0.2214.111
1424048094
Version 40.0.2214.111 m Yeah. Chrome is set to auto-update. !power --charid|@{character_id} --emote|Meri calls upon the magic of her brass ring. --name|Ring of Dragon's Fire --leftsub|Encounter --rightsub|Standard Action --format|encounter --target_list|@{target|1st Target|token_id} | @{target|2nd Target|token_id} | @{target|3rd Target|token_id} | @{target|4th Target|token_id} --Attack#4:|[[1d20 + @{DEX Mod} [Dex Mod]]] vs %%Reflex%% //Reflex// (%%token_name%%) --Hit:|[[2d6+6]] $$#C00|**fire**$$ damage It appears that something within PowerCards and inline rolls is causing the re-selection to fail. I removed the inline rolls from the above macro and the re-selection worked.
1424086332
Gen Kitty
Forum Champion
Steve K. said: GenKitty and HB can you hard clear your cache and try again? I'm not having that trouble, even with the API generated commands. I used your example and it reselected for me and I'm not seeing anything the console log that would suggest any errors being thrown. I created the macro, exited the game, cleared my console, and here's my log from the point I clicked 'launch campaign' through trying to use the macro (as both a macro-as-token-action and macro-as-macro-bar-item): Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a>"). editor:8 Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> 'unsafe-eval' https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a>"). editor:9 70 app.js:22 "TOUCH SUPPORTED: false" app.js:23 "USING WEBGL ACCELERATION..." app.js:23 "WEBGL STARTUP SUCCESS" app.js:23 "select" app.js:18 "Switch mode to select" app.js:18 "Initializing new dice engine with randomness..." app.js:32 "Using random entropy" app.js:32 "window resize" app.js:36 "Final set zoom!" app.js:23 "UPDATE GL SIZE!" app.js:23 "Final set zoom!" app.js:23 "tuts loaded" tutorial_tips.js:7 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:2 "Final page load." app.js:29 "Scan for new plays!" app.js:29 "Auth'ed." app.js:28 "Go post auth!" app.js:28 "Scan for new plays!" app.js:29 "initial setup" app.js:28 "Got players value..." app.js:28 "joining game..." app.js:28 "Player -J1im0ts1nkWX7wPqp23 is offline..." app.js:27 "Player -JIlx79t9cmyAWdi4upA is offline..." app.js:27 "Player -JJJNGQXQDq-YxGnM0ub is offline..." app.js:27 "Player -JJJO4wGKf4rsByPpBR2 is offline..." app.js:27 "Player -JJJOBkN1P0MH4U0Gz_g is offline..." app.js:27 "Player -JJJcDUu129svPALvNmr is offline..." app.js:27 "Player -JLYuVKe3FZ18XmhaVU0 is offline..." app.js:27 "Player -JZG_keCNFrxuTrBo87u is offline..." app.js:27 "Player -JdB5yKO_renV6uLAr1y is offline..." app.js:27 "Deferred finish joining..." app.js:28 "Firebase Online" app.js:22 "I think I should be first?" app.js:27 "refershing page listings!" app.js:31 "Full load page!" app.js:26 "We have 14 pages" app.js:28 "handle page changes" app.js:28 false app.js:28 "refershing page listings!" app.js:31 "init active page!" app.js:28 "activate page!" app.js:26 "FULLY ACTIVATE VIEWS FOR PAGE." app.js:26 "Do refresh link cache!" app.js:25 "Graphics: 13" app.js:26 "Paths: 0" app.js:26 "Search took 29ms" app.js:34 "refershing page listings!" app.js:31 "Updating character sheet values" app.js:29 "initiatlizing video chat" app.js:34 "Connecting to WebRTC" app.js:34 "Updating character sheet values" app.js:29 "Reorder by ZORDER" app.js:26 "Updating character sheet values" app.js:29 Loading mixed (insecure) display content on a secure page "<a href="http://vignette2.wikia.nocookie.net/castletv/images/d/df/Bailey-Chase.jpg/revision/latest?cb=20110816235037&quot;[Learn" rel="nofollow">http://vignette2.wikia.nocookie.net/castletv/images/d/df/Bailey-Chase.jpg/revision/latest?cb=20110816235037"[Learn</a> More] jquery.min.js:2 "Cols: 2 Rows: 1" app.js:21 "Took 12ms to generate cache." app.js:21 "Reorder by ZORDER" app.js:26 no element found ClientEvent:1 "Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/7725421/3Vrw6dLGs9Dnr24T6LAvkg/max.png?14240113345" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/7725421/3Vrw6dLGs9Dnr24T6LAvkg/max.png?14240113345</a> to <a href="https://s3.amazonaws.com/files.d20.io/images/7725421/3Vrw6dLGs9Dnr24T6LAvkg/thumb.png?14240113345" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/7725421/3Vrw6dLGs9Dnr24T6LAvkg/thumb.png?14240113345</a>" app.js:25 "setting src" app.js:25 "Reorder by ZORDER" app.js:26 no element found ClientEvent:1 no element found ClientEvent:1 "Connected to session" app.js:34 "Someone just connected." app.js:34 "It's us?" app.js:34 no element found ClientEvent:1 no element found ClientEvent:1 "targeting" app.js:18 "Switch mode to targeting" app.js:18 "Finished after going 3 levels deep." app.js:33 "select" app.js:18 "Switch mode to select" app.js:18 "targeting" app.js:18 "Switch mode to targeting" app.js:18 "Finished after going 3 levels deep." app.js:33 "select" app.js:18 "Switch mode to select" app.js:18