npcDevlog - August 2024

-

Hey there, FiveM and RedM enthusiasts! It's been a busy month, and I'm thrilled to share all the cool stuff we've been working on. Let's dive in!

Things were pretty quiet from Rockstar this month - no Community Pulse for August. Probably due to the summer holidays, which is totally understandable. We're hoping things pick up again in September with some fresh updates and announcements for the FiveM and RedM communities.

On our side, this month was all about making things run smoother, adding new features to jo_libs, and sprucing up those customization scripts, especially the ones that make your characters and gameplay experience even better on RedM servers.

Work on Jo Libs

Jo_libs, our public library for RedM developers, got some major upgrades this month. The big star: Global files! This nifty feature is all about making scripts run faster by putting certain events in one place, cutting down on repetitive loops across different resources. These files only load and run once - when the module first loads in a script.

Let me break it down with an example: the "Me" library. Before, every resource using "Me" had its own loop running every second to get player info, like coordinates. Now, with global files, we only need one loop for all scripts. It's like turning a bunch of solo performers into a well-coordinated orchestra!

Check out these diagrams to see the difference:

jo_libs lifecycle before the 1.8.0
jo_libs lifecycle before the 1.8.0
new jo_libs lifecycle after the 1.8.0
New jo_libs lifecycle after the 1.8.0

I'll be honest, it wasn't all smooth sailing. We hit a snag when loading a module globally first, then locally. The system got a bit confused and thought everything was already loaded. But after some intense debugging (and maybe a few too many cups of coffee), we sorted it out by making sure the module reloads locally, even if it loaded globally before.

Hairdresser Script Improvements

The Hairdresser Script got a fancy makeover too! Thanks to the new jo_libs API, the menu is slicker and quicker to set up. Now you can even customize your teeth right in the game - but don't worry, server admins can turn this off if they want to.

We've also added a cool feature where you can see how your hair looks with pomade before you commit. It's like trying on a hat, but for your hair!

Preview of hair pomade in the hairdresser

Development for the Entropy Server

Elzetia's been cooking up some exciting new scripts for the RedM Entropy server. First up is a crew script with a wagon delivery system. It's like those delivery modes in some FPS games, but with a wild west twist. You've got to get a wagon from point A to point B, but here's the catch - it only moves when a crew member is nearby. It adds a whole new level of teamwork to the game!

Preview of the escort script for Entropy's server

The second script is all about hunting legendary animals. It's perfect for all you aspiring naturalists out there who want to track and capture some of the most elusive critters on the Entropy server.

Harriet camp in RedM
Legendary Animals - Harriet Camp location
Harriet menu in RedM
Legendary Animals - Harriet menu
Gus Macmillan spawn in RedM
Legendary Animals - Trade with Gus Macmillan

Script Updates and Releases

We've been busy bees updating a bunch of essential scripts for FiveM and RedM servers:

Stable Script: with several new features to keep your virtual horses happy. Hairdresser Script: including that cool teeth customization and other improvements. Clothing Store Script: we've optimized it and squashed some bugs. Clothing Wheel: updated to play nice with all the new features.

Everything's freshly updated and ready for you to enjoy! Now, we've got to be honest with you all. We know some of these updates are a bit buggy. Oops! But don't worry, we're already hard at work on patches to fix all of that. We're burning the midnight oil to get everything running smoothly for you.

And here's a bit of wisdom we've learned the hard way: fellow devs, take note - never release updates right before you go on vacation! Trust us on this one. We'll be sticking around to make sure everything gets sorted out.

Conclusion and September Objectives

I'll be honest, we didn't quite hit all our August goals. The Character Creator is still in the works - juggling bug fixes and new releases is quite the balancing act! But don't worry, it's high on my priority list for September.

Also on the agenda: sprucing up the jo_libs documentation with all the new modules and squashing any pesky bugs that are still hanging around in our existing scripts.

A massive thank you to everyone who follows these devlogs. Your support means the world to me! As a little token of my appreciation, here's a 48-hour discount code -10% just for you: devlog. Enjoy!

Stay awesome, and happy gaming!