RiddleTime / Race-Element

Solutions for Sim Racing
https://race.elementfuture.com
GNU General Public License v3.0
77 stars 17 forks source link

Request broadcast data after Overlay is loaded and simplify EntryListTracker #184

Closed iFuSiiOnzZ closed 2 months ago

iFuSiiOnzZ commented 3 months ago
RiddleTime commented 3 months ago

Would it be an idea to have the broadcast UDP information and or status displayed as huds like the shared memory ones are?

iFuSiiOnzZ commented 3 months ago

Why kind of information? Apart from "TrackData" which is set once per session and "ConnectionState", all the other stuff is related to the cars on track (updated every X milliseconds). Well, probably "CarInfo" should be also quite stable (until a player gets into session or out of the session).

RiddleTime commented 3 months ago

Why kind of information? Apart from "TrackData" which is set once per session and "ConnectionState", all the other stuff is related to the cars on track (updated every X milliseconds). Well, probably "CarInfo" should be also quite stable (until a player gets into session or out of the session).

Perhaps just the connection and maybe the local car if available, though I could expand on the already existing broadcast realtime hud (pitwall section).

iFuSiiOnzZ commented 3 months ago

Perhaps just the connection and maybe the local car if available, though I could expand on the already existing broadcast realtime hud (pitwall section).

You could see the kilometers on track, see if it had any incident (last incident for instance), when it gets out of the pit have en extra state that says "Out lap", etc, but I have no idea, probably someone who does live broadcast as a better idea of what is useful and what not.

RiddleTime commented 2 months ago

I gave the debounce (5 second break) for the request of entry list a shot, that seems to work. As long as the generic data system is not finished this cannot be solved properly. With a generic system we just need to keep track of the data in 1 place and make it available like the shared memory, then additionaly we can have events that trigger like lap completed.