Release Trade Computer Extension Mk.II

Good work Eventure, some very speedy updates, thanks

SCANNING WITH EliteOCR Issue

When I perform a clean scan, and notice some values that need to be edited, I'm able to edit the value and it appears to be saved, however when I click another value to edit the previous value changes back to what it was before.

E.G. CLOTHING when scanned has a BUY value of -11 I change it to 211. then click either the value or another value and CLOTHING buy value has reverted back to -11

Furthermore, if I ignore all the values that are wrong and then save them and try to edit, at first it appears to work but eventually I get this error, either after editing a value or scrolling. I can make the changes in VIEW PRICES mode and they are saved despite the errors.

3BoxWbn.png


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


************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Array.InternalGetReference(Void* elemRef, Int32 rank, Int32* pIndices)
at System.Array.GetValue(Int32 index1, Int32 index2)
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.GetArrayValue(Object[] Indices)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.InternalLateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, ResolutionFailure& Failure, Boolean[] CopyBack)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateInvokeDefault(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, Boolean[] CopyBack)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.InternalLateInvokeDefault(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, Boolean[] CopyBack)
at Trade_Computer_Extension.Panel_Commodity.Update_List() in C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_Commodity.vb:line 552
at Trade_Computer_Extension.Panel_Commodity.Buy7_Click(Object sender, EventArgs e) in C:\Users\Hellfire\Documents\Visual Studio 2010\Projects\Trade Computer Extension\Trade Computer Extension\Panel_Commodity.vb:line 2133
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.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.1080.0 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:///D:/Google%20Drive/My%20Games/Elite/Trading/TCE/Trade%20Computer%20Extension%20MK.II.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.6.1038.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.1081.0 built by: NETFXREL3STAGE
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.1038.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.1038.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.1078.0 built by: NETFXREL3STAGE
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.6.1038.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
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.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.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.99.0
Win32 Version: 1.0.99.0
CodeBase: file:///D:/Google%20Drive/My%20Games/Elite/Trading/TCE/System.Data.SQLite.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

AVERAGE PRICES: Bloody hell I think every commodity has changed, therefore all need to be manually updated, if your bothered about that kinda thing, which I am. Or does TCE really need the GA prices? As they seem to change every time we get a major update. I've been changing them via WARES, I think it'll be quicker to do it directly in the db. I'll leave that till tomorrow night now.

ADDENDUM: It looks like GA values are going to be constantly fluctuating, see here. I don't believe EliteOCR scans the GA values, so it might be worth removing them from the database. Although having only a small amount of knowledge of DB's that could cause lots of problems or be really easy. What do other people think?
 
Last edited:
I seem to be having an issue with TCE while booting up.

Each time I try to launch the application, it enters 'Fixing Logbook' mode for 10+ minutes; after that, once it starts 'Fixing Locations', it completely freezes:
687c5ae220924e81a6575184bec8b258.png


I fear it is likely a corrupt database - this issue also occurred previously, and I was able to fix it by restoring to an older database, but it seems to have happened again (in v1.2.8). Something that either I or the app is doing appears to be corrupting the databases. Not sure if this is the result of another issue I've been having; TCE 'freezes' (locks my current location window, and jumping/navigating to other locations does not update it) and requires a restart on a regular basis.

I can provide my database packaged up in a backup or otherwise if needed for investigation.
 
When having problems in scanning with OCR (e.g. no results), you can activate the OCR PROCESS WINDOW at the Options panel of TCE.
Thereafter, when hitting the OCR button, a window appear with a message from EliteOCR. Check the FAQs, if the error saying "image to small".

Here is the txt of OCR Process Window when this error occurs:

E:\EDTCE>"C:\Program Files (x86)\EliteOCR\EliteOCRcmd.exe" -i
"E:\EDTCE\OCR_BMP\Screenshot.bmp" -o
"E:\EDTCE\OCR_Export\export.xml" -l Eng

[= ]
[== ]
[=== ]
[==== ]

[=====]
E:\EDTCE>exit



I've had to hand-type that since I can't copy/paste it. I'm guessing it's just a random hang of EliteOCRcmd? Odd thought that it ONLY happens with Planetary Commodity Markets, not Orbital.

Edit: Now what's really strange, is I continued on without rebooting my PC to correct for that one station, and went to another new Orbital station and it read just fine. It still showed the same message I posted above, which I assume means a correct read, but at that odd planetary station it would only show a blank read. Curious.
 
Last edited:
Good work Eventure, some very speedy updates, thanks

SCANNING WITH EliteOCR Issue

When I perform a clean scan, and notice some values that need to be edited, I'm able to edit the value and it appears to be saved, however when I click another value to edit the previous value changes back to what it was before.

E.G. CLOTHING when scanned has a BUY value of -11 I change it to 211. then click either the value or another value and CLOTHING buy value has reverted back to -11

Furthermore, if I ignore all the values that are wrong and then save them and try to edit, at first it appears to work but eventually I get this error, either after editing a value or scrolling. I can make the changes in VIEW PRICES mode and they are saved despite the errors.

AVERAGE PRICES: Bloody hell I think every commodity has changed, therefore all need to be manually updated, if your bothered about that kinda thing, which I am. Or does TCE really need the GA prices? As they seem to change every time we get a major update. I've been changing them via WARES, I think it'll be quicker to do it directly in the db. I'll leave that till tomorrow night now.

ADDENDUM: It looks like GA values are going to be constantly fluctuating, see here. I don't believe EliteOCR scans the GA values, so it might be worth removing them from the database. Although having only a small amount of knowledge of DB's that could cause lots of problems or be really easy. What do other people think?

Please hit the enter key after editing a value. The error is found and fixed for the next release.
That the galactic averages are changing is an improvement to ED. In arrangement with Otis, EDMC will provide the galactic average prices of all goods, so TCE will update them automatically, when they change.

I seem to be having an issue with TCE while booting up.

Each time I try to launch the application, it enters 'Fixing Logbook' mode for 10+ minutes; after that, once it starts 'Fixing Locations', it completely freezes:

I fear it is likely a corrupt database - this issue also occurred previously, and I was able to fix it by restoring to an older database, but it seems to have happened again (in v1.2.8). Something that either I or the app is doing appears to be corrupting the databases. Not sure if this is the result of another issue I've been having; TCE 'freezes' (locks my current location window, and jumping/navigating to other locations does not update it) and requires a restart on a regular basis.

I can provide my database packaged up in a backup or otherwise if needed for investigation.

If you can provide me your database, I will take a look.

Here is the txt of OCR Process Window when this error occurs:

[= ]
[== ]
[=== ]
[==== ]

[=====]
E:\EDTCE>exit

That shows a correct scan and export of EliteOCR.
 
Last edited:
Hi there

Loving the app immensely but the latest upgrade that captures the mouse causes issues for me as I'm a keyboard and mouse Cmdr. Is there anyway I can revert it back to what it was?
 
Hi there

Loving the app immensely but the latest upgrade that captures the mouse causes issues for me as I'm a keyboard and mouse Cmdr. Is there anyway I can revert it back to what it was?

Nothing was changed in that case, what issues you experience? Please give me more details.
You can always go back with the links under OUTDATED VERSIONS at the main post.
 
@eventure
I docked in Sagan Port in Mundjiga system. Sector 29. TCE did not recognise that I had docked on a previously registred market.
When checking the stored markeds I found Sagan Port in Sowiio system. There is no Sagan Port in Sowiio.
Have you seen something of the same?
I tried to add it again, but it didn`t show up as an alternative.
 
@eventure
I docked in Sagan Port in Mundjiga system. Sector 29. TCE did not recognise that I had docked on a previously registred market.
When checking the stored markeds I found Sagan Port in Sowiio system. There is no Sagan Port in Sowiio.
Have you seen something of the same?
I tried to add it again, but it didn`t show up as an alternative.

Requiring database and netlog file of the session for a check.
 
Please hit the enter key after editing a value. The error is found and fixed for the next release.
That the galactic averages are changing is an improvement to ED. In arrangement with Otis, EDMC will provide the galactic average prices of all goods, so TCE will update them automatically, when they change.

I always press enter when editing or adding anything in TCE, I know that's what you're supposed to do, but no joy whilst I'm in scanning mode. I'm only able to successfully edit when viewing saved scanned prices.

Re Galactic Average, cool.
 
I always press enter when editing or adding anything in TCE, I know that's what you're supposed to do, but no joy whilst I'm in scanning mode. I'm only able to successfully edit when viewing saved scanned prices.

Re Galactic Average, cool.
I have not had a problem editing prices. Although, I don't recall editing more than one price in a page. Does it do that when you only edit one price on a page? Just asking to help E do some troubleshooting.
 
Feature Request:

Could we have an extra field for stations or/and systems to represent the security level of said station or/and system. Probably an extra field for the System would be more appropriate. Seeing as the Sec Level of systems now has an effect. It would have to be a manually set field with 3 options. LOW - MEDIUM - HIGH. Also ow I'm thinking have this displayed in the Current Status and Next Destination boxes.

Anyone else find this useful?

OBVIOUSLY, if you do make this change I'd wait until the dust has settled on 1.6/2.1 first.

Re: Engineering Database & Calculator Now this isn't actually a feature request, (well sort off) as I wouldn't want TCE becoming cluttered with all the data. But having the list of materials and data one can find and manually updating the quantity might be useful.

But I don't want to get greedy with Feature Requests. :x:p
 
Last edited:
@eventure
I docked in Sagan Port in Mundjiga system. Sector 29. TCE did not recognise that I had docked on a previously registred market.
When checking the stored markeds I found Sagan Port in Sowiio system. There is no Sagan Port in Sowiio.
Have you seen something of the same?
I tried to add it again, but it didn`t show up as an alternative.

As I see, Sagan Port is stored at Sector 30, so I think FD change the Sector IDs for some stations. Go into the Market Database panel, select Modify Entry, search after Sagan Port and select it. Change then the Sector ID from 30 to 29 and TCE will find it again.
 
Feature Request:

Could we have an extra field for stations or/and systems to represent the security level of said station or/and system. Probably an extra field for the System would be more appropriate. Seeing as the Sec Level of systems now has an effect. It would have to be a manually set field with 3 options. LOW - MEDIUM - HIGH. Also ow I'm thinking have this displayed in the Current Status and Next Destination boxes.

Anyone else find this useful?

OBVIOUSLY, if you do make this change I'd wait until the dust has settled on 1.6/2.1 first.

Re: Engineering Database & Calculator Now this isn't actually a feature request, (well sort off) as I wouldn't want TCE becoming cluttered with all the data. But having the list of materials and data one can find and manually updating the quantity might be useful.

But I don't want to get greedy with Feature Requests. :x:p

Any suggestion is welcome, so lets see:
Adding the Sec level of a star system should be possible but time-consuming, so I suggest to put it into the note box of a star system for now.
I would put all Engineering data into the note box of the Personal panel.
 
Nothing was changed in that case, what issues you experience? Please give me more details.
You can always go back with the links under OUTDATED VERSIONS at the main post.

Hi Eventure

It was 1.2.5 I noticed it behaving differently. The patch notes says you can bind a key to give mouse focus to TCE. I haven't done that but what I notice now is that when I'm turning sharply or the mouse ends up showing in the TCE panels, it grabs focus and then I lose control of the ship momentarily until I can get ED to take mouse focus again.

Before I couldn't get TCE to take mouse focus unless the cursor was visible in ED - i.e. after pressing ESC or docked at a station. This was preferable to me as a keyboard + mouse player.
 
Hi Eventure

It was 1.2.5 I noticed it behaving differently. The patch notes says you can bind a key to give mouse focus to TCE. I haven't done that but what I notice now is that when I'm turning sharply or the mouse ends up showing in the TCE panels, it grabs focus and then I lose control of the ship momentarily until I can get ED to take mouse focus again.

Before I couldn't get TCE to take mouse focus unless the cursor was visible in ED - i.e. after pressing ESC or docked at a station. This was preferable to me as a keyboard + mouse player.

I have added a keybind, to set the focus to TCE to see the mouse pointer. Can you tell me, which panel catches the focus? The Main UI or any special panel?
 
Feature Request:

Could we have an extra field for stations or/and systems to represent the security level of said station or/and system. Probably an extra field for the System would be more appropriate. Seeing as the Sec Level of systems now has an effect. It would have to be a manually set field with 3 options. LOW - MEDIUM - HIGH. Also ow I'm thinking have this displayed in the Current Status and Next Destination boxes.

Anyone else find this useful?

OBVIOUSLY, if you do make this change I'd wait until the dust has settled on 1.6/2.1 first.

Re: Engineering Database & Calculator Now this isn't actually a feature request, (well sort off) as I wouldn't want TCE becoming cluttered with all the data. But having the list of materials and data one can find and manually updating the quantity might be useful.

But I don't want to get greedy with Feature Requests. :x:p

Hi bAdbUd

I find the security data useful but, as Eventure suggested, I put this in the system notes.

His suggestion of putting the Engineering database in the personal notes wouldn't work for me as I already record other information there. If we are to use the personal notes to any extent it might benefit from an upgrade e.g. different tabs for different types of information.
 
Last edited:
As I see, Sagan Port is stored at Sector 30, so I think FD change the Sector IDs for some stations. Go into the Market Database panel, select Modify Entry, search after Sagan Port and select it. Change then the Sector ID from 30 to 29 and TCE will find it again.
Modify didn`t work.
I deleted the marked an added it again in sector 30. Seems to work now.
Thank you.
 
His suggestion of putting the Engineering database in the personal notes wouldn't work for me as I already record other information there. If we are to use the personal notes to any extent it might benefit from an upgrade e.g. different tabs for different types of information.
I also keep my "stuff needed for engineer upgrades" outside of TCE. It's too complex to keep in there with my desire to keep track of if it is a data or a mat, where or how it's found, what upgrade it's for, and how many I have/need. Excel works fine for that.
 
Back
Top Bottom