Recupdate history: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
==History==
==History==
{| class="wikitable"
{| class="wikitable"
! Version !! Code !! Name !! Date !! Changes
! Recupdate version !! Converts to identifier(first four bytes of new rec file)!! corresponding npcclient-version!! Date !! Changes
|-
|-
| v4 || 1004 || 1.7-beta2 || Aug 2023 || Added `byteAction`, `byteReserved` in `ONFOOT_SYNC_DATA`
| v4 || 1004 || 1.7-beta2 || Aug 2023 || Added `byteAction`, `byteReserved` in `ONFOOT_SYNC_DATA`
Line 7: Line 7:
| v3 || 1002 || v1.6-alpha || Jan 2023 || Added `wAmmo` in `INCAR_SYNC_DATA`
| v3 || 1002 || v1.6-alpha || Jan 2023 || Added `wAmmo` in `INCAR_SYNC_DATA`
|-
|-
| v2 || 1001 || v1.5 || Dec 05, 2022 || Added `ONFOOT_SYNC_DATA`, `bIsReloading`, `wAmmo`
| v2 || 1001 || v1.5 || Dec 05, 2022 || Added `bIsReloading`, `wAmmo` in `ONFOOT_SYNC_DATA`,
|-
|-
| v1 || 1000 || v1.1 || ||  
| v1 || 1000 || v1.1 || ||  
|}
|}
 
The structure of `ONFOOT_SYNC_DATA` and `INCAR_SYNC_DATA` as in v1 is as follows:
<poem>
v4
ONFOOT sync data new fields -> uint8_t  byteAction, uint8_t  byteReserved
INCAR sync data -> no change
v3
ONFOOT -> no change
INCAR ->uin16_t wAmmo
v2
ONFOOT -> uint8_t bIsReloading, uint16_t wAmmo
INCAR -> no change
v1
ONFOOT and INCAR was as below:
</poem>
<source>
<source>
typedef struct _ONFOOT_SYNC_DATA_V1
typedef struct _ONFOOT_SYNC_DATA_V1
Line 56: Line 43:
} INCAR_SYNC_DATA_BEFOREV3;
} INCAR_SYNC_DATA_BEFOREV3;
</source>
</source>
*The npcclient v1.8 beta can play .rec files of 1004 as well as 1005.

Latest revision as of 15:54, 26 September 2024

History

Recupdate version Converts to identifier(first four bytes of new rec file) corresponding npcclient-version Date Changes
v4 1004 1.7-beta2 Aug 2023 Added `byteAction`, `byteReserved` in `ONFOOT_SYNC_DATA`
v3 1002 v1.6-alpha Jan 2023 Added `wAmmo` in `INCAR_SYNC_DATA`
v2 1001 v1.5 Dec 05, 2022 Added `bIsReloading`, `wAmmo` in `ONFOOT_SYNC_DATA`,
v1 1000 v1.1

The structure of `ONFOOT_SYNC_DATA` and `INCAR_SYNC_DATA` as in v1 is as follows:

typedef struct _ONFOOT_SYNC_DATA_V1
{
	uint32_t dwKeys;
	VECTOR vecPos;
	float fAngle;
	uint8_t byteHealth;
	uint8_t byteArmour;
	uint8_t byteCurrentWeapon;
	bool IsCrouching;
	VECTOR vecSpeed;
	bool IsAiming;
	VECTOR vecAimDir;
	VECTOR vecAimPos;
} ONFOOT_SYNC_DATA_V1;
typedef struct _INCAR_SYNC_DATA_BEFOREV3
{
	uint16_t VehicleID;
	uint32_t dwKeys;
	QUATERNION quatRotation;
	VECTOR vecPos;
	VECTOR vecMoveSpeed;
	float fCarHealth;
	uint8_t bytePlayerHealth;
	uint8_t bytePlayerArmour;
	uint8_t byteCurrentWeapon;
	uint32_t dDamage;
	float Turretx;
	float Turrety;
} INCAR_SYNC_DATA_BEFOREV3;
  • The npcclient v1.8 beta can play .rec files of 1004 as well as 1005.