Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Dakonofrath
Junior Member
 
Join Date: Jun 2016
Posts: 22

Old April 17th, 2020, 11:40 AM
Hello,

So I recently made a bunch of custom data files using the editor and then I exported it making a .hl file.
I have uploaded the .hl file to an online domain so I can download it. The HL file can be found here:

http://www.slingsandarrowscreative.com/FNO/falloutNO.hl

I also went to the 5e community pack forum and copied their text for the .xml file that they use for updates on their community pack and made changes to it to suite my URL and file.

The 5e community url I copied is here: http://www.shadowsoftware.net/herolab/5e/updates.xml

The .xml file I created from it is here:
http://www.slingsandarrowscreative.c.../FalloutNO.xml

I'm not good at any of the web work or linking sites or coding or anything that is needed to properly do this, so I know I've done it wrong. After posting the URL I opened Hero Lab on my iPad and added the .xml link to my Update Sources and got an error. The error just showed the code of the xml and didn't tell me what line the error occurred in.

Can anyone else me sort this out? I'm sure I've put a semi colon in the wrong spot or something.
Dakonofrath is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,725

Old April 17th, 2020, 12:15 PM
The very top of your xml file has:
Code:
<document signature="dakonofrath" version="1">
It must contain the following:
Code:
<document signature="Lone Wolf Updates" version="1">
That tells HL the type of document its reading which is a "Lone Wolf Update" file.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #2 Reply With Quote
Dakonofrath
Junior Member
 
Join Date: Jun 2016
Posts: 22

Old April 17th, 2020, 12:24 PM
cool! I took your name out because I didn't want anything in it that didn't belong to me and I figured that was some sort of special ID that this code belonged to you guys.
I'll fix it!
Thanks.
Dakonofrath is offline   #3 Reply With Quote
Dakonofrath
Junior Member
 
Join Date: Jun 2016
Posts: 22

Old April 17th, 2020, 12:31 PM
well I fixed that and I still get the error.
It says, "Error while retrieving http://www.slingsandarrowscreative.c...FalloutNO.xml: <document signature="Lone Wolf Updates" version="1">
<!--
then it cuts off there
Dakonofrath is offline   #4 Reply With Quote
Dakonofrath
Junior Member
 
Join Date: Jun 2016
Posts: 22

Old April 17th, 2020, 12:41 PM
ok update status.
I made a change where I changed the file size to 15, to reflect the actual file size of the .hl file. I also added a date= section with today's date set for 1pm.

I no longer get the error, but the data doesn't actually upload into the iOS app.
Dakonofrath is offline   #5 Reply With Quote
Dakonofrath
Junior Member
 
Join Date: Jun 2016
Posts: 22

Old April 17th, 2020, 12:46 PM
I just noticed that the 5e community pack has a different URL and HL file for the iPad version and the Windows version.

Do you have to make the HL file differently? Is there any reason I can't use the same .HL file for both ipad and windows?
Dakonofrath is offline   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,725

Old April 17th, 2020, 12:53 PM
I found you where missing a few attributes which I have added back in (date, company website etc). See the zip file attached to this post as it has an updated .xml file in it. I have tested it and it works and you just need to upload it to your site.

I also set this download to platform='any' instead of only desktop to allow you to use the same file for desktop computers and the iPad.
Attached Files
File Type: zip FalloutNO.zip (468 Bytes, 2 views)

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #7 Reply With Quote
Dakonofrath
Junior Member
 
Join Date: Jun 2016
Posts: 22

Old April 17th, 2020, 12:53 PM
good news. Once I added the ipad section back into the xml code I was able to load it up to the ipad and everything is working.
Thanks so much for your patience with me.
Dakonofrath is offline   #8 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,725

Old April 17th, 2020, 12:55 PM
Quote:
Originally Posted by Dakonofrath View Post
I just noticed that the 5e community pack has a different URL and HL file for the iPad version and the Windows version.

Do you have to make the HL file differently? Is there any reason I can't use the same .HL file for both ipad and windows?
For the Packs they contain stock files for encounters and the iPad can't process those. Instead of eating up the extra space stock files contain I remove them from the iPad version. This is why the packs have two different .hl files.

As you don't have that and its such a tiny .hl file setting the platform to "any" allows all devices to download the same file.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #9 Reply With Quote
Dakonofrath
Junior Member
 
Join Date: Jun 2016
Posts: 22

Old April 17th, 2020, 12:56 PM
oooo your code is cleaner. I'll change to that.
Dakonofrath is offline   #10 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:51 AM.


Powered by vBulletin® - Copyright ©2000 - 2020, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.