Resource icon

SimHub Swoop Plugin 0.9.3.5

Login or Register an account to download this content
New LivePosition in simhub used as RacePosition for player and all opponents
Have Fun whith this new feature !
  • Like
Reactions: Weini1972
Sorry last version had a bug
GT2 Cars and GT2 Serie
  • Like
Reactions: Weini1972
Gap behind is now in negative values
- Added McLaren 720s GT3 Evo
- Fixed MyCurrentSector3 time
- Fixed incident detection in front of me
  • Like
Reactions: M1GHTY M4VS
Bug Fix for the gapahead if the car is in P2
Bug Fixes on gap calculation
  • Like
Reactions: ozrick_major
Improvements for endurance races

- Added on current driver

MyMandatoryPitDone (number of)
MyDriverStintTotalTimeLeft
MyDriverStintTimeLeft

- Added on all opponents for leaderboard and API datas

TimeSinceLastPitStop --> some work for you @growe19!
LastPitDriverChanged
CurrentStintDuration

- Rewrite of the management code of the current sector status (invalid, better, overall best, slower)
- better support for spectator mode.
To activate telemetry in spectator mode it must be activated in Simhub.
This can be done while the game is running.
You can switch from spectator mode to normal mode, for example for endurance races when you are not the current driver you have to set telemetry mode in "spectator".


in parallel I am working on an additional application which will allow, without launching the game, to receive data from other pilots. This can be useful for those who do endurance to monitor the data of their teammates. What is not possible today with ACC.

Leave me a comment or a private message if you want to know more
The Bug
The Porsche 991 II GT3 Cup 2017 is listed as GT3 in
SimHubSwoopPlugin.SWLeaderBoard.Position1.Serie while it's a Cup car.

Thanks to @Cipha
Added MyEstimatedPositionIfPiting and MyEstimatedPositionIfPitingWithRepair datas to API.

Each one contains :

int RacePosition
int? OpponentAhead_RaceNumber
int? OpponentBehind_RaceNumber
TimeSpan? OpponentBehind_Gap
TimeSpan? OpponentAhead_Gap

To install the plugin, just unrar the archive file to your simhub root directory

Version 0.7.6
------------------



Added Estimated position if piting with and without repair.
To use this feature the plugin needs to know the time needed to cross the pits. This time is automatically calculated and stored by the plugin as soon as you perform a drive through.
So just do a drive trough once on a track, during a training session for example, and after that the plugin will know the time needed. he will therefore be able to make an estimate in all your next races on this track


MyPositionIfPiting.RacePosition
MyPositionIfPiting.OpponentBehind_Gap
MyPositionIfPiting.OpponentBehind_RaceNumber
MyPositionIfPiting.OpponentAhead_Gap
MyPositionIfPiting.OpponentAhead_RaceNumber

MyPositionIfPitingWithRepair.RacePosition
MyPositionIfPitingWithRepair.OpponentBehind_Gap
MyPositionIfPitingWithRepair.OpponentBehind_RaceNumber
MyPositionIfPitingWithRepair.OpponentAhead_Gap
MyPositionIfPitingWithRepair.OpponentAhead_RaceNumber

Added session informations :

Session.RainIntensity
Session.RainIntensityIn10min
Session.RainIntensityIn30min
Session.RainIntensityIn10minRealTime ==> using time multiplier for calculate real Time
Session.RainIntensityIn30minRealTime ==> using time multiplier for calculate real Time
Raceapp changed Api format.
This version is ok with their new data structure
  • Like
Reactions: Jose Ferreira
Fixed Bugs :

Cars Metadatas was Wrong on Porshe 991 GT3 Cup, Ferrari 488 and Emil Frey Jaguar G3 2012. Causing some errors in leaderboard datas.

Added properties

MyCarEngineMaps ==> Thanks to @herve45 for his work !
Session.TimeMultiplier
Session.SessionPhase
Session.GlobalGreen
Session.GlobalYellow
Session.GlobalYellow1
Session.GlobalYellow2
Session.GlobalYellow3
Session.GlobalRed
Session.GlobalWhite
Session.GlobalChequered
Session.Clock

Addition of an incident detection algorithm in front with provision of the following properties:

Session.Incident.DistanceFromPlayer
Session.Incident.FullName
Session.Incident.InvolvedCars
Session.Incident.Position
Session.Incident.RaceNumber
Session.Incident.ShortName


Add properties needed to make a leaderboard relative to the player based on the ranking.
Ahead1 to Ahead10 and Same thing for Behing
Ahead1 gives the car right in front of us, Ahead10 the car 10 positions ahead of us.
These properties are available if the UseRelativeLeaderBoard setting is enabled in the plugin settings


Add properties needed to make a leaderboard relative to the player based on the track position.
AheadOnTrakck1 to AheadOnTrack10 Same thing for Behing
AheadOnTrakck1 gives the car right in front of us, AheadOnTrack10 the car 10 positions ahead of us (only on the track).
These properties are available if the UseRelativeLeaderBoard On Track setting is enabled in the plugin settings


OThers :

Big refactoring of the code to allow to integrate other games in the future.
fixed the CurrentSector3Status (was always on Invalid)

added datas to SimHub

Session.TimeMultiplier
Session.Phase

added datas to API's LeaderBoard Datas

CurrentSector1Status
CurrentSector2Status
CurrentSector3Status
SplinePosition
LapsFromLastPitStop

string GetApiVersion() ==> return the version of the API exe
  • Like
Reactions: Jose Ferreira
Fixed API launch error on some configurations
Added Setting to launch API in hidden mode or not.

added datas to MyCar
MyCarDamages.Front
MyCarDamages.Rear
MyCarDamages.Left
MyCarDamages.Right
MyCarDamages.Center


added datas to API's LeaderBoard Datas

DeltaFromAllCarsBestLap ==> delta between car best lap and all cars best lap
DeltaFromBestLap ==> Delta between Car last Time and Car best Lap
RaceAppGlobalBestResult
RaceAppByTagBestResult ;
  • Like
Reactions: Jose Ferreira
Version 0.6.0

Now 40 opponents for leaderboard
Fixed RaceApp Championship predicted points and position
Added Lap history (5 laps) on leaderboard datas


LastLap1_Time ==> Lap before lastlap
LastLap2_Time ==> 2 Laps before lastlap
LastLap3_Time ==> 3 Laps before lastlap
LastLap4_Time ...
LastLap5_Time
LastLap1_S1
LastLap2_S1
LastLap3_S1
LastLap4_S1
LastLap5_S1
LastLap1_S2
LastLap2_S2
LastLap3_S2
LastLap4_S2
LastLap5_S2
LastLap1_S3
LastLap2_S3
LastLap3_S3
LastLap4_S3
LastLap5_S3


API to get datas and make any use of them in html or any other language
-----------------------------------------------------------------------

How to use API :
install AspnetCore 5 packages :

Activate "API Use" in Plugin Settings into SimHub
Close and reopen SimHub. Api is now running
You can use it on
http://localhost:8000/swagger/index.html

Acc Controller give datas from ACC in real time
AccTest Controller give static datas just for testing and development.

More documentation to come.
you want to use it, ask me and i'll try to reply asap.
Fixed For My Car

MyBestLapSector1
MyBestLapSector2
MyBestLapSector3

Added new DLC Cars and Séries (ST, CUP, CHL,TCX)
Added My Last Lap Sector 1,2 and 3
  • Like
Reactions: Jose Ferreira

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top