Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: PCARS2 UDP API Bug reports

  1. #1
    Kart Driver nabezokodaikon's Avatar
    Join Date
    Apr 2017
    Posts
    39
    Platform
    PC

    PCARS2 UDP API Bug reports

    Let's write a bug of UDPAPI of PCARS2, hoping that the bug information will arrive to PCARS2 developers.

    The UDP protocol version is limited to "Project CARS 2".

    If possible, ask one post to write one bug.
    Last edited by nabezokodaikon; 06-11-2017 at 02:45.
    The following 2 users likes this Post: Brado23, Maskmagog


  2. #2
    Kart Driver nabezokodaikon's Avatar
    Join Date
    Apr 2017
    Posts
    39
    Platform
    PC
    The sTyreCompound of sTelemetryData is sent with an empty character (all 0 value).

    In rare cases, correct values may be acquired.
    Last edited by nabezokodaikon; 06-11-2017 at 05:42.

  3. #3
    Kart Driver nabezokodaikon's Avatar
    Join Date
    Apr 2017
    Posts
    39
    Platform
    PC
    For timed session with sLapsTimeInEvent of sRaceData, the time value is always 32767.
    Last edited by nabezokodaikon; 06-11-2017 at 00:13.

  4. #4
    Kart Driver nabezokodaikon's Avatar
    Join Date
    Apr 2017
    Posts
    39
    Platform
    PC
    Tire data of sTelemetryData
    # FrontLeft
    * sTyreTempRight = Fixed 0
    * sTyreTempCenter = Fixed 0
    * sTyreTempLeft = Fixed 0
    * sAirPressure = Fixed 65467
    * sBrakeTempCelsius = Unknown value
    * sTyreWear = Unknown value
    * sRideHeight = Unknown value
    * sSuspensionRideHeight = Unknown value
    # FrontRight
    * sTyreWear = Increasing or decreasing
    # RearLeft
    * sTyreWear = It is unknown whether the value is correct when compared with RearRight.
    # RearRight
    * sTyreWear = It is unknown whether the value is correct when compared with RearLeft.

  5. #5
    Kart Driver nabezokodaikon's Avatar
    Join Date
    Apr 2017
    Posts
    39
    Platform
    PC
    There are too many bugs, I am tired...
    The following user likes this Post: Krobo


  6. #6
    Superkart Pilot SenorPez's Avatar
    Join Date
    Jan 2016
    Location
    Place
    Posts
    237
    Platform
    PS4
    Is there an official way to track API bugs and submit them to SMS? I'm getting caught up after 2 weeks down a real-life rabbit hole, and now that I've been working with the PCARS2 UDP API, I'm finding errors myself. That being said, I want to make sure any efforts to report bugs are at least seen by the powers-that-be... and I hope some of them can be fixed because there's a few doozies.
    Project CARS Replay Enhancer (Thread): http://forum.projectcarsgame.com/sho...eplay-Enhancer
    Kobernulf Monnur's Driver Journey: https://www.youtube.com/playlist?lis...mO1D9jU200jcWJ
    The following user likes this Post: BulletEyeDK


  7. #7
    Kart Driver nabezokodaikon's Avatar
    Join Date
    Apr 2017
    Posts
    39
    Platform
    PC
    I also looked for a way to tell the developer, but I could not find it.
    Therefore, I set this thread.

  8. #8
    Superkart Pilot SenorPez's Avatar
    Join Date
    Jan 2016
    Location
    Place
    Posts
    237
    Platform
    PS4
    Quote Originally Posted by nabezokodaikon View Post
    The mPartialPacketIndex of PacketBase of sParticipantVehicleNamesData has not been sent up to the value of mPartialPacketNumber.
    Quote Originally Posted by nabezokodaikon View Post
    The mPartialPacketIndex and mPartialPacketNumber of PacketBase of sVehicleClassNamesData are always sent with the same value, and it is impossible to combine data.
    These aren't bugs.

    sParticipantVehicleNamesData and sVehicleClassNamesData are the same packet type: eParticipantVehicleNames, differentiated by size.

    The documentation also states:
    // Note: This data is always sent with at least 2 packets. The 1-(n-1) holds the vehicle name for each participant
    // The last one holding the class names.
    Based on the defined limitations on data (max 32 participants, 60 class names per packet), there are only 2 cases: 2 total packets or 3 total packets, and only one of sVehicleClassNamesData is sent. The contract above also guarantees that the last packet sent is sVehicleClassNamesData.

    So in the minimum case of 2, the sParticipantVehicleNamesData packet will have mPartialPacketIndex 1 and mPartialPacketNumber 2. The sVehicleClassNamesData will have mPartialPacketIndex 2 (since it's always the last packet sent) and mPartialPacketNumber 2 (the total number of eParticipantVehicleNames packets sent).

    So in the case of 3, the sParticipantVehicleNamesData packets will have mPartialPacketIndex 1 and 2 and mPartialPacketNumber 3. The sVehicleClassNamesData will have mPartialPacketIndex 3 (since it's always the last packet sent) and mPartialPacketNumber 3 (the total number of eParticipantVehicleNames packets sent).
    Project CARS Replay Enhancer (Thread): http://forum.projectcarsgame.com/sho...eplay-Enhancer
    Kobernulf Monnur's Driver Journey: https://www.youtube.com/playlist?lis...mO1D9jU200jcWJ

  9. #9
    Kart Driver nabezokodaikon's Avatar
    Join Date
    Apr 2017
    Posts
    39
    Platform
    PC
    I see. ParticipantVehicleNamesData and sVehicleClassNamesData are data that is continuous.
    I understood that it was not a bug, so I will erase it.
    Last edited by nabezokodaikon; 14-11-2017 at 14:53.

  10. #10
    Kart Driver nabezokodaikon's Avatar
    Join Date
    Apr 2017
    Posts
    39
    Platform
    PC
    Patch 1.3.0.0

    There is no modification of the tire relationship.
    I have not confirmed everything yet, but the data size of TELEMETRY_DATA, PARTICIPANTS_DATA and TIMINGS_DATA has changed. Just adding unknown data to the end, it seems no problem.

    Bugs have increased ...

Similar Threads

  1. [BUG REPORTS] What I've found so far..
    By Brado23 in forum General Discussion
    Replies: 8
    Last Post: 27-09-2017, 04:02
  2. 2 bug reports
    By Skullblits69 in forum PS4 - Technical Help & Support
    Replies: 1
    Last Post: 18-05-2015, 17:49

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •