Abandoned [RELEASE] Trade Computer Extension

Status
Thread Closed: Not open for further replies.
Cant see your attachment, please repost.
I updated the image, don't know what happened there but I hope it shows up this time.

I also tried a fresh 1.36b8 on another computer (Win8.1Pro 64bit with Excel 2013) and there the import works fine.
 
There is another feature that I had never noticed before Beta 6
(probably because I couldn't keep TCE working long enough)
That's been REALLY bugging me lately !

I use mouse and keyboard,
my mouse is setup for YAW and PITCH

When I get in combat or even just flying around and move my mouse up (YAW UP),
after a certain point I still see ED's cursor in the middle of the screen,
but I also see windows cursor popping up on TCE's Trade button. (center of main menu)

Even if I hide the panels, the same thing happens but the second mouse cursor now appears right on TCE's CONTROL button.

I almost crashed on stations a few times because of this,
not to mention all the beams and bullets I might have avoided or delivered if I had not lost control of my ship in the middle of a fight
because pressing any button when this happens places ED in the background and you need to realize what is happening,
then regain control by moving the cursor and clicking ED or use Alt-tab to get back in it.


Would it be possible to have the option of setting a modifier key that would switch the focus (make the windows mouse appear)

or at least, not have the mouse go to CONTROL when the panels are hidden.

I know it is part of windows mouse control scheme, but there must be a way around it !

Please ! :eek:

You are not the first one, who experience such a behavior with mouse controls. I use a HOTAS, so i didnt recognize this. Dont know, how to fix this problem atm, because if i hide TCE completely, there is no way to unhide it.
 
You are not the first one, who experience such a behavior with mouse controls. I use a HOTAS, so i didnt recognize this. Dont know, how to fix this problem atm, because if i hide TCE completely, there is no way to unhide it.

If you hide it completely only when we select hide, would not Alt-Tab bring it back anyway ?

I kind of like the idea of a modifier key option better,
like having to hold shift or ctrl while clicking for the CONTROL button to do anything when the main panel is hidden.

Sound easy said like that but I have no clue how to write that in VB.
 
It doesn't work with german localization anymore. EliteOCR does its job well, but the import from it to TCE is broken. I tried out some editing in .ini, but doesn't work. Tried version beta 6 and 8, doesn't work.
Installed fresh versions, fresh db.
 
Last edited:
Update (V1.36 beta 9) released:
- Bugfixes in import old database, Star System panel, Cartography panel, Commodity panel
- Added bigger Star System Note textbox
- Added colored Start OCR Scan button (red - Screenshot/OCR, yellow - Export processing, green - Standby)
- Star System Database panel UI rework.
- Localization issue fix
 
Last edited:
Can I just say once again thank you to Eventure for the amazing effort with this.
Also thanks to all the testers - excellent community effort - this is how therse things should be :)
 
Eventure,

If this works, I am going to send a sizable donation your way.

Do you mind if I ask what you do for a living?

Your coding methodology and approach is excellent. I work with "professional developers" who do not deliver results as good as what you are giving this community for free.
 
I registered both the unregistered station with the same name and system as the one I already added as a new station.

It seemed to work, TCE accepted it and but in some of the windows I still see duplicates
and in TCE.mdb there are duplicates because I was not at the stations when I added them so I have each with the proper body and with 0 as body.

I can remove the duplicates directly from the mdb ? they are the last 2 in the list so it should not cause problems ?
Or would you prefer I leave them there to test your future remove station feature ?

I suggests you use a new database (beta1), and restart, because deleting is not support atm.

Humm, what would happen if I started adding many stations and did not add/scan any of the commodities list ?

No problem, this stations has prices in the back (all zero value), so you can do it, if you want.

I have boxed in green what I meant about the range not affecting the search.
I thought that changing the SET TRADE RANGE in that box would affect the result in the BEST BUY LOCATIONS
in the other green box below it.

Thanks for finding this, it will be fixed in future updates

I have boxed in red the headers that could be made clickable to show those list in different orders.
All similar headers in other windows could also be made active.

Could be done, but its not a priority.

Eventure I saw that someone else asked for the option to change color and I did a quick little change in your code to make it work.

And then I just called it in all the UserForm_Initialize()
This actually change 80% of the colors, to fix the rest I just did a find&replace on the hard coded color &H80FF& to MyColor

Just thought I share that and maybe it will help in some way.
My TCE is a nice cool blue now
wink.png

Thank you for your input, didnt tried it now, but if this works, i will add it soon.

If you hide it completely only when we select hide, would not Alt-Tab bring it back anyway ?

I kind of like the idea of a modifier key option better,
like having to hold shift or ctrl while clicking for the CONTROL button to do anything when the main panel is hidden.

Sound easy said like that but I have no clue how to write that in VB.

Perhaps minimizing excel could a way, have to test it. Writing it on my todo list.

Eventure,

If this works, I am going to send a sizable donation your way.

Do you mind if I ask what you do for a living?

Your coding methodology and approach is excellent. I work with "professional developers" who do not deliver results as good as what you are giving this community for free.

Working in a medical job as technical assistance.
 
Last edited:
just installed and started using your excellent overlay, I started at a station and entered is details in the unregistered area as required , uploaded the ocr stuff, flew to a second station , rinse repeat, was about to head out to yet a third area and just before I hit launch the overlay crashed, now every time I run it I get a runtime error 9 and have to exit, as I only recently started using I am unfamiliar with the files and such so im not sure if I should delete all and start again or something else, Appreciate your efforts and hope you can point me in a direction :)

Enty
 
just installed and started using your excellent overlay, I started at a station and entered is details in the unregistered area as required , uploaded the ocr stuff, flew to a second station , rinse repeat, was about to head out to yet a third area and just before I hit launch the overlay crashed, now every time I run it I get a runtime error 9 and have to exit, as I only recently started using I am unfamiliar with the files and such so im not sure if I should delete all and start again or something else, Appreciate your efforts and hope you can point me in a direction :)

Enty

How it crashed? Excel crashed? Runtime error? Please press debug, so you can post the codeblock. where TCE halts.
 
Clicking on the UNLOCK button for the TRADE SCOUT window.
(trying to find out what it is for ?)

I Received

Run-time error '380':

Could not set the Selected property. Invalid property value.

Can't execute code in break mode


Private Sub BTN_Unlock_Click()


TLocked = False
TLocked_Star1 = 0
TLocked_Star2 = 0
TLocked_Station1 = 0
TLocked_Station2 = 0
If Main_Panel = "TOP" Then
Panel_Menu_top.TLocked_line1.Visible = False
Panel_Menu_top.TLocked_line2.Visible = False
Panel_Menu_top.BTN_Locked.Visible = False
Else
Panel_Menu_bottom.TLocked_line1.Visible = False
Panel_Menu_bottom.TLocked_line2.Visible = False
Panel_Menu_bottom.BTN_Locked.Visible = False
End If
Me.Show_Traderoute.Selected(Show_Traderoute.ListIndex) = False
Me.BTN_Unlock.Visible = False


End Sub
 
Clicking on the UNLOCK button for the TRADE SCOUT window.
(trying to find out what it is for ?)

I Received

Run-time error '380':

Could not set the Selected property. Invalid property value.

Can't execute code in break mode


Private Sub BTN_Unlock_Click()


TLocked = False
TLocked_Star1 = 0
TLocked_Star2 = 0
TLocked_Station1 = 0
TLocked_Station2 = 0
If Main_Panel = "TOP" Then
Panel_Menu_top.TLocked_line1.Visible = False
Panel_Menu_top.TLocked_line2.Visible = False
Panel_Menu_top.BTN_Locked.Visible = False
Else
Panel_Menu_bottom.TLocked_line1.Visible = False
Panel_Menu_bottom.TLocked_line2.Visible = False
Panel_Menu_bottom.BTN_Locked.Visible = False
End If
Me.Show_Traderoute.Selected(Show_Traderoute.ListIndex) = False
Me.BTN_Unlock.Visible = False


End Sub

All other is running so far? Will look later into the issue.
 
Hi, I've just extracted the lastest version and copied over the latest update.

I've configured the File Locations as shown here:

Code:
NetLogPath=C:\Program Files (x86)\Frontier\EDLaunch\Products\FORC-FDEV-D-1002\Logs
AppConfigPath=C:\Program Files (x86)\Frontier\EDLaunch\Products\FORC-FDEV-D-1002
EliteOCRPath=C:\Users\Stephen Blower\Google Drive\My Games\Elite\Trading\EliteOCR
POS_Star_ID=3287
POS_Station_ID=1
DES_Star_ID=3287
DES_Station_ID=2
Trade_Range=100
Jump_Limit=10
Show_ShipLog=True
Show_Marker=True
Show_NewStar=True
Show_Jurisdiction=True
Show_Economy=True
Show_Distance=True
Show_Trade=True
Auto_Select=True
Backup=True
FTP_Enabled=False
FTP_Path=
User_ID=
User_Pass=
Main_Panel=TOP
OCRLanguage=eng
TCELanguage=eng

But upon starting TCE I get Run-Time Error '70': - Permission Denied

And the Debug seems to be having problems with the AppConfig.xml file which I've added VerboseLogging="1" too as shown below

Code:
<AppConfig>
	<Display>
		<ScreenWidth>1280</ScreenWidth> 
		<ScreenHeight>720</ScreenHeight> 
		<FullScreen>false</FullScreen> 
		<VSync>true</VSync>
		<PresentInterval>1</PresentInterval>
		<Adapter>0</Adapter>
		<Monitor>0</Monitor> 
		<DX11_RefreshRateNumerator>60</DX11_RefreshRateNumerator>
		<DX11_RefreshRateDenominator>1</DX11_RefreshRateDenominator>
		<LimitFrameRate>false</LimitFrameRate>
		<MaxFramesPerSecond>30</MaxFramesPerSecond>
		<!-- If you are looking for the SSAA setting this has moved in to Settings.xml in the save directory
		  ** typically: C:\Users\{username}\AppData\Roaming\Frontier Developments\Elite Dangerous\Options\Graphics.
		  ** If this file does not exist you can generate it by entering the graphics options screen in game
		  ** and hitting apply. You can then add <SSAA>X</SSAA> when X is the SSAA amount (1 by default) -->
	</Display>
	
	<Threads
		RenderThreadStackSize="1048576"
		WorkerThreadStackSize="1048576"
		NumWorkerThreads="6"
		RenderJobQueueSize="10240"
		KernelJobQueueSize="10240"
		MinSpareCores="0"
		OptimiseForPerformance="1"
		UseThreadPriorities="0"
		PerformanceScaling="1"
	/>
	
	<Files
		MaxLoadRetries="10"
	/>

	<Network
	  Port="0"
      upnpenabled="1"
	  LogFile="netLog"
	  DatestampLog="1"
	  VerboseLogging="1"
	  >
	</Network>
  <GameObjects />
</AppConfig>

Screenshots with configs and error


I've looked at the permissions of the AppConfig.xml file as I had to change them to allow me to update it in the first place. So I assume I need to let TCE have similar permissions, but I'm unable to determine how to do that, yet.

I'll search around in the interim but if anyone is aware of this issue and how to resolve it, that would be appreciated.

Excel Professional Plus 2010 - Full up to date, plus I installed the Prerequisite Excel File, even though I didn't get that 1004 error.
 
Hi, I've just extracted the lastest version and copied over the latest update.

Screenshots with configs and error


I've looked at the permissions of the AppConfig.xml file as I had to change them to allow me to update it in the first place. So I assume I need to let TCE have similar permissions, but I'm unable to determine how to do that, yet.

I'll search around in the interim but if anyone is aware of this issue and how to resolve it, that would be appreciated.

Excel Professional Plus 2010 - Full up to date, plus I installed the Prerequisite Excel File, even though I didn't get that 1004 error.

Did you running the launcher of Elite in the background? Please retry without loading Elite.
 
I get the same error without loading Elite.

Okay, looks like TCE didnt found the VerboseLogging entry in your AppConfig.xml. Did you added the entry prior TCE or you did it after the error?

I found a station with Hightech/Tourism

Will add it and some other variations too. But i think, i have to change this one and for all. Thinking of a Primary/Secondary Economy, so all variations are possible from the beginning. No need to add a new one again and again.
 
Last edited:
Okay, looks like TCE didn't found the VerboseLogging entry in your AppConfig.xml. Did you added the entry prior TCE or you did it after the error?

I changed VerboseLogging entry in AppConfig.xml before, I've had it changed for a while for EliteOCR Tool and CMDR's Log, where it picks up the right info from.

EDIT.....................

I had to change the permissions of the AppConfig.xml prior to being able to edit it, if that gives you more information?
 
Last edited:
Status
Thread Closed: Not open for further replies.
Back
Top Bottom