Ideas

MikadinN's avatar
MikadinN
Rising Rookie
2 months ago
Status:
New

UDP Telemetry - Wrong PenaltyType for 10 sec penalty

When 10 seconds penalty is awarded to a driver, penaltyType is "Stop-go" (value 1) and infringementType is "Ignoring yellow flags" (value 12). 

Same result occurs for infringementType "BigCollision" (value 3).

But if I corner cut something like Turns 1-2 at Monza, it gives it out correctly as a penaltyType "TimePenalty" (value 4) .

    struct
    {
        uint8 penaltyType;        // Penalty type – see Appendices
        uint8 infringementType;   // Infringement type – see Appendices
        uint8 vehicleIdx;         // Vehicle index of the car the penalty is applied to
        uint8 otherVehicleIdx;    // Vehicle index of the other car involved
        uint8 time;               // Time gained, or time spent doing action in seconds
        uint8 lapNum;             // Lap the penalty occurred on
        uint8 placesGained;       // Number of places gained by this
    } Penalty;

 

No CommentsBe the first to comment