Results 1 to 2 of 2

Thread: Problem in current UDP definition file

  1. #1
    Kart Driver
    Join Date
    Jul 2018
    Posts
    7
    Platform
    PC

    Problem in current UDP definition file

    In telemetry data it is written:
    Code:
                    struct sTelemetryData
    		{
    			static const	unsigned int	sPacketSize = 559;
    			PacketBase			sBase;														// 0 12
    																												// Participant info
    			[...]
    
    																												// Car damage
    			unsigned char							sAeroDamage;											// 371 1
    			unsigned char							sEngineDamage;										// 372 1
    																												//  HW state
    			unsigned int							sJoyPad0;													// 376 4
    			unsigned char							sDPad;														// 377 1
    			char						sTyreCompound[4][TYRE_NAME_LENGTH_MAX]; // 378 160
    			float							sTurboBoostPressure;							// 538 4
    			float							sFullPosition[3];									// 542 12
    			unsigned char							sBrakeBias;												// 554 1 -- quantized brake bias
    			unsigned int							sTickCount;												// 555
    		};
    According to this:
    - sEngineDamage is a byte in position 372, but sJoyPad0 starts 4 bytes later...
    - sJoyPad0 is a unsigned integer in position 376, but sDPad is located in position 377

  2. #2
    WMD Member Sampo's Avatar
    Join Date
    Jun 2012
    Location
    Finland
    Posts
    591
    Platform
    PC
    I guess sJoyPad0 starts at 373 and is 4 bytes long. I haven't checked this though.
    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 memory mapped stats the game provides.

Similar Threads

  1. What is the current version for XB1
    By tkn in forum Technical Help & Support (XBOX1)
    Replies: 2
    Last Post: 27-04-2018, 14:49
  2. Current date
    By muerteh 650 in forum Project CARS 2 on XBOX One
    Replies: 6
    Last Post: 20-12-2017, 21:10
  3. Definition of racing screen
    By Bob_bob in forum General Discussion
    Replies: 2
    Last Post: 11-07-2015, 07:40
  4. Invalid current and next lap
    By Kruleworld in forum General Discussion
    Replies: 45
    Last Post: 07-06-2015, 23:56
  5. Helmet Cam Settings Definition
    By R2Dom2 in forum Project CARS on Playstation 4
    Replies: 5
    Last Post: 23-05-2015, 13:58

Posting Permissions

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