Release Trade Computer Extension Mk.II

Update (1.0.6) released:



Changelog:
- Fixed an error on imports of Mk.II databases.
- Added a missing picture of planetary ports.

Note:
Copy the content into your TCE folder to update your version.

Request:

Following ship types hangar pictures are missing currently:
Eagle Mk.II
Ocra
Imperial Courier
Vulture
Federal Gunship
Federal Assault Ship
Keelback
Imperial Cutter
Imperial Eagle

If you own one of these ship types, please make a hangar picture of it and send it to eventure(at)ki.tng.de to complete the picture list.
Thank you very much in advance.
 
Last edited:
Landing on a planetary outpost I got this error message


System.IO.FileNotFoundException: D:\TCE\JPG\14.jpg
ved System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
ved System.Drawing.Image.FromFile(String filename)
ved Trade_Computer_Extension.Panel_DB_Markets.Update_Market_Data() i C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_DB_Markets.vb:linje 343
ved Trade_Computer_Extension.Panel_DB_Markets.BTN_Mod_Click(Object sender, EventArgs e) i C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_DB_Markets.vb:linje 285
ved System.Windows.Forms.Control.OnClick(EventArgs e)
ved System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
ved System.Windows.Forms.Control.WndProc(Message& m)
ved System.Windows.Forms.Label.WndProc(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

Attachments

  • TCE3.png
    TCE3.png
    3.5 KB · Views: 200
Last edited:
Landing on a planetary outpost I got this error message


System.IO.FileNotFoundException: D:\TCE\JPG\14.jpg
ved System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
ved System.Drawing.Image.FromFile(String filename)
ved Trade_Computer_Extension.Panel_DB_Markets.Update_Market_Data() i C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_DB_Markets.vb:linje 343
ved Trade_Computer_Extension.Panel_DB_Markets.BTN_Mod_Click(Object sender, EventArgs e) i C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_DB_Markets.vb:linje 285
ved System.Windows.Forms.Control.OnClick(EventArgs e)
ved System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
ved System.Windows.Forms.Control.WndProc(Message& m)
ved System.Windows.Forms.Label.WndProc(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Ups, not included in the installation, sry.

Please add this picture to your JPG folder (right-click > save to ...):
14.jpg

Updating setup file (V1.0.3) and actual update (V1.0.6). For those, who are using the V1.0.6 update already, please reload the patch to add the picture to your installation folder.
 
Last edited:
Any love on;
Note the saved re-sizing of the panels isn't saving .... frustrating.

Can't confirm this, all panel sizing is properly saved. Perhaps you doing something wrong:

How to:

- Click on the CONTROL button of a panel to open the Panel Control window (for the MAIN UI panel go to CONTROL > PANEL).
- Adjust the panel size with the + or - button.
- Click on SAVE CHANGES to save the values.

That's all.
 
Last edited:
Just an observation in one of the windows, the right Hide button is not aligned on the window frame.
Using v1.0.6 now seems to work just fine. I've made some alterations to some of the windows, relaunched and it appears ok.
Again Excellent work.
View attachment 101786
 
I am unable to delete any markets. Earlier today when I tried to delete (with 1.0.5) it gave me an error. Can't remember the error as I just upgraded to 1.0.6, no error but station remains after attempted delete:

This is what I do:
Database --> Market --> Delete Entry --> Select Entry from top list --> CLick red "Delete" text next to hide.

The status cahnes to "Wait" briefly and then when I go back to check if station is removed it is still there.

I also noticed the shipyard info seems to be wrong. In the station I am located at right now there are Cobra MkIII available but not in the "Shipyard" panel of the trade computer.

Checked EDMC files but I can not see where you get the data for the shipyard content. Not sure if this should be accurate or not. There are a number of ships missing from this shipyard when comparing the trade computer to in game.
 
Last edited:
I am unable to delete any markets. Earlier today when I tried to delete (with 1.0.5) it gave me an error. Can't remember the error as I just upgraded to 1.0.6, no error but station remains after attempted delete:

This is what I do:
Database --> Market --> Delete Entry --> Select Entry from top list --> CLick red "Delete" text next to hide.

The status cahnes to "Wait" briefly and then when I go back to check if station is removed it is still there.

I also noticed the shipyard info seems to be wrong. In the station I am located at right now there are Cobra MkIII available but not in the "Shipyard" panel of the trade computer.

Checked EDMC files but I can not see where you get the data for the shipyard content. Not sure if this should be accurate or not. There are a number of ships missing from this shipyard when comparing the trade computer to in game.

I can delete a station from the list and it is gone. Can you provide me your database to recreate it?

There is a detection bug for some the ship names. Will fix it with the next update. Thanks for report.
 
Eventure.

Great job wit 1.0.6. Pictures of Viper Mk III and Cobra Mk III showing properly. When using EDMC the Space ship field in the Commander tab is not updating when I change to these two, it still retains the previous Ship. Even though the space ship tab has been updated.


Also a quick question. when I imported the db from 1.0.2 the Commander data was not imported, is this correct?
 
Eventure.

Great job wit 1.0.6. Pictures of Viper Mk III and Cobra Mk III showing properly. When using EDMC the Space ship field in the Commander tab is not updating when I change to these two, it still retains the previous Ship. Even though the space ship tab has been updated.


Also a quick question. when I imported the db from 1.0.2 the Commander data was not imported, is this correct?

Could be a missing update for the panel, have to check this tomorrow. The Commander data should transfered to the new database. It is missing?
 
I can delete a station from the list and it is gone. Can you provide me your database to recreate it?

There is a detection bug for some the ship names. Will fix it with the next update. Thanks for report.

PM sent with link to download database. Thanks for looking into it.
*edit*
Just tried the delete again and the error is occuring once more. This is what I see:

Error in saving market
Error line: 10

Add market: False
Reg Market: false
Mod market False
Error: (9) Index was outside the bounds of the array

Hope that helps

*edit again*
Just noticed that a lot of the distances between stars and markets / stations is wrong with the auto populated data. At least in the few systems I have tried.

For example. Eravate : Toll Holdigns is 36ls from the star but the auto data pupulates it with 4ls.

LHS 3447 (starting system for many players) has many stations with high ls values and these are also very low in the auto populated data.

Hope that helps and don't get me wrong. I love the program :D I did have a database with lots of data in but managed to delete it including the backups when I was not thinking :D
 
Last edited:
Hi

When starting 1.0.6 I am seeing an exception -

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


************** Exception Text **************
System.InvalidCastException: Conversion from string "=True" to type 'Long' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDecimal(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToLong(String Value)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToLong(String Value)
at Trade_Computer_Extension.INI_File.Read_ini(String INI_File) in C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\MD_TCE.ini.vb:line 65
at Trade_Computer_Extension.Panel_Loader.Panel_Loader_VisibleChanged(Object sender, EventArgs e) in C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_Loader.vb:line 31
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.127.1 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Trade Computer Extension MK.II
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///H:/TCE/Trade%20Computer%20Extension%20MK.II.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.93.0 built by: NETFXREL2STAGE
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.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.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.

Any ideas?
 
Hi

When starting 1.0.6 I am seeing an exception -

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


************** Exception Text **************
System.InvalidCastException: Conversion from string "=True" to type 'Long' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDecimal(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToLong(String Value)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToLong(String Value)
at Trade_Computer_Extension.INI_File.Read_ini(String INI_File) in C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\MD_TCE.ini.vb:line 65
at Trade_Computer_Extension.Panel_Loader.Panel_Loader_VisibleChanged(Object sender, EventArgs e) in C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_Loader.vb:line 31
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.127.1 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Trade Computer Extension MK.II
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///H:/TCE/Trade%20Computer%20Extension%20MK.II.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.93.0 built by: NETFXREL2STAGE
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.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.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.

Any ideas?

Delete your TCE.ini file and let TCE create a new for the actual version.
 
Request: Read the AppConfigLocal.xml file for Verbose logging first if it exists, otherwise fall back to the standard AppConfig.xml. (that, or just create it if it doesn't exist, as it's a more ideal solution in the long term)

I'm using the Local version since it isn't erased by updates or file verification and TCE won't even start unless the change is made in the regular file.
 
Back
Top Bottom