Results 1 to 4 of 4

Thread: pCars2 UDP question

  1. #1
    GT5 Pilot mr_belowski's Avatar
    Join Date
    May 2015
    Posts
    1,476
    Platform
    PC

    pCars2 UDP question

    After staying away for a while because of the issues in the UDP stream, I thought I'd take a quick look today and see if I can use it.

    The very first packet I receive is 784 bytes long and in the packet header, the type is '10' (this is value of the byte at position 10 in the array). According to the header file in the documentation, these are the possible packet types:

    enum EUDPStreamerPacketHandlerType
    {
    eCarPhysics = 0,
    eRaceDefinition = 1,
    eParticipants = 2,
    eTimings = 3,
    eGameState = 4,
    eWeatherState = 5, // not sent at the moment, information can be found in the game state packet
    eVehicleNames = 6, //not sent at the moment
    eTimeStats = 7,
    eParticipantVehicleNames = 8
    };


    So am I right in assuming that trying to use this data is still a waste of time?
    Crew Chief details here http://forum.projectcarsgame.com/sho...r-for-PC-users
    Website, download link and forum: http://thecrewchief.org
    Or make a donation, if you think the chief needs to drink more beer:
    https://www.paypal.com/cgi-bin/websc...=LW33XFXP4DPZE

  2. #2
    WMD Member Sampo's Avatar
    Join Date
    Jun 2012
    Location
    Finland
    Posts
    632
    Platform
    PC
    A quick test with my app, it seems to work as before. I'm using PCars2 mode.
    CPU Intel i5 3570K @ 4.2 GHz | Motherboard Asus P8Z77-V LK | RAM 16GB 1600MHz DDR3 | GPU nVidia GTX980 4GB (390.77) | Audio Realtek 5.1 on MB | Screen AOC U3477PQU | OS Windows 7 Pro 64-bit | Wheel Logitech G27
    In-game settings: 2560x1080 / 3440x1440 | Texture Resolution HIGH | AF 16x | VSync ON | AA None | Reflections MED | Envmap MED | Vehicle HIGH | World HIGH | Shadows MED | Motion Blur NO | Render Frames Ahead 1 | Particles MED/MED/MED

    PC2Info, a PC program that shows most stats the game provides over UDP

  3. #3
    GT5 Pilot mr_belowski's Avatar
    Join Date
    May 2015
    Posts
    1,476
    Platform
    PC
    My post was more about the dilapidated state of the documentation really. The detective work needed to work out what the documentation should say, and how the data actually behave
    Crew Chief details here http://forum.projectcarsgame.com/sho...r-for-PC-users
    Website, download link and forum: http://thecrewchief.org
    Or make a donation, if you think the chief needs to drink more beer:
    https://www.paypal.com/cgi-bin/websc...=LW33XFXP4DPZE

  4. #4
    WMD Member Sampo's Avatar
    Join Date
    Jun 2012
    Location
    Finland
    Posts
    632
    Platform
    PC
    I agree that the documentation is on the low side. I had no real problems using the data by just looking at the include fles.
    CPU Intel i5 3570K @ 4.2 GHz | Motherboard Asus P8Z77-V LK | RAM 16GB 1600MHz DDR3 | GPU nVidia GTX980 4GB (390.77) | Audio Realtek 5.1 on MB | Screen AOC U3477PQU | OS Windows 7 Pro 64-bit | Wheel Logitech G27
    In-game settings: 2560x1080 / 3440x1440 | Texture Resolution HIGH | AF 16x | VSync ON | AA None | Reflections MED | Envmap MED | Vehicle HIGH | World HIGH | Shadows MED | Motion Blur NO | Render Frames Ahead 1 | Particles MED/MED/MED

    PC2Info, a PC program that shows most stats the game provides over UDP

Similar Threads

  1. PCARS2 in the media
    By breyzipp in forum General Discussion
    Replies: 690
    Last Post: 19-10-2018, 09:15
  2. PCARS2 UDP API Bug reports
    By nabezokodaikon in forum Third-Party Apps & API Discussion
    Replies: 45
    Last Post: 13-09-2018, 12:04
  3. would you get pcars2 if using a controller, currently?
    By luckyluca in forum Project CARS 2 on Playstation 4
    Replies: 74
    Last Post: 12-01-2018, 23:24
  4. No AA in pCARS2 (PS4)
    By pCARS1Player in forum Project CARS 2 on Playstation 4
    Replies: 28
    Last Post: 03-12-2017, 07:38
  5. How well would my system run Pcars2
    By Death Proof in forum Technical Help & Support (PC)
    Replies: 0
    Last Post: 28-09-2017, 16:18

Posting Permissions

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