ACC Results Companion

Misc ACC Results Companion 1.24.4

Login or Register an account to download this content
Hi Doug, Just update to 1.9.2
Yesterday I reverted ARC so starting database is 1.9.0. After changing track year from one session (Misano from 2019 to 2020), logs gives me errors.
After restart, logs still shows errors.

Result statistics tab is now empty.

edit : looking at backups tab shows some result tagged as unknown for "track/current event"
seems only related to hotstint session from ACC 1.6,

edit2: these hotstint sessions are correctly displayed in sessions tab.

Code:
[00000001] 2020-11-22 09:44:17 DEBUG OLVControlResultStats.UpdateResultStats : Updating result stats for Track , car , isOnline
[00000001] 2020-11-22 09:44:17 ERROR ResultsDB.getResultStats : Error getting raw result statistics Specified cast is not valid.
   at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
   at System.Data.SQLite.SQLiteDataReader.GetString(Int32 i)
   at ACCResults.ResultsDB.getResultStats(String trackId, Int32 carModelId, Int32 isOnline, Boolean aggregateByTrack, Boolean aggregateByCar, Boolean aggregateByOnline) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDB.cs:line 5074
Caused by :
   at ACCResults.ResultsDB.getResultStats(String trackId, Int32 carModelId, Int32 isOnline, Boolean aggregateByTrack, Boolean aggregateByCar, Boolean aggregateByOnline) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDB.cs:line 5122
   at ACCResults.OLVHelpers.OLVControlResultStats.UpdateResultStats() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\OLVHelpers\OLVControlResultStats.cs:line 96
   at ACCResults.TabControls.TabControlResultStats.UpdateResultStats() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\TabControls\TabControlResultStats.cs:line 84
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TabControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at ACCResults.Program.Main() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\Program.cs:line 19
 
Last edited:
Hi Doug, Just update to 1.9.2
Yesterday I reverted ARC so starting database is 1.9.0. After changing track year from one session (Misano from 2019 to 2020), logs gives me errors.
After restart, logs still shows errors.

Result statistics tab is now empty.

edit : looking at backups tab shows some result tagged as unknown for "track/current event"
seems only related to hotstint session from ACC 1.6,

edit2: these hotstint sessions are correctly displayed in sessions tab.

Code:
[00000001] 2020-11-22 09:44:17 DEBUG OLVControlResultStats.UpdateResultStats : Updating result stats for Track , car , isOnline
[00000001] 2020-11-22 09:44:17 ERROR ResultsDB.getResultStats : Error getting raw result statistics Specified cast is not valid.
   at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
   at System.Data.SQLite.SQLiteDataReader.GetString(Int32 i)
   at ACCResults.ResultsDB.getResultStats(String trackId, Int32 carModelId, Int32 isOnline, Boolean aggregateByTrack, Boolean aggregateByCar, Boolean aggregateByOnline) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDB.cs:line 5074
Caused by :
   at ACCResults.ResultsDB.getResultStats(String trackId, Int32 carModelId, Int32 isOnline, Boolean aggregateByTrack, Boolean aggregateByCar, Boolean aggregateByOnline) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDB.cs:line 5122
   at ACCResults.OLVHelpers.OLVControlResultStats.UpdateResultStats() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\OLVHelpers\OLVControlResultStats.cs:line 96
   at ACCResults.TabControls.TabControlResultStats.UpdateResultStats() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\TabControls\TabControlResultStats.cs:line 84
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TabControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at ACCResults.Program.Main() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\Program.cs:line 19

OK 2 issues here
- Result statistics will blow up if unknown track found
- Something was recording the track incorrectly

Can you upload the diagnostics (session->right click Export Diagnostics) and then I should be able to see what is broken
 
It looks like an earlier issue (already fixed) corrupted the result statics table. v1.9.3 corrects this and rebuilds the stats (along with some preventative code stopping it from happening again)
Everything seems to be working.
Nevertheless, I still have an UNKNOWN label for "Track/current event" on Backups tab after doing a hotstint at Imola (season 2020).
Do you know what could lead to that ?

edit :
I think it's could be due to the way json file is named, race and hotstint have different name for the same track.
For race (correctly detected) -> Race.<car name>_imola_Race.<id>.json
For hotstint (unknown track) -> Hotstint.<car name>_autodromo enzo e dino ferrari_Hotstint_<id>.json
 
Last edited:
Everything seems to be working.
Nevertheless, I still have an UNKNOWN label for "Track/current event" on Backups tab after doing a hotstint at Imola (season 2020).
Do you know what could lead to that ?

edit :
I think it's could be due to the way json file is named, race and hotstint have different name for the same track.
For race (correctly detected) -> Race.<car name>_imola_Race.<id>.json
For hotstint (unknown track) -> Hotstint.<car name>_autodromo enzo e dino ferrari_Hotstint_<id>.json

I hadn't noticed that. The backups use the track ID from the primary interface (for SP race, it is the season entity file, for all others, it is the Broadcast/UDP interface). For some reason Kunos like using completely different track codes between shared memory, results file and the UDP interface. When I was rushing to get the update out on Wednesday, I didn't know the UDP code for Imola (it isn't documented anywhere, unlike results files/shared memory).

When I put the next patch out, it will fix up the backup display
 
Hi There,

great app, thanks so much for your hard work. May I ask you something??

Any chance you could make an option to leave it only o System Tray when minimized?
This would be great to start with windows and leave it open all the time.

Thanks again.
 
Hi,
Right click the icon in the system tray and select hide when minimised

1606234240954.png
 
  • Deleted member 1053025

Hi, Doug! I've been using ARC for a while now and I love it. It does so many things for ACC that the sim just doesn't have and lately I'm really impressed with many fine additions. One more thing that would surely please the SP crowd would be a custom championship tracker/organizer built into your app. Have you given any thought to it?
 
Hi, Doug! I've been using ARC for a while now and I love it. It does so many things for ACC that the sim just doesn't have and lately I'm really impressed with many fine additions. One more thing that would surely please the SP crowd would be a custom championship tracker/organizer built into your app. Have you given any thought to it?

How do you mean? Do you mean display the current championship running in ACC or allow a number of "virtual" championships to be set up (ie you assign a completed race to a championship you've set up in ARC and it assigns points etc)?

I used to do the former before ACC displayed the championship status - I figured ACC did it better than me, and besides which it looks like the information provided has changed a couple of times since then.

The latter is a possibility, unless of course you mean something completely different...
 
  • Deleted member 1053025

How do you mean? Do you mean display the current championship running in ACC or allow a number of "virtual" championships to be set up (ie you assign a completed race to a championship you've set up in ARC and it assigns points etc)?

I used to do the former before ACC displayed the championship status - I figured ACC did it better than me, and besides which it looks like the information provided has changed a couple of times since then.

The latter is a possibility, unless of course you mean something completely different...

Hi, I'm sorry, my question must seem a bit vague... I mean the latter- a true custom championship manager that would allow setting up other chapionships than those predefined in ACC (the 2019 GT4 and 2018/19 GT3). Single make cups (Lamborghini ST, Cayman Cup, Trofeo Maserati etc.) that are not possible in-game come to mind. More intereresting possibilities when British GT dlc eventually lands...

The player would define (inside ARC) the number of events, races per event, race length etc. (considering the limitations of the in-game custom weekend setup).
When starting a race weekend player would tell ARC that it is part of a championship and leave it to app to track and present the results of all race weekend sessions. Would that be possible, considering ARC gathers so many data from ACC sessions?

If this all seems like complete bs and too much trouble, I'd understand if you'd say no :) It would be a great addition to ARC though, IMHO.

Regards, J
 
Hi, I'm sorry, my question must seem a bit vague... I mean the latter- a true custom championship manager that would allow setting up other chapionships than those predefined in ACC (the 2019 GT4 and 2018/19 GT3). Single make cups (Lamborghini ST, Cayman Cup, Trofeo Maserati etc.) that are not possible in-game come to mind. More intereresting possibilities when British GT dlc eventually lands...

The player would define (inside ARC) the number of events, races per event, race length etc. (considering the limitations of the in-game custom weekend setup).
When starting a race weekend player would tell ARC that it is part of a championship and leave it to app to track and present the results of all race weekend sessions. Would that be possible, considering ARC gathers so many data from ACC sessions?

If this all seems like complete bs and too much trouble, I'd understand if you'd say no :) It would be a great addition to ARC though, IMHO.

Regards, J

Some aspects would fit quite neatly with something else I'm looking at. I'll have a think about how it might work
 
Also, it now seems to get confused with the years.

View attachment 422595
View attachment 422596
This hotlap session was on Spa 2020, the .json title says 2019, and the Session window says 2018...

Can you send me the diagnostics for this (right click in sessions and Export Diagnostics). All these should have been addressed in 1.9.0-1.9.2 but it looks like the upgrade didn't work properly for some reason
 
In ACC, tracks like Spa have different grip levels between 2018 and 2019 (don't know about what is modelled for the 2020 other than it uses different tyre model than the other two years). I see that quite a few tracks in ACC RC are called 2018/2019, are these called this as they use the same grip level?
 
Last edited:
In ACC, tracks like Spa have different grip levels between 2018 and 2019 (don't know about what is modelled for the 2020 other than it uses different tyre model than the other two years). I see that quite a few tracks in ACC RC are called 2018/2019, are these called this as they use the same grip level?
yes 2018/2019 label is for track without modification between season.
2020 is to take into account new tyre, which modify slightly the lap time.
Remember that due to lack of information in gathered datas, ACR track year needs to be updated by hand. (right click on session, change track year)
 
Last edited:

Latest News

How often do you meet up (IRL) with your simracing friends?

  • Weekly

    Votes: 36 8.5%
  • Monthly

    Votes: 20 4.7%
  • Yearly

    Votes: 29 6.9%
  • Weekly at lan events

    Votes: 3 0.7%
  • Monthly at lan events

    Votes: 2 0.5%
  • Yearly at lan events

    Votes: 10 2.4%
  • Never have

    Votes: 331 78.3%
Back
Top