Thread: 5e Character to PDF Converter
-
August 10th, 2019, 22:42 #11
- Join Date
- Jun 2017
- Posts
- 63
Thanks. This is... insightful. Turns out fantasy grounds does interesting things with the xml structure that I didn't realize. I'll try and get this updated and pushed by this time tomorrow.
-
August 11th, 2019, 01:18 #12
- Join Date
- Jun 2017
- Posts
- 63
This has been updated!
- Hired adventurers to squash more bugs
- Made a deal with Cthulhu to associate the correct power groups with the correct class (It assumes that the spell group includes the name of the class, or that the class that can cast spells, but doesn't have its name as a part of a group, is the default spell group)
- update the error logging to catch the kobolds sneaking around the back
Moratini, I tested with your xmls, and they all appear to be working...All but one of them showed me a bug somewhere in my code, so thanks . It should be safe to remove your attached file now if you want.
-
August 18th, 2019, 18:17 #13
This is great! Thanks! Here's another error:converter error.PNG
It does the same with each of the character sheet versions. I have 4 players, 3 worked just fine. Hope this helps.
-
August 19th, 2019, 01:37 #14
Is there any objection or reason not to use the AL tools online?
https://www.alonlinetools.net/FGCharacterSheet.aspx
Other than not printing offline? Nice to have options, good work!
Laerun
ps. One caveat, do not use weird characters like hyphens or apostrophes in your 'Name' field or it will break the conversion.Last edited by Laerun; August 19th, 2019 at 01:41.
FGA Founder
FGU teacher and student!
Ultimate License Holder
Discord Alias: Laerun#6969
https://www.fantasygroundsacademy.com
-
August 19th, 2019, 01:40 #15
Good work!
FGA Founder
FGU teacher and student!
Ultimate License Holder
Discord Alias: Laerun#6969
https://www.fantasygroundsacademy.com
-
August 21st, 2019, 02:06 #16
- Join Date
- Jun 2017
- Posts
- 63
Catalyst20XX, it appears that you have a weapon that doesn't have a damage type specified.
Thanks for screenshot. I updated the application so an empty type will no longer break it...as well as a few other empty fields that had potential to cause issue.
Laerun
I've definitely tried that one, but I'm not really big on register walls...if that makes sense. Just personal preference. I also have a preference for standalone applications since they have better support for things like multi-threading.
Hmm...that issue with the special characters tells me that, depending on what is being used to do the conversion, the characters may need to be encoded before they're read, then decoded when placed into the pdf. Or if a regular expressions are being used, look for the matching opening and closing xml tags, and blindly grab the content between them. Or do what I did and use a library that parses html or xml.
-
May 17th, 2020, 20:32 #17
- Join Date
- Apr 2020
- Posts
- 4
Hi, I tried the adventurers league converter, to convert FGU characters to PDF and it had the ability scores where the modifiers where supposed to be. Does anyone know where I went wrong?
-
May 17th, 2020, 20:43 #18
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
May 17th, 2020, 20:45 #19
- Join Date
- Apr 2020
- Posts
- 4
do you know if there is a way to correct it?
-
May 17th, 2020, 20:52 #20
I haven't used this one, but its not wrong, just not what you want/expect You can change the code of the program (use the Bit Bucket link) to swap the fields. Have you tried the online printer listed in post #14? I think it does it the way you want.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks