Community Pulse - June 2024

Hi everyone,

A huge range of updates to share with you in our latest Pulse, including support for GTA Online: Bottom Dollar Bounties, the latest Red Dead Online Stability Title Updates, a slew of development fixes and improvements, a new txAdmin update, and our latest featured servers from around the community.


Development

GTA Online: Bottom Dollar Bounties

Support for the latest GTAV Title Update, GTA Online: Bottom Dollar Bounties, has now been released on FiveM’s canary update channel!

Set your sv_enforceGameBuild server command to 3258 using Cfx.re platform server version 8851 or higher to be able to test it. If you are experiencing issues, please join our Discord server and send a message in #fivem-server-owners.

RedM

Work on RedM continues with support for the latest Red Dead Redemption 2 performance and stability patch (1491.50), which has been successfully deployed to production.

We also received notable contributions to RedM from Ktos93 increased game pools, enabling more Ambient Mask Volumes (AMVs), fragments, timecycle boxes, and other elements and from Ehbw enabling our Lua “One Argument List” (OAL) feature to be used on RedM. Stay tuned for more updates as we continue to improve the RedM framework.

Discord Activity Status Privacy

Thanks to a community contribution from @tens0rfl0w, we now have a privacy toggle in our game clients for your Discord Activity Status (a.k.a. Rich Presence).

image

With this improvement, you are now able to choose between three settings for your RedM or FiveM activity status:

  • Enabled: Displays the current server you are playing on and allow server owners to customise your activity status
  • Hide Status: Will only shows if you are playing on RedM or FiveM.
  • Disabled: Disable your Discord Activity Status for RedM or FiveM.

Enabled:
image

Hide Status:
image

Development Experiments

While we are continuously working on improving automated testing capabilities for FiveM, RedM and the Cfx.re platform server, we want to ensure that we are minimizing any negative impact on our live release channels.

To support this initiative, we have created a new section on our Forum called “Experiments.” Here, our development teams will release experimental client and server builds, allowing us to get early feedback on new features, major changes, updates to third-party dependencies or community contributions and suggestions. For each experimental change, we provide detailed explanations of the modifications and outline the specific areas we would like to have tested for feedback from Experiments group members.

If you would like to get access, please use the “Request” button on this page and provide us with a short explanation of how you could help us test these experimental builds.

New Feature: Fuel Consumption System

We’ve added a brand new feature to FiveM for you to utilize: Fuel consumption!

By default, vehicles in GTAV and FiveM do not consume fuel - however with our new natives, such as SET_FUEL_CONSUMPTION_STATE and SET_FUEL_CONSUMPTION_RATE_MULTIPLIER, you can now enable fuel consumption and customize it to fit your needs.

You can find out more on our dedicated documentation page!

Example Resources

The example resources we mentioned back in February have now been released to the public!

These two resources are here to provide you with quick code examples on creating Team Deathmatch or Capture the Flag game modes in FiveM, which are initial steps in our upcoming efforts to expand educational content for developers.

You can find them on this GitHub repository, and as always, community contributions and feedback are welcomed!

Game Clients and Server Changes

  • Optimized DLC checks in pure mode
  • Fixed crash when disconnecting with Pool Monitor enabled
  • Extended UGC critical pools in RedM (Thanks Ktos93)
  • Fixed KVP native nullptr issue (Server Crashing When A Certain Person Joins The Server - Cfx.re Community)
  • Added pools monitor for FiveM and RedM
  • Fixed hot-lactose-april crash
  • NodeJS: Increased heap size per isolate to match system memory
  • Added ConVar to block ScriptEntityStateChangeEvent to prevent abusing
  • Fixed packets routing with disabled OneSync
  • Added SET_INTERIOR_PROBE_LENGTH native to FiveM
  • Fix for ped component expression mods limit.
  • Fixed stack overflow in event destructor
  • Fixed regression after mr-228
  • Fixed regression in StateBags handling
  • Prometheus metrics buckets changed to smaller values
  • Improved logic of HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED native
  • Fixed issue with DrawLine2D #2124 · GitHub
  • New experimental Client->Server StateBag packet serializer and server handler with faster serialization and deserialization.
  • Restored rpmalloc library as custom allocator for our Lua runtime
  • Fixed incident with RGL showing prompt to update itself
  • Fixed issue with loading screen that happened on 2nd+ connection to server without game restart. (“Loading dlc_xyz 68 of undefined”)
  • The correct amount of DLCs are now shown in the loading screen.
  • OAL natives have been enabled for RedM (Thanks to @Ehbw).
  • Added GET_VEHICLE_GEAR_RATIO and SET_VEHICLE_GEAR_RATIO to create custom gear ratios for vehicles (Thanks a lot to RickyB505 for working on this).
  • Added SET_PED_MELEE_COMBAT_LIMITS to increase the limits on the number and types of melee combatants.
  • Added GET_VEHICLE_TYPE and GET_VEHICLE_TYPE_RAW to get a vehicle model type on the client.
  • Added SET_VEHICLE_NITRO_PTFX_RANGE to increase the maximum range for displaying veh_nitrous particle effects.
  • Added GET_CURRENT_PED_WEAPON on the server to get the currently equipped weapon.
  • Mono V2 now uses a custom MessagePack serializer to improve the event and exports experience.
  • Backport exhaust bone changes to older game builds.
  • Added a game_sanitizeRagdollEvents console variable to stop routing illegitimate ragdoll events.
  • Fixed an issue with the Rockstar Games Editor when using very large streaming assets.
  • Fixed a crash with our RAGE formats converter (Thanks to Ktos93).
  • Fixed an issue with the Steam integration on the latest Steam beta.
  • Fixed the native definition for SET_PED_HAIR_COLOR missing on the server (Thanks to @tens0rfl0w).
  • Fixed an error with to-be-closed variables in Lua 5.4 when an uncaught error occurs (Thanks to kajkul).
  • Fixed a server crash when calling Mumble natives with a string source.
  • Fixed RedM and FiveM ownership verification for the latest Rockstar Games Launcher update.
  • Fixed a crash caused by calling DRAW_MARKER with an invalid index.
  • Fixed an issue with voice chat in RedM in build 1491.50.
  • Fixed an issue where a NPC ped would appear in a vehicle created by the server.
  • Fixed an issue where drag-and-drop would hang the Chromium view.
  • Fixed IS_BIT_SET not working in newer game builds.
  • Fixed an issue causing corrupt audio when using too many submixes.
  • Fixed float values not being serialized in NUI callbacks.
  • Fixed performance of several server endpoints such as /info.json.
Git Changelog

Nobelium-cfx (8):

  • [ae65681e3] feat: Implement fuel consumption logic and add helper natives

  • [8b651f198] style(game/five): Rename global fuel consumption variables

  • [c4d2f2b2d] fix(game/five): Improvements and refactoring of fuel consumption

  • [efd1390c6] refactor(game/five): Refactor fuel consumption system

  • [4ba5737f9] style(game/five): Replace bool with BOOL in native declaration

  • [840719e39] fix(game/five): display correct amount of dlcs that will be loaded

  • [c145ba18a] fix(game/five): display load counter to start from 1 instead of 0

  • [f4023c6a3] fix(game/five): always display total count of functions when loading

AvarianKnight (2):

  • [eff3edb82] feat(net): attribute proper packet names for timeout

  • [f51ba8323] tweak(citizen-scripting-v8): increase heap size per isolate to match system memory

Disquse (10):

  • [fa126e7b2] feat(shared): game build uniquifier support

  • [40ba284d5] fix(net): don’t include revision “0” in game build field

  • [9372f1e69] fix(playernames/five): better gamer tag crew component fix for b3095

  • [5713c3b29] tweak(extra-natives/five): clamp marker type index

  • [2691bd956] feat(rdr3): upgrade build 1491 to 1491.50

  • [ec739272c] tweak(game/rdr3): update dump for 1491.50

  • [a1c2d930f] tweak(rdr3): remove filemapping for FSR-related DLLs in RedM

  • [1e9819e2a] tweak(onesync): temporary net event id mapping

  • [adbb6abf1] tweak(ros): add missing privileges

  • [34620eefb] tweak(core/five): workaround for ped component expression mods limit

Ehbw (1):

  • [68309dc3f] feat(scripting/lua): redm oal natives

Fabian Terhorst (41):

  • [e06fbea04] tweak(server): move GetStatusOutOfBand out of GameServer

  • [ea9d222b0] tweak(client): remove NetProtoVersion

  • [382018939] tweak(client): display connection error if the server is using bitVersion < 0x202103292050

  • [93e988ae9] tweak(server): execute packet handler directly if required thread is net

  • [628c52bb6] tweak(server): use compile time define packet handler for msgServerEvent

  • [cd555f990] feat(tests): add resource manager for tests

  • [cb337b09f] feat(tests): add server event tests

  • [ec8e9e70e] tweak(server): move rcon, improve GetStatusOutOfBand

  • [c1eb268c2] feat(tests): add GetStatusOutOfBand tests

  • [6dc42c1ec] tweak(server): allow dropping client by reason string

  • [a0179daab] tweak(server): improve packet handlers and move out of game server

  • [056e27174] tweak(server): fix warning of missing return

  • [72a2ef8b1] tweak(server): use cached connected client counts in info json

  • [e78300d65] tweak(server): remove none required allocation

  • [712ac357b] tweak(server): add rate limit to msgArrayUpdate

  • [0b6e8c1ea] fix(tests): linux linking

  • [eb31faab7] fix(tests): replace COMPONENT_EXPORT with SERVER_IMPL_EXPORT macro

  • [5f15f0a5d] tweak(server): improve msgServerCommand handling

  • [61015126d] feat(tests): add server command tests

  • [104119245] fix(tests): routing and event tests for new packet handler

  • [323f85b58] feat(server): move time sync req to a own packet handler file

  • [82f0679fb] feat(tests): add time sync request tests

  • [6791f4c42] feat(tests): add console context instance helper

  • [738ae9a07] fix(tests): adjust status out of band handler after convar change

  • [a2035ef40] tweak(server): move rcon command fallback to packet handler

  • [f51b2100c] fix(tests): execution in debug

  • [c3c86e46d] fix(server): command length

  • [54568f712] fix(server): quit reason

  • [f38ba5727] tweak(tests): adjust command tests to the client behavior

  • [0b5824dad] feat(net): add Serialization

  • [7808e82ab] feat(shared): add new state bag endpoint

  • [1375bf783] feat(client): add BitVersion to send new state bag key value updates

  • [4d9e16756] tweak(server): add msgStateBagV2 endpoint and msgStateBagV2 when state bag component is v2

  • [f15fe7209] feat(server): increase and refactor bit version

  • [45666a5e1] feat(tests): add state bag component benchmark

  • [3711cc014] feat(server): add sv_experimentalStateBagsHandler

  • [b4cd5c89a] fix(net): linux compile

  • [d1b50baaf] fix(server): packet handler declaration

  • [3f8f84259] fix(server): sv_experimentalStateBagsHandler

  • [22d9149f3] fix(server): msgRoute size

  • [171bc51e1] tweak(server): add previous net id to assign event and improve connected checks

Gottfried Leibniz (47):

  • [219f2a614] tweak(resources/client): ioerror debugging

  • [7193f48f1] fix(shared): FLOAT32 serialization

  • [8ad0a51dd] feat(extra-natives/five): SET_VEHICLE_NITRO_PTFX_RANGE

  • [730bb5abb] feat(extra-natives/five): backport b3095 exhaust bone changes

  • [36e0e2f5d] tweak(resources/client): rawSize parsing

  • [e067be4d1] feat(extra-natives/five): vehicle model type

  • [06bbd9467] tweak(audio/five): sanitize CreateSubmix

  • [ebd878749] tweak(gamestate/server): improve selected/current weapon language

  • [fb3e658ea] tweak(game/five): revive removed natives

  • [3c21947ae] tweak(state/fivem): parse all poptype fields

  • [3e622050a] feat(graphics/five): replace scripted line gfx

  • [616654598] tweak(streaming/five): sanitize CDistantLODLight

  • [14a52ee6f] feat(core/five): increase ped prop render cache

  • [21439d8cd] tweak(five): “add 2 additional crash fixes” for b3095

  • [61eccbe5b] tweak(nui/core): ensure lastClickCount is non-zero

  • [0a493c456] tweak(nui): defer m_dropTarget creation

  • [b92ae32da] tweak(nui/core): DoDragDrop handling

  • [631484ec1] tweak(core/five): pretend occupants when recycling vehicles

  • [52cbbb6a3] tweak(graphics/five): small cleanup

  • [9fa96fb62] tweak(streaming/five): mod fragment shader handling

  • [4aa380e5d] tweak(scripting/lua): remove custom allocator

  • [06320fad1] tweak(gamestate/server): netGameEvent cleanup

  • [da18df060] tweak(gta-net-five): event blacklisting

  • [363633024] tweak(console): unify ConVar_Replicated reset logic

  • [ef5683a91] tweak(streaming/five): move str_requestFlush behind a convar

  • [c59d67d94] feat(extra-natives/five): melee combat limits

  • [f8479a1d4] tweak(gta-net-five): player31 info guarding

  • [e95ce4dc5] tweak(extra-natives-five): headshot hooks

  • [8562d0c12] fix(nui): InternalRPCHandler race condition

  • [69db34fa6] tweak(onesync): CNetGamePlayer construction

  • [ea8e1a48e] fix(nui/core): send mouseUp

  • [204aadee7] tweak(input/five): threading cleanup

  • [49e0911fd] fix(nui): fix threading

  • [9b1f6ee24] tweak(mumble/server): thread safety

  • [d9efa465c] Revert “tweak(gta-net-five): player31 info guarding”

  • [ce36f0220] tweak(onesync): event cleanup

  • [468a8fa50] tweak(five): ragdoll request filtering

  • [3df843955] tweak(onesync): event blacklist typo

  • [dc402f5da] fix(steam): support steamclient64.dll 8.93.40.59… for now.

  • [577a85f46] tweak(server): ensure commands are invoked with the correct principal stack

  • [4fff8ac8f] tweak(nui/gsclient): ensure root is an object

  • [612ed6437] Revert “tweak(scripting/lua): remove custom allocator”

  • [f6c7d8119] fix(sdk): aslr suffix

  • [205b7f3eb] fix(shared): avoid deep recursion in callback cleanup

  • [18eaf9e31] tweak(state/fivem): use nodes

  • [1ec2622be] tweak(server/impl): sanitize nullptr in kvp natives

  • [d6e4a2224] tweak(onesync): nop MetricCASH

Ktoś (3):

  • [e53e98d52] fix(tool/formats): five → rdr3 embedded textures crash on unload

  • [23770d491] tweak(tool/formats): five → rdr3 bound poly tweaks

  • [af92b400d] tweak(data/rdr3): increase pools size

Oleg Makushev (7):

  • [e7c0d2cf8] feat(ext/cfx-ui): added gtm srevice

  • [23fd682f0] feat(ext/cfx-ui): added gtag script

  • [cd2735ae5] feat(ext/cfx-ui): added eslint & prettier configs

  • [bfdfbfabb] feat(ext/cfx-ui): removed grag raw script, added appStart event in index html

  • [d7c1967b3] fix(ext/cfx-ui): rever changes for formatServersCount

  • [373fe5b7b] feat(ext/cfx-ui) added view_name for every event in gtm, added game info for gtm event property environment

  • [f1c9f1536] fix(ext/cfx-ui): removed unused dependencies, fixed lint shadow issues

RickyB505 (2):

  • [a5114103a] feat(extra-natives/five): GET_VEHICLE_GEAR_RATIO and SET_VEHICLE_GEAR_RATIO

  • [a4b03ed09] tweak(extra-natives/five): Changed requested stuff for GET_VEHICLE_GEAR_RATIO and SET_VEHICLE_GEAR_RATIO

prikolium-cfx (14):

  • [5a3cde5ee] fix(server): fixed compilation after merge

  • [2f257ca8b] fix(server): after merge fixes

  • [ca24cea90] fix(monov2): fixed compilation on linux

  • [a0c516b48] feature(server): txAdmin version bump, chnaged prometheus bucket values

  • [f756ae5c9] fix(ci): fixed mistake in condition

  • [6782213ec] feat(devtools): Added pools monitor with export possibility

  • [904649b0d] style(devtools): formatting fix, clang-format config fix

  • [e615dadbc] fix(devtools): performance improvements

  • [ea7aa73a5] fix(devtools): added more pool name for rdr3 from gameconfig.xml

  • [33bf8db9d] ci(server): removed information about who triggered linux build

  • [509c6ac72] fix(devtools): server compilation fix + small adjustment for pools stat export

  • [8ca3cb669] fix(devtools): fixed crash on disconnect with Pool Monitor enabled

  • [c807d678b] refactor(puremode): Refactored pure mode validation

  • [30fdff014] fix(update): hotfix for TU

jakub (1):

  • [b68ba4240] tweak(nui): remove mime type workaround for text/json

kajkul (1):

  • [d2ac0cb67] fix(scripting/lua): Fix not closing to-be-closed variables on error

neptunium (1):

  • [7024bf54b] tweak(scripting/mono): recompile

nihonium (18):

  • [b5815488c] tweak(github): add SECURITY.md, mention it in the issue type picker and remove security issue from the bug report template

  • [9393d1524] fix(ros): fix steam/egl auth flow

  • [2841a5cc9] fix(ros): adjust offsets

  • [c873b2cda] fix(ext/cfx-ui): fix players sort label typo

  • [ca5bc7e8e] fix(ext/cfx-ui): bail out late to account for hooks consistency for server boost button

  • [13be8319f] tweak(ci): disable inter build cache, add dry run mode

  • [55377291b] tweak(ci): force set private url

  • [8fe775a19] fix(ci): ensure build cache folder exists for private

  • [913f62fe1] fix(ci): use proper path for parent folder of private

  • [5d601373d] fix(ci): always copy generated natives files

  • [38dd75dec] fix(ros-patches/five): bump sc version

  • [7a1a4a783] tweak(ci): use dumped game binaries from the toolkit

tabarra (3):

  • [08f2f3f03] fix(ext/system-resources): bump txAdmin to v7.2.2

  • [83080065a] tweak: changed banner word to prevent confusion

  • [0e072f7b6] fix(ext/system-resources): bump txAdmin to v7.2.1

tens0rfl0w (2):

  • [327f8d079] tweak(natives/rpc): Use client-native names and apply aliases

  • [6c977fa10] tweak(gamestate/server): allow blocking of ScriptEntityStateChangeEvent

thorium (1):

  • [442697dc8] feat(clrcore-v2): Move to custom MsgPack serializer

z3t4s (1):

  • [020f7c5e4] feat(extra-natives/five): CPortalTracker ScRT CPortalTracker probeLength adjustments via custom ScRT Native

Featured Servers

In this edition, we are presenting two very long-standing servers of our platform, RSM.GG and Busted!

RSM.GG is an unique sandbox freeroam experience on FiveM, featuring activities like racing, drifting, car meets, PvP, minigames and more on top of an ever-growing selection of lore-friendly custom content from amazing and renowned FiveM 3D modellers. RSM.GG has been online since 2019 and is now one of the most popular freeroam servers on the platform!

Website: https://rsm.gg/
Discord: RSM.GG ~ Freeroam

Play on RSM.GG :

Busted has been on FiveM since 2018 and is known for its greatly appreciated Cops vs Robbers game mode. As a cop, you team up with other players to catch the robber within 10 minutes, while as a robber, your goal is to stay as far as possible from law enforcement. All of this action happens in vehicles, making it an exhilarating experience.
Recently, the Busted team has introduced a freeroam mode and are looking forward to develop more game modes in the future.

Links: BUSTED - Linktree
Discord: BUSTED

Play on Busted:


txAdmin 7.2

The latest update of txAdmin brought a tons of new features and enhancements:

The dashboard has been completely rebuilt with new charts offering better insights in your server: performance, memory usage, median player count and server uptime as well as reasons for players disconnections through a pie chart.

Ban templates were also added, allowing for quick and efficient player banning with pre-configured reasons and expirations.

Further improvements include a fix for UI lag in browsers without hardware acceleration, an updated “ban identifiers” feature in the new UI, better filtering capabilities in the in-game player list, and the removal of outdated pages and dependencies. This update also incorporates numerous small fixes and tweaks, ensuring a smoother experience.


Community Contributions

As always, big thanks goes to the community for your continued support and contributions to our open-source projects:


And that’s it for this Pulse, see you in the next one! :mascot:

52 Likes

Finally, yay

3 Likes

Yay!!! New pulse!

3 Likes

Although it was a liiiitle late, really nice pulse! :+1:

2 Likes

This is cool a more in-depth system for testing/experiments sounds great!

1 Like

Great post as always. Thanks for featuring me :sunglasses:

2 Likes

Finallyyy

1 Like

so we forgetting may :fire::fire:

2 Likes

This is a “merged” pulse, they should have mentioned it

6 Likes

Lovely community pulse, looking forward to next one hitting in approx 14 days :slight_smile:

8 Likes

:fire::fire::fire: :mascot:

3 Likes

Great!

1 Like

period

1 Like

Ok, this pulse goes hard.

1 Like

me mentioned

6 Likes

Increasing pools a notable contribution lmao

4 Likes

this is aight is nice to see a new pulse finally i was just expecting way more since R* pretty much took over with some people from ​𝗮𝗹𝘁 𝘃​ lmfao To Do List Nothing GIF by SpongeBob SquarePants W In The Chat

we need this so bad…

8 Likes

what a nice lie

1 Like

Nice to see RedM getting some love. <3

2 Likes

Good stuff. Thanks to all the contributors for their efforts :slight_smile:

3 Likes