Aurora 4x

C# Aurora => C# Utilities => Topic started by: Scnaeg on January 02, 2021, 11:00:24 AM

Title: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on January 02, 2021, 11:00:24 AM
I wrote a small application which helps me (and maybe you) playing Aurora 4x C# by automating some repeating checks I always did manually.

It opens the Aurora DB read only and checks for:

Here some example screenshots:
(https://tmp.chruetertee.ch/AuroraMarvin/AuroraMarvinOverview1.png)
(https://tmp.chruetertee.ch/AuroraMarvin/AuroraMarvinOverview2.png)

It also has a view on the own ships and own populations database tables (read only of course):
(https://tmp.chruetertee.ch/AuroraMarvin/AuroraMarvinPopulation.png)

There is also a possibility to save ship designs in a separate database:
(https://tmp.chruetertee.ch/AuroraMarvin/AuroraMarvinShipDesigns.png)

And to save some notes in the separate database:
(https://tmp.chruetertee.ch/AuroraMarvin/AuroraMarvinNotes.png)

Every time the Aurora database is saved the data is automatically reload and it also paints some graphs for resources, fuel, maintenance supplies, population and wealth (graphs are painted as soon as three saved games are read).
Everything is saved in the separate database.  Example for resources:
(https://tmp.chruetertee.ch/AuroraMarvin/AuroraMarvinResources.png)

Time axis for those graphs are in game seconds since the game start and the graphs are created for the total amount of resources/fuel/MSPs and not per population.

And last the application tries to visualize the tech tree:
(https://tmp.chruetertee.ch/AuroraMarvin/AuroraMarvinTechTree.png)

Conventional starting tech is in light green, trans newtonian starting tech ins coloured in dark green.

If you like to try the application, the binaries are available here:
https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v2.2.0.0/download?job=build

Checksum:
SHA512 (artifacts.zip) = 43070fc25b883795616a571cc10f83e5104da5af5fba6fcd98a6dfb475016046601d3fc5a8e4b89cf54ca6955d3d88de71b941bb0b8f21005eeaf2af8fdc1b09

To install AuroraMarvin please unzip the application into a dedicated folder (and not in your existing Aurora 4x folder) and run the AuroraMarvin. exe.

To upgrade AuroraMarvin please unzip the new version into a dedicated folder and copy AuroraMarvin.db from the old installation into the new one.  Once the database is copied run AuroraMarvin.exe. 

If you like to compile the application by yourself (or submit a patch ;) ) the source code is available here:
https://gitlab.com/Scnaeg/auroramarvin

The application has been approved by Steve as it opens the Aurora DB in read only mode.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Zap0 on January 02, 2021, 07:35:58 PM
Thanks, I've always needed something like this!

Now, off I go replacing the governor on Venus that died without my permission again, and fixing half a dozen other critical oversights.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: brevduva on January 05, 2021, 02:01:52 AM
I tried it out since I've been looking for something similar to this.  Apparently I had obsolete colony ships that I had retooled for but never upgraded.  Huh.

Really nice first edition.  I have some suggestions for improvements but not the time right now to put them down.  Later post or edit.

I really liked it.  keep it up!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on January 05, 2021, 04:46:32 AM
I'm glad to hear that both of you found the application useful.  I've fixed a bug so that space stations are included in the construction factory utilisation calculation now and a typo.  I've updated my first post and updated the download URL to the one from the gitlab CI which might be a little bit more trustworthy :)
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Rich.h on January 05, 2021, 02:50:47 PM
Does this do realtime or set interval updates? As far as I can tell I need to rescan the db file to update. The problem being I only have these things flags up in Marvin as I forgot to do them, but then I forget to rescan Marvin......
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on January 05, 2021, 02:56:05 PM
Quote from: Rich. h link=topic=12233. msg145906#msg145906 date=1609879847
Does this do realtime or set interval updates? As far as I can tell I need to rescan the db file to update.  The problem being I only have these things flags up in Marvin as I forgot to do them, but then I forget to rescan Marvin. . . . . .

Marvin has a file system watcher on the database file so as soon as a new Aurora save is done Marvin should reload and refresh its data automatically.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on January 08, 2021, 03:21:35 AM
I've created a new version of AuroraMarvin and updated my first post accordingly.  Changes in v1. 1. 0. 0:

To upgrade just copy AuroraMarvin. db into the new extracted folder.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on January 17, 2021, 02:24:28 AM
A new version of AuroraMarvin has been released.  Changes in v1. 2. 0. 0:

Download link in the first post has been updated and to upgrade just copy AuroraMarvin. db into the new extracted folder.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on January 22, 2021, 12:43:42 PM
A new version of AuroraMarvin has been released.   Changes in v1. 3. 0. 0:

Download link in the first post has been updated.  To upgrade extract the new zip and copy AuroraMarvin. db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on January 26, 2021, 07:21:20 AM
An idea: I find the coloring of the minerals difficult to read. Some colors are very close together and one really doesn't know which mineral is which chart. Differentiating the colors more would be nice. Also a mouseover function which thickens the line and marks which mineral it is also in thick letters could help reading this chart.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on January 26, 2021, 10:53:11 AM
Quote from: TMaekler link=topic=12233. msg147639#msg147639 date=1611667280
An idea: I find the coloring of the minerals difficult to read.  Some colors are very close together and one really doesn't know which mineral is which chart.  Differentiating the colors more would be nice.  Also a mouseover function which thickens the line and marks which mineral it is also in thick letters could help reading this chart.
That's a very good idea.  I'll change the colours and check if I can implement something like a mouse over function.  Thanks!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on January 26, 2021, 01:38:44 PM
A new version of AuroraMarvin has been released.  Changes in v1. 4. 0. 0:

Download link in the first post has been updated.  To upgrade extract the new zip and copy AuroraMarvin. db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 03, 2021, 10:03:15 AM
Have you thought about options for the overview? Me for example am not that much interested in seeing the message "Minerals from ... are taxed and not purchased" - because I use them that way intentionally. So some kind of filter or option for this message would be nice. I think there is still other stuff which could be made optional - depending on your preference. Also: maybe make those messages "clickable". Basically acknowledge them and thereby remove them from the list - so they don't appear again. Though I don't know if it is programmed in a way to make this possible.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 03, 2021, 10:10:39 AM
Quote from: TMaekler link=topic=12233. msg148264#msg148264 date=1612368195
Have you thought about options for the overview?
I've thought about it but was too lazy to implement it ;D I'll see what I can do.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 03, 2021, 03:48:44 PM
A new version of AuroraMarvin has been released.  Changes in v1. 5. 1. 0:
Download link in the first post has been updated.  To upgrade extract the new zip and copy AuroraMarvin. db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 04, 2021, 07:51:22 AM
 :o wow, you are quick. Thanks  ;D
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 06, 2021, 09:44:45 AM
A new version of AuroraMarvin has been released. Changes in v1.6.0.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 11, 2021, 01:54:25 PM
A new version of AuroraMarvin has been released. Changes in v1.7.0.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 14, 2021, 03:12:28 AM
Once your TN minerals run out on a planet you begin to shuffle mines and automines around to keep your industry afloat. A good value to keep an eye on is your total mineral production - I mean the absolute total sum. Maybe you can add another tab that shows the monthly sum added for all minerals for your whole empire. Maybe for all individually as well as the total sum for all 11 would be great.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 14, 2021, 09:12:43 AM
Do you think of a combined graph of all minerals in the resource tab of AuroraMarvin or would you like to have something like the "Empire Mining" tab of the Economics view in the game itself?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Jorgen_CAB on February 14, 2021, 09:23:16 AM
Do you think of a combined graph of all minerals in the resource tab of AuroraMarvin or would you like to have something like the "Empire Mining" tab of the Economics view in the game itself?

I would like something more in line with an Empire overview of mining. Something like a yearly income versus consumption comparison of each mineral.

When I plan I like to plan for long term income versus consumption... so if the consumption is also broken down in sectors such as planetary industry, shipyard, ground force construction, MSP manufacturing, fuel production etc.. would be really nice.

I find that a yearly consumption and production rate is the most informative... sure you might not build all the time in your yard or ground forces etc... but you know that so as long as you also have a breakdown per sector you can make relatively sound decisions from that.

On top of that you could also filter consumption/production per system... that is good so you can plan where you need to send minerals and in what quantities.

So a way to present the data either at the empire level or per system would be nice.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 14, 2021, 11:49:13 AM
Do you think of a combined graph of all minerals in the resource tab of AuroraMarvin or would you like to have something like the "Empire Mining" tab of the Economics view in the game itself?
What Jorgen wrote would be nice, but I don't know if you could extract that information from the game. I would guess one would need constant data from each production cycle for that... .

A new tab like the overall mineral overview would be nice - just for the total amount of (projected) mineral mining as well as for each mineral. So you can see if you loose or gain for a certain mineral and can begin steering to relocate mines etc.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 14, 2021, 12:48:28 PM
An idea for a new warning: Mineral Harvesting Ships can move anywhere - but they can't mine on all planetary bodies, i.e. only up to a certain size. Could you add a warning for Harvesters stationed on bodies that they can't mine? Something like: Mineral Harvesters stationed at xxx are not mining anything.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 15, 2021, 01:20:14 AM
I would like something more in line with an Empire overview of mining. Something like a yearly income versus consumption comparison of each mineral.

I see. I'll take a look what infromation I can read from the database.

A new tab like the overall mineral overview would be nice - just for the total amount of (projected) mineral mining as well as for each mineral. So you can see if you loose or gain for a certain mineral and can begin steering to relocate mines etc.

Got it. I'll try to implement something like this.

An idea for a new warning: Mineral Harvesting Ships can move anywhere - but they can't mine on all planetary bodies, i.e. only up to a certain size. Could you add a warning for Harvesters stationed on bodies that they can't mine? Something like: Mineral Harvesters stationed at xxx are not mining anything.

Something similar for Sorium harvesters is already on my TODO list. I'll try to implement this in the next release.

Thanks a lot to both of you for your helpful suggestions!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 15, 2021, 03:42:41 AM
Thanks to you for implementing them and making all our Aurora experience a breeze. Much appreciated.  :D
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 15, 2021, 01:46:15 PM
A new version of AuroraMarvin has been released. Changes in v1.8.0.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.

Regarding additional mineral information: I'm currently thinking about extending the existing mineral/fuel/MSP/population tabs so that it is possible to display per population graphs if desired. Would this be helpful as a first step?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 15, 2021, 04:44:49 PM
Once you have multiple main production planets it might become interesting to see each one individually to detect local shortages. Though I would not need a detailed split up into all and any colony or mining site. If there would be a way to "select" the colonies you want to examine... sure ;-)

Also: Fuel inside large tankers is not counted in the fuel tab. Would it be possible to show that value also? Overall fuel reserves including all tankers?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 16, 2021, 10:27:49 AM
"Notes" is a nice feature but it is global. Could you make it individual for each game and all nations within one game? So you have one note page for each player/nation.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 16, 2021, 04:42:10 PM
Also: Fuel inside large tankers is not counted in the fuel tab. Would it be possible to show that value also? Overall fuel reserves including all tankers?

I've added a small text field with the amount in the next version. I'll add an additional graph in the future as I need to change how the graph data is saved.

"Notes" is a nice feature but it is global. Could you make it individual for each game and all nations within one game? So you have one note page for each player/nation.

Ah yes. Always wanted something like this for myself but I was always too lazy to implement it ;D I've included this in the next version but I need some additional time to test it as it requires a database migration.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 17, 2021, 11:44:07 AM
After some time seeing the start values of fuel, minerals, etc isn't that interesting anymore. Maybe you can limit the display to a max of "last 40 years" or so... .
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 17, 2021, 01:11:40 PM
A new version of AuroraMarvin has been released. Changes in v1.9.0.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location. Please keep a backup of your old AuroraMarvin.db as this version includes a database migration which could break things :)
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 20, 2021, 04:17:58 AM
Any idea why Marvin links this research to a different person than Aurora does? I also checked: there is no personnel in my entire staff with that name.

(https://i.ibb.co/0Y4n5K2/Research-Mismatch.jpg) (https://ibb.co/YfnNgXQ)

Database here:
https://drive.google.com/file/d/1P_wlNVvlJLKrDNZwUh-J-15im_Pbvuks/view?usp=sharing
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 20, 2021, 05:07:43 AM
Any idea why Marvin links this research to a different person than Aurora does? I also checked: there is no personnel in my entire staff with that name.

(https://i.ibb.co/0Y4n5K2/Research-Mismatch.jpg) (https://ibb.co/YfnNgXQ)

Database here:
https://drive.google.com/file/d/1P_wlNVvlJLKrDNZwUh-J-15im_Pbvuks/view?usp=sharing

Looks like there is an imposter in your ranks. You empire is in danger from within!  ;D

I found the bug and will release a fixed version in a couple of minutes. Thanks for the report!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on February 20, 2021, 05:23:33 AM
A new version of AuroraMarvin has been released. Changes in v1.9.1.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 20, 2021, 12:47:11 PM
Looks like there is an imposter in your ranks. Your empire is in danger from within!  ;D
We've found the final Cylon  ;D
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on March 03, 2021, 09:02:37 AM
Just a small thing: A shipyard that is tooled for an obsolete ship class but which is already undergoing retooling is marked as "being tooled for an obsolete ship class". Technically correct but maybe you can clear those entries which are already scheduled for retooling?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on March 03, 2021, 12:49:01 PM
Just a small thing: A shipyard that is tooled for an obsolete ship class but which is already undergoing retooling is marked as "being tooled for an obsolete ship class". Technically correct but maybe you can clear those entries which are already scheduled for retooling?

I'll take a look at it. Thanks for the report!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on March 04, 2021, 01:08:31 PM
A new version of AuroraMarvin has been released. Changes in v1.10.0.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on March 05, 2021, 09:52:57 AM
Sorry that these ideas come in bits and pieces... I write them down as I encounter them.

The warning that a system is not fully explored could also use a qualifier. If a ship with active geo or grav tasks is in that system, maybe the warning should not be shown... . What do you think?

Also: if you have flagged a system as claimed by another race, it doesn't make much sense to get a warning about that system not being fully explored.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on March 06, 2021, 11:17:38 AM
The warning that a system is not fully explored could also use a qualifier. If a ship with active geo or grav tasks is in that system, maybe the warning should not be shown... . What do you think?

Also: if you have flagged a system as claimed by another race, it doesn't make much sense to get a warning about that system not being fully explored.

Good ideas, I'll try to implement them. Thanks!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on March 18, 2021, 05:57:18 AM
Hi,

a new idea for managing bigger empires. Once you have more than one base planet for construction it would be nice if you could see the mineral statistic dependent upon those planets or bases to see if a local system runs out of specific minerals. So any way to be able to "split" the resource view on a specific selection of planet(s) or base(s) could come in handy that way.

Same with fuel, supplies etc.

 :)
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on March 19, 2021, 06:48:19 AM
Tug Calculator: The one annoying thing with tugging space stations around is that you cannot see the max moving distance of the object to move. You can have a tug that can move on its own around 900bkm, but having a million t space station attached that max range can fall dramatically - and you eventually will run out of fuel with a not carefully planned tugging action.

So a tugging calculator would be nice. You can select your tug and that overview screen shows you the max tugging distance for all ships in your fleet which have no armor.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on March 19, 2021, 06:09:21 PM
For SpaceMasters who manage more than one empire, it would be nice if the overview screen could display all messages sorted by empire. For select race you could add "SpaceMaster" and get an overview like this:

Greater Union
=========
Known aether rift growth rate reduction: 10%
Purchase minerals from Lalande Resource Group but no mass driver destination is set
System Artemis is not fully geo surveyed. Bodes: 112. Surveyed bodes: 59

Space Alliance
=========
Wreck of ship class Galaxy Mk.2 located in System Barnards Star
Ship Iceland 001 of fleet Encke Space Station has only 0% of MSPs left
System Beowulf is not fully geo surveyed. Bodes: 409. Surveyed bodes: 88

Also: you can select those messages but not copy the text to an external text editor. Would be a nice QoL  ;D
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on March 20, 2021, 04:51:19 PM
Could you add an error message for the case when a planet mines more minerals than it can send out via Mass Driver, so you can send new MDs there?  ;)
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: JyeGuru on April 04, 2021, 02:57:17 AM
There appears to be a bug in the "Orbital miner X of fleet Y orbiting Z is idle: No minerals on body left" detection. Note the first two have been there a while, but the third one (Asteroid #13) appeared as soon as I dropped the OM on it and hasn't gone away.

Edit: Album link instead of embeds. https://imgur.com/a/v3yEX0m

Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 04, 2021, 04:40:16 AM
There appears to be a bug in the "Orbital miner X of fleet Y orbiting Z is idle: No minerals on body left" detection. Note the first two have been there a while, but the third one (Asteroid #13) appeared as soon as I dropped the OM on it and hasn't gone away.

Edit: Album link instead of embeds. https://imgur.com/a/v3yEX0m

Would it be possible to upload your database somewhere so I can take a look at it?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 04, 2021, 04:56:28 AM
Hi,

a new idea for managing bigger empires. Once you have more than one base planet for construction it would be nice if you could see the mineral statistic dependent upon those planets or bases to see if a local system runs out of specific minerals. So any way to be able to "split" the resource view on a specific selection of planet(s) or base(s) could come in handy that way.

Same with fuel, supplies etc.

Yes, this is planned for the 1.13.0 release :)

Tug Calculator: The one annoying thing with tugging space stations around is that you cannot see the max moving distance of the object to move. You can have a tug that can move on its own around 900bkm, but having a million t space station attached that max range can fall dramatically - and you eventually will run out of fuel with a not carefully planned tugging action.

So a tugging calculator would be nice. You can select your tug and that overview screen shows you the max tugging distance for all ships in your fleet which have no armor.

Doesn't A4xCalc already include a tugging calculator?

For SpaceMasters who manage more than one empire, it would be nice if the overview screen could display all messages sorted by empire. For select race you could add "SpaceMaster" and get an overview like this:

Greater Union
=========
Known aether rift growth rate reduction: 10%
Purchase minerals from Lalande Resource Group but no mass driver destination is set
System Artemis is not fully geo surveyed. Bodes: 112. Surveyed bodes: 59

Space Alliance
=========
Wreck of ship class Galaxy Mk.2 located in System Barnards Star
Ship Iceland 001 of fleet Encke Space Station has only 0% of MSPs left
System Beowulf is not fully geo surveyed. Bodes: 409. Surveyed bodes: 88

I'll see what I can do here.


Also: you can select those messages but not copy the text to an external text editor. Would be a nice QoL  ;D

This will be possible with the next version of AuroraMarvin. Thanks a lot for all your suggestions!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: JyeGuru on April 09, 2021, 07:49:17 AM
There appears to be a bug in the "Orbital miner X of fleet Y orbiting Z is idle: No minerals on body left" detection. Note the first two have been there a while, but the third one (Asteroid #13) appeared as soon as I dropped the OM on it and hasn't gone away.

Edit: Album link instead of embeds. https://imgur.com/a/v3yEX0m

Would it be possible to upload your database somewhere so I can take a look at it?

Direct Dropbox link: https://www.dropbox.com/s/9twpd4g0ilt92wt/AuroraDB.db?dl=0

Please ignore the terrible state of the actual game. This save was around the time I reported the bug, and the asteroid warnings mentioned above are on there.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 09, 2021, 01:55:46 PM
A new version of AuroraMarvin has been released. Changes in v1.11.0.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 24, 2021, 11:18:08 AM
A new version of AuroraMarvin has been released. Changes in v1.12.0.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Tchou on April 28, 2021, 06:19:30 PM
Hello, I ran into an error when using your tool:

Code: [Select]
System.FormatException: Le format de la chaîne d'entrée est incorrect.
   à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   à System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   à AuroraMarvin.AuroraMarvinController.GetFreeConstructionFactories() dans C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController.cs:ligne 555
   à AuroraMarvin.AuroraMarvinController.GetData() dans C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController.cs:ligne 173
   à AuroraMarvin.AuroraMarvinView.RaceSelector_SelectedIndexChanged(Object sender, EventArgs e) dans C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView.cs:ligne 347
   à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   à System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   à System.Windows.Forms.ComboBox.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Here is my DB:
https://drive.  google.  com/file/d/1sH1klU22Z8RtKRz80-9Mp7PAoAokydZF/view?usp=sharing

I hope you'll be able to debug it :)
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 29, 2021, 01:20:02 AM
Hello, I ran into an error when using your tool:

Code: [Select]
System.FormatException: Le format de la chaîne d'entrée est incorrect.
   à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   à System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   à AuroraMarvin.AuroraMarvinController.GetFreeConstructionFactories() dans C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController.cs:ligne 555
   à AuroraMarvin.AuroraMarvinController.GetData() dans C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController.cs:ligne 173
   à AuroraMarvin.AuroraMarvinView.RaceSelector_SelectedIndexChanged(Object sender, EventArgs e) dans C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView.cs:ligne 347
   à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   à System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   à System.Windows.Forms.ComboBox.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Here is my DB:
https://drive.  google.  com/file/d/1sH1klU22Z8RtKRz80-9Mp7PAoAokydZF/view?usp=sharing

I hope you'll be able to debug it :)

Thanks for the report. I think I found the problem and have a fix. I'll do some further testing and release a fixed version this evening.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 29, 2021, 09:37:15 AM
A new version of AuroraMarvin has been released. Changes in v1.13.0.0:
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
As this version provides a database migration please keep a copy of your old AuroraMarvin.db.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Tchou on April 30, 2021, 06:19:20 AM
Nice work and thanks for the quick update!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on July 14, 2021, 03:11:25 PM
The statistics of over a hundred years in the past are usually not that interesting. How about an optional field that switches to a view of "last 10 years" or so.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on July 17, 2021, 05:13:39 AM
Is it possible to mix up statistical data in the marvin.db if you connect it to different, independent aurora.dbs which have created new games that have the same game-ids?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on July 18, 2021, 05:40:04 AM
Is it possible to mix up statistical data in the marvin.db if you connect it to different, independent aurora.dbs which have created new games that have the same game-ids?

Yes, if the GameID and RaceID are identical and a save action is detected (AuroraDB.db has changed) the statistical data will be written to AuroraMarvin.db even if the previous data are from a different game.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on July 19, 2021, 12:50:15 AM
Is it possible to mix up statistical data in the marvin.db if you connect it to different, independent aurora.dbs which have created new games that have the same game-ids?

Yes, if the GameID and RaceID are identical and a save action is detected (AuroraDB.db has changed) the statistical data will be written to AuroraMarvin.db even if the previous data are from a different game.
That explains the weird data I got. Thanks.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on July 26, 2021, 12:47:51 AM
I tried to save a ship design in the tool - but that doesn't seem to work. How do I have to copy the data in there so it stays in?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: MasonMac on July 31, 2021, 05:52:05 PM
Why can't you look at the information for NPRs?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on September 02, 2021, 05:48:38 AM
Is there a way for you to track how many MSPs have been used by individual ships in the field and how much maintenance ships in port have consumed? It also might be interesting to be able to see this per ship class... .
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on March 07, 2022, 11:01:13 AM
Feature request: Hide low MSP warnings for craft that have 0 MSP by design.
(I design fighters without engineering spaces all the time.)
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on March 08, 2022, 03:14:25 PM
Feature request: Hide low MSP warnings for craft that have 0 MSP by design.
(I design fighters without engineering spaces all the time.)

Good one, I'll check this on the weekend. Thanks!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Migi on March 08, 2022, 04:38:37 PM
If you're still willing to update this, would it be possible to have 'human readable' values for the graph X axis?
At the moment I think they are in seconds, if you divide by 31536000 (i.e. 60x60x24x365) you should get the value in years (or close enough, I don't know what Aurora does about leap years) which is much easier to understand.
I also find some of the colours quite difficult to see against the white background, specifically Boronide and Mercassium, and to a lesser extent Sorium. If you could make them a bit darker that would be great.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 02, 2022, 04:57:35 AM
If you're still willing to update this, would it be possible to have 'human readable' values for the graph X axis?
At the moment I think they are in seconds, if you divide by 31536000 (i.e. 60x60x24x365) you should get the value in years (or close enough, I don't know what Aurora does about leap years) which is much easier to understand.
I also find some of the colours quite difficult to see against the white background, specifically Boronide and Mercassium, and to a lesser extent Sorium. If you could make them a bit darker that would be great.

Unfortunately it took longer then expected. What about the colour and X axis values like in the attached picture?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 02, 2022, 10:41:44 AM
Feature request: Hide low MSP warnings for craft that have 0 MSP by design.
(I design fighters without engineering spaces all the time.)

Fixed, will be part of the next release. Thanks a lot for the report!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Migi on April 02, 2022, 12:26:03 PM
If you're still willing to update this, would it be possible to have 'human readable' values for the graph X axis?
At the moment I think they are in seconds, if you divide by 31536000 (i.e. 60x60x24x365) you should get the value in years (or close enough, I don't know what Aurora does about leap years) which is much easier to understand.
I also find some of the colours quite difficult to see against the white background, specifically Boronide and Mercassium, and to a lesser extent Sorium. If you could make them a bit darker that would be great.

Unfortunately it took longer then expected. What about the colour and X axis values like in the attached picture?

That's great, thanks!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 03, 2022, 06:27:43 AM
To be able to have proper dates on the resource graph X axis I did some refactoring how historical resource data is stored. This refactoring was already planed for the release with support for Aurora 4x 2.0 as already saved historical resource data will be lost. So update to the version only if you don't want to keep your resource graph data.

Changes:

Download link: https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v1.99.0.1/download?job=build (https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v1.99.0.1/download?job=build)

Checksum:
Code: [Select]
SHA512 (artifacts.zip) = 963be57c4b907f46415fd376c8cf3aa8252bf86a3cd005bc295f55f89f5e68e388b3894413c85030711ba838aeaa58dcee7eb1afd027d854b306a6139880b4b2

Please make a backup of your AuroraMarvin.db prior to updating to this new version.

Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Migi on April 03, 2022, 02:47:08 PM
Thanks for the update, I'll have a think about whether the old mineral data is worth keeping.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on April 09, 2022, 09:19:44 AM
I just noticed that if I save my game twice without advancing time, Marvin records those data points twice in the database.
Which gives the graphs inaccurate peaks.

Not sure the best way to handle it.
Maybe check if a record with the same GameTime exists before inserting, and if so, update that record instead. Or delete the existing and insert the new one.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 18, 2022, 06:42:44 AM
I just noticed that if I save my game twice without advancing time, Marvin records those data points twice in the database.
Which gives the graphs inaccurate peaks.

Not sure the best way to handle it.
Maybe check if a record with the same GameTime exists before inserting, and if so, update that record instead. Or delete the existing and insert the new one.

Fixed, thanks for the report! I'll release a new version in a couple of minutes.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 18, 2022, 06:53:05 AM
A new preview release has been released:

Changes:

Download link: https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v1.99.0.2/download?job=build (https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v1.99.0.2/download?job=build)

Checksum:
Code: [Select]
SHA512 (artifacts.zip) = 4bcc2f917bc4b6faafc1e2438c1598e8c8ea25adc0bd20f97f5695cb2782a0e93e057e2b7b13dd761c382b7c464c951d5d0ad21a419ecdfd7f4bba380e3f2b72

Please make a backup of your AuroraMarvin.db prior to updating to this new version as this version tries to delete duplicate resource data.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on April 18, 2022, 08:10:43 AM
A new preview release has been released:

Changes:
  • Do not save duplicate resource data for identical timestamps as reported by skoormit

Awesome! Looks like this did the trick!

Minor note:
After posting about the duplication, I noticed that it was happening every time I saved--not just when I saved twice with the same timestamp.
This version fixes the problem. By checking for duplicate timestamps, the second save is apparently averted.
I mention it just so that you are fully aware of the behavior.

Maybe it's a mechanical problem with how you are polling the db file for changes?
Maybe it's catching the change twice for each save, if Aurora takes a certain amount of time to complete the save?
At this point, though, it doesn't matter to the end user, since duplication is no longer occurring.

Thanks for the fix! (And for making this awesome tool in the first place.)
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 18, 2022, 08:30:41 AM
Minor note:
After posting about the duplication, I noticed that it was happening every time I saved--not just when I saved twice with the same timestamp.
This version fixes the problem. By checking for duplicate timestamps, the second save is apparently averted.
I mention it just so that you are fully aware of the behavior.

Maybe it's a mechanical problem with how you are polling the db file for changes?

Marvin uses a FileSystemWatcher to detect changes of the AuroraDB.db and then reads the values into the Marvin database. While trying to reproduce the bug I founds several cases where the data could be read twice. So I added an UNIQUE INDEX over "GameID", "PopulationID", "GameTime" and "RaceID". So if already existing data is stored again it will generate an exception which is caught and silenced in the background but the data is not stored twice. Not the cleanest/best/textbook solution but is seems to work for now until I have time to introduce a proper check prior to saving the data.

Thank you very much for the report, much appreciated!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on April 18, 2022, 08:49:09 AM
...So I added an UNIQUE INDEX over "GameID", "PopulationID", "GameTime" and "RaceID". So if already existing data is stored again it will generate an exception which is caught and silenced in the background but the data is not stored twice. Not the cleanest/best/textbook solution but is seems to work for now until I have time to introduce a proper check prior to saving the data.

I can imagine a senior dev calling you out for using exceptions to handle normal-use code paths.

But I'm a pragmatist.
Why write another query and make another db call when you can just add a simple (and useful) index and add an empty catch block?

Possibly there's a relative db performance penalty when making a dupe insert (vs checking for dupe first), but at this program's scale we're talking about extra milliseconds (maybe).
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Destragon on April 22, 2022, 10:14:27 PM
Hey, nice work on the utility program.
I was gonna report an issue, but it turns out that has already been fixed and the download link in the OP is just outdated.

Edit:
Just thought of a random suggestion: Maybe the "overview" tab should have a notification for idle shipyards?

Edit 2:
Same with idle ground unit construction factories.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 23, 2022, 09:04:07 AM
Hey, nice work on the utility program.
I was gonna report an issue, but it turns out that has already been fixed and the download link in the OP is just outdated.

The the 1.99 versions have breaking changes which I intended to release with Aurora 4x C# 2.0. That is the reason why I haven't updated the OP as upgrading to 1.99 will delete historical resource data.

Edit:
Just thought of a random suggestion: Maybe the "overview" tab should have a notification for idle shipyards?

Done. I'll release a new version in a couple of minutes.

Edit 2:
Same with idle ground unit construction factories.

Oh, missed that one with this version ;D Will work on this on for v1.99.0.4.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 23, 2022, 09:08:41 AM
A new version of the AuroraMarvin preview version has been released.

Changes:

Download link: https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v1.99.0.3/download?job=build

Checksum:
Code: [Select]
SHA512 (artifacts.zip) = 7e950f699661c36d156e2f32e9ad43f6a3b00f8363fefb2af2f4497812f3052033dff2070269eff042d9764e74b690e4d6d4b5c4d7373e696f86262437bb62e0
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Destragon on April 23, 2022, 05:37:59 PM
Haha, thanks. That was quick.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on April 24, 2022, 04:40:57 AM
A new version of the AuroraMarvin preview version has been released.

Changes:
Download link: https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v1.99.0.4/download?job=build

Checksum:
Code: [Select]
SHA512 (artifacts.zip) = 2a1c9b7752c273a85d41fbdbbda3f166e9d9d4bc5eae74bf9b679e1f8d32a06fcb6edb813c96d8f116830b3a7491c91f99e96d8e484d3b0dc71af2d41f60c880
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Destragon on April 25, 2022, 12:39:41 PM
You know, I just had an idea for something that would probably be pretty useful, but I dunno how complex it would be to implement.
It would be nice to have a reminder when you have researched a new level of tech for ship components, but haven't actually designed/researched a component using that technology yet.
Something like:
"You have access to Ion Drive Technology, but haven't designed an Engine using this technology yet."
"You have access to Thermal Sensor Sensitivity 14, but haven't designed a Thermal Sensor using this technology yet."
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Destragon on May 01, 2022, 09:37:21 AM
Here's another thing that I would like if it were implemented in vanilla Aurora, but a utility having it would be just as good:
Give a notification message when one of your ship classes has a component on it that you've marked as obsolete.
"Class 'X' is equipped with the obsolete component 'Y'."
I guess this could also apply to outdated armor.
"Class 'X' is equipped with outdated armor 'Y'."
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on May 14, 2022, 07:25:36 AM
Wild and crazy feature idea:

Custom Queries tab.
--button Add Custom Query
--tab collection (initially empty)

Clicking the Add Custom Query button lets me input a SQL query.
Marvin then adds a tab to the tab collection for this query's output, and runs this query as part of normal updating.
Custom queries are saved between Marvin sessions.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Destragon on May 16, 2022, 06:11:32 PM
For some reason Marvin is saying my ground construction complexes are idle even though they are producing stuff.
By the way, can the file browser that starts up when you want to load up a database maybe be set to only display .db files to make it easier to see the database in the folder?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on May 26, 2022, 03:09:42 AM
For some reason Marvin is saying my ground construction complexes are idle even though they are producing stuff.

Could you please provide me your game database so I can take a look at this?

By the way, can the file browser that starts up when you want to load up a database maybe be set to only display .db files to make it easier to see the database in the folder?

Sure, I'll add this to the next version. Thanks!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Destragon on June 03, 2022, 06:02:05 PM
Here's the db where it says 4 idle ground force construction complexes.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on August 07, 2022, 08:17:55 AM
A new version of the AuroraMarvin version for Aurora 4x C# 2.0.1 has been released.

Changes:
Download link: https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v2.0.1.0/download?job=build

Checksum:
Code: [Select]
SHA512 (artifacts.zip) = c435646098e51f5c9d7fee2c38adf2c8f4b087e8dee236137802ad02b982512ced066bd65d9d274ec35063affe5c73bc78ad55a5f987f4bf728b1aec571bf56f
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on August 07, 2022, 10:57:40 AM
I have noticed that when Aurora save times become really long (like 30+ seconds) Marvin throws an exception about the database being locked whenever I save Aurora.
Doesn't seem to cause a problem. If I wait until the save completes, I can click the Continue button on the exception window and nothing seems amiss about the data.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on August 07, 2022, 01:44:28 PM
I have noticed that when Aurora save times become really long (like 30+ seconds) Marvin throws an exception about the database being locked whenever I save Aurora.
Doesn't seem to cause a problem. If I wait until the save completes, I can click the Continue button on the exception window and nothing seems amiss about the data.

Some of my campaigns had quite large save times but I never encountered this problem.
Would it be possible to provide a db file for such a game state so I can reproduce this here?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on August 08, 2022, 12:50:58 PM
I have noticed that when Aurora save times become really long (like 30+ seconds) Marvin throws an exception about the database being locked whenever I save Aurora.
Doesn't seem to cause a problem. If I wait until the save completes, I can click the Continue button on the exception window and nothing seems amiss about the data.

Some of my campaigns had quite large save times but I never encountered this problem.
Would it be possible to provide a db file for such a game state so I can reproduce this here?

The exception seems to always popup right around the 30-second mark after clicking the save button, which is why I suspect that Marvin's attempt to connect to the database is reaching a default connection string timeout.

The Aurora file size exceeds the forum limit, so here it is on G Drive (https://drive.google.com/file/d/1HMCp7U1ksyMA0gjK3_1zfNs6oai7I8Vr/view?usp=sharing).
Note: This is a version 1.13 game. You'll need to open with the 1.13 exe.

The Marvin db is attached.

Possibly of note: I usually have Excel and DB Browser for SQLite open as well. Both of them connect to the Aurora database, but they aren't "live" connections--they don't lock the database or poll the file or anything like that. Still, I imagine it is possible that these idle connections are causing or contributing to the problem.

Also possibly of note:
My Aurora folder is in my Dropbox hierarchy, which means that the Dropbox executable *is* polling for updates, and starts to synch the db file shortly after the save starts.
However, even if I exit out of Dropbox before saving, the exception still occurs.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on August 10, 2022, 10:05:17 AM
I have noticed that when Aurora save times become really long (like 30+ seconds) Marvin throws an exception about the database being locked whenever I save Aurora.
Doesn't seem to cause a problem. If I wait until the save completes, I can click the Continue button on the exception window and nothing seems amiss about the data.

Some of my campaigns had quite large save times but I never encountered this problem.
Would it be possible to provide a db file for such a game state so I can reproduce this here?

The exception seems to always popup right around the 30-second mark after clicking the save button, which is why I suspect that Marvin's attempt to connect to the database is reaching a default connection string timeout.

Unfortunately I can't reproduce the problem with your database and the save times are around 2 minutes here. If it happens again, could you please send me the full exception so I can check the code path?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on August 12, 2022, 08:47:36 AM
 
...If it happens again, could you please send me the full exception so I can check the code path?

Here it is:

Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
code = Busy (5), message = System.Data.SQLite.SQLiteException (0x800007AF): database is locked
database is locked
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at AuroraMarvin.AuroraDatabase.GetDataTableFromQuery(String query) in C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraDatabase.cs:line 30
   at AuroraMarvin.AuroraMarvinModel.GetPopulationResources() in C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinModel.cs:line 197
   at AuroraMarvin.AuroraMarvinController.SavePopulationResources() in C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController.cs:line 45
   at AuroraMarvin.AuroraMarvinView.FileSystemWatcher1_Changed(Object sender, FileSystemEventArgs e) in C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView.cs:line 458
   at System.IO.FileSystemEventHandler.Invoke(Object sender, FileSystemEventArgs e)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
AuroraMarvin
    Assembly Version: 1.99.0.2
    Win32 Version: 1.99.0.2
    CodeBase: file:///C:/Dropbox/Games/Aurora/C%23/AuroraMarvin/AuroraMarvin.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.DataVisualization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
----------------------------------------
SQLite-net
    Assembly Version: 1.8.116.0
    Win32 Version: 1.8.116.0
    CodeBase: file:///C:/Dropbox/Games/Aurora/C%23/AuroraMarvin/SQLite-net.DLL
----------------------------------------
netstandard
    Assembly Version: 2.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.115.5
    Win32 Version: 1.0.115.5
    CodeBase: file:///C:/Dropbox/Games/Aurora/C%23/AuroraMarvin/System.Data.SQLite.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Microsoft.Msagl.GraphViewerGdi
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Dropbox/Games/Aurora/C%23/AuroraMarvin/Microsoft.Msagl.GraphViewerGdi.DLL
----------------------------------------
AutomaticGraphLayout.Drawing
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Dropbox/Games/Aurora/C%23/AuroraMarvin/AutomaticGraphLayout.Drawing.DLL
----------------------------------------
AutomaticGraphLayout
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Dropbox/Games/Aurora/C%23/AuroraMarvin/AutomaticGraphLayout.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on August 16, 2022, 01:20:11 AM
Here it is:

Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
code = Busy (5), message = System.Data.SQLite.SQLiteException (0x800007AF): database is locked
database is locked
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at AuroraMarvin.AuroraDatabase.GetDataTableFromQuery(String query) in C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraDatabase.cs:line 30
   at AuroraMarvin.AuroraMarvinModel.GetPopulationResources() in C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinModel.cs:line 197
   at AuroraMarvin.AuroraMarvinController.SavePopulationResources() in C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController.cs:line 45
   at AuroraMarvin.AuroraMarvinView.FileSystemWatcher1_Changed(Object sender, FileSystemEventArgs e) in C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView.cs:line 458
   at System.IO.FileSystemEventHandler.Invoke(Object sender, FileSystemEventArgs e)

Thank you! This looks very strange. It appears Aurora finishes saving the game, Marvin starts reading the DB, is able to read some of the data and in the middle of reading the database is locked again. As the data can't be read in such a case anyways I just catch the exception and ignore it. This should be "fixed" in Marvin 2.1.0.0.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on August 16, 2022, 01:24:07 AM
A new version of the AuroraMarvin version for Aurora 4x C# 2.1.0 has been released.

Changes:


Download link: https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v2.1.0.0/download?job=build

Checksum:
Code: [Select]
SHA512 (artifacts.zip) = 2d56ad3f93ffd75a9037531858daa29e747b8efb665a633902a7a6b83e07915eb558b269622b7723d83789fb6969385a6f3000f8ed269d802759f55b7c11b337
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: lordpapi on August 16, 2022, 09:55:31 AM
Heya!


I get the following error:


Off-Topic: show

************** Kivétel szövege **************
System. OverflowException: Érvénytelen OleAut dátum.
   a következő helyen: System. DateTime. TicksToOADate(Int64 value)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. DataPoint. SetValueXY(Object xValue, Object[] yValue)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. ChartImage. DataBind(IEnumerable dataSource, ArrayList seriesList)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. ChartImage. DataBind()
   a következő helyen: AuroraMarvin. AuroraMarvinView. SetResources(DataTable ressources) hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView. cs, sor: 211
   a következő helyen: AuroraMarvin. AuroraMarvinController. GetResources() hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController. cs, sor: 759
   a következő helyen: AuroraMarvin. AuroraMarvinController. GetData() hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController. cs, sor: 165
   a következő helyen: AuroraMarvin. AuroraMarvinView. FileSystemWatcher1_Changed(Object sender, FileSystemEventArgs e) hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView. cs, sor: 462
   a következő helyen: System. IO. FileSystemEventHandler. Invoke(Object sender, FileSystemEventArgs e)


************** Betöltött szerelvények **************
mscorlib
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft. NET/Framework64/v4. 0. 30319/mscorlib. dll
----------------------------------------
AuroraMarvin
    Szerelvény verziója: 2. 1. 0. 0
    Win32-verzió: 2. 1. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AuroraMarvin. exe
----------------------------------------
System. Windows. Forms
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Windows. Forms. dll
----------------------------------------
System
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4488. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. dll
----------------------------------------
System. Drawing
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4390. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Drawing/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. Drawing. dll
----------------------------------------
System. Configuration
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4190. 0 built by: NET48REL1LAST_B
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Configuration/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. Configuration. dll
----------------------------------------
System. Core
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Core/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Core. dll
----------------------------------------
System. Xml
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Xml/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Xml. dll
----------------------------------------
System. Windows. Forms. DataVisualization
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4200. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. DataVisualization/v4. 0_4. 0. 0. 0__31bf3856ad364e35/System. Windows. Forms. DataVisualization. dll
----------------------------------------
System. Windows. Forms. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. resources/v4. 0_4. 0. 0. 0_hu_b77a5c561934e089/System. Windows. Forms. resources. dll
----------------------------------------
System. Windows. Forms. DataVisualization. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. DataVisualization. resources/v4. 0_4. 0. 0. 0_hu_31bf3856ad364e35/System. Windows. Forms. DataVisualization. resources. dll
----------------------------------------
Accessibility
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/Accessibility/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/Accessibility. dll
----------------------------------------
SQLite-net
    Szerelvény verziója: 1. 8. 116. 0
    Win32-verzió: 1. 8. 116. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/SQLite-net. DLL
----------------------------------------
netstandard
    Szerelvény verziója: 2. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/netstandard/v4. 0_2. 0. 0. 0__cc7b13ffcd2ddd51/netstandard. dll
----------------------------------------
System. Data. SQLite
    Szerelvény verziója: 1. 0. 116. 0
    Win32-verzió: 1. 0. 116. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/System. Data. SQLite. DLL
----------------------------------------
System. Data
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4455. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. Data/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Data. dll
----------------------------------------
System. Transactions
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. Transactions/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Transactions. dll
----------------------------------------
System. EnterpriseServices
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. EnterpriseServices/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. EnterpriseServices. dll
----------------------------------------
System. Numerics
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Numerics/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Numerics. dll
----------------------------------------
Microsoft. Msagl. GraphViewerGdi
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/Microsoft. Msagl. GraphViewerGdi. DLL
----------------------------------------
AutomaticGraphLayout. Drawing
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AutomaticGraphLayout. Drawing. DLL
----------------------------------------
AutomaticGraphLayout
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AutomaticGraphLayout. DLL
----------------------------------------
mscorlib. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/mscorlib. resources/v4. 0_4. 0. 0. 0_hu_b77a5c561934e089/mscorlib. resources. dll
----------------------------------------

************** Igény szerinti (JIT) hibakeresés **************
Az igény szerinti (JIT) hibakeresés engedélyezéséhez fel kell venni
a jitDebugging értéket az alkalmazás . config fájljába, illetve a
gépkonfigurációs fájlba (machine. config), a system. windows. forms
szakaszba.  Emellett az alkalmazást a hibakeresés engedélyezésével
kell lefordítani.

Példa:

<configuration>
    <system. windows. forms jitDebugging="true" />
</configuration>

Ha engedélyezve van az igény szerinti hibakeresés, akkor a nem kezelt
kivételeket a rendszer a számítógépen regisztrált igény szerinti hibakeresőnek
küldi el, és nem a jelen párbeszédpanel megjelenítésével kezeli.




Then all data just vanishes from Marvin.  Can you help what might be the cause?


Thanks!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on August 16, 2022, 10:53:09 AM
Heya!


I get the following error:


Off-Topic: show

************** Kivétel szövege **************
System. OverflowException: Érvénytelen OleAut dátum.
   a következő helyen: System. DateTime. TicksToOADate(Int64 value)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. DataPoint. SetValueXY(Object xValue, Object[] yValue)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. ChartImage. DataBind(IEnumerable dataSource, ArrayList seriesList)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. ChartImage. DataBind()
   a következő helyen: AuroraMarvin. AuroraMarvinView. SetResources(DataTable ressources) hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView. cs, sor: 211
   a következő helyen: AuroraMarvin. AuroraMarvinController. GetResources() hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController. cs, sor: 759
   a következő helyen: AuroraMarvin. AuroraMarvinController. GetData() hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController. cs, sor: 165
   a következő helyen: AuroraMarvin. AuroraMarvinView. FileSystemWatcher1_Changed(Object sender, FileSystemEventArgs e) hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView. cs, sor: 462
   a következő helyen: System. IO. FileSystemEventHandler. Invoke(Object sender, FileSystemEventArgs e)


************** Betöltött szerelvények **************
mscorlib
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft. NET/Framework64/v4. 0. 30319/mscorlib. dll
----------------------------------------
AuroraMarvin
    Szerelvény verziója: 2. 1. 0. 0
    Win32-verzió: 2. 1. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AuroraMarvin. exe
----------------------------------------
System. Windows. Forms
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Windows. Forms. dll
----------------------------------------
System
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4488. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. dll
----------------------------------------
System. Drawing
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4390. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Drawing/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. Drawing. dll
----------------------------------------
System. Configuration
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4190. 0 built by: NET48REL1LAST_B
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Configuration/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. Configuration. dll
----------------------------------------
System. Core
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Core/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Core. dll
----------------------------------------
System. Xml
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Xml/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Xml. dll
----------------------------------------
System. Windows. Forms. DataVisualization
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4200. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. DataVisualization/v4. 0_4. 0. 0. 0__31bf3856ad364e35/System. Windows. Forms. DataVisualization. dll
----------------------------------------
System. Windows. Forms. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. resources/v4. 0_4. 0. 0. 0_hu_b77a5c561934e089/System. Windows. Forms. resources. dll
----------------------------------------
System. Windows. Forms. DataVisualization. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. DataVisualization. resources/v4. 0_4. 0. 0. 0_hu_31bf3856ad364e35/System. Windows. Forms. DataVisualization. resources. dll
----------------------------------------
Accessibility
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/Accessibility/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/Accessibility. dll
----------------------------------------
SQLite-net
    Szerelvény verziója: 1. 8. 116. 0
    Win32-verzió: 1. 8. 116. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/SQLite-net. DLL
----------------------------------------
netstandard
    Szerelvény verziója: 2. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/netstandard/v4. 0_2. 0. 0. 0__cc7b13ffcd2ddd51/netstandard. dll
----------------------------------------
System. Data. SQLite
    Szerelvény verziója: 1. 0. 116. 0
    Win32-verzió: 1. 0. 116. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/System. Data. SQLite. DLL
----------------------------------------
System. Data
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4455. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. Data/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Data. dll
----------------------------------------
System. Transactions
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. Transactions/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Transactions. dll
----------------------------------------
System. EnterpriseServices
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. EnterpriseServices/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. EnterpriseServices. dll
----------------------------------------
System. Numerics
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Numerics/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Numerics. dll
----------------------------------------
Microsoft. Msagl. GraphViewerGdi
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/Microsoft. Msagl. GraphViewerGdi. DLL
----------------------------------------
AutomaticGraphLayout. Drawing
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AutomaticGraphLayout. Drawing. DLL
----------------------------------------
AutomaticGraphLayout
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AutomaticGraphLayout. DLL
----------------------------------------
mscorlib. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/mscorlib. resources/v4. 0_4. 0. 0. 0_hu_b77a5c561934e089/mscorlib. resources. dll
----------------------------------------

************** Igény szerinti (JIT) hibakeresés **************
Az igény szerinti (JIT) hibakeresés engedélyezéséhez fel kell venni
a jitDebugging értéket az alkalmazás . config fájljába, illetve a
gépkonfigurációs fájlba (machine. config), a system. windows. forms
szakaszba.  Emellett az alkalmazást a hibakeresés engedélyezésével
kell lefordítani.

Példa:

<configuration>
    <system. windows. forms jitDebugging="true" />
</configuration>

Ha engedélyezve van az igény szerinti hibakeresés, akkor a nem kezelt
kivételeket a rendszer a számítógépen regisztrált igény szerinti hibakeresőnek
küldi el, és nem a jelen párbeszédpanel megjelenítésével kezeli.




Then all data just vanishes from Marvin.  Can you help what might be the cause?


Thanks!

I'm not the developer, but it looks like this might be caused by a game date that is very, very far into the future.
Is that the case for your game?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on August 16, 2022, 11:01:19 AM
Heya!


I get the following error:


Off-Topic: show

************** Kivétel szövege **************
System. OverflowException: Érvénytelen OleAut dátum.
   a következő helyen: System. DateTime. TicksToOADate(Int64 value)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. DataPoint. SetValueXY(Object xValue, Object[] yValue)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. ChartImage. DataBind(IEnumerable dataSource, ArrayList seriesList)
   a következő helyen: System. Windows. Forms. DataVisualization. Charting. ChartImage. DataBind()
   a következő helyen: AuroraMarvin. AuroraMarvinView. SetResources(DataTable ressources) hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView. cs, sor: 211
   a következő helyen: AuroraMarvin. AuroraMarvinController. GetResources() hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController. cs, sor: 759
   a következő helyen: AuroraMarvin. AuroraMarvinController. GetData() hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController. cs, sor: 165
   a következő helyen: AuroraMarvin. AuroraMarvinView. FileSystemWatcher1_Changed(Object sender, FileSystemEventArgs e) hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView. cs, sor: 462
   a következő helyen: System. IO. FileSystemEventHandler. Invoke(Object sender, FileSystemEventArgs e)


************** Betöltött szerelvények **************
mscorlib
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft. NET/Framework64/v4. 0. 30319/mscorlib. dll
----------------------------------------
AuroraMarvin
    Szerelvény verziója: 2. 1. 0. 0
    Win32-verzió: 2. 1. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AuroraMarvin. exe
----------------------------------------
System. Windows. Forms
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Windows. Forms. dll
----------------------------------------
System
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4488. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. dll
----------------------------------------
System. Drawing
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4390. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Drawing/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. Drawing. dll
----------------------------------------
System. Configuration
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4190. 0 built by: NET48REL1LAST_B
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Configuration/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. Configuration. dll
----------------------------------------
System. Core
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4515. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Core/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Core. dll
----------------------------------------
System. Xml
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Xml/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Xml. dll
----------------------------------------
System. Windows. Forms. DataVisualization
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4200. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. DataVisualization/v4. 0_4. 0. 0. 0__31bf3856ad364e35/System. Windows. Forms. DataVisualization. dll
----------------------------------------
System. Windows. Forms. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. resources/v4. 0_4. 0. 0. 0_hu_b77a5c561934e089/System. Windows. Forms. resources. dll
----------------------------------------
System. Windows. Forms. DataVisualization. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Windows. Forms. DataVisualization. resources/v4. 0_4. 0. 0. 0_hu_31bf3856ad364e35/System. Windows. Forms. DataVisualization. resources. dll
----------------------------------------
Accessibility
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/Accessibility/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/Accessibility. dll
----------------------------------------
SQLite-net
    Szerelvény verziója: 1. 8. 116. 0
    Win32-verzió: 1. 8. 116. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/SQLite-net. DLL
----------------------------------------
netstandard
    Szerelvény verziója: 2. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/netstandard/v4. 0_2. 0. 0. 0__cc7b13ffcd2ddd51/netstandard. dll
----------------------------------------
System. Data. SQLite
    Szerelvény verziója: 1. 0. 116. 0
    Win32-verzió: 1. 0. 116. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/System. Data. SQLite. DLL
----------------------------------------
System. Data
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4455. 0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. Data/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Data. dll
----------------------------------------
System. Transactions
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. Transactions/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Transactions. dll
----------------------------------------
System. EnterpriseServices
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_64/System. EnterpriseServices/v4. 0_4. 0. 0. 0__b03f5f7f11d50a3a/System. EnterpriseServices. dll
----------------------------------------
System. Numerics
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/System. Numerics/v4. 0_4. 0. 0. 0__b77a5c561934e089/System. Numerics. dll
----------------------------------------
Microsoft. Msagl. GraphViewerGdi
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/Microsoft. Msagl. GraphViewerGdi. DLL
----------------------------------------
AutomaticGraphLayout. Drawing
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AutomaticGraphLayout. Drawing. DLL
----------------------------------------
AutomaticGraphLayout
    Szerelvény verziója: 0. 0. 0. 0
    Win32-verzió: 0. 0. 0. 0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AutomaticGraphLayout. DLL
----------------------------------------
mscorlib. resources
    Szerelvény verziója: 4. 0. 0. 0
    Win32-verzió: 4. 8. 4084. 0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft. Net/assembly/GAC_MSIL/mscorlib. resources/v4. 0_4. 0. 0. 0_hu_b77a5c561934e089/mscorlib. resources. dll
----------------------------------------

************** Igény szerinti (JIT) hibakeresés **************
Az igény szerinti (JIT) hibakeresés engedélyezéséhez fel kell venni
a jitDebugging értéket az alkalmazás . config fájljába, illetve a
gépkonfigurációs fájlba (machine. config), a system. windows. forms
szakaszba.  Emellett az alkalmazást a hibakeresés engedélyezésével
kell lefordítani.

Példa:

<configuration>
    <system. windows. forms jitDebugging="true" />
</configuration>

Ha engedélyezve van az igény szerinti hibakeresés, akkor a nem kezelt
kivételeket a rendszer a számítógépen regisztrált igény szerinti hibakeresőnek
küldi el, és nem a jelen párbeszédpanel megjelenítésével kezeli.




Then all data just vanishes from Marvin.  Can you help what might be the cause?


Thanks!

Would it be possible to provide you game database and which version of Aurora and Marvin are you using?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: lordpapi on August 16, 2022, 11:18:25 AM
Thx for the reply!

Should be latest version on all. 

Bear it in mind that I've played some since I posted my issue. 


Quote from: Scnaeg link=topic=12233.  msg161409#msg161409 date=1660665679
Quote from: lordpapi link=topic=12233.  msg161405#msg161405 date=1660661731
Heya!


I get the following error:


Off-Topic: show

************** Kivétel szövege **************
System.   OverflowException: Érvénytelen OleAut dátum.   
   a következő helyen: System.   DateTime.   TicksToOADate(Int64 value)
   a következő helyen: System.   Windows.   Forms.   DataVisualization.   Charting.   DataPoint.   SetValueXY(Object xValue, Object[] yValue)
   a következő helyen: System.   Windows.   Forms.   DataVisualization.   Charting.   ChartImage.   DataBind(IEnumerable dataSource, ArrayList seriesList)
   a következő helyen: System.   Windows.   Forms.   DataVisualization.   Charting.   ChartImage.   DataBind()
   a következő helyen: AuroraMarvin.   AuroraMarvinView.   SetResources(DataTable ressources) hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView.   cs, sor: 211
   a következő helyen: AuroraMarvin.   AuroraMarvinController.   GetResources() hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController.   cs, sor: 759
   a következő helyen: AuroraMarvin.   AuroraMarvinController.   GetData() hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinController.   cs, sor: 165
   a következő helyen: AuroraMarvin.   AuroraMarvinView.   FileSystemWatcher1_Changed(Object sender, FileSystemEventArgs e) hely: C:\GitLab-Runner\builds\Scnaeg\auroramarvin\AuroraMarvinView.   cs, sor: 462
   a következő helyen: System.   IO.   FileSystemEventHandler.   Invoke(Object sender, FileSystemEventArgs e)


************** Betöltött szerelvények **************
mscorlib
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4515.   0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft.   NET/Framework64/v4.   0.   30319/mscorlib.   dll
----------------------------------------
AuroraMarvin
    Szerelvény verziója: 2.   1.   0.   0
    Win32-verzió: 2.   1.   0.   0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AuroraMarvin.   exe
----------------------------------------
System.   Windows.   Forms
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4515.   0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Windows.   Forms/v4.   0_4.   0.   0.   0__b77a5c561934e089/System.   Windows.   Forms.   dll
----------------------------------------
System
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4488.   0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System/v4.   0_4.   0.   0.   0__b77a5c561934e089/System.   dll
----------------------------------------
System.   Drawing
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4390.   0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Drawing/v4.   0_4.   0.   0.   0__b03f5f7f11d50a3a/System.   Drawing.   dll
----------------------------------------
System.   Configuration
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4190.   0 built by: NET48REL1LAST_B
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Configuration/v4.   0_4.   0.   0.   0__b03f5f7f11d50a3a/System.   Configuration.   dll
----------------------------------------
System.   Core
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4515.   0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Core/v4.   0_4.   0.   0.   0__b77a5c561934e089/System.   Core.   dll
----------------------------------------
System.   Xml
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Xml/v4.   0_4.   0.   0.   0__b77a5c561934e089/System.   Xml.   dll
----------------------------------------
System.   Windows.   Forms.   DataVisualization
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4200.   0
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Windows.   Forms.   DataVisualization/v4.   0_4.   0.   0.   0__31bf3856ad364e35/System.   Windows.   Forms.   DataVisualization.   dll
----------------------------------------
System.   Windows.   Forms.   resources
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Windows.   Forms.   resources/v4.   0_4.   0.   0.   0_hu_b77a5c561934e089/System.   Windows.   Forms.   resources.   dll
----------------------------------------
System.   Windows.   Forms.   DataVisualization.   resources
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Windows.   Forms.   DataVisualization.   resources/v4.   0_4.   0.   0.   0_hu_31bf3856ad364e35/System.   Windows.   Forms.   DataVisualization.   resources.   dll
----------------------------------------
Accessibility
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/Accessibility/v4.   0_4.   0.   0.   0__b03f5f7f11d50a3a/Accessibility.   dll
----------------------------------------
SQLite-net
    Szerelvény verziója: 1.   8.   116.   0
    Win32-verzió: 1.   8.   116.   0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/SQLite-net.   DLL
----------------------------------------
netstandard
    Szerelvény verziója: 2.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/netstandard/v4.   0_2.   0.   0.   0__cc7b13ffcd2ddd51/netstandard.   dll
----------------------------------------
System.   Data.   SQLite
    Szerelvény verziója: 1.   0.   116.   0
    Win32-verzió: 1.   0.   116.   0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/System.   Data.   SQLite.   DLL
----------------------------------------
System.   Data
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4455.   0 built by: NET48REL1LAST_C
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_64/System.   Data/v4.   0_4.   0.   0.   0__b77a5c561934e089/System.   Data.   dll
----------------------------------------
System.   Transactions
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_64/System.   Transactions/v4.   0_4.   0.   0.   0__b77a5c561934e089/System.   Transactions.   dll
----------------------------------------
System.   EnterpriseServices
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_64/System.   EnterpriseServices/v4.   0_4.   0.   0.   0__b03f5f7f11d50a3a/System.   EnterpriseServices.   dll
----------------------------------------
System.   Numerics
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/System.   Numerics/v4.   0_4.   0.   0.   0__b77a5c561934e089/System.   Numerics.   dll
----------------------------------------
Microsoft.   Msagl.   GraphViewerGdi
    Szerelvény verziója: 0.   0.   0.   0
    Win32-verzió: 0.   0.   0.   0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/Microsoft.   Msagl.   GraphViewerGdi.   DLL
----------------------------------------
AutomaticGraphLayout.   Drawing
    Szerelvény verziója: 0.   0.   0.   0
    Win32-verzió: 0.   0.   0.   0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AutomaticGraphLayout.   Drawing.   DLL
----------------------------------------
AutomaticGraphLayout
    Szerelvény verziója: 0.   0.   0.   0
    Win32-verzió: 0.   0.   0.   0
    Kódbázis: file:///C:/Users/papig/OneDrive/Desktop/Aurora/AuroraMarvin/AutomaticGraphLayout.   DLL
----------------------------------------
mscorlib.   resources
    Szerelvény verziója: 4.   0.   0.   0
    Win32-verzió: 4.   8.   4084.   0 built by: NET48REL1
    Kódbázis: file:///C:/WINDOWS/Microsoft.   Net/assembly/GAC_MSIL/mscorlib.   resources/v4.   0_4.   0.   0.   0_hu_b77a5c561934e089/mscorlib.   resources.   dll
----------------------------------------

************** Igény szerinti (JIT) hibakeresés **************
Az igény szerinti (JIT) hibakeresés engedélyezéséhez fel kell venni
a jitDebugging értéket az alkalmazás .   config fájljába, illetve a
gépkonfigurációs fájlba (machine.   config), a system.   windows.   forms
szakaszba.    Emellett az alkalmazást a hibakeresés engedélyezésével
kell lefordítani.   

Példa:

<configuration>
    <system.   windows.   forms jitDebugging="true" />
</configuration>

Ha engedélyezve van az igény szerinti hibakeresés, akkor a nem kezelt
kivételeket a rendszer a számítógépen regisztrált igény szerinti hibakeresőnek
küldi el, és nem a jelen párbeszédpanel megjelenítésével kezeli.   




Then all data just vanishes from Marvin.    Can you help what might be the cause?


Thanks!

Would it be possible to provide you game database and which version of Aurora and Marvin are you using?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on August 16, 2022, 12:37:35 PM
Thx for the reply!

Should be latest version on all. 

Bear it in mind that I've played some since I posted my issue. 

Thank you very much for the database. I was able to reproduce the problem with your database. This exception will be triggered if the starting year of a game is set to 1. Then the conversion to human readable dates in the x axis of the resource graphs will trigger this exception. I'll try to find a solution.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on August 17, 2022, 03:00:05 AM
A new version of the AuroraMarvin version for Aurora 4x C# 2.1.0 has been released.

Changes:


Download link: https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v2.1.0.1/download?job=build

Checksum:
Code: [Select]
SHA512 (artifacts.zip) = 16077e17a98a766d3b8794f3cfac341b6e58d57fe45d6ea106bf65d10314cbc3a8539427e1872de4768de6654b97f2ed4bbb46b370a6f073618396efb996b19f
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: lumporr on August 19, 2022, 10:18:14 AM
Sincere apologies if I'm missing something obvious, but all the graphs in AuroraMarvin show up entirely blank (pictures attached). What am I doing wrong here?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Destragon on August 19, 2022, 10:29:02 AM
Sincere apologies if I'm missing something obvious, but all the graphs in AuroraMarvin show up entirely blank (pictures attached). What am I doing wrong here?
You need the game to be saved like 3 times before these charts become useable.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Napier on September 10, 2022, 04:59:24 PM
Thank you for making this tool available, it's been very useful.

 A question I have is how to save the ship designs, I don't see an update button like on the notes tab.

The only suggestion I have is probably too much work to ask, but find myself wishing I there was a checkbox list to hide items from the overview tab.  That window can get very busy and long, the larger the empire gets.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on September 11, 2022, 02:24:47 AM
Thank you for making this tool available, it's been very useful.

Thank you!

A question I have is how to save the ship designs, I don't see an update button like on the notes tab.

There is no possibility to update ship designs at the moment. You can just add designs in the current version.

The only suggestion I have is probably too much work to ask, but find myself wishing I there was a checkbox list to hide items from the overview tab.  That window can get very busy and long, the larger the empire gets.

You can hide item groups from the menu. Single items is not possible as I have to track and map them against the game and I couldn't find a reliable way to do it.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: skoormit on September 11, 2022, 08:58:03 AM
Suggestion:

I would use the Notes tab more if I didn't have to remember to click the Update button.

What if the game auto-saved your Notes on application exit and/or whenever it detects an updated Aurora db (before loading the new data)?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Destragon on September 13, 2022, 07:36:20 PM
Can Marvin maybe remember what database you load and then automatically load that one when you start the program?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: PaxMondo on January 31, 2023, 02:44:57 PM
VERY nice tool.  Thanks for this.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Prodigle on May 24, 2023, 05:58:11 AM
Feature Request:

Mineral Survey Screen with a few extra bells and whistles.
As well as the default search tools (duranium > 10,000, duranium accessibility > 0. 5 etc. ), it would be nice to sort by:
    total mineral amount (all added up per body)
    total normalized amount (all multiplied by acessibility, added up per body) e. g 1000 duranium with 0. 5 accessibility gives a +500 to the total (then sorted by highest first total)


Can take a little while to do fuzzy maths in my head when looking for general bodies that are worth mining.  The screen as is it is now is fine for finding specific minerals to mine, but doesn't really make it easy to look for "general" mining targets

Thanks!
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on May 27, 2023, 02:01:52 AM
Feature Request:

Mineral Survey Screen with a few extra bells and whistles.
As well as the default search tools (duranium > 10,000, duranium accessibility > 0. 5 etc. ), it would be nice to sort by:
    total mineral amount (all added up per body)
    total normalized amount (all multiplied by acessibility, added up per body) e. g 1000 duranium with 0. 5 accessibility gives a +500 to the total (then sorted by highest first total)


Can take a little while to do fuzzy maths in my head when looking for general bodies that are worth mining.  The screen as is it is now is fine for finding specific minerals to mine, but doesn't really make it easy to look for "general" mining targets

Thanks for the suggestion. I took a look at something like this in the past but never implemented it.
I think it was not that straight forward but to be honest I can't remember the reason why I never worked on it.  ;D
I'll take a look at it again once 2.2.0 is released :)
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on November 27, 2023, 05:01:34 AM
A new version of the AuroraMarvin version for Aurora 4x C# 2.2.0 has been released.

Changes:

Download link: https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v2.2.0.0/download?job=build

Checksum:
Code: [Select]
SHA512 (artifacts.zip) = 43070fc25b883795616a571cc10f83e5104da5af5fba6fcd98a6dfb475016046601d3fc5a8e4b89cf54ca6955d3d88de71b941bb0b8f21005eeaf2af8fdc1b09
Download link in the first post has been updated. To upgrade extract the new zip and copy AuroraMarvin.db into the new location.
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: TMaekler on February 28, 2024, 05:12:05 AM
Hi,

any plans to update to latest version?
Title: Re: AuroraMarvin, helper android for Aurora 4x C#
Post by: Scnaeg on March 02, 2024, 01:14:18 PM
Hi,

any plans to update to latest version?

The latest Marvin version runs fine with the latest Aurora version as there weren't any changes which had an implication on Marvin, that's why I didn't released a new one.