Release Trade Computer Extension Mk.II

@eventure. Today when loading TCE I noticed that during loading the message "fixing logbook" showed. It took unusually time to load. I checked the logbook.db , and the size is now 57 553 kb.
I suspect I will get the same problem as the last time. Any suggestion on how to avoid this happening?

Thought of an old bug producing numberous entries to the logbook, but I am apparently wrong. Will take a deep look into the logbook routine at weekend to find what is producing the issue. Meanwhile you are free to replace it with a clean file from the TDM folder.
 
Hi Eventure,

Can you check that best buy/best sell respects pad size? I have it set to 'automatic' in options. I have 'cutter' selected in 'personal'.

But when I go to 'trade', then best buy or best sell, it still pulls up outposts. Even setting 'large' in options doesn't fix it.
 
Hi Eventure,

Can you check that best buy/best sell respects pad size? I have it set to 'automatic' in options. I have 'cutter' selected in 'personal'.

But when I go to 'trade', then best buy or best sell, it still pulls up outposts. Even setting 'large' in options doesn't fix it.

Thanks for reporting, found the issue and it will be fixed with the next update.
 
I tried that

My FOV is set to the default value .
the screenshots have different resolution, lower than 1080 if I use the trade computer , and 1080 if I use F10
No matter I will just use the market connector to get the market data.

Great addon.
 
I tried that

My FOV is set to the default value .
the screenshots have different resolution, lower than 1080 if I use the trade computer , and 1080 if I use F10
No matter I will just use the market connector to get the market data.

Great addon.

Did you using a multi monitor setup? What is your desktop resolution?
 
Update (1.3.1) released:



Changelog:
- Added activation of the OCR Process window, if an OCR scan doesn't produce any results. Dialog box now showing detected screen resolution.
- Fixed best buy/sell results in case of ship size.
- Fixed the add of the VerboseLogging entry to Appconfig.xml. TCE creates now an AppConfigLocal.xml file, if not present and the entry is missing.
- Fixed an issue when changing commander data at the Personal panel.
- Increased range of position detection from 75 km to 100 km at planets.
- Reworked logbook entry routine to fix database blowup.

Note:
Copy the content into your TCE folder to update your version.
 
Last edited:
TCE will not launch. I get an error message about exception and something about duplicat verbose logging in Line 70.
I have updated to 1.3.1.

System.Xml.XmlException: VerboseLogging er et duplisert attributtnavn. Linje 70, posisjon 1.
ved System.Xml.XmlTextReaderImpl.Throw(Exception e)
ved System.Xml.XmlTextReaderImpl.AttributeDuplCheck()
ved System.Xml.XmlTextReaderImpl.ParseAttributes()
ved System.Xml.XmlTextReaderImpl.ParseElement()
ved System.Xml.XmlTextReaderImpl.ParseElementContent()
ved System.Xml.XmlTextReaderImpl.Read()
ved System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
ved System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
ved System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
ved System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
ved Trade_Computer_Extension.MD_Functions.IsVerboseLoggingEnabled(String installPath, String filename) i C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\MD_Functions.vb:linje 249
ved Trade_Computer_Extension.Panel_Loader.Panel_Loader_VisibleChanged(Object sender, EventArgs e) i C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_Loader.vb:linje 46
ved System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
ved System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
ved System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
ved System.Windows.Forms.Control.WmShowWindow(Message& m)
ved System.Windows.Forms.Control.WndProc(Message& m)
ved System.Windows.Forms.ScrollableControl.WndProc(Message& m)
ved System.Windows.Forms.Form.WmShowWindow(Message& m)
ved System.Windows.Forms.Form.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)
 
TCE will not launch. I get an error message about exception and something about duplicat verbose logging in Line 70.
I have updated to 1.3.1.

System.Xml.XmlException: VerboseLogging er et duplisert attributtnavn. Linje 70, posisjon 1.
ved System.Xml.XmlTextReaderImpl.Throw(Exception e)
ved System.Xml.XmlTextReaderImpl.AttributeDuplCheck()
ved System.Xml.XmlTextReaderImpl.ParseAttributes()
ved System.Xml.XmlTextReaderImpl.ParseElement()
ved System.Xml.XmlTextReaderImpl.ParseElementContent()
ved System.Xml.XmlTextReaderImpl.Read()
ved System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
ved System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
ved System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
ved System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
ved Trade_Computer_Extension.MD_Functions.IsVerboseLoggingEnabled(String installPath, String filename) i C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\MD_Functions.vb:linje 249
ved Trade_Computer_Extension.Panel_Loader.Panel_Loader_VisibleChanged(Object sender, EventArgs e) i C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_Loader.vb:linje 46
ved System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
ved System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
ved System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
ved System.Windows.Forms.Control.WmShowWindow(Message& m)
ved System.Windows.Forms.Control.WndProc(Message& m)
ved System.Windows.Forms.ScrollableControl.WndProc(Message& m)
ved System.Windows.Forms.Form.WmShowWindow(Message& m)
ved System.Windows.Forms.Form.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)

Please check your AppConfig.xml file for double entries of VerboseLogging. If so, remove all and TCE will create the AppConfigLocal.xml, what I suggest.
 
Last edited:
Hello Eventure,

after copying your updated files over the last 1.3.0.7 update i get a Error message: "ERROR in 4.Startsequence: Der Operator <> ist für Typ DBNull und Typ Interger nicht definiert".
I can only click "OK"- Button. After this it starts, but if i open the "Route Planer" it shows me a error: "Der Operator = ist für Typ DBNull und Typ Integer nicht definiert."
If i close the TCE and restart it again it shows me the "Set Verbose" Button instead of "Launching TCE", but if i click it, it tells me that it can't create a file that allready exist (this in a error box with logfile) and i can ignore it and click "OK" or "Close". If i click "OK" than i see a "Please Wait" button and can't enter TCE.
 
Hello Eventure,

after copying your updated files over the last 1.3.0.7 update i get a Error message: "ERROR in 4.Startsequence: Der Operator <> ist für Typ DBNull und Typ Interger nicht definiert".
I can only click "OK"- Button. After this it starts, but if i open the "Route Planer" it shows me a error: "Der Operator = ist für Typ DBNull und Typ Integer nicht definiert."
If i close the TCE and restart it again it shows me the "Set Verbose" Button instead of "Launching TCE", but if i click it, it tells me that it can't create a file that allready exist (this in a error box with logfile) and i can ignore it and click "OK" or "Close". If i click "OK" than i see a "Please Wait" button and can't enter TCE.

Hmmm.... can you send me your DB folder for a check, and your TCE.ini if you like. I will take a look, what's wrong there.
 
i can't send the .Zip file via forum, it's a bit over the 4MB file size.
What i found out is, that TCE creates a AppConfigLocal.xml file in the Elite folder. The original AppConfig.xml is still pressent with the VerboseLogging=1 in it.
 
Since updating to latest version 1.3.1 I also get an error :-

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

************** Exception Text **************
System.Xml.XmlException: 'VerboseLogging' is a duplicate attribute name. Line 70, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.AttributeDuplCheck()
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at Trade_Computer_Extension.MD_Functions.IsVerboseLoggingEnabled(String installPath, String filename) in C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\MD_Functions.vb:line 252
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 46
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.ContainerControl.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.0.30319.18331 built by: FX45GDRSTAGE
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:///C:/Program%20Files%20(x86)/TCE/Trade%20Computer%20Extension%20MK.II.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 11.0.50861.18331 built by: FX45GDRSTAGE
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.0.30319.18331 built by: FX45GDRSTAGE
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.0.30319.18331 built by: FX45GDRSTAGE
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.0.30319.18331 built by: FX45GDRSTAGE
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.0.30319.18331 built by: FX45GDRSTAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
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.0.30319.18331 built by: FX45GDRSTAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.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>
 
Please check your AppConfig.xml file for double entries of VerboseLogging. If so, remove all and TCE will create the AppConfigLocal.xml, what I suggest.

Ignore above, fixed it for me also. Had two lines in AppConfig, removed both for it to work
Thanks


EDIT: Connect button is now no longer showing again. Tried launching EDMarketConnector again as this fixed the problem in previous version but this no longer works.


Aaaaand just ignore me I am an idiot. Because it crashed prior to this, it hadn't accepted my latest database entry. Adding market fixed it and connect button is back again. Sorry for the confusion :)
 
Last edited:
tce tries to set verbose logging even when it is set in the appConfig.xml. If you delete the line it then gives option to launch tce but it won't connect or ocr, if you let it set verbose on next launch it fails due to duplicate entry in appconfig.xml
 
tce tries to set verbose logging even when it is set in the appConfig.xml. If you delete the line it then gives option to launch tce but it won't connect or ocr, if you let it set verbose on next launch it fails due to duplicate entry in appconfig.xml
You sure? Because mine works and connects now no worries?
 
tce tries to set verbose logging even when it is set in the appConfig.xml. If you delete the line it then gives option to launch tce but it won't connect or ocr, if you let it set verbose on next launch it fails due to duplicate entry in appconfig.xml

Setting VerboseLogging and OCR/Connect to API are two different things and have nothing to do with each other.
You can only OCR/Connect to API, if you have registered the market to the database and selected both path at the Configuration window.

The SET VERBOSE button shows only, if TCE can't find any entry in AppConfig.xml and AppConfigLocal.xml, if present.
The only case, TCE adding the VerboseLogging entry to the AppConfig.xml is, when the AppConfigLocal.xml file is present but missing the entry.
Otherwise TCE creates the AppConfigLocal.xml file, because it is still unmodified after an update of ED, where the AppConfig.xml is replaced by default.
 
Last edited:
1.3.1:

After saving a Res.Extr. Location on a planet, it didn't show up as actual position.
Checked and it was somehow saved without the star system.
After closing and reopening i got 'error line 191, error 13, ungültige konv. von dbnull in long.'
Sending db.
 
Back
Top Bottom