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.

[Script] Edge of the Empire Dice with Images in the Chat Window

1448719324
[Deleted]
Sheet Author
API Scripter
What Browser are you using, so I can replicate the issue? I am unable to currently on Chrome with 4.0.2.4
1448720610

Edited 1448722962
[Deleted]
Sheet Author
API Scripter
Okay, I was able to replicate the Morality issue on 4.0.2.4, this should fix the issue. <a href="https://jsfiddle.net/xekbg55y/1/" rel="nofollow">https://jsfiddle.net/xekbg55y/1/</a> Forgot to add another fix I had put in. "good version" should now be 4.0.2.6.
4.0.2.6; Assignments and Tasks in the -DicePool: Mission/Task Number, Expected sessions to complete, Actual sessions to complete and Base XP all seem to be tied to the same variable?
1449276972
[Deleted]
Sheet Author
API Scripter
Sorry for the issue Sven, <a href="https://jsfiddle.net/ut6ew2hr/" rel="nofollow">https://jsfiddle.net/ut6ew2hr/</a> should fix that, along with having a few new updates I have been working on to streamline the Player sheet and cut down on the lines of code.
Wow, that was a quick turnaround. There's no need to apologise at all, I am very happy with the work you're doing, much appreciated. &lt;3
How could someone who isn't computer smart get a dice roll for a game friends 6 states away beg him to run? How can I make it work? Please advise in simple human language.
Paul, you would need to have a paid Pro account to be able to install an API script on roll20. You can find clear information on how to install it here:&nbsp; <a href="https://www.youtube.com/watch?v=o69_BXjPnew" rel="nofollow">https://www.youtube.com/watch?v=o69_BXjPnew</a> Without having a Pro membership however, this will not be relevant. An alternative would be to launch the game in google hangouts and use their dice roller.
1449493968
Hello everyone! Thanks for the ongoing hard work on the character sheet. I have one question for a feature: Alot of people use the Star Wars Character Generator for their EotE related stuff. Would it be possible in the future to have something like an import tool for that? You can save your characters in XML-Files and the generator has alot of data also in XML files. Maybe it would be good to integrate this? For example that you can select weapons from a database and such? Just an idea... i know the focus at the moment is on clean up and optimizing!
1449495032

Edited 1449495077
[Deleted]
Sheet Author
API Scripter
Frank O. said: Hello everyone! Thanks for the ongoing hard work on the character sheet. I have one question for a feature: Alot of people use the Star Wars Character Generator for their EotE related stuff. Would it be possible in the future to have something like an import tool for that? You can save your characters in XML-Files and the generator has alot of data also in XML files. Maybe it would be good to integrate this? For example that you can select weapons from a database and such? Just an idea... i know the focus at the moment is on clean up and optimizing As much as this would be a neat feature it would not be a feature I could code and send out to people for 2 reasons; If I could magically ingest the OggDude data files (a 3 page character sheet in the OggDude generator is 89 pages of xml), it would be utilizing a tool that violate the IP of FFG and Disney. Roll20 would reject any character sheet that violate IP laws/rules. As much as the OggDude generator is on the FFG site and they seem to ignore the IP implications of it, I prefer not to.
1449695801

Edited 1449696149
[Deleted]
Sheet Author
API Scripter
So I noticed in my last update I posted it had my "house rule" build rather than without it. So I have a new update! 4.0.2.10. Additionally it adds a NPC Initiative roller to the GM resources section. One of the main things about the master (non-house rule) build is it has the "old" vehicle tab as well as the new one so you can copy the vehicles over and then delete out those ugly old sections without losing any data. =) I am still trying to streamline things and get rid of wasted space. Anyway, here it is <a href="https://jsfiddle.net/ut6ew2hr/3/" rel="nofollow">https://jsfiddle.net/ut6ew2hr/3/</a> NOTE: Due to not knowing exactly how to make the Critical injuries work the way I want, there is a bit of an issue with&nbsp;two added features. On the new vehicle tabs they list a critical injury chart for the space/planetary/beast. These are all linked to the same tables so every "vehicle" critical affects all the vehicles, and every "person" critical affects beast/character/companion. I am working with the author of that part of the script/html but until it is fixed you can use them, but keep this issue in mind. I apologize that this is not working as I intend it to yet.
Hi Rhino Looked at the New Sheets looking really good. However could you please place the Initiative Tab in Combat to the top of that tab :). Just spent ages looking for it wondering where it had moved off too, also there is a error with the header for it. It just comes up as a white bar (Reason why i couldn't find the Intiative setting). This Error shows up on Chrome and Firefox
1449850023

Edited 1449850083
[Deleted]
Sheet Author
API Scripter
Linnford B. said: Hi Rhino Looked at the New Sheets looking really good. However could you please place the Initiative Tab in Combat to the top of that tab :). Just spent ages looking for it wondering where it had moved off too, also there is a error with the header for it. It just comes up as a white bar (Reason why i couldn't find the Intiative setting). This Error shows up on Chrome and Firefox From a design standpoint it is inappropriate to have something used ONLY at the beginning of combat at the top. Just because the last guy working on the character sheet was confused by this fact, does not mean everyone should have to scroll down to get it out of the way. That being said I made a fork just for you, and then the "real one" that I will continue with going forward. 4.0.2.11 - Fork with Initiative at the top - <a href="https://jsfiddle.net/x0o7xnq7/" rel="nofollow">https://jsfiddle.net/x0o7xnq7/</a> 4.0.2.11 - Correct version with it displayed at the bottom (with a fixed titlebar) - <a href="https://jsfiddle.net/x0o7xnq7/1/" rel="nofollow">https://jsfiddle.net/x0o7xnq7/1/</a>
1449851817
GM Knowledge Rhino said: Linnford B. said: Hi Rhino Looked at the New Sheets looking really good. However could you please place the Initiative Tab in Combat to the top of that tab :). Just spent ages looking for it wondering where it had moved off too, also there is a error with the header for it. It just comes up as a white bar (Reason why i couldn't find the Intiative setting). This Error shows up on Chrome and Firefox From a design standpoint it is inappropriate to have something used ONLY at the beginning of combat at the top. Just because the last guy working on the character sheet was confused by this fact, does not mean everyone should have to scroll down to get it out of the way. That being said I made a fork just for you, and then the "real one" that I will continue with going forward. 4.0.2.11 - Fork with Initiative at the top - <a href="https://jsfiddle.net/x0o7xnq7/" rel="nofollow">https://jsfiddle.net/x0o7xnq7/</a> 4.0.2.11 - Correct version with it displayed at the bottom (with a fixed titlebar) - <a href="https://jsfiddle.net/x0o7xnq7/1/" rel="nofollow">https://jsfiddle.net/x0o7xnq7/1/</a> I disagree. Initiative being at the top makes sense from a gameplay point of view. It's one of the first things you have to do. Perhaps a way to collapse it or hide it more easily after being used would be better than throwing it to the bottom.
1449852454
[Deleted]
Sheet Author
API Scripter
HoneyBadger said: I disagree. Initiative being at the top makes sense from a gameplay point of view. It's one of the first things you have to do. Perhaps a way to collapse it or hide it more easily after being used would be better than throwing it to the bottom. I will look into if I can make it in a way that isn't ugly or wasteful. At the top it is both ugly and wasteful.
1449854919

Edited 1449854997
[Deleted]
Sheet Author
API Scripter
It is still an eyesore for just a once a combat thing but here is the update with a way to hide it. <a href="https://jsfiddle.net/8xcmef79/" rel="nofollow">https://jsfiddle.net/8xcmef79/</a> Now if I can just get people off the old vehicle tabs I can delete that wasted space as well.
Thank you Rhino&nbsp; Sorry for casuing you more work.
1449935644
[Deleted]
Sheet Author
API Scripter
More work, I don't mind, ugly design I do. Part of what I am doing with the sheet is streamlineing its use as well as its code.
GM Knowledge Rhino said: Now if I can just get people off the old vehicle tabs I can delete that wasted space as well. Thank you for your continuing&nbsp;work on this sheet! Out of curiosity, &nbsp;if you remove the section of the character sheet that pertains to vehicles, would there be a separate vehicle sheet?&nbsp;
1450124623
[Deleted]
Sheet Author
API Scripter
Lifer4700 said: GM Knowledge Rhino said: Now if I can just get people off the old vehicle tabs I can delete that wasted space as well. Thank you for your continuing&nbsp;work on this sheet! Out of curiosity, &nbsp;if you remove the section of the character sheet that pertains to vehicles, would there be a separate vehicle sheet?&nbsp; Currently there are 2 sets of vehicle tabs. The old tabs that used the vehicle stats at the top of everything and a separate crew & weapons tab. I changed this to 3 sub tabs; 1 Space, 1 Planetary, and 1 Beast. Because I changed the format it also changed the variables. So if I had erased the "old tabs" when adding in the "new tabs" every vehicle people had loaded would be gone. the transition period of both sets of tabs allows people to transfer their info to the new tab format. After I find a fix for the critical injuries/hits, when I release the final product it will no longer have the old tabs at all.
1450183909
[Deleted]
Sheet Author
API Scripter
There was an issue I found with 2 variables that hiccuped the newer space vehicle tab, it has been fixed&nbsp; <a href="https://jsfiddle.net/8xcmef79/1/" rel="nofollow">https://jsfiddle.net/8xcmef79/1/</a> Sorry for the problem if it affected anyone.
1450280492

Edited 1450280985
Don't know if info on this has been asked/posted already, but do the Import Weapon and Import Armor features work? &nbsp;I see the "Help with the Importer" and the text there mentions a "script database". &nbsp;Where is this database? &nbsp;Is it something I would have to enter? &nbsp;If so, how and where? &nbsp; Having this feature to import equipment would be a great timesaver! Maybe this question is now moot as I see&nbsp;Version 4.0.2.12 no longer has the "import" function.
1450282617

Edited 1450282661
[Deleted]
Sheet Author
API Scripter
I took those out of the latest version. It was a feature for my group only. As it fills in armor/weapon information I typed in from the books and for that reason&nbsp;I cannot share that info. Also the author of the script I adapted for this feature asked me not to share it out.
1451316774
OMG, this works brilliantly.&nbsp; Thanks for the hard work.
I'm excited to see where this goes! I'm going to try using your sheets with a campaign I've got coming up on the 9th. Really fantastic work.&nbsp;
1451597689
[Deleted]
Sheet Author
API Scripter
I am still updating things, hoping to have it a more polished project but it is good so far.
I had a question, if you have any text in the weapon "special" box, it will completely mess up the roll and display. Is this box not for weapon special abilities (like vicious, sunder, stun, etc), or is there a specific way I'm supposed to be formatting the text in there?
1452017237
[Deleted]
Sheet Author
API Scripter
They should work, can you post what is in your special block so I can try to replicate the issue? (I tried several combinations of specials on my own and could not produce the error, though I have seen it before so maybe something in my current code fixed it).
The text was the following: +1 damage for each Success rolled Pierce 2 Sunder Vicious 3 So, here's 4 ways I tried it. As the GM, with the special text in As the GM without any special text Re-joined as a player, with the special text, and then removing the "+" just in case
1452024093
[Deleted]
Sheet Author
API Scripter
I will look into it as soon as Roll20 is stable enough to even log into for more than 30 seconds. =)
1452024632

Edited 1452024846
[Deleted]
Sheet Author
API Scripter
Okay, I figured out what caused the issue. The extra lines (the carriage return) cause the issue ( You can actually see this on the picture as the text shows a closed parenthesis after vicious ). If you separate the Specials with commas, they show up with zero issue (you can even leave the + in there). If Roll20 is stable enough to try this, let me know.&nbsp;
I take it you're getting the 503's as well. So, I'll just hit submit once, and check later to see if it posted. Ok, once the API started working again, it came up fine with the commas. I tried a couple other things, hoping that would work (\u000D, /\u000D, \r and /\r trying to force a carriage return within the text block) but sadly those wouldn't parse correctly. :-( Separate question, is there a way to have the encumbrance values update to the top of the sheet? It's not hard to update manually, just wondering if you could take the armor and weapons and auto-populate.
1452027539
[Deleted]
Sheet Author
API Scripter
Ellwood S. said: I take it you're getting the 503's as well. So, I'll just hit submit once, and check later to see if it posted. It was happening to everyone. Ellwood S. said: I tried a couple other things, hoping that would work (\u000D, /\u000D, \r and /\r trying to force a carriage return within the text block) but sadly those wouldn't parse correctly. :-( It is due to that section being part of a command sent to a script and the script actually posting to the chat. The HTML isn't really handling it at all. Ellwood S. said: Separate question, is there a way to have the encumbrance values update to the top of the sheet? It's not hard to update manually, just wondering if you could take the armor and weapons and auto-populate. That is one of the things I want to do. I am hoping to use a sheet worker so any box that I end up labeling with encumbrance will change the top of the sheet encumbrance rating. I will see if I can look more into that this coming week.
1452305287
[Deleted]
Sheet Author
API Scripter
Because of an issue that came up I decided to write up a FAQ / Guide about the Character Sheet. <a href="https://docs.google.com/document/d/1MtwdhHDKzENCPS" rel="nofollow">https://docs.google.com/document/d/1MtwdhHDKzENCPS</a>... Hopefully it makes the Character Sheet make more sense (if it was confusing).
1452350963
Alicia
Sheet Author
GM Knowledge Rhino said: Because of an issue that came up I decided to write up a FAQ / Guide about the Character Sheet. <a href="https://docs.google.com/document/d/1MtwdhHDKzENCPS" rel="nofollow">https://docs.google.com/document/d/1MtwdhHDKzENCPS</a>... Hopefully it makes the Character Sheet make more sense (if it was confusing). You should post that on the wiki! Nicely done
1452352293

Edited 1452357181
[Deleted]
Sheet Author
API Scripter
Alicia G said: GM Knowledge Rhino said: Because of an issue that came up I decided to write up a FAQ / Guide about the Character Sheet. <a href="https://docs.google.com/document/d/1MtwdhHDKzENCPS" rel="nofollow">https://docs.google.com/document/d/1MtwdhHDKzENCPS</a>... Hopefully it makes the Character Sheet make more sense (if it was confusing). You should post that on the wiki! Nicely done First of all, thank you, I tried to make sure it answered all the questions I have seen asked. The issue with me adding it to the wiki though, is that the API-Compatible character sheet I am working on is not the same one that is currently the listed one. Basically right now it is a Custom Sheet. This presents a problem as anyone looking for help with the old/current sheet will get the wiki for a totally different setup and be even more confused. Before I can upload mine as a replacement I have a few things I need to fix: Critical Injuries/Critical Hits Right now the Critical Injuries only work for the main Character Sheet character. I want them to work for Riding Beast and Companion. Currently the Riding Beast and Companion copy the code from the character so any Injury applied to one, applies to all Right now Critical Hits only work for Starships. I want them to work with Planetary Vehicles too. Currently like with Riding Beast/Companion, the Planetary Vehicle copied the code from Starship so a Hit applied to one, applies to both. Neat features I want to add: To get a handle on Sheet Workers to attempt to streamline the code. To put the new repeating section methods in, which would allow for macros calling into repeating sections. To put in a method to sync the Group Sheet data between the Players and GM like the Destiny Pool does now. Unless I try to get Roll20 to accept my version of the Character Sheet as totally different from the current API-Compatible one, it is "not ready for prime time" enough to replace it yet. I went ahead and did it anyway, hopefully the formatting isn't too terrible.&nbsp; <a href="https://wiki.roll20.net/SWRPG-API-Compatible" rel="nofollow">https://wiki.roll20.net/SWRPG-API-Compatible</a>
1452530620
Hi, it is me again. Thanks for all the hard work again. I have thought about the copyright issues and stuff when you import things from character generator. Wouldnt it be possible to just mention the pages the things are written on and just take the stats? I am just thinking of possibilites. The OggDude CharGen uses XML to export which would be possible to load i think. Sorry to bring it up again, but that idea never left my mind :)
1452531844
[Deleted]
Sheet Author
API Scripter
Frank O. said: Hi, it is me again. Thanks for all the hard work again. I have thought about the copyright issues and stuff when you import things from character generator. Wouldnt it be possible to just mention the pages the things are written on and just take the stats? I am just thinking of possibilites. The OggDude CharGen uses XML to export which would be possible to load i think. Sorry to bring it up again, but that idea never left my mind :) If you would like to create a script to import from OggDude's generator to this sheet, you are more than welcome. I have stated my stance on doing it myself.
1453510193
Okay not to sound a bit to stupid on this, but what your working on replaces the original dice roller API that was at the start of this topic? &nbsp;So would I delete the old API script to use your new format? &nbsp;Haven't kept up to to date with the EotE on roll20, been running games at a friends house. &nbsp;Going to start to use this again. Also where do I copy of the API script, saw the section with the 3 areas, but sure which I should copy over though. &nbsp;Thanks in advance.
1453511918
[Deleted]
Sheet Author
API Scripter
Give me a few minutes to copy in my latest changes and I will post to this thread the current script/html/css
1453512734
GM Knowledge Rhino said: Give me a few minutes to copy in my latest changes and I will post to this thread the current script/html/css Thanks for this. &nbsp;Just want to make sure, this replaces the old script that was used at the beginning of this threat correct?
1453513002
[Deleted]
Sheet Author
API Scripter
Indeed it does replace the script. The script / character sheet / css are all dealt with in this thread. The script had a lot of code issues that have been fixed, and a few extra features. Version 4.0.2.16&nbsp; <a href="https://jsfiddle.net/by28ojdy/" rel="nofollow">https://jsfiddle.net/by28ojdy/</a>
1453515414
Thanks for this, now I assume I have to copy the HTML, Javascript and the CSS version each having it's own API Scripts tabs correct?
1453515856
[Deleted]
Sheet Author
API Scripter
To use my edited Character Sheet + Script combination, you need to have your character sheet in "General Settings" of you campaign set to Custom. The HTML goes in General Settings The CSS goes in General Settings Then the javascript goes in the API script section. Due to the edits I have done being possible to break longer term games, using the "old" sheet I have decided to work with it as a custom sheet until I can be sure I will not break any campaigns.
1453595380
Don't want to sound like a bother, but everything was working as of yesterday. &nbsp;Today roll20 went down for about 20min, was working on a campaign during this time. &nbsp;When the roll20 came back up, all of a sudden the script seemed to stop working. &nbsp;Couldn't roll any of the dice from the character sheets. Is there something I need to do? &nbsp;I tried to re-load the API script but nothing happened. &nbsp;Have the 80% of the game set up for tomorrow, just want to make sure everything works here.
@Walter S. <a href="https://app.roll20.net/forum/post/2864365/api-scri" rel="nofollow">https://app.roll20.net/forum/post/2864365/api-scri</a>... Looks like API Scripts are broken at the moment.