citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.4k stars 1.99k forks source link

fix(ros): update RGSC_GET_VERSION_INFO to pretend to be 2.3.2.5 #2577

Closed ur3k-lw closed 1 month ago

ur3k-lw commented 1 month ago

Goal of this PR

I have encountered an issue where the client incorrectly thinks it is running version 2.1.6.5. Due to a new update that requires version 2.3.2.5, this discrepancy is causing compatibility problems and unexpected behavior in dependent systems.

How is this PR achieving the goal

To address this issue, updating the RGSC_GET_VERSION_INFO function to return version 2.3.2.5, regardless of the actual version. This change will stop the client from thinking it's on version 2.1.6.5 and ensure compatibility with the new update.

This PR applies to the following area(s)

FiveM, ROS

Game builds: Not applicable

Platforms: Windows

Checklist

Fixes issues

Didn't find any reports.

nihonium-cfx commented 1 month ago

Fixed in https://github.com/citizenfx/fivem/commit/38dd75dec7d49b74761fec7d1b6982a931c457b8.