Resource icon

Misc SimHub Swoop Plugin 0.9.3.5

Login or Register an account to download this content
dde32 submitted a new resource:

SimHub Swoop Plugin - SimHub Plugin

Simhub.Swoop.Plugin​

Here is a small plugin for SimHub. It allows you to have some additional information for your personalized dashboards.
In particular, I made sure to have precise information for Mixed races. An important point to note also is that what I declared as DriverAhead and DriverBehind does not work like that of SimHub.
In this plugin we take the car in front or behind in the classification and not in front or behind on the track. If the car in front is a...

Read more about this resource...
 
This is great, super super useful in a category based race. Do you also have available:
  • SameClassDriverBehind* -> Driver just behind of the ranking in the same category

  • DriverName - all property groups

...as a set of properties?
 
Last edited:
Hi !

Actually no i don't have

SameClassDriverBehind​

but i can do it. Great idea.
And i can add DriverName for all groups.

I will do it asap !
 
dde32 updated SimHub Swoop Plugin with a new update entry:

version 0.2 Added Driver Name and SameClassDriverBehind group

new Availables properties

DriverName for all groups

And

SameClassDriverBehind * -> Driver just behind of the ranking in the same category

SameClassDriverBehindBestlapTime
SameClassDriverBehindCarNumber
SameClassDriverBehindName
SameClassDriverBehindGapToPlayer
SameClassDriverBehindLapDelta
SameClassDriverBehindLapsToPlayer
SameClassDriverBehindPiting
SameClassDriverBehindPosition
SameClassDriverBehindPositionInClass

Read the rest of this update entry...
 
Hi All,

Growe19 pointed out to me that the information provided by the plugin is not always correct.

We talked about it among ourselves but I think the conversation might interest other people. If so, here is my last post.

Everyone's opinions interest me.

Message :
After quite a bit of debugging and data analysis. I could understand that the information provided by the SimHub SDK are not correct.

I was able to extract all the data and it turns out that the notion of CarClass is not well managed.
SDK data intentionally hides game-specific information.

So I started looking at specific ACC data and there's something really good that can be done.

Basically I will have to mix the information from the SimHub SDK and the information from the ACC data.

ACC provided me with much more complete information on each car.
Here is an example of the information structure of a Car
I've bolded what I find useful.



"2":{
"CarIndex":2,
"DriverIndex":0,
"Gear":0,
"Kmh":99,
"Position":3,
"TrackPosition":0,
"SplinePosition":0.3639444,
"Delta":-153,
"BestSessionLap":{
"LaptimeMS":116697,
"Splits":[
55787,
43935,
16975
],
"CarIndex":2,
"DriverIndex":0,
"IsInvalid":false,
"IsValidForBest":true,
"Type":2
},
"LastLap":{
"LaptimeMS":116697,
"Splits":[
55787,
43935,
16975
],
"CarIndex":2,
"DriverIndex":0,
"IsInvalid":false,
"IsValidForBest":true,
"Type":2
},
"CurrentLap":{
"LaptimeMS":46247,
"Splits":[
null,
null,
null
],
"CarIndex":2,
"DriverIndex":0,
"IsInvalid":false,
"IsValidForBest":true,
"Type":2
},
"Laps":4,
"CupPosition":3,
"DriverCount":1,

"CarEntry":{
"CarIndex":2,
"CarModelType":22,
"TeamName":"Jota",
"RaceNumber":38,
"CupCategory":0,
"CurrentDriverIndex":0,

"Drivers":[
{
"FirstName":"Rob",
"LastName":"Bell",
"ShortName":"BEL",
"Category":3,
"Nationality":5
}
],
"Nationality":5
},
"RacePosition":3
},

And Here is DriverCategories

public enum DriverCategory
{
Platinum = 3,
Gold = 2,
Silver = 1,
Bronze = 0,
Error = 255
}



The question now is to know what is interesting to go back to the plugin level.
Initially what I wanted to do was to provide information according to the CupCategory and not necessarily the Driver Category.
We can possibly speak of
CarAhead
CarBehind
SameCategoryCarAhead
SameCategoryCarBehind

For each car we could provide the name of the current driver and his category.

What do you think ?
 
dde32
Do you use it for ACC or another game ? I'm working on a huge update but specific for ACC because Simhub generic datas are too poor.

I use it only on ACC but i stop it for now cause your plugin freeze Simhub sometimes. I look forward to this new version.
 
Yes i think there was a performance issue in version 0.3.
Version 0.4 is much more perf.

I'll do more test this evening before releasing version
 
Last edited:
dde32 updated SimHub Swoop Plugin with a new update entry:

Version 0.4.2 Major update

Major update.
Now using only Acc specific datas.
Improve performances and Loging

This plugin aims to provide data that can be used globally, By Serie (GT3 / GT4) by driver category (and serie) or by Cup Category (and serie).
Please note that this plugin uses specific ACC data and can therefore only work correctly with ACC.
A more generic version may be produced.

Serie
{
GT3 = 0,
GT4 = 1
}


DriverCategory
{
Bronze = 0,
Silver = 1,
Gold = 2,
Platinum = 3
}...

Read the rest of this update entry...
 
Top, faster than I can imagine.
But, because my impudence has no limit, is it possible also to grab inner, middle and outer temeprature for ACC? Native Simhub functions don't...
Many, many thanks again
 
Yes datas are availables but that is the format :
"TyreTempI":[
0.0,
0.0,
0.0,
0.0
],
"TyreTempM":[
0.0,
0.0,
0.0,
0.0
],
"TyreTempO":[
0.0,
0.0,
0.0,
0.0
],

I don't have the information on what is FL, FR, RL, RR. For me the first value should be FL, then FR, then RL then RR. i can do it whit that logic and you can test it ?
 
Arghhh !
I looked at the data sent by the game and in fact the tables which are supposed to contain the temperatures IMO are empty. Everything always stays at 0... Sorry
 

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top