I did have a poke around to see if there was any way I could tell - perhaps the AI drivers were always added to the block after the player or something but I couldn't see a usable pattern
I have a problem with generating a unique Id for each session. The closest I got is SessionType + TrackInfo.TrackId + TrackInfo.LayoutId but that is not unique at all I'd appreciate if you can add some unique Id for each session. Thanks!
Hi, I am now developing a few in-game overlays using directX and at the moment I cannot tell from the Shared API if the user: 1. Had pause the game 2. Is in pits but not on the track, that is he is view the timing, changing the set etc. I need to hide the overlays if the users is in menu doing something. Thanks! Stefan
Can't you use the PlayerData.GameSimulationTime to detect pause / viewing replays? No idea about the other one. We could do with a better way to communicate our requests to the devs for this stuff really, to prevent requests getting lost
I checked GameSimulationTime but its value does not seem to change or make sense. I could be wrong though. Yeah, I think the requests here fall into a very deep dark well......not sure what they prefer. Or maybe they prefer we ask nothing haha
GameSimulationTime is the number of seconds since the session started I think. It definitely does get updated
Hello....sorry....maybe a little off-topic....but do you have detailed information about the shared memory API used by Race07? If yes, could you please provide it to me/us?
Could you also have a look at the tire temps? At first glance they look good, but i.e. when you try a make donuts to heat up rear tires you won't really notice a huge increase of temps. A quick word on the C example: In function 'is_process_running' the snapshot handle should be closed to avoid memory leaks. I am just mentioning this as people tend to copy code without looking at it in detail. Code: bool is_process_running(const TCHAR* name) { HANDLE hSnapshot = NULL; PROCESSENTRY32 entry; bool bRunning = false; ZeroMemory(&entry, sizeof(entry)); entry.dwSize = sizeof(PROCESSENTRY32); hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); if (INVALID_HANDLE_VALUE != hSnapshot) { if (Process32First(hSnapshot, &entry)) { while (!bRunning && Process32Next(hSnapshot, &entry)) { bRunning = _tcscmp(entry.szExeFile, name) == 0; } } CloseHandle(hSnapshot); hSnapshot = NULL; } return bRunning; } Regards René
It's the same as for GTL, GTR and GTR2. You should be able to google it. Each of the titles has a different shared memory name though: GTR: $SimBin$ GTR2: $gtr2$ GTL: $gtlegends$ RACE07: $Race$
Hey, I already found some Details, e.g.http://www.racedepartment.com/threads/how-to-get-live-data-from-race07.63386/ I just wondered if there was some additional data added in the meantime ;-)
Hi, Using the Shared Memory API, I would like to create a list of laps and then display some telemetry data for the lap the user has selected. How can I recognize the start of a new lap? I guess that to get the data we have to use some kind of reading rate (for example every 1/10 of a second or so). What should we use usually? Regards, Daniel
I am using Sensadigit's DashmeterPro since a few days now, but I don't seem to get water and oil temperature readouts, at least they never even reach 60°C, which is obviously too low... Or doesn't RR's API send these ? I looked at a few cockpit gauges too and there was not much happening either ?
R3E API definitely sends that data. If the data is good or not, that I would not know though. I can check on my dash.
The engine temp data you're seeing is what r3e is sending. The temperatures in most cars are unrealistically low