Fringer's Datapad

By Fringer, in Star Wars: Edge of the Empire RPG

So, last night was about getting a khyber crystal. Used OggDude's tool to craft my Shoto. But when I upload my new data file, it does not completely get updated in Fringers Datapad. It looks like some of it took, but the new item or my added skills. Almost looks merged vs replaced. Using OggDude v 2.2 which is the latest and may not be fully compatible.

Edited by M00t
Update
On 7/22/2017 at 2:50 PM, M00t said:

Fringer, just used this tool last night and loved it! Thank you! I did not notice any glaring issues but if I do I will let you know. I have been looking for something like this to complement Ogg's tool since the beginning. Great job! I do wish there was a way to write the data file back for SWCharGen import, though. That little bit of manual work may be minor but it is a nuisance.

I liked adding equipment found on-the-fly and adjusting wounds/strain during play. I did not know about dice pools by touching stat block until I read this.

Any comments from Oggdude? Does he want to collaborate so you are not reverse engineering and keep in synch as he adjusts his tool?

Ideally Oggdude's tool would import the .xpad file produced by the Datapad. That contains the information about any changes made on the App. But, I suspect that Oggdude is not too keen on any 3rd party dependencies. However, that is just speculation, because he has not yet commented on the Datapad (AFAIK).

On 7/22/2017 at 3:04 PM, Nytwyng said:

I'm trying to upload my data. I've done a backup on my default data set to get the .zip file, but every time i try to upload it, the upload errors out as "the connection was reset." Am I overlooking something simple? Do I need to copy all of my edited data to a different data set for the upload to recognize the zip file?

No, you are doing nothing wrong. Export the dataset (.zip file), and upload it it the web-site is all you have to do. The file is not processed by the web-site so the content is irrelevant to that upload process.

The only thing I can think of is that the .zip is too large, and so PHP is closing the connection.

What is the size of the file you are uploading?

I will check what the limits are on my side.

On 7/22/2017 at 7:59 PM, M00t said:

So, last night was about getting a khyber crystal. Used OggDude's tool to craft my Shoto. But when I upload my new data file, it does not completely get updated in Fringers Datapad. It looks like some of it took, but the new item or my added skills. Almost looks merged vs replaced. Using OggDude v 2.2 which is the latest and may not be fully compatible.

Yes, that is the problem. Whatever you have created is not correctly supported by Datapad.

As I have mentioned before, I would be glad to add the required functionality to the App. What I need from you is your username (email), and the name of the character file. You can send me a PM with this information if you like. Then I will check that all aspects of your character are correctly implemented in the next version of the App.

Basically I see this as a "community project". The program is open source, so I welcome help with the development.

Otherwise, I am happy to work with any users that are prepared to put in the time to communicate with me in order to improve the App :)

On 7/22/2017 at 2:50 PM, M00t said:

I did not know about dice pools by touching stat block until I read this.

Did you know that you can click on the dice pools in the Skill list to get a check list for building a dice pool for using the Skill?

In the next version it will also be possible to click on Talents to bring up a relevant dice pool.

Basically I see this as one of the main functions of the program: helping to build a dice pool.

As your character becomes more complex it gets increasingly difficult to remember what talents/powers apply in each situation. Datapad is intended to help you with this.

Another problem is changing "outfits" during a session. A printed character sheet only tells you what your stats (Soak, encumbrance, etc) are when wearing/carrying one set of equipment. Even something like Brawn may change depending on what you have equipped.

But adventures often call for a quick change of outfit because you cannot visit many places in full combat gear, or go to a banquet in armor.

1 hour ago, Fringer said:

No, you are doing nothing wrong. Export the dataset (.zip file), and upload it it the web-site is all you have to do. The file is not processed by the web-site so the content is irrelevant to that upload process.

The only thing I can think of is that the .zip is too large, and so PHP is closing the connection.

What is the size of the file you are uploading?

I will check what the limits are on my side.

Can't check the file size at the moment (at work right now), but I was leaning towards it being file size, as I've entered probably 90% of the fluff for everything in, plus some custom items. If there's an upload cap, it's a safe bet ive exceeded it. If that's the case, will the system process multiple uploads (say, a weapons upload, a skills/talents/specs upload, etc)?

1 hour ago, Nytwyng said:

Can't check the file size at the moment (at work right now), but I was leaning towards it being file size, as I've entered probably 90% of the fluff for everything in, plus some custom items. If there's an upload cap, it's a safe bet ive exceeded it. If that's the case, will the system process multiple uploads (say, a weapons upload, a skills/talents/specs upload, etc)?

No, unfortunately that will not work, because Datapad currently only loads one dataset at a time. I guess I could load multiple files, but there is another problem.

Somehow the iPad CPU really struggles to parse the XML files. A large file that is processed in a split second on a MacBook can take minutes to load on the iPad. I have done everything to optimise this, and have written a very minimalistic parser, but still cannot get the times down to a really acceptable level.

Anyway, let me know what the size of the file is, and I will look into increasing the limit. Of course, I do not have unlimited space on the server, but so far this is not a problem.

On 7/24/2017 at 6:46 AM, Fringer said:

Did you know that you can click on the dice pools in the Skill list to get a check list for building a dice pool for using the Skill?

In the next version it will also be possible to click on Talents to bring up a relevant dice pool.

Basically I see this as one of the main functions of the program: helping to build a dice pool.

As your character becomes more complex it gets increasingly difficult to remember what talents/powers apply in each situation. Datapad is intended to help you with this.

Another problem is changing "outfits" during a session. A printed character sheet only tells you what your stats (Soak, encumbrance, etc) are when wearing/carrying one set of equipment. Even something like Brawn may change depending on what you have equipped.

But adventures often call for a quick change of outfit because you cannot visit many places in full combat gear, or go to a banquet in armor.

Hope to try it out a bit more this weekend. Changing outfits was key for our game. I had an environment suit that I had to donn to get safely to the Khyber crystal. Agreed that dynamic sheets are needed which is why I was so glad to see this pop up. I'll let you know how it continues as a couple more in our group try it out.

I must be over looking something. What is the best way to export files from the Character generator to upload them to fringer?

On 7/24/2017 at 9:47 AM, Fringer said:

No, unfortunately that will not work, because Datapad currently only loads one dataset at a time. I guess I could load multiple files, but there is another problem.

Somehow the iPad CPU really struggles to parse the XML files. A large file that is processed in a split second on a MacBook can take minutes to load on the iPad. I have done everything to optimise this, and have written a very minimalistic parser, but still cannot get the times down to a really acceptable level.

Anyway, let me know what the size of the file is, and I will look into increasing the limit. Of course, I do not have unlimited space on the server, but so far this is not a problem.

Finally had a chance to check. Zip file size is 21.9 MB.

6 hours ago, Tanis Frey said:

I must be over looking something. What is the best way to export files from the Character generator to upload them to fringer?

Go to the "Characters" section in SWCharGen. Select your character, and click on the "Export" button to the right.

This will generate a .xml file.

Create an account on http://fringer.space , and upload the file to the "Characters" section on the web-site.

Start Datapad and login. It should download your character.

After you have made changes to your character sheet and uploaded to fringer.space, click on the "Sync with Server" button to download the changes.

Datapad also uploads a .xpad file, which is a backup of the changes made to your character in Datapad.

4 hours ago, Nytwyng said:

Finally had a chance to check. Zip file size is 21.9 MB.

OK, I will check the limit.

On 7/28/2017 at 6:13 AM, Nytwyng said:

Finally had a chance to check. Zip file size is 21.9 MB.

I set the limit to 40MB and tested with a file over 20MB in size. So, it should work now...

1 hour ago, Fringer said:

I set the limit to 40MB and tested with a file over 20MB in size. So, it should work now...

Cool! Thanks. I'll check it out when I get home from work.

I added the dataset from my generator so I can see a bespoke weapon I added for my character. I now have an error showing on the Datapad "Cannot open file: private/var/mobile/Contai..." Can see the rest.

Any ideas what I have done wrong? The weapon isn't coming up properly on my Datapad PC sheet, so I assume the data hasn't come across.

7 hours ago, Andreievitch said:

I added the dataset from my generator so I can see a bespoke weapon I added for my character. I now have an error showing on the Datapad "Cannot open file: private/var/mobile/Contai..." Can see the rest.

Any ideas what I have done wrong? The weapon isn't coming up properly on my Datapad PC sheet, so I assume the data hasn't come across.

Looks like Datapad cannot read the .ZIP file for some reason. Maybe corrupted at some point, could also have been during the transport.

Try generating the file again, and redo the transfer. Otherwise, I would be happy to have a look at it myself. You can send me a PM with the name of your user account, and the name of the file that is not working, if you like.

I am busy working on a new version of Datapad now, but it is a "background" task so it could take a while.

One thing that is not working is custom built (crafted) items, which I would like to get working for the next version.

16 hours ago, Fringer said:

One thing that is not working is custom built (crafted) items, which I would like to get working for the next version.

Boom! That's the issue. It isn't reading the A-280 CFE Pistol/Rifle/Sniper Rifle my GM and I created.

All good, at least I know the issue now :)

On 7/31/2017 at 6:47 AM, Fringer said:

I set the limit to 40MB and tested with a file over 20MB in size. So, it should work now...

No joy.

Firefox give the error:

The connection was reset

The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Just for grins, tried MS Edge (bleh) and got:

Hmmm...can’t reach this page

Try this

This website might be marked as work-related by your organization. Try to access this link in a new Microsoft Edge window outside of Windows Defender Application Guard.

Make sure you’ve got the right web address: http://fringer.space

Search for "http://fringer.space" on Bing

Refresh the page

7 hours ago, Nytwyng said:

No joy.

Firefox give the error:

The connection was reset

Just for grins, tried MS Edge (bleh) and got:

Hmmm...can’t reach this page

Strange. I wonder if it has something to do with my hosting service in Holland... ? :wacko:

I assume you have no problem uploading smaller files (like the character sheet).

Some of you may have noticed there is a new version available.

Here are the release notes for version Fringer's Datapad 1.0.14:

  • Many Talents and Force Powers have been implemented so that you can tap on an item in the Talent list in order to use them. For fully implemented powers, the App provides a checklist of items that effect your dice pool. If an item fits the situation you can select it to build your dice pool. The cost of using powers in terms of Maneuvres, Strain, etc. is indicated and applied when you close the checklist dialog.
  • Datapad now holds multiple characters in memory so that switching between characters can be done quickly. The program stores the last 3 characters and the last 5 NPCs loaded.
  • Added SWCharGen 2.2 base data.
  • Fixed bugs which cause the incorrect display of characters that include NPC data. Previously NPC information was mixed with the PC data, however Datapad cannot also display the included NPC, instead, these need to be stored in separated files and uploaded individually to the App.
  • The problem with displaying custom build items have been fixed, although this has not been extensively tested. So, let me know in the forum if you have something that does not work!
  • Some work has been done to improve the handling of committing force dice. If you "over-commit" this is indicated by a force dice symbol with a red dash. When all force dice are committed, the restricted symbol in the dice pool is used to indicated that Force Powers cannot be used.

I have noticed that Datapad cannot find its local data after update. I am not sure why this is the case, but you can easily download the data from the server again.

However, if you have made changes in Datapad, for example to XP, credits or inventory then these changes may be lost if you did not "Sync with Server" before the upgrade.

In general I recommend that you "Sync with Server" regularly if you are using these features to ensure that the .xpad file in which this information is stored is updated on the server.

Something odd. I see the .xpad file for one of the characters on the server, but even after syncing with the server, it doesn't show up under current data in the app.

10 hours ago, Nytwyng said:

Something odd. I see the .xpad file for one of the characters on the server, but even after syncing with the server, it doesn't show up under current data in the app.

Hmmm, yup. That is odd. It should be transferred to your iPad.

I will test this out, but you may try downloading the .xpad file, and then uploading it again. This should update the modify date, which may trigger the App to download it.

Basically the App should compare change dates with the server, and always take the most recent version. So if the most recent version is on the iPad, then it is uploaded to the server, and visa-versa.

Anyway, I will test this out and see if there is a bug.

1 hour ago, Fringer said:

Hmmm, yup. That is odd. It should be transferred to your iPad.

I will test this out, but you may try downloading the .xpad file, and then uploading it again. This should update the modify date, which may trigger the App to download it.

Basically the App should compare change dates with the server, and always take the most recent version. So if the most recent version is on the iPad, then it is uploaded to the server, and visa-versa.

Anyway, I will test this out and see if there is a bug.

Before seeing your reply, I tried a different workaround, as I was primarily in need of my earned XP for that character’s last session. I downloaded the .xpad file and opened it in Firefox, where I could see the XP data. Before I update anything else in the app, though, I’ll try your suggestion to see what happens.

Thanks!

1 hour ago, Nytwyng said:

Before seeing your reply, I tried a different workaround, as I was primarily in need of my earned XP for that character’s last session. I downloaded the .xpad file and opened it in Firefox, where I could see the XP data. Before I update anything else in the app, though, I’ll try your suggestion to see what happens.

Thanks!

That was a good idea!

Yes, the file is XML and it is quite readable.

So let me just mention again for everyone using the App:

If you are tracking stuff in the App (e.g. XP, Morality, Credits, stuff acquired, etc), please "Sync with Server" regularly to ensure that the .xpad file is updated on the server.

And, I would also recommend that you download the .xpad files from the server regularly as a further backup. I don't expect my server to go sideways, but it is just a regular hosted server, with no guarantee of 100% data security...

Edited by Fringer

Love this app! Only thing I’ve noticed is that the shortened barrel mod isn’t changing the weapon range to short. Easy to remember but I figured I should mention it anyway.