Abandoned [RELEASE] Trade Computer Extension

Status
Thread Closed: Not open for further replies.
Update (V1.36b) released:
- Bugfix in Cartography and Star System Database panel.
- Importing old databases shows a messagebox, if there is a problem with the data.
 
Bug 1.36b

1. Database > Station
2. Right arrow to Add Unregistered. See that unregistered does not exist (both star and station change to something other than star you're at).
3. Left arrow back to Add Station.

Error message and crash.

Debug:

Code:
        Else                Worksheets("Werte").Cells(22, 8).Value = 0
            End If
            If Me.CheckBox6.Value = True Then
                Worksheets("Werte").Cells(30, 5).Value = 1
            Else
                Worksheets("Werte").Cells(30, 5).Value = 0
            End If
            Me.TextBox2.SetFocus
            Saving = False
            Me.TextBox4.TabStop = True
        End If
        If Stations_Reg = True And Starting = False And Worksheets("Werte").Cells(58, 8).Value <> 0 Then
            Worksheets("Data").Cells(63, 2).Value = ActualStarName
            [COLOR=#ffa500]ArStation_UR = Worksheets("Pre_Select_UR").Range("A" & Worksheets("Werte").Cells(59, 8).Value & ":D" & Worksheets("Werte[/COLOR]").Cells(59, 8).Value + Worksheets("Werte").Cells(58, 8).Value + 1)
            Worksheets("Pre_Select_UR").Range("Y2:AB101").ClearContents
            Worksheets("Pre_Select_UR").Range("Y2:AB" & Worksheets("Werte").Cells(58, 8).Value + 1) = ArStation_UR
            Worksheets("Systems").Activate
            ActiveWorkbook.Worksheets("Systems").Sort.SortFields.Clear
            ActiveWorkbook.Worksheets("Systems").Sort.SortFields.Add Key:=Range( _
                "AB2:AB101"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
                xlSortNormal
            With ActiveWorkbook.Worksheets("Systems").Sort
                .SetRange Range("Y1:AB101")
                .Header = xlYes
                .MatchCase = False
                .Orientation = xlTopToBottom
                .SortMethod = xlPinYin
                .Apply
            End With
 
After updating (not to beta 1.2 but to latest release) I can no longer see where I'm at. I get "unknown" even though the update is the only thing I did.

The debug log looks like it no longer logs systems and traffic. This makes the value of BPC as opposed to online tools obsolete?
 
After updating (not to beta 1.2 but to latest release) I can no longer see where I'm at. I get "unknown" even though the update is the only thing I did.

The debug log looks like it no longer logs systems and traffic. This makes the value of BPC as opposed to online tools obsolete?

You need to add verboselogging="1" in to the network section of AppConfig.xml everytime there's an update.
 
Bug 1.36b

1. Database > Station
2. Right arrow to Add Unregistered. See that unregistered does not exist (both star and station change to something other than star you're at).
3. Left arrow back to Add Station.

Please tell me, have you selected an unregistered station as your destination along the way, as the error show up?

After updating (not to beta 1.2 but to latest release) I can no longer see where I'm at. I get "unknown" even though the update is the only thing I did.

The debug log looks like it no longer logs systems and traffic. This makes the value of BPC as opposed to online tools obsolete?

FAQ:
Question: What i have to do, when a new update of Elite Dangerous is released?
Answer: Let the launcher update ED. When finished, close the launcher. Start TCE and wait, till its ready. Thereafter start ED as usual. If you did it vice versa, then TCE gives a message to restart ED.
 
Last edited:
Please tell me, have you selected an unregistered station as your destination along the way, as the error show up?

Not directly by manual selection made by me in the AUTO DESTINATION panel. I had already previously (in the same session) landed at a few stations in other systems, _all_ of which were unregistered stations (listed in the ADD UNREGISTERED dropdown). I successfully registered all these and scanned commodities at each.

When the crash happened the _only_ difference was that when I right-arrowed to the ADD UNREGISTERED sub panel, both the star and the station automatically changed themselves to a _previous_ star/station that I had registered recently (possibly even the very last one I had just done).

When I'd seen this behavior before in the 1.36 beta builds, I would just left arrow back to ADD STATION and manually enter the station without problems. I assumed this was simply how to figure out whether a station was in the unregistered table or not:

1. Try ADD UNREGISTERED first and check the station dropdown: if the station is listed, it's in the unregistered table.
2. If the station is not listed in ADD UNREGISTERED, then every time before, the star would change (just like this time).


Edit: I'm pretty sure the code up through Beta 6 was correctly handling this situation without error. Don't think I ran into a completely unregistered station after Beta 6 until now.
 
Last edited:
Persisiting New STAR error

Still getting the same error entering a new system in the STAR DATABASE if I do not put at least a space in the note box.

With previous version, TCE would recover on restart.

With 1.36b it seems I will have to replace my database with a backup because I keep getting

Error 9

Sub GetExploreData()


Dim SX As Double, SY As Double, SZ As Double, ZX As Double, ZY As Double, ZZ As Double, SID As Long, ZID As Long, z As Long, SZD As Double, ArDistance(1 To 50000) As Double
Dim ArExTemp As Variant, ArTemp As Variant, ArExploData As Variant, a As Long, Zeile As Long, lLZeile As Long, ArStars As Variant, x As Long
ReDim ArExTemp(1 To 100, 1 To 5), ArExploData(1 To 1000, 1 To 5)
ReDim ArTemp(1 To AzStars)
' Dim t As Double
' t = Timer
' MsgBox Timer - t & " sec", , "Makrolaufzeit"
x = 0
Worksheets("ExploreData").Range("A2:E1000001").ClearContents
Worksheets("Navigation_Sort").Range("S2:S" & AzStars + 1).ClearContents
Application.Calculation = xlCalculationManual
SID = ActualStarID
SX = Ar_DBStars(SID, 3)
SY = Ar_DBStars(SID, 4)
SZ = Ar_DBStars(SID, 5)
For z = 1 To AzStars
ZID = Ar_DBStars(z, 1) ' Ziel Stern
ZX = Ar_DBStars(ZID, 3)
ZY = Ar_DBStars(ZID, 4)
ZZ = Ar_DBStars(ZID, 5)
ArDistance(z) = Round(Sqr(WorksheetFunction.Power((SX - ZX), 2) + WorksheetFunction.Power((SY - ZY), 2) + WorksheetFunction.Power((SZ - ZZ), 2)) + 0.000001, 2)
If ArDistance(z) <= Jump_Limit Then
x = x + 1
ArExploData(x, 1) = Ar_DBStars(z, 1)
ArExploData(x, 2) = Ar_DBStars(z, 2)
ArExploData(x, 3) = ArDistance(z)
ArExploData(x, 4) = Ar_DBStars(z, 6)
ArExploData(x, 5) = Ar_DBStars(z, 7)
End If


Deleted TCE.idb
Replaced all mdb with latest backup (thank you for making that automatically !!!)

Added the same star with a space in the note box without any problem.

Spent a few hours with it, no other bugs for me so far :)
 
Last edited:
Still getting the same error entering a new system in the STAR DATABASE if I do not put at least a space in the note box.

Hello,

having really trouble to recreate your error. Okay, here i will show you my trying:

1. Flying into a star system, that TCE didnt have into its database (crosschecked with Cartography panel and Navigation).
2. Reaching the system, TCE displays the Star System Database panel, the name automatically entered.
3. Going to the galaxy map, checking the first reference SOL, paste the name into the the navigation search box, clicking then into the panel again, entering the distance, hitting enter to complete.
4. Clicking back to the search box, pasting WYRD into, clicking again into the panel, enterering the distance, hitting enter to complete.
5. Clicking back to the search box, pasting VEGA into, clicking again into the panel, enterering the distance, hitting enter to complete.
6. Clicking back to the search box, pasting LOGAD into, clicking again into the panel, enterering the distance, hitting enter to complete.
7. Now the SAVE button appeared, the State of Exploration Combobox is highlighted. Didnt touch the Star System Note box.
8. Pressing SAVE, panel is closing. Done.

Are you doing it the same way, or what differs? Thanks for helping me here.
 
hi eventure,
trade scout doesn't find any routes.
began with fresh db after 1.36, scanned a few very good markets around gliese 868, but it finds not a single route, no matter what parameters i enter.

edit: this is strange...:

View attachment 19184

there are definately more stations in it, with great profits. also, the dist. is fubared.
 
Last edited:
hi eventure,
trade scout doesn't find any routes.
began with fresh db after 1.36, scanned a few very good markets around gliese 868, but it finds not a single route, no matter what parameters i enter.

edit: this is strange...:

there are definately more stations in it, with great profits. also, the dist. is fubared.

Hello again,

making a complete new Trade Scout atm, so fixing the old is a waste of time. Releasing the V1.37 beta 1 late evening or tomorrow afternoon. Here is a preview screenshot:
NewTradeScout.JPG
 
Last edited:
Can I have a request please ?
When a new release comes out can you tell us whether the last version's database will work with it ?
That would be really useful info.
Thanks again for all of your effort in this.
 
Status
Thread Closed: Not open for further replies.
Back
Top Bottom