Another Character Generator

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

Hello, I have been having an issue attempting to do the web install. I get this error whenever I try to run the setup file.

See the setup log file located at 'C:\Users\user\AppData\Local\Temp\VSD3973.tmp\install.log' for more information.
I get the same code for both the Drive and Dropbox install. Currently I am running Windows 7 64 bit and I do have the runtime files from Windows downloaded and installed.
Could anyone assist?

What does the log file say?

Bug report: Seems like the option to choose what sources to use for talents, skills etc. is not working. Age of Rebellion is deselected in my Options menu, but it still show me careers, talents, adversaries etc. from AoR...

By golly, you're right. They should all be adhering to the configured sources now. The GM Tools don't use source, by the way, it's only a character thing.

I'll release the change when I've accumulated a few more things.

So it looks like this is working better now... But the issue still remains for Force powers (While AoR is unchecked, if I have a force Sensitive, they still have access to the AoR Force Sensitive abilites Enhance and Forsee)

I think because force sensitives are supposed to have access to all of the force power trees

Bug report: Seems like the option to choose what sources to use for talents, skills etc. is not working. Age of Rebellion is deselected in my Options menu, but it still show me careers, talents, adversaries etc. from AoR...

By golly, you're right. They should all be adhering to the configured sources now. The GM Tools don't use source, by the way, it's only a character thing.

I'll release the change when I've accumulated a few more things.

So it looks like this is working better now... But the issue still remains for Force powers (While AoR is unchecked, if I have a force Sensitive, they still have access to the AoR Force Sensitive abilites Enhance and Forsee)

What it's supposed to do is show you only the force powers from your sources, except if you've actually picked a force ability from one of them. If you have, then it should include those as well.

I'll check the code to see what it's actually doing.

Hey Ogg..

Is there a place to add Superior or any of the other Mods? I saw the mods like Blaster Act and such, but I didn't see Superior

Hey Ogg..

Is there a place to add Superior or any of the other Mods? I saw the mods like Blaster Act and such, but I didn't see Superior

I just checked and there's a Superior attachment for both weapons and armor. Just click the Attachments button in the inventory screen.

Hey Ogg. I just updated to the latest version and now the Creator won't open. I tried re-installing and still nothing. The only thing that loads is the Data Editor. Any ideas?

Scratch that. Got it working. :)

What does the log file say?

This is what I get.

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [installMode] = HomeSite {string}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.1.1 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
Read string value '4.5.50938'
Setting value '4.5.50938 {string}' for property 'DotNet40Client_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
Property: [DotNet40Client_TargetVersion] = 4.5.50938 {string}
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Client_TargetVersion' and value '4.0.30129': true
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Bypass'
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697208'
Thanks for taking a look at it!

What does the log file say?

This is what I get.

Thanks for taking a look at it!

If this is happening when you run the Setup.exe program, there should be a button that says "Details". It displays a "log" that should have an actual error in it. Or is that what you were displaying?

Hey Ogg...The DoPDF thing...It says it cannot read the license. Am I doing sometihng wrong?

Hey OggDude,
I know you've got plenty of other things to do, but I would love it if you could create a GM tool for generating a basic shop. If you could put in where you are (outer rim, core world, on a trade network, etc) and then it would randomly generate a list of weapons/items it would be great to be able to provide this as a pdf to my players. If you could select what percentage of weapons/armor would come with attachments already on them, that would be cool, and it would also have a price list based on the world's location. (shopkeeper's negotiation skill can be factored in later). I'm sure other GMs would love to have this option, but as I have no idea how much work this is I'm just throwing it out there as something to think about!
Cheers :)

And populate it with an appropriate NPC

Wha happen?

I haven't used this for about 2 months. I downloaded the newest version, and my custom database was gone, and the costumed up characters (droids) cause exceptions when they load. How do I fix this? Am I supposed to retype and enter everything again? I already put in so much work.

OggDude,

First, thank you for creating such a wonderful character generator, me and every one of my players love using it. Now on to the problem...

Recently replaced my aging HP printer with a Brother, but now when I attempt to use print preview a Unhandled Exception occurs. I get two options, cancel or continue; if I continue then the print preview is blank and the select printer icon is grayed out. The character generator is still trying access the HP printer, but I already removed the software/drivers and set the Brother as the default. Just to test I was able to successfully use MS Word and Adobe just fine with the new printer.

Toubleshooting Steps

1. Used the character generator launcher to clear cache; wasn't successful.

2. Deleted program and associated files under ...\AppData\Roaming\SWCharGen then did a clean install using the latest download, created a test character; wasn't successful

Are there other locations that the software might be storing the printer information? Hoping you might have some idea what might be going on, would be very disappointing to not be able to use your software.

Thank you.

OggDude,

First, thank you for creating such a wonderful character generator, me and every one of my players love using it. Now on to the problem...

Recently replaced my aging HP printer with a Brother, but now when I attempt to use print preview a Unhandled Exception occurs. I get two options, cancel or continue; if I continue then the print preview is blank and the select printer icon is grayed out. The character generator is still trying access the HP printer, but I already removed the software/drivers and set the Brother as the default. Just to test I was able to successfully use MS Word and Adobe just fine with the new printer.

Toubleshooting Steps

1. Used the character generator launcher to clear cache; wasn't successful.

2. Deleted program and associated files under ...\AppData\Roaming\SWCharGen then did a clean install using the latest download, created a test character; wasn't successful

Are there other locations that the software might be storing the printer information? Hoping you might have some idea what might be going on, would be very disappointing to not be able to use your software.

Thank you.

I'm not sure if this is similar, related, or a completely different issue, but here's what I just found...

TLDR (At bottom)

I was setting up my group sheets for next week, went to print out the character sheets from the GM tools (selecting the group, clicking print). It worked fine, but I noticed I forgot to add the ship they recently acquired, so I canceled the print job, went back and added the ship to the group vehicles.

Here's where I lost my scientific testing... I noticed the silhouette and image were wrong (it was a custom ship built from a copy of the stock Wayfarer class), so I edited those appropriately. Then I noticed when I brought the vehicles over from an individual PC to the group, I didn't modify the two little fighters appropriately, so I went back and did that... Then I tried printing again.

So, now the images show up fine in the GM tools windows (and all ships are statted/modded correct), but when I go to print the group info with vehicles, I get "Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Object reference not set to an instance of an object."

Clicking continue gives me a blank print preview; clicking quit shuts the GM Tools down.

By selecting various other options/combinations, I've narrowed down that it is, in fact, stemming from something to do with the vehicles.

I'm going to try my hand at troubleshooting to find what specific modification/image/setting/vehicle it is; if I figure it out, I'll update to this post.

Edit: I've narrowed it down to some of the additional Mods of one of the Attachments. When I have "Advanced Targeting Array" added as-is, it works fine. When I select either of the "Innate" mods (Sniper Shot or True Aim), it crashes. Selecting Additional Gunnery Upgrade works fine though.

The same results happened on two other vehicles that I tested.

TLDR: I found that in GM Tools > Groups... When you have the "Advanced Targeting Array" attachment on a group ship and include either "Innate Talent (Sniper Shot) Mod" or the "Innate Talent (True Aim) Mod" then try to print the group, including the modified vehicle, it gives an error message and fails to load the print preview. The additional mod "Additional Gunnery" (also an optional part of the Advanced Targeting Array attachment) does NOT yield the same result. This result has been replicated with three different vehicles so far.

Edited by Trinity351

Hey Ogg...The DoPDF thing...It says it cannot read the license. Am I doing sometihng wrong?

I've never had that problem before. Are you sure you installed the correct driver? I think there's different downloads depending on your operating system (32-bit or 64-bit).

OK....

This sorts it... but how do I put the other stuff where you new stuff now wants it all?

http://community.fantasyflightgames.com/index.php?/topic/89135-another-character-generator/page-95

You have two choices: transfer your existing user data into the new data location, or change the data location to your existing folder. The documentation goes over how to do this (both can be done from the launcher).

OggDude,

First, thank you for creating such a wonderful character generator, me and every one of my players love using it. Now on to the problem...

Recently replaced my aging HP printer with a Brother, but now when I attempt to use print preview a Unhandled Exception occurs. I get two options, cancel or continue; if I continue then the print preview is blank and the select printer icon is grayed out. The character generator is still trying access the HP printer, but I already removed the software/drivers and set the Brother as the default. Just to test I was able to successfully use MS Word and Adobe just fine with the new printer.

Toubleshooting Steps

1. Used the character generator launcher to clear cache; wasn't successful.

2. Deleted program and associated files under ...\AppData\Roaming\SWCharGen then did a clean install using the latest download, created a test character; wasn't successful

Are there other locations that the software might be storing the printer information? Hoping you might have some idea what might be going on, would be very disappointing to not be able to use your software.

Thank you.

I'm not sure if this is similar, related, or a completely different issue, but here's what I just found...

TLDR: I found that in GM Tools > Groups... When you have the "Advanced Targeting Array" attachment on a group ship and include either "Innate Talent (Sniper Shot) Mod" or the "Innate Talent (True Aim) Mod" then try to print the group, including the modified vehicle, it gives an error message and fails to load the print preview. The additional mod "Additional Gunnery" (also an optional part of the Advanced Targeting Array attachment) does NOT yield the same result. This result has been replicated with three different vehicles so far.

Excellent bit of detective work there :) The problem was having an attachment with an innate talent when the vehicle wasn't associated with a character. When it was trying to get the full description of the talent, it looked for an existing talent in the character. With a stock vehicle, or a vehicle associated with a group, there was no character reference, so it crashed. I'm now checking for this contingent and just using the talent as-is, instead of performing the look-up, if a character reference isn't set. That seemed to fix the problem.

Edit: Printing should work OK if you uncheck the "Include Vehicles" box when printing the group.

Edited by OggDude

OggDude,

First, thank you for creating such a wonderful character generator, me and every one of my players love using it. Now on to the problem...

Recently replaced my aging HP printer with a Brother, but now when I attempt to use print preview a Unhandled Exception occurs. I get two options, cancel or continue; if I continue then the print preview is blank and the select printer icon is grayed out. The character generator is still trying access the HP printer, but I already removed the software/drivers and set the Brother as the default. Just to test I was able to successfully use MS Word and Adobe just fine with the new printer.

Toubleshooting Steps

1. Used the character generator launcher to clear cache; wasn't successful.

2. Deleted program and associated files under ...\AppData\Roaming\SWCharGen then did a clean install using the latest download, created a test character; wasn't successful

Are there other locations that the software might be storing the printer information? Hoping you might have some idea what might be going on, would be very disappointing to not be able to use your software.

Thank you.

I think what's causing this is that when it saves your printer page settings, it's also saving the name of the printer as well. When you go to print, I believe it's assuming that this printer still exists, which it doesn't.

Could you show me the first 10 or 20 lines in the call stack that's displayed with the error? That should help me narrow down where the problem is occurring.

To get it to work right now, try removing the user settings for the app. First, open a Windows Explorer window and go to "C:\Users\<your login name>\AppData\Local\SWCharGen". You'll probably need to type this in, since by default, "AppData" is hidden. You're going to see a bunch of weirdly-named folders in there starting with the name of one of the executables. These folders contain the user settings for your apps, such as default window location, print page size, etc. Depending on how long you're been using the apps, you may see a whole bunch of folders in here.

The easiest thing to do is just delete all of those weirdly-named folders. They all just contain user settings, and most of them probably aren't even being used anymore (it doesn't delete old settings when a new version is installed). Keep in mind that it'll cause the apps to resort to their default settings, so don't be surprised if, say, "Full Color" is once again selected instead of "Simplified", or that your windows need to be expanded a bit to see the entire vehicle editor.

I just wanted to thank you for putting the time and effort into creating this, and to lament that I didn't find it sooner than I did when running my EotE game. I'm using it for my Age of Rebellion character now that I'm on the other side of the screen, and I'm sure I'll give the GM tools a workout again soon enough.

Ok, so using the GM Tools > Encounters, I went to print out an NPC sheet for my game's end-boss (I'm hoping once they reach him, it'll take all four of them to take him down - so he's got a lot of skills and talents and gear)... and it wouldn't load the print preview page.
Through troubleshooting, I found that if a single character sheet (Attributes, Skills, Talents and Equipment) is longer than one page, it won't work.

It doesn't give any error, but the print preview window takes a longer-than-usual time to load, then it just shows a blank white page. The top strip of tools (Print Document; Page Setup; Zoom...) is still there and using the close button works, but the page is blank and the Current Page Number box says 1 (and it is "of 1").
If I change the Sheet Style, it will sometimes crash (Parameter not found), or -more often- it will load a page with Encounter, Campaign, Adventure, Location information... and a full-page sized Notes box... and say it's page 1 of # (I've seen 21 - 52) and all of those pages are the exact same as the first.
If at any point I try to go through with the printing (tested by printing to PDF using DoPDF), it will print the same thing. If there were other minions or rivals before, then they show up on the first few printed pages properly, then where the end boss would be, the page-sized NOTES picks up for 20-something to 50-something pages.

I've taken gear and talents down to make him fit exactly on one page and it all works properly again. As soon as I add just one talent, gear, information, etc that would put him over a single page, it stopps working again.

All this happens whether it's just my end boss only or if it's him, some minions, rivals and other stuff.

OggDude,

First, thank you for creating such a wonderful character generator, me and every one of my players love using it. Now on to the problem...

Recently replaced my aging HP printer with a Brother, but now when I attempt to use print preview a Unhandled Exception occurs. I get two options, cancel or continue; if I continue then the print preview is blank and the select printer icon is grayed out. The character generator is still trying access the HP printer, but I already removed the software/drivers and set the Brother as the default. Just to test I was able to successfully use MS Word and Adobe just fine with the new printer.

Toubleshooting Steps

1. Used the character generator launcher to clear cache; wasn't successful.

2. Deleted program and associated files under ...\AppData\Roaming\SWCharGen then did a clean install using the latest download, created a test character; wasn't successful

Are there other locations that the software might be storing the printer information? Hoping you might have some idea what might be going on, would be very disappointing to not be able to use your software.

Thank you.

I think what's causing this is that when it saves your printer page settings, it's also saving the name of the printer as well. When you go to print, I believe it's assuming that this printer still exists, which it doesn't.

Could you show me the first 10 or 20 lines in the call stack that's displayed with the error? That should help me narrow down where the problem is occurring.

To get it to work right now, try removing the user settings for the app. First, open a Windows Explorer window and go to "C:\Users\<your login name>\AppData\Local\SWCharGen". You'll probably need to type this in, since by default, "AppData" is hidden. You're going to see a bunch of weirdly-named folders in there starting with the name of one of the executables. These folders contain the user settings for your apps, such as default window location, print page size, etc. Depending on how long you're been using the apps, you may see a whole bunch of folders in here.

The easiest thing to do is just delete all of those weirdly-named folders. They all just contain user settings, and most of them probably aren't even being used anymore (it doesn't delete old settings when a new version is installed). Keep in mind that it'll cause the apps to resort to their default settings, so don't be surprised if, say, "Full Color" is once again selected instead of "Simplified", or that your windows need to be expanded a bit to see the entire vehicle editor.

1) Here's the error text you requested...

************** Exception Text **************
System.Drawing.Printing.InvalidPrinterException: Settings to access printer 'HP Universal Printing PS (v5.2)' are not valid.
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer)
at System.Drawing.Printing.PageSettings.get_ExtraBytes()
at System.Drawing.Printing.PageSettings.CopyToHdevmode(IntPtr hdevmode)
at System.Drawing.Printing.PrinterSettings.GetHdevmode(PageSettings pageSettings)
at System.Drawing.Printing.PrintController.OnStartPrint(PrintDocument document, PrintEventArgs e)
at System.Drawing.Printing.PreviewPrintController.OnStartPrint(PrintDocument document, PrintEventArgs e)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at CoolPrintPreview.CoolPrintPreviewControl.RefreshPreview()
at CoolPrintPreview.CoolPrintPreviewControl.set_Document(PrintDocument value)
at CoolPrintPreview.CoolPrintPreviewDialog.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
2) Deleted the folders you suggested and it's now printing again!
Many thanks! :D