Skip to main content

HappinessMP Update 2.5

· 3 min read
Lion
Developer

We dropped a new update for HappinessMP. This time, we focused a lot on quality of life, fixing up the launcher, and expanding our APIs, including some specific features requested by the community.

Here’s the quick rundown of what’s new:

⚙️ Expanded API, Threads & Gear Natives

We’ve expanded the scripting API, including specific community requests like the new Timer API and the new Thread functions. You can now run threads inside threads and easily manage them using IDs, Thread.Kill(), and Thread.IsAlive().

We also added brand-new transmission natives. You now have full control over vehicle gears, from setting the highest gear to tweaking the Gear Ratio. Check out this quick showcase to see them in action:

🚀 Launcher Glow-Up & Addon Crash Fix

The launcher got some much-needed love. It’s finally freely resizable, automatically fits your monitor size, and just looks a lot cleaner.

Also, big news for servers with massive car packs: we fixed the crash that happened when adding too many addon cars. Go crazy with your vehicle mods!

💻 More Natives & Under the Hood

We also squeezed in some neat backend stuff and performance boosts:

  • More Natives: Aside from gears, you can now mute sirens (SET_VEHICLE_HAS_MUTED_SIRENS), disable radar zooming, and block replay saving.
  • Performance: We updated FusionFix to v5.0.1, optimized network syncing (no more memory leaks!), and bumped all our background libraries (CEF, SQLite, WebView2) to their latest versions to keep things buttery smooth.

❤️ Donations

Lastly, we want to extend a heartfelt thank you to the following community members who supported this project financially this year:

  • Dimmi
  • marjo
  • SlurTK
  • dkc
  • Sprinkles
  • S.M.R
  • Waluta
  • Soul
  • jack

📋 Full Changelog

  • fusionfix: update to v5.0.1
  • game: add native SET_VEHICLE_HAS_MUTED_SIRENS
  • game: add native SET_VEHICLE_GEAR
  • game: add native SET_VEHICLE_HIGH_GEAR
  • game: add native GET_VEHICLE_HIGH_GEAR
  • game: add native SET_VEHICLE_GEAR_RATIO
  • game: add native GET_VEHICLE_GEAR_RATIO
  • game: add native DISABLE_ZOOM_RADAR
  • game: add native DISABLE_REPLAY_SAVE
  • addon: fix crash when many cars got added
  • launcher: window is now resizable
  • launcher: prettier window borders
  • launcher: window size now adjusts to the monitor size
  • launcher: fix server name scroll text respect larger resolutions
  • launcher: updated WebView2 to 1.0.4022.49
  • network: optimize serialization performance
  • network: fix possible memory leak
  • scripting: add Timer API
  • scripting: allow to create thread inside thread
  • scripting: Thread.Create returns now an id
  • scripting: add Thread.Kill() function
  • scripting: add Thread.IsAlive() function
  • scripting: add WebUI.IsReady() function
  • scripting: vm code improvements
  • server: update SQLite to 3.53.2
  • webui: update cef to 149.0.4
  • shared: update libraries

Have a nice day. See you next time!