Abandoned [RELEASE] Trade Computer Extension

Status
Thread Closed: Not open for further replies.
Alright, figured out why the export isn't executing, look at this:

View attachment 13661

I have no idea why the shell command thinks that the Screenshot has not enough quality.

If i load the Screenshot.bmp into EliteOCR manually scanning and exporting to .csv works just fine.

So the question here now is, why is the shell command saying "image too small"?

What resolution are you playing in? Try to see if playing in a bigger resolution works. (unless you done that already)
 
What resolution are you playing in? Try to see if playing in a bigger resolution works. (unless you done that already)

1920x1200 with an GTX 680 on an i7 3930k (six core overcloacked to 4.2Ghz), everything in the graphic settings is set to best quality.
 
And now i have fixed it!

I changed the FOV Setting back to 60 (it was 65 before).
<FOV>60.000000</FOV>

Which can be found at: c:\User\your_username\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\Settings.xml

Now it works.
 
And now i have fixed it!

I changed the FOV Setting back to 60 (it was 65 before).
<FOV>60.000000</FOV>

Which can be found at: c:\User\your_username\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\Settings.xml

Now it works.

Thanks for clearing this up, had a hard night thinking over it. Good work.

Coming across more and more stations who has an economy based purely on terraforming

Could this be added?

Sure, you can add it by yourself for the moment by opening the TCE.mdb. Click on Economy, add the next following ID number and enter the new economy type. Exit the database and restart TCE. I will add this to the initial database, but the ID number can be different from mine, so you can wait or contain your database for yourself. But here are my first edition:
IDEconomy Type:
2AGRICULTURAL
19AGRICULTURAL/EXTRACTION
17AGRICULTURAL/HIGH TECH
21AGRICULTURAL/INDUSTRIAL
20AGRICULTURAL/REFINERY
11EXTRACTION
16EXTRACTION/INDUSTRIAL
4EXTRACTION/REFINERY
3HIGH TECH
13HIGH TECH/EXTRACTION
10HIGH TECH/REFINERY
1INDUSTRIAL
12INDUSTRIAL/EXTRACTION
9INDUSTRIAL/REFINERY
7NONE
5REFINERY
8REFINERY/EXTRACTION
14REFINERY/INDUSTRIAL
6SERVICE
18TERRAFORMING
15TOURISM
Economy
 
Last edited:
Thanks to Jupp that FOV has sorted my issues as well - all working now.

Thanks for the help and keep up the good work.
 
I really thought i was onto something in my hope to get this TCE working in that i'd noticed that the paths at the start of TCE.INI were all wrong, so i manually edited them to be correct based on locations on my own pc.

No matter what i've tried to get this to work though, i get a Run time error 13 and the line which it highlights in debug is:

Show_ShipLog = Mid(ArINI(10), 14, x - 13)

On Excel 2007, the tce.xlsm just has the blank 'Start' tab, but the above error prevents any further execution. I have also added the TCE folder and TCE subfolders as trusted locations in trust center too.

(also i'm using the latest xlsm file as listed on post 1 of this forum topic)
 

On the line highlighted in the screenshot here, (which is the same runtime error and line showing type mismatch error and i've noticed that on the lines of the code preceding this that they would have this syntax:

Jump_Limit = Val(Mid(ArINI(9), 12, x - 11))

whereas the line that creates this runtime error 13 (type mismatch) has no Val( and extra close bracket at the end of the line

Show_ShipLog = Mid(ArINI(10), 14, x - 13)

So what i'm wondering is whether this error is due to a syntax error such as the above in the lines that follow the Jump_Limit= bit?
 
On the line highlighted in the screenshot here, (which is the same runtime error and line showing type mismatch error and i've noticed that on the lines of the code preceding this that they would have this syntax:

Jump_Limit = Val(Mid(ArINI(9), 12, x - 11))

whereas the line that creates this runtime error 13 (type mismatch) has no Val( and extra close bracket at the end of the line

Show_ShipLog = Mid(ArINI(10), 14, x - 13)

So what i'm wondering is whether this error is due to a syntax error such as the above in the lines that follow the Jump_Limit= bit?

The JumpLimit is a value, but the import is text, the Val() command converts it into a value. The Show_ShipLog is boolean (True/False), so there is no need to convert. A mismatch error says, it is the wrong format. Here my proposal:
Change every error codeline to the value, which is printed in the TCE.ini file (e.g Show_Shiplog = True, Jump_Limit = 10 and so on). Please tell me, if you got past the error. BTW, what excel version your are using? Is it up-to-date?
 
my tce.ini is as follows below here. I note that the values are in german which i presume is ok even though my installation is in english?

NetLogPath=C:\Users\Blackfoxx\Appdata\Local\Frontier_Developments\Products\FORC-FDEV-D-1002\Logs
AppConfigPath=C:\Users\Blackfoxx\Appdata\Local\Frontier_Developments\Products\FORC-FDEV-D-1002
EliteOCRPath=E:\ED\TCE\TCE\EliteOCR
POS_Star_ID=3287
POS_Station_ID=1
DES_Star_ID=3287
DES_Station_ID=3
Trade_Range=100
Jump_Limit=10
Show_ShipLog=Wahr
Show_Marker=Wahr
Show_NewStar=Wahr
Show_Jurisdiction=Wahr
Show_Economy=Wahr
Show_Distance=Wahr
Show_Trade=Wahr
Auto_Select=Wahr
Backup=Wahr
FTP_Enabled=Falsch
FTP_Path=
User_ID=
User_Pass=
Main_Panel=TOP


My TCE path is on my E: drive
 
Last edited:
Update (1.32) released:
-Removed scanlog, code improvements for reading the ini file.

When you close the program and it ask if you want to save the excell file (using ftp db) should i?

No. How did it run with the FTP database?

Here are the first layout of the Trade Scout Planner, some things may change. How do you feel about it?

TS_Planer.JPG
 
Last edited:
Ok Eventure, now we are getting somewhere, i was right in my theory that it was a language issue, in that the TCE.ini file had Wahr and Falsch in the values, so i did a Replace using notepad to change them to True and False and then launched TCE.

I am now seeing Elite dangerous running with the TCE overlay as it should be.

Thank you for your efforts on this project, my frustration was only in not getting it to work despite doing all the pre-checks in your instructions, but now i've found the bit about Wahr and Falsch causing the issues, it works first time without the runtime error 13 error occuring.

HOPE THIS HELPS.

(I also used your latest xlsm posted by you just now but still got the runtime error 13 until i did this ini file change.
 
Ok Eventure, now we are getting somewhere, i was right in my theory that it was a language issue, in that the TCE.ini file had Wahr and Falsch in the values, so i did a Replace using notepad to change them to True and False and then launched TCE.

I am now seeing Elite dangerous running with the TCE overlay as it should be.

Thank you for your efforts on this project, my frustration was only in not getting it to work despite doing all the pre-checks in your instructions, but now i've found the bit about Wahr and Falsch causing the issues, it works first time without the runtime error 13 error occuring.

HOPE THIS HELPS.

(I also used your latest xlsm posted by you just now but still got the runtime error 13 until i did this ini file change.

Did you tried the the update? Ah okay, i will look into it.

I updated the update, changed all prestart values to True and False.

Any input for the pad sizes of outposts? I want to add them to the database. Perhaps we all collect the data together.

Here my observations:

Military Outpost: 2 x small, 1x medium
Civilian Outpost: 2 x small, 1x medium
Scientific Outpost: 2 x small, 1x medium
Coriolis Station:
Orbis Station:
Ocellus Station:
Indutrial Outpost:
Commercial Outpost:
 
Last edited:
Update (1.32) released:
-Removed scanlog, code improvements for reading the ini file.



No. How did it run with the FTP database?

Here are the first layout of the Trade Scout Planner, some things may change. How do you feel about it?

View attachment 13821

Database is fine so far. But not to many sharing it yet.

As for trade stuff it looks great, Could you also ad a range to station limitation? Ie for example i want to filter out all stations longer than 500 ls away for example.
 
Status
Thread Closed: Not open for further replies.
Back
Top Bottom