Abandoned [RELEASE] Trade Computer Extension

Status
Thread Closed: Not open for further replies.
Just bumping this since it was a post that needed to be a approved by a moderator. I didn't realize it got posted a page back. Wanted to make sure you saw it. Can confirm this still happens with 1.54.7. Can also confirm that the type 13 mismatch is no longer an issue. So far so good!

Thanks for reposting, because i did't saw it, sry.
Have found the problem and next update will adress it.

Hi Eventure,

Not sure what's going on, but getting several errors due to (I think) the name of the system I'm currently in containing the ')' character. My current system is 'Pipe (Bowl) Sector UY-A B2' and the software *really* doesn't like it.

EDIT: It sees the system as 'Pipe (Bowl' and keeps giving type mismatch errors (including when I start the software).

Eewec.

Oh, that was the problem, because TCE looking after ')' to get the star system name. The problem will be fixed in next update, comming tomorrow!
 
I Need help badly!
I can't get the TCE commodity Panel to scan EliteOCR Export prices. When I scan for update Prices - nothing happens. Where does TCE look for the "Import.prices" from EliteOCR (in which Folder)?

Robert :(
 
I Need help badly!
I can't get the TCE commodity Panel to scan EliteOCR Export prices. When I scan for update Prices - nothing happens. Where does TCE look for the "Import.prices" from EliteOCR (in which Folder)?

Robert :(

Please activate the OCR Process window at the Options panel. There could be an error message from EliteOCR.
 
I Need help badly!
I can't get the TCE commodity Panel to scan EliteOCR Export prices. When I scan for update Prices - nothing happens. Where does TCE look for the "Import.prices" from EliteOCR (in which Folder)?

Robert :(

Hmm.... you did set the EliteOCR directory in the TCE Setup? Without that it doesn't know where Elite OCR is to run properly (you need to download it separately) You don't tell it where the exports are, it will sort all that out for you. It just needs to know where EliteOCR itself is (runs the command-line version from within TCE).

Just make sure you've run the learning thing from within EliteOCR first!
 
Last edited:
Please activate the OCR Process window at the Options panel. There could be an error message from EliteOCR.
Thanks Eventure
I activated the OCR Process window as adviced, but nothing happened. Surely you can tell me where TCE Looks for the "Import.Prices" file. I changed the OCR Settings to different paths in the TCE/OCR Folder Environment trying to make the scan work - but the data doesn't seem to be found. So, where does your program look for the "import.prices" file?
 
Thanks Eventure
I activated the OCR Process window as adviced, but nothing happened. Surely you can tell me where TCE Looks for the "Import.Prices" file. I changed the OCR Settings to different paths in the TCE/OCR Folder Environment trying to make the scan work - but the data doesn't seem to be found. So, where does your program look for the "import.prices" file?

The data file created by EliteOCR, is placed into the OCR_Export folder of TCE and is called "export.csv". There is no "import.prices" file, because TCE uses the command line tool of EliteOCR and not the main application.
The scan will also not working, if the selected game language at the TCE setup is not the same as the selected language in ED.

Here my step-by-step advice:
1. Copy the content of the EliteOCR download into the TCE\EliteOCR folder.
2. Select the EliteOCR path at the TCE setup to the path above (I suggest to do an auto-scan, if you are unsure).
3. Select your current ED game language at the TCE setup too.
4. Start TCE and activate the OCR Process windows first.
5. Make a scan and you will see the OCR Process window. It should display like "[=======]".
6. Close the OCR Process window to let TCE finish processing the data.
7. Now you should see all scanned data within the Commodity panel.

If you don't see "[=======]" at the OCR Process window, there is an error message displayed instead.
 
Last edited:
Thanks Eventure

Trying to get a clean scan causes this error message:

2015-10-29 12:16:16,734 CRITICAL:
File "EliteOCR", line 1256, in <module>
File "EliteOCR", line 1240, in main
File "EliteOCR", line 1198, in ocr
File "\ocr", line 19, in __init__
File "\ocr", line 46, in makeStationImgClean

<type 'exceptions.TypeError'>: 'NoneType' object has no attribute '__getitem__'


To be honest, I don't really understand where TCE is getting the scan data. Is TCE scanning the Station Prices (within ED) and storing the changes to the TCE data bank?
If not, then is TCE looking for OCR created data in the file "Export.cvs" in the "OCR_export" -Folder? How did they get there? Because the "Export" button in OCR creates a file called "Frigaha.Onizuka Landing.2015-10-29T10.45.34.cvs" and not "Export.cvs"! Somehow everything is quite mysterious.
 
Last edited:
Thanks Eventure

Trying to get a clean scan causes this error message:

2015-10-29 12:16:16,734 CRITICAL:
File "EliteOCR", line 1256, in <module>
File "EliteOCR", line 1240, in main
File "EliteOCR", line 1198, in ocr
File "\ocr", line 19, in __init__
File "\ocr", line 46, in makeStationImgClean

<type 'exceptions.TypeError'>: 'NoneType' object has no attribute '__getitem__'


To be honest, I don't really understand where TCE is getting the scan data. Is TCE scanning the Station Prices (within ED) and storing the changes to the TCE data bank?
If not, then is TCE looking for OCR created data in the file "Export.cvs" in the "OCR_export" -Folder? How did they get there? Because the "Export" button in OCR creates a file called "Frigaha.Onizuka Landing.2015-10-29T10.45.34.cvs" and not "Export.cvs"! Somehow everything is quite mysterious.

TCE makes a screenshot (at the OCR_BMP folder) and starts EliteOCR to process it. EliteOCR generates the export.csv file at the OCR_Export folder. TCE imports this file and gathers all data from it to display them at the Commodity panel.

Please check your game language setting of TCE. It is the same as you selected in ED?
 
Last edited:
Trying to scan an update I get this message:
[=== ] Image too small! Minimum market width required: 1065px, given: 840 px

What is wrong?

As I said to another user some post before:

You have to change your FOV (Field Of View) slider at the ED options to fix the "image too small" error of EliteOCR.

Look into the FAQs and you will find the following:

Question: EliteOCR doesn't work correctly or it produces an error, please help!
Answer: Firstly, check if you met the minimum requirements of EliteOCR (resolution 1680x1050, etc. Link: https://forums.frontier.co.uk/showth...light=eliteocr). Secondly, activate the OCR Process Window at the Options panel of TCE. If you reading an error at the debug window like "...Image too small...", here is the statement of Seeebek, creator of EliteOCR, for this problem: "Increasing FOV in game reduces the size of the significant part of the screenshot! Therefore you will easily get below the limitation. Use standard FOV (approx. 56)!"


 
Last edited:
I have a quick question if somebody could help me. (I just started using TCE this week) How do you handle having two stations in the same sector. I seem unable to force TCE to use the correct station I am at. Thanks for all the help!!
 
Hi Eventure

Got a small problem I have the "Star System Summary" open al the time and have been doing a little run for a while now so
went off to some other star systems I have not been to for a few weeks and in the "Last Visit" box it is always showing todays date
not the last date I visited the system.
Any thoughts on this..

thanks.....
 
I have a quick question if somebody could help me. (I just started using TCE this week) How do you handle having two stations in the same sector. I seem unable to force TCE to use the correct station I am at. Thanks for all the help!!

There are, from my point of knowledge, no two or more stations/locations at the same sector. That is, because each station or anything else like conflict zones, etc. having each his own body ID number (shown at the netlog fille of the game) to identify them within the star system of the game.

In some system, there are stations, which are really close to each other, less than 5 LS away, but both having different ID numbers.

Hi Eventure

Got a small problem I have the "Star System Summary" open al the time and have been doing a little run for a while now so
went off to some other star systems I have not been to for a few weeks and in the "Last Visit" box it is always showing todays date
not the last date I visited the system.
Any thoughts on this..

thanks.....

Hmm, will check it, why it is the actual date is shown an not the last one. Could be a bug.
@It is a bug!
 
Last edited:
Update (1.54.8) released:



Changelog:
- Fixed an error at the Trade panel, when searching after stations for best buy/sell a commodity and only found one station.
- Fixed an issue at star systems containing a ')' in its name.
- Fixed an issue at the Star System Summary panel showing the actual date as the last visited, instead of the last date before the current visit.
- Fixed some sort routines, preventing possible errors.

Note:
This update didn't need any TDM usage for your database. Copy the content into your TCE folder to update your version.
 
Last edited:
There are, from my point of knowledge, no two or more stations/locations at the same sector. That is, because each station or anything else like conflict zones, etc. having each his own body ID number (shown at the netlog fille of the game) to identify them within the star system of the game.

In some system, there are stations, which are really close to each other, less than 5 LS away, but both having different ID numbers.


According to TCE both of the stations are in sector 91 of the system. Other then using TCE I am not sure how to verify the sector.
 
According to TCE both of the stations are in sector 91 of the system. Other then using TCE I am not sure how to verify the sector.

What is the name of the star system and which stations sharing the same ID?

Also you can verify the id by checking the netlog file of your session.
I suggest the following:

Fly to the first station and quit ED after landing.
Restart and fly to the second station and quit also ED after landing.

Now open the netlog file folder and look into the two lastest created files from ED. Open both and scroll down to the bottom.
Thereafter check the last entries of the files containing SYSTEM: at the beginning. Look to the BODY: part and you will find the ID of the station.
If both ID's are the same, it is a premiere to me.
 
Last edited:
Update (1.54.8) released:



Changelog:
- Fixed an error at the Trade panel, when searching after stations for best buy/sell a commodity and only found one station.
- Fixed an issue at star systems containing a ')' in its name.
- Fixed an issue at the Star System Summary panel showing the actual date as the last visited, instead of the last date before the current visit.
- Fixed some sort routines, preventing possible errors.

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

Hi Eventure thanks for the update that has cleared the problem...
 
This is for the Mahibitou system between Stafford Hub & Duke Landing. After checking the logs as advised I found Stafford as Pos 91 and Duke as Pos 92. For some reason when the stations were created they were both assigned a Pos of 91. I adjusted Duke and things seem to be working correctly. Not sure why both got assigned as 91 in the first place that is one field I never touch.

Thanks for the help!
 
This is for the Mahibitou system between Stafford Hub & Duke Landing. After checking the logs as advised I found Stafford as Pos 91 and Duke as Pos 92. For some reason when the stations were created they were both assigned a Pos of 91. I adjusted Duke and things seem to be working correctly. Not sure why both got assigned as 91 in the first place that is one field I never touch.

Thanks for the help!

I think the problem you are seeing is related to why the distances never seem to be quite accurate when I create a new system in my DB; Stellar drift. All the stars and such are in motion and not in fixed locations. This is also true for those things orbiting the stars. Not sure how this affects the sectors and such that they occupy but would explain why some things now occupy different sectors than they did when first created. Not sure how that could be fixed either.
 
Last edited:
Status
Thread Closed: Not open for further replies.
Back
Top Bottom