Cfx.re Community Update: 4th Edition
Welcome to the 4th weekly update for the Cfx.re community, spanning FiveM, RedM, and overall Cfx.re updates.
This post is written by a group of community members for the community and serves as a way to update you on the latest happenings within FiveM and RedM, which we all love so much.
Here is a list of the most important news and updates from the past week.
- OneSync Improvements
- Watermark Changes v2
Several changes have been made to OneSync to optimize server performance, fix bugs related to mumble, and a few new natives which will help developers integrate their resources with OneSync.
Watermark Changes v2
The watermark has been adjusted again, this time to be less intrusive. The emoji will now display in whatever corner the watermark is in, and we’ve also reduced the opacity of the watermark so it’s easier on the eyes.
For you technical geeks, we’ve also added a list of the most important technical changes.
- Build Docs Update: @sgottelk revamped the build docs to help with common issues with building the repo.
- OneSync Improvements: An improvement submitted by @DefCon42 has optimized the iteration of entities in the server main thread, which has drastically reduced the amount of iterations from 65,000 iterations per client to only iterating over valid entities [bdaee943].
Scope Events for Big Mode:
playerLeftScopehas now been implemented for Big Mode. You can use these events to detect when a player has entered/left another player’s scope [4eeaf3ee].
- Project Clean-ups: clean-ups have been made to removing unneeded files from the repository and distributables.
- GetPlayerMeleeWeaponDamageModifier: @Vinipux322 has added a new native which allows you to get the current player’s melee weapon damage modifier.
GetVehiclePedIsIn (OneSync): Quattro20V has implemented a way to get the vehicle a ped is in server-sided via OneSync [0119e42d].
][OneSync] Change main thread loop entity iteration logic
]fix a stupid typo that potentially left dangling shared ptr refs
]add xenium as dependency
]create LRWeakPtr.h - left/right weak_ptr allowing for…
]uh - add xenium but actually this time?
]move ServerGameState to new LRWeakPtr implementation
](!) fix: nullptr check to fix client entity iteration
Mindaugas Varaska (1):
]Adjust position of emoji on left-side of screen; Adjust alpha channel of text
]Don’t set brandingName until it should draw
Sebastian Gładki (3):
]one more typo here
]fix console.count(), implement countReset()
]Add GET_VEHICLE_PED_IS_IN declaration
]GET_VEHICLE_PED_IS_IN fixed file name extension
]add GET_PLAYER_MELEE_WEAPON_DAMAGE_MODIFIER native
]mumble: fix reconnect
]Add more detailed build instructions
]add instructions on how to get uwp
]Prefer SymbolicLink in building.md
]tweak: refactor CFX natives to be built from ext/native-decls/
]fix: add missing cd to linux build
]feature: add inline code event documentation and event-doc-gen tool
]fix: make changes to event build again
]tweak: cfx-ui: placeholder mods page
]tweak: update msgpack-c submodule
]feature: playerEnteredScope/playerLeftScope server events for bigmode scopes
]tweak: add .clang-format file
]tweak: example of formatting two arbitrary files with our clang-format ruleset
]feature: filter for
strlist, icons there as well
]tweak: server: switch CallbackList backing queue library
]tweak: server: getConfiguration using rapidjson instead of nlohmann::json to serialize
]tweak: remove unneeded files from Linux server build
]tweak: remove useless Mono ‘facade’ dlls from server_windows
]tweak: clean up Windows server build output
]fix: fix server build by adding concurrentqueue lib so it doesn’t ignore citizen:server:impl
]fix: server: add to resourceStreamFiles, not resourceFiles; also response cutoff
]fix: dynamically resize return value array for refs if above 32k in Lua/V8 ScRTs
]update txAdmin submodule to v2.4.2
]fix: resolve crash in RCDv2 when an asset fails downloading multiple times
]fix: server: actually make svSync thread work
]fix: streaming: .ymf don’t spew confusing logs, fix double-registration issue
]fix: make appveyor yaml work again
]fix: appveyor yml needs node x64
]tweak: add linux to appveyor yml
]fix: remove misguided
]Revert “fix: net: instantly disconnect enet peer when resetting netlib”
]tweak: enable docker in appveyor.yml
]tweak: display loader snaps during ‘failed to load component’ errors
]fix: add DisableToolHelpScope around component loader hooks
]empty commit to force rebuild
]empty commit to force rebuild #2
]fix: remove initial trace from FileMapping
]fix: build old fivem-private for the time being
Without the Cfx.re community, both FiveM and RedM would not exist. Therefore, we want to highlight some positive and influential members as well as some cool new #development:releases and #fivem-snapmatic
Community core project improvements
We have a wonderful community who love to help us improving both FiveM and RedM, so here’s a little summary about what these lovely people made this week!
- We’ve received a lot of new updates to the documentation available for FiveM! This includes events, natives, and features available in FiveM. If you’d like to help out with documentation, head on over to the FiveM Docs page and you can contribute either by opening up an issue, or editing the page!
- The lovely @key_value has been doing an amazing job on research into RDR2, and have been contributing their findings in the public Cfx.re Project Hub Discord, in the #redm-investigations channel.
Release of the Week
The releases we’re focusing on this week are related to the Diamond Casino!
The first release in our community spotlight is from @utkuali - They released a pretty amazing resource which allows you to add a hacking mini-game to your server. Put this between a bank vault and a door, and you got yourself a recipe for one cool hacker mini-game!
The next release is from @Xinerki - They’ve implemented the blackjack minigame from the Diamond Casino in a very flawless manner! Take a seat, pour yourself a drink, and get ready to gamble the night away!
Snap of the Week
We’re always pleased to see the snaps you guys send using FiveM Snapmatic, here’s the two we picked this week!
Careful when travelling through the state at night!
@overlordkxne is here to show us that there are killer rides, and even killer-er drivers going around!
Meanwhile, @BrendenFate is here to show us that the greatest rivalry in car racing has made its way to San Andreas!
I wonder who the winner will be this time.
As a little addendum, we’ve noticed more and more of you are using Snapmatic lately. That’s great!
Just keep in mind that if you want to try making it into the community spotlight, we won’t be picking any snaps that may contain server advertisement, be it in the title, content or background of the image.
Got suggestions or feedback for the Community Update? Let us know