Another Character Generator

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

21 hours ago, Scambler said:

The column sort function on reports isn't working.

I love the report feature. I create filters for the books I have so I can give my players a complete list of available items with the book and page.

You need to be more specific. I just tested with a starfighter report and sorting is working. Export the report that's not working and email it to me ([email protected]), and I'll take a look.

I'm now in my final shakedown of 2.02. Everything's in, but I made some changes to the way I'm doing certain things, and these changes could affect a number of places in the code. So, I'll be playing around with it for the next few days. I've already found a couple of issues that I've managed to fix.

From the beginning the program would always launch with a human smuggler pilot active. Originally this was no big deal. Something has changed with the 2.x.x.x releases. If you have the "Allow GM Grants" box checked and launch the program it applies them to human smuggler pilot immediately. When you go to access an existing character it pops up "Your current character has changed. Save first?" I don't remember it prompting to save that guy before the 2.x.x.x releases. With several players accessing the drop box, I discovered a bunch (I'm talking a bunch) of those human smuggler pilots that got saved.

So, I guess my question is: Is there a way to make the human smuggler pilot not pop up when the program is launched? Maybe it could pull up the last character accessed on your machine instead, or no character at all, or maybe not give you that prompt unless you have manually saved it at least once?

Still hopeful we're getting Mandalorian Humans with the latest update - they might be part of Friends Like These rather than No Disintegrations, but No Disintegrations gives us Mandalorian Armor, so mixing Mando humans into the 2.0.2 update makes sense to me. :)

4 hours ago, Dakkar98 said:

From the beginning the program would always launch with a human smuggler pilot active. Originally this was no big deal. Something has changed with the 2.x.x.x releases. If you have the "Allow GM Grants" box checked and launch the program it applies them to human smuggler pilot immediately. When you go to access an existing character it pops up "Your current character has changed. Save first?" I don't remember it prompting to save that guy before the 2.x.x.x releases. With several players accessing the drop box, I discovered a bunch (I'm talking a bunch) of those human smuggler pilots that got saved.

So, I guess my question is: Is there a way to make the human smuggler pilot not pop up when the program is launched? Maybe it could pull up the last character accessed on your machine instead, or no character at all, or maybe not give you that prompt unless you have manually saved it at least once?

Enabling GM Grants would modify the starting character, which caused the "Save" button to be enabled. I'm now resetting the dirty flag to what it was before changing this value. So, enabling GM Grants will no longer cause the starting character to immediately need saving.

6 minutes ago, OggDude said:

Enabling GM Grants would modify the starting character, which caused the "Save" button to be enabled. I'm now resetting the dirty flag to what it was before changing this value. So, enabling GM Grants will no longer cause the starting character to immediately need saving.

Thank you!

1 hour ago, Takeshi Yamato said:

Still hopeful we're getting Mandalorian Humans with the latest update - they might be part of Friends Like These rather than No Disintegrations, but No Disintegrations gives us Mandalorian Armor, so mixing Mando humans into the 2.0.2 update makes sense to me. :)

Yeah, yeah, don't worry, I added them :) Took me quite awhile, too, since it required a re-working of the species handling. They're the first species to allow you to select something other than non-career skills, and the first that have these selections as different options. So, I had to re-work things so that the skill selection grid and the option drop down could be displayed at the same time. Before, they were mutually exclusive.

While I was at it, I no longer display the option buttons if there's only one option choice that has multiple options. Because of that, Klatooinians are now the only species that actually display option buttons.

12 minutes ago, OggDude said:

Yeah, yeah, don't worry, I added them :) Took me quite awhile, too, since it required a re-working of the species handling. They're the first species to allow you to select something other than non-career skills, and the first that have these selections as different options. So, I had to re-work things so that the skill selection grid and the option drop down could be displayed at the same time. Before, they were mutually exclusive.

While I was at it, I no longer display the option buttons if there's only one option choice that has multiple options. Because of that, Klatooinians are now the only species that actually display option buttons.

Nice. :)

Going to be fun working with Mandos. :D

Hey Oggdude,

I don't know why but the program doesn't start at all (version 2.0.1.0 and the previous ones under version 2). I thought it might have to do something with the data folder in Roaming which was mentioned but it doesn't seem to be the problem. Even if there is no folder it gets created but the next time i try to run it the pc thinks for a sec and nothing happens.

I am running a "bootcamped" windows 10 and i tried installing the newest .NET but it says i already have it (4.6.2) so i am at a lose. Neither compatibility helps in any way. I tried it with the manual and the Web install and Nada...

Can i get some help please?

My group uses Google drive as the data folder. I recently noticed in the custom data folder that there multiple duplicates of folders and files. These duplicates all end with (1), (2) or (3). My OCD is pinging thinking there should only be one copy of these files. Should be concerned? And what is causing these duplicates?

3 hours ago, Metushelah said:

Hey Oggdude,

I don't know why but the program doesn't start at all (version 2.0.1.0 and the previous ones under version 2). I thought it might have to do something with the data folder in Roaming which was mentioned but it doesn't seem to be the problem. Even if there is no folder it gets created but the next time i try to run it the pc thinks for a sec and nothing happens.

I am running a "bootcamped" windows 10 and i tried installing the newest .NET but it says i already have it (4.6.2) so i am at a lose. Neither compatibility helps in any way. I tried it with the manual and the Web install and Nada...

Can i get some help please?

Try removing any custom data sets you've installed. Other than that... do you have SQL Server CE 3.5 installed by any chance?

2 hours ago, Arrakus said:

My group uses Google drive as the data folder. I recently noticed in the custom data folder that there multiple duplicates of folders and files. These duplicates all end with (1), (2) or (3). My OCD is pinging thinking there should only be one copy of these files. Should be concerned? And what is causing these duplicates?

That's a Google Drive thing, I believe. DropBox has a similar issue when two or more players are trying to update data at the same time and are online; I'd see files suffixed with " - From Bob" or whatever. I haven't seen this with DropBox in awhile, so I think they fixed it.

I actually used Google Drive to distribute the app at one point, but I gave up on it. It's very non-intelligent about doing updates, so every file change is sent in its entirety. DropBox is much more intelligent, and a lot quicker. Also, Google Drive doesn't throttle its uploads. If you're doing a major upload, good luck web surfing while you're doing it :) All your bandwidth gets sucked down. Again, DropBox uses a reasonable amount of bandwidth, and I believe it'll lower its usage if it sees you're trying to use the internet for other purposes. And even with that, new versions of the generator are synced and ready in about 10 minutes. Google Drive used to take a half hour or more.

That's why I ended up getting a pay subscription to DropBox and not another cloud service. That, and you get a 200GB daily data limit instead of 20GB. Since I subscribed, nobody's complained about DropBox suspending downloads on my account.

1 hour ago, OggDude said:

Try removing any custom data sets you've installed. Other than that... do you have SQL Server CE 3.5 installed by any chance?

I am afraid not, i don't seem to have any SQL. Nor i am sure how to remove those custom sets as i was using the manual install and then deleted the whole folder and any previous folders (under the name of SWCharGen) i had in the Local and Roaming folders in the Users. I hoped for a "clean install".

On ‎3‎/‎27‎/‎2017 at 6:39 AM, OggDude said:

You need to be more specific. I just tested with a starfighter report and sorting is working. Export the report that's not working and email it to me ([email protected]), and I'll take a look.

Done. Thanks for looking into it.

9 hours ago, Metushelah said:

I am afraid not, i don't seem to have any SQL. Nor i am sure how to remove those custom sets as i was using the manual install and then deleted the whole folder and any previous folders (under the name of SWCharGen) i had in the Local and Roaming folders in the Users. I hoped for a "clean install".

I don't know anything about Boot Camp, but Try disabling your antivirus or changing your UAC settings. UAC can easily be accessed by clicking on Cortana and typing UAC and hitting enter.

I tried all that, UAC, disabling windows Defender, disabling SmartScreen... still nothing it doesn't load anything. Do everybody else have it working like charm? what about those users who reported the same problem?

If it matters, in the SWCharGen folder in Roaming i have only a settings XML file which weighs 0kb. I also found out now i have lots of AppCrash reports about this while doing a search.

It seems the problem is not with those anti virus programs but it's crashing... I am adding the latest report i have hopefully it helps

Report.wer

6 hours ago, Metushelah said:

I tried all that, UAC, disabling windows Defender, disabling SmartScreen... still nothing it doesn't load anything. Do everybody else have it working like charm? what about those users who reported the same problem?

If it matters, in the SWCharGen folder in Roaming i have only a settings XML file which weighs 0kb. I also found out now i have lots of AppCrash reports about this while doing a search.

It seems the problem is not with those anti virus programs but it's crashing... I am adding the latest report i have hopefully it helps

Report.wer

Can't view it; FFG says there's a permission problem.

Run EventViewer. Generally, each crash will generate two application/error events. One of them will have a stack trace. The stack trace would be helpful.

Ok i think i got the hang of it or it was simply luck (understanding the EventViewer i mean)

I have 2 errors showing up. 1 is a KERNELBASE.dll and another a .NET error. I am adding their reports here in spoilers.

Application: SWCharGenLauncher.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Globalization.CultureNotFoundException
at System.Globalization.CultureInfo.InitializeFromCultureId(Int32, Boolean)
at System.Globalization.CultureInfo..ctor(Int32, Boolean)
at SWCharGen.TranslateClass.Load(Int32, Boolean)
at SWCharGen.TranslateClass.Load(Boolean)
at SWCharGen.MySettings.get_CurrentTranslate()
at SWCharGenLauncher.frmSWLauncherMain..ctor()
at SWCharGenLauncher.Program.Main()

Application: SWCharGen.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Globalization.CultureNotFoundException
at System.Globalization.CultureInfo.InitializeFromCultureId(Int32, Boolean)
at System.Globalization.CultureInfo..ctor(Int32, Boolean)
at SWCharGen.TranslateClass.Load(Int32, Boolean)
at SWCharGen.TranslateClass.Load(Boolean)
at SWCharGen.MySettings.get_CurrentTranslate()
at SWCharGen.VehicleSumm..ctor()
at SWCharGen.EditVehicle.InitializeComponent()
at SWCharGen.EditVehicle..ctor()
at SWCharGen.frmSWCharGenMain.InitializeComponent()
at SWCharGen.frmSWCharGenMain..ctor()
at SWCharGen.Program.Main()

Faulting application name: SWCharGenLauncher.exe, version: 2.0.1.0, time stamp: 0x58cff2fd
Faulting module name: KERNELBASE.dll, version: 10.0.14393.953, time stamp: 0x58ba586d
Exception code: 0xe0434352
Fault offset: 0x000da882
Faulting process id: 0x1a9c
Faulting application start time: 0x01d2a89acb30adf4
Faulting application path: C:\Users\Konstantin\Desktop\SWEotECharGen\SWCharGenLauncher.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 7ff6097c-3307-4d26-8cbc-aec8fc20e7e3
Faulting package full name:
Faulting package-relative application ID:

Edited by Metushelah
2 hours ago, Metushelah said:

Ok i think i got the hang of it or it was simply luck (understanding the EventViewer i mean)

I have 2 errors showing up. 1 is a KERNELBASE.dll and another a .NET error. I am adding their reports here in spoilers.

Application: SWCharGenLauncher.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Globalization.CultureNotFoundException
at System.Globalization.CultureInfo.InitializeFromCultureId(Int32, Boolean)
at System.Globalization.CultureInfo..ctor(Int32, Boolean)
at SWCharGen.TranslateClass.Load(Int32, Boolean)
at SWCharGen.TranslateClass.Load(Boolean)
at SWCharGen.MySettings.get_CurrentTranslate()
at SWCharGenLauncher.frmSWLauncherMain..ctor()
at SWCharGenLauncher.Program.Main()

Application: SWCharGen.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Globalization.CultureNotFoundException
at System.Globalization.CultureInfo.InitializeFromCultureId(Int32, Boolean)
at System.Globalization.CultureInfo..ctor(Int32, Boolean)
at SWCharGen.TranslateClass.Load(Int32, Boolean)
at SWCharGen.TranslateClass.Load(Boolean)
at SWCharGen.MySettings.get_CurrentTranslate()
at SWCharGen.VehicleSumm..ctor()
at SWCharGen.EditVehicle.InitializeComponent()
at SWCharGen.EditVehicle..ctor()
at SWCharGen.frmSWCharGenMain.InitializeComponent()
at SWCharGen.frmSWCharGenMain..ctor()
at SWCharGen.Program.Main()

Faulting application name: SWCharGenLauncher.exe, version: 2.0.1.0, time stamp: 0x58cff2fd
Faulting module name: KERNELBASE.dll, version: 10.0.14393.953, time stamp: 0x58ba586d
Exception code: 0xe0434352
Fault offset: 0x000da882
Faulting process id: 0x1a9c
Faulting application start time: 0x01d2a89acb30adf4
Faulting application path: C:\Users\Konstantin\Desktop\SWEotECharGen\SWCharGenLauncher.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 7ff6097c-3307-4d26-8cbc-aec8fc20e7e3
Faulting package full name:
Faulting package-relative application ID:

Go to the AppData directory at:

C:\Users\<user name>\AppData\Roaming\SWCharGen

There should be a file there called Settings.xml. Open it in a text editor and look for a line like this:

<Setting Name="LocaleID" Value="0" />

Is the value 0? Is there some other value in it? What should happen is that if it finds a 0, it gets the local ID of your culture from your current culture and uses that. For some reason, it's not finding the culture. What is your OS? Is there something weird about it, or is it a standard Windows OS?

My settings.xml file is empty... nothing is written there at all for some reason (i open it using notepad). This is also the only file there. Do you think the problem is somewhere on my end where it doesn't let your program write there for some reason?

my OS is windows on mac using Mac's bootcamp. Previous editions worked just fine, even the 1.8 beta... just this one causes a bit of problems :)

Thank you for your time, I hope this also helps others in the same situation.

There might be a bug with the vibro-axe in 2.0.0.3

  • Damage: 3
  • Damage Mod: +3

Brawn was 2, superior attachment adds another point of damage. It seems like the weapon shows a +3 damage mod, but uses does not add this to the damage of the weapon in the weapon state window under the equipment tab. Not 100% sure if that is intentional or not. In the print options it seems to work correctly and show the weapon as damage 6.

2 hours ago, Metushelah said:

My settings.xml file is empty... nothing is written there at all for some reason (i open it using notepad). This is also the only file there. Do you think the problem is somewhere on my end where it doesn't let your program write there for some reason?

my OS is windows on mac using Mac's bootcamp. Previous editions worked just fine, even the 1.8 beta... just this one causes a bit of problems :)

Thank you for your time, I hope this also helps others in the same situation.

If its empty, the local ID defaults to 0. When it's 0, it gets the local ID from the current culture, then creates a CultureInfo object from that. What the stack trace is saying is that the culture isn't found, which doesn't make any sense, as the local ID came from the current culture.

What version of Windows are you using? I know you're emulating from Boot Camp, but what's the actual version? Also, go into the Region and Language control panel and make sure those are set to something.

2 hours ago, SEApocalypse said:

There might be a bug with the vibro-axe in 2.0.0.3

  • Damage: 3
  • Damage Mod: +3

Brawn was 2, superior attachment adds another point of damage. It seems like the weapon shows a +3 damage mod, but uses does not add this to the damage of the weapon in the weapon state window under the equipment tab. Not 100% sure if that is intentional or not. In the print options it seems to work correctly and show the weapon as damage 6.

It looks correct to me. The info window is saying that the owned weapon's base damage (Brawn + Superior) is 3, and it has a +3 damage add to it. If you click Shown, the char sheet will correctly show it as 6, which is its final damage. If you click the vibro-axe from the weapon list, it won't show damage, only the +3 damage add. The difference is that one is a base weapon, while the other is a character-wielded weapon with whatever modifications that go along with it. The damage add isn't included with the damage because it's part of the description and would be confusing.

Kyuzo War Shield display question:

Is there a way I can add both the Melee and Thrown versions of the listed Kyuzo War Shield so they both show on my character sheet, but don't count as 2 items?

When I add both listings it thinks it is 2 items and blows out my encumbrance.

3 minutes ago, Andreievitch said:

Kyuzo War Shield display question:

Is there a way I can add both the Melee and Thrown versions of the listed Kyuzo War Shield so they both show on my character sheet, but don't count as 2 items?

When I add both listings it thinks it is 2 items and blows out my encumbrance.

Why not just click show, not carry, the second version?