
Originally Posted by
Valbuena72
Thank you for the reply!
But I had resolved within hours.
Otherwise, the "Hotlap" if you change car (skin), with the same nickname. make it a duplicate of the hotlap.
There is there a way to remedy
thank you
Hi Val,
the way the hotlaps within the Loader are determined is:
Code:
"SELECT `TrackName`, `DriverName`, `VehicleClass`, `Vehicle`, `LapNo`, `LapTime` FROM `hotlaps` WHERE `TrackName` = '" & TrackName & "' AND `DriverName` = '" & DriverName & "' AND `VehicleClass` = '" & VehicleClass & "' AND `Vehicle` = '" & Vehicle & "' LIMIT 1"
I am thinking about removing the Vehicle parameter ...
Code:
"SELECT `TrackName`, `DriverName`, `VehicleClass`, `LapNo`, `LapTime` FROM `hotlaps` WHERE `TrackName` = '" & TrackName & "' AND `DriverName` = '" & DriverName & "' AND `VehicleClass` = '" & VehicleClass & "' LIMIT 1"
so in that case the VehicleClass would be "the leading parameter" to differ between Hotlaps per Driver per Track, but I am not sure yet. Anyhow the more I think about it, the more it does make sense doing it the second way ...
Cheers
Frank