Skip to content

Conversation

@Nico8340
Copy link
Member

Checks if the player exists and only then performs the next check which applies to the BitStream version.
Closes #3882.

Checks if the player exists and only then performs the next check which applies to the BitStream version
@TheNormalnij
Copy link
Member

won't work

Comment on lines -10865 to -10869
if (pPlayer->CanBitStream(eBitStreamVersion::FixSyncerDistance))
if (pPlayer)
{
BitStream.pBitStream->Write(g_TickRateSettings.iPedSyncerDistance);
BitStream.pBitStream->Write(g_TickRateSettings.iUnoccupiedVehicleSyncerDistance);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need min client version check here.
The new client always expects all data.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, thanks for reporting the issue, but could you please elaborate on it and how exactly it should be solved?

@Nico8340 Nico8340 closed this Dec 15, 2024
@Nico8340 Nico8340 deleted the cleanup/3866 branch December 15, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setServerConfigSetting crashes on latest nightly

2 participants