Abandoned [RELEASE] Trade Computer Extension

Status
Thread Closed: Not open for further replies.
PROBLEM WAS IN 1.55, AND IS IN 1.56

Enter new star system, save new coordinates. Next Destination distance isn't updated.

In this situation I set the next destination manually. Only quitting and restarting TCE resolves the problem.

THOUGHT REGARDING HORIZONS

As it's not looking good for EliteOCR being updated, would it be possible when scanning not to update the Stocked Amount and retain what was previously saved for stations we've previously scanned. Obviously new stations will have to be updated manually as required.

Also could a different OCR tool be used, there are alternatives here, although I haven't investigated much further.
 
Last edited:
Hi Eventure .

I'm getting a new problem when entering (1 409 000) for a run in the ships log a box comes up "runtime error 6 overflow" comes up
and just tried it with a lower number and the same thing happens.

thanks dee.

Oh, found the issue, again. Sry, missed that part. Will be fix soon with the next patch.

PROBLEM WAS IN 1.55, AND IS IN 1.56

Enter new star system, save new coordinates. Next Destination distance isn't updated.

In this situation I set the next destination manually. Only quitting and restarting TCE resolves the problem.

Have changed the routine to display the distance so it will be up-to-date, after adding a new star system.

THOUGHT REGARDING HORIZONS

As it's not looking good for EliteOCR being updated, would it be possible when scanning not to update the Stocked Amount and retain what was previously saved for stations we've previously scanned. Obviously new stations will have to be updated manually as required.

Also could a different OCR tool be used, there are alternatives here, although I haven't investigated much further.

Good idea, preventing now supply updates from EliteOCR till we get an update of it.

I will check OCR alternatives, but didn't have much time, because I want to push the .net version to be beta-ready. I included an alternative there already.
 
Last edited:
Jontron
have you tried right clicking on the excel file, selecting properties and tick the unblock box. have do do this on TCE and the setup. you then get past the problem you are having.


I thank you for that bit of information! I reinstalled everything from scratch using the source files and it seems to be working as intended again. Eventure, I do notice when i try to move the station panel the panel it self goes blank( all fields are wiped and i can enter things in manually), I can sometimes reset this by hiding it and then reopening through the stations button, but other times it freezes and i have to restart TCE. I will let you know if i run into anything else now that I will be able to at least use TCE.
 
Update (1.56 BETA 3) released:



Changelog:
- Fixed another overflow error within the Activities area at the Logbook panel.
- Fixed an issue at the Destination display, not updating the distance correctly.
- Modified EliteOCR results, that the supply value is not zero after a scan, till EliteOCR gets an update.

Note:
This update didn't need any TDM usage for your database. Copy the content into your TCE folder to update your version.
 
Update (1.56 BETA 3) released:



Changelog:
- Fixed another overflow error within the Activities area at the Logbook panel.
- Fixed an issue at the Destination display, not updating the distance correctly.
- Modified EliteOCR results, that the supply value is not zero after a scan, till EliteOCR gets an update.

Note:
This update didn't need any TDM usage for your database. Copy the content into your TCE folder to update your version.

Hi yes that has fixed it.

thanks dee.
 
1.56 BETA 3

I can't scan commodities at this station. So far. I'm doing a Rare Trade Run, so I'm travelling a lot.

First visit at system
I Registered station
Went to scan commodities and then this error occurs. See screenshot
Tried 3 times, after restarting TCE, same problem.
Current db.

Scanning_commodities_issue_at_this_station._1st_time_encountered..png

This is what happens when I go to scan. Basically nothing.

This_is_what_happens_when_I_go_to_scan..png
And it doesn't complete.

I've tried scanning from various places in the list. all fail with same error after clicking the scanning window.
 

Attachments

  • This_is_what_happens_when_I_go_to_scan..png
    This_is_what_happens_when_I_go_to_scan..png
    1.2 MB · Views: 216
Last edited:
1.56 BETA 3

I can't scan commodities at this station. So far. I'm doing a Rare Trade Run, so I'm travelling a lot.

First visit at system
I Registered station
Went to scan commodities and then this error occurs. See screenshot
Tried 3 times, after restarting TCE, same problem.....


This is what happens when I go to scan. Basically nothing.....


And it doesn't complete.

I've tried scanning from various places in the list. all fail with same error after clicking the scanning window.

I am having the same problem. :(

The error states 'Invalid use of null'. It would appear that in altering the code to make allowances for EliteOCR with Horizons some other bug has surfaced!
 
Same problem here, OCR not working with 1.56 BETA 3.

I am having the same problem. :(

The error states 'Invalid use of null'. It would appear that in altering the code to make allowances for EliteOCR with Horizons some other bug has surfaced!

1.56 BETA 3

I can't scan commodities at this station. So far. I'm doing a Rare Trade Run, so I'm travelling a lot.

Fixed the problem, but will test it first, when Horizons is out.
 
Update (1.56 BETA 4) released:



Changelog:
- Fixed OCR scan error, introduced in BETA 3.

Note:
This update didn't need any TDM usage for your database. Copy the content into your TCE folder to update your version.

Remember:
If you have updated Elite Dangerous, please select the new paths at the setup and start TCE before Elite Dangerous to apply changes to the appconfig.xml file.
 
Last edited:
Trying to go from 1.55.2 to 1.56.beta1 (then beta 4 after beta 1 installs). Beta 1 installs ok.

When I try to use TDM, I get as far as telling TDM no to "transfer unreg stations" as I don't want them. It errors out runtime9 with the yellow text below highlighted in yellow.

Sub AddStations()

Dim a As Long, b As Long, c As Double, d As Long, x As Long, Artemp
ReDim Artemp(1 To AzImp_Prices)

NewID = 0
AzPrices = 0
Artemp = Worksheets("IMP_Prices").Range("B1:B" & AzImp_Prices + 1)
For a = 1 To AzImp_Stations
If UserForm2.LB_Stations.Selected(a - 1) = True Then
If ArImp_Stations(a, 2) <> "" Then
If ArImp_Stations(a, 3) <> "" Then
If Val(ArImp_Stations(a, 17)) = 0 Then ArImp_Stations(a, 17) = WorksheetFunction.Match(ArImp_Stations(a, 3), Worksheets("IMP_Stars").Range("B2:B" & AzImp_Stars + 1), 0)
If ArImp_Stations(a, 3) = "V775 HERCULI" Then ArImp_Stations(a, 3) = "V775 HERCULIS"
If Val(ArImp_Stations(a, 17)) <> WorksheetFunction.Match(ArImp_Stations(a, 3), Worksheets("DB_Stars").Range("B2:B" & AzImp_Stars + 1), 0) Then ArImp_Stations(a, 17) = WorksheetFunction.Match(ArImp_Stations(a, 3), Worksheets("DB_Stars").Range("B2:B" & AzImp_Stars + 1), 0)
If Val(ArImp_Stations(a, 17)) <> 0 Then
If WorksheetFunction.CountIf(Worksheets("IMP_Prices").Range("B2:B" & AzImp_Prices + 1), ArImp_Stations(a, 1)) <> 0 Then
NewID = NewID + 1
 
Scanning Commodities in Horizons, just doesn't work for me now. I have to change so much to move to the next scan.

Some items you can buy are scanned correctly and some others ain't. ODD?

OCR_FAIL_1.png

I know it's not your fault Eventure, but without OCR working it'll become tedious. Fortunately someone has picked up the OCR thread, and may look at it over the weekend, fingers crossed.

ADDITIONAL:

The search criteria for AUTO DESTINATION after scanning process appears to ignore commodities that have ZERO for STOCK.

I manually changed TCE stock level at my current location and then it was in the list for EXPORTS.

I set ROUTE FINDER and ROUTE PLANNER to ZERO STOCK and my current station wasn't in the lists. I did that thinking the AUTO DESTINATION routine used those as preferences.

My strategy is set all STOCK to 200 when very high otherwise set it accordingly, usually 10 or so need altering

On another NOTE, do I need to add the new commodities to EliteOCR, Erm, I guess I do. I'll check the db for the new ones you've added. That'll be tomorrow night now though.
 
Last edited:
Trying to go from 1.55.2 to 1.56.beta1 (then beta 4 after beta 1 installs). Beta 1 installs ok.

When I try to use TDM, I get as far as telling TDM no to "transfer unreg stations" as I don't want them. It errors out runtime9 with the yellow text below highlighted in yellow.
Sub AddStations()

Dim a As Long, b As Long, c As Double, d As Long, x As Long, Artemp
ReDim Artemp(1 To AzImp_Prices)

NewID = 0
AzPrices = 0
Artemp = Worksheets("IMP_Prices").Range("B1:B" & AzImp_Prices + 1)
For a = 1 To AzImp_Stations
If UserForm2.LB_Stations.Selected(a - 1) = True Then
If ArImp_Stations(a, 2) <> "" Then
If ArImp_Stations(a, 3) <> "" Then
If Val(ArImp_Stations(a, 17)) = 0 Then ArImp_Stations(a, 17) = WorksheetFunction.Match(ArImp_Stations(a, 3), Worksheets("IMP_Stars").Range("B2:B" & AzImp_Stars + 1), 0)
If ArImp_Stations(a, 3) = "V775 HERCULI" Then ArImp_Stations(a, 3) = "V775 HERCULIS"
If Val(ArImp_Stations(a, 17)) <> WorksheetFunction.Match(ArImp_Stations(a, 3), Worksheets("DB_Stars").Range("B2:B" & AzImp_Stars + 1), 0) Then ArImp_Stations(a, 17) = WorksheetFunction.Match(ArImp_Stations(a, 3), Worksheets("DB_Stars").Range("B2:B" & AzImp_Stars + 1), 0)
If Val(ArImp_Stations(a, 17)) <> 0 Then
If WorksheetFunction.CountIf(Worksheets("IMP_Prices").Range("B2:B" & AzImp_Prices + 1), ArImp_Stations(a, 1)) <> 0 Then
NewID = NewID + 1

Seems to be that no price data is found at your old database. What says TDM about the number of price data found, after selecting your old database?

Scanning Commodities in Horizons, just doesn't work for me now. I have to change so much to move to the next scan.

Soom items you can buy are scanned correctly and some others ain't. ODD?

I know it's not your fault Eventure, but without OCR working it'll become tedious. Fortunately someone has picked up the OCR thread, and may look at it over the weekend, fingers crossed.

I am still using EliteOCR V0.5.4.1 and it's working fine, no errors on scan!
Here you can download it for a test : http://bit.ly/1GfVWjM

ADDITIONAL:

The search criteria for AUTO DESTINATION after scanning process appears to ignore commodities that have ZERO for STOCK.

I manually changed TEA stock level at my current location and then it was in the list for EXPORTS.

Mainly because if a commodity have a buy value, it have a stock level too. So the Auto Destination didn't check the supply value.
The Export display checks the stock level.

The new version will have adjustable parameters for the Auto Destination.
 
I am still using EliteOCR V0.5.4.1 and it's working fine, no errors on scan!
Here you can download it for a test : http://bit.ly/1GfVWjM

That's a rather old version, but if it's working for you I'll give it a try, thanks

Mainly because if a commodity have a buy value, it have a stock level too. So the Auto Destination didn't check the supply value.
The Export display checks the stock level.

The new version will have adjustable parameters for the Auto Destination.

Righto, that sounds useful. When you say 'New version' do you mean the .Net version?
 
Seems to be that no price data is found at your old database. What says TDM about the number of price data found, after selecting your old database?
It says 0!!

Ugh...I was selecting the 'DB' folder. Which is wrong. When I do that, it finds nothing.

I had to select the folder above it ( I called it 'TCE temp' for 'TCE temp/DB').

Does that mean when you choose the folder, it looks in the folder below for the DB folder (and stuff in there)? I must have been lucky to only mess it up this time.

It worked ok now.
 
Last edited:
This looks absolutely AWESOME.

Just gotta get it to work now lol

I've followed all the install instructions correctly (well - I *think* correctly...) and the addon pops up on my desktop perfectly but when I start Elite (64 bit version if that makes any difference) it doesn't appear to be 'connecting' to my game.

Total newb at this so any hints welcome - I assume I've got the wrong directories somehow but I used the autodetect and it seemed to pick up valid folders.
 
I am still using EliteOCR V0.5.4.1 and it's working fine, no errors on scan!
Here you can download it for a test : http://bit.ly/1GfVWjM

Hi Eventure

I can confirm your solution works. I was using the latest release of EliteOCR and it produced just the same results as bAdbUd experienced.

Downloading and installing your EliteOCR V0.5.4.1 fixed the issue and EliteOCR is now working fine in Horizons with no errors.

Rob

- - - - - Additional Content Posted / Auto Merge - - - - -

This looks absolutely AWESOME.

Just gotta get it to work now lol

I've followed all the install instructions correctly (well - I *think* correctly...) and the addon pops up on my desktop perfectly but when I start Elite (64 bit version if that makes any difference) it doesn't appear to be 'connecting' to my game.

Total newb at this so any hints welcome - I assume I've got the wrong directories somehow but I used the autodetect and it seemed to pick up valid folders.

Pigbog

Autodetect did not work for me on the Horizons update so go to your TCI.ini file (in TCE folder) and, assuming you are running 64-bit Horizons, change these 2 lines as follows where ***** is the path to your Frontier folder:

NetLogPath=*****\Frontier\EDLaunch\Products\elite-dangerous-64\Logs
AppConfigPath=*****\Frontier\EDLaunch\Products\elite-dangerous-64

Also, go to AppConfig.xml in the Products\elite-dangerous-64 folder, look for the "<Network" line towards the end and make sure you ADD the line VerboseLogging="1" before the Port line. I had to do this manually with the Horizons update although previously it was entered automatically by Eventure's excellent program.

<Network
VerboseLogging="1"
Port="0"

Rob
 
Last edited:
Status
Thread Closed: Not open for further replies.
Back
Top Bottom