Hi we are currently considering installing this mod to a FiveM server with 100-150 players. Is it possible to limit players who can create the race? thank you for your hardwork!
Hi we are currently considering installing this mod to a FiveM server with 100-150 players. Is it possible to limit players who can create the race? thank you for your hardwork!
Hey! Normal races (that people do for practising, testing new tracks etc) are available for everyone. But you can limit who can create competition races (the ones that actually matter, as you gain ELO and money in these). Also, track creation can similarly be limited.
Hi! We have this script on our server and I would like to know how can I create competitive races with prize as the automated ones
And also if possible to remove / clear races unplayed.
Competition races are removed from the tablet once they start. If they are not disappearing for you, then this means you have manually created some competitions that are unable to start (because they donât have results available to calculate the DNF timer).
The config has multiple options for the automatic competition generator. Additionally, we have sections dedicated to explaining how the generator works and what data is needed in our documentation. So, please visit our documentation page to learn more: Race types explained - RAHE Development
If you have additional questions, we can assist you better in our Discord server.
For this in particular, we need to play some normal races (same tracks) in normal? Any idea of how many?
Hey , i dont own the Script or the server but and i dont know if the server owner contacted you but hereâs the problem :
Me and my friend created a race that appeard in Competition mode , let call the race that give us trouble âRace-Aâ
Race-A when it appear in competition so we wanted to play the race but the creator of this one deleted Race-A while it was listed on competition and before RaceA started. We still managed to play the race.
But now the problem is that Race-A is stuck a the top of the competition race list on the tablet at 21h24 and we canât play any competition race because nothing appear on the ground
And just below the Race-A on the competition list there other races that start at 19h00 , 19h14 etcâŚ
I read all the doc on General information - RAHE Development but nothing about this problem
I suppose it bugged out in the oxmysql or something ?.. How can we fix this ?
itâs an ESX Server
Read the 2-3 replies that are above your post:
If they are not disappearing for you, then this means you have manually created some competitions that
are unable to start (because they donât have results available to calculate the DNF timer).
That also affects your other competitions. So if your Race-A is an S class competition, then please create an S class result on that track (it doesnât currently exist). After a result exists, the competition will start after a server restart.
Thanks for the quick response !
I wanted to try what you said⌠but⌠the owner deleted the track in the database (oxmysql) : https://i.imgur.com/2YOc9aB.png
So i try to re-created the track with the same name and same description , did like you said , waited the server restart but nah⌠it still stuck like in the pic.
Is there an other method to fix that ? Should we uninstall the full script and re-install it (database inclued) ?
Thanks in advance
Under normal operation, you should never manually delete things from the database⌠there are in-application features that correctly handle stuff when things get deleted. Creating a track with the same name and description does nothing, as the track ID will be a new one.
Now, as that has been done, your server owner must delete that competition race from the database (ra_racing_races table).
The resource is soon 1.5 years old and is still receiving updates!
Our biggest update to date released today, see below for the full list of changes.
Changelog (v2.0.0)
Features
- An administration system where users can be made admins using: existing ACE permissions, specifying identifiers manually (or both).
- Functionality added with the new admin system:
- Track verification (can enabled from the config, default is off). If enabled, the automatic competition generator will only use verified tracks. Admins can verify tracks directly in-game in the âTracksâ tab by clicking the verification icon next to the track name. Verifying a track will make the track eligible for the automatic competition generator and add a green checkmark next to the track name.
- Track deletion (for all tracks). Admins can delete all tracks regardless if they are the track creator or not.
- Competition creation. Admins can create competitions regardless of competition creation requirements.
- A new button on the track information page which takes you directly to race creation.
- Favoriting tracks. In the tracks tab, you can now favorite tracks by clicking the star icon next to the track name.
- Added a button to the profile tab which will tell you the class of the vehicle you are currently in.
- A completely overhauled the system for manual competition race creation. New functionality in the manual competition creator:
- Create multiple competitions at once (previously you had to insert them 1 by 1, waiting between each one).
- Set a prize pool for the races (previously the prize pool was always $0.00 for manual competitions).
- Automatic prize pool distribution based on track lengths.
- Choose a starting time (previously, it was always 1 hour from current time).
- Break times between races are automatically calculated (previously you had to estimate them yourself).
- New track search system to quickly add new tracks (instead of having to navigate back to the âTracksâ tab).
Improvements
- Competition webhook announcements are now improved:
- Included timezone-friendly timestamps.
- Included the estimated durations of the races.
- The organizer name is now included in the title.
- The tracks filter has been improved and now is a toggle between personal/favorites/verified.
- The GPS now shows a route through the next 3 checkpoints (previously the route was only to the next point).
- If the model name of a vehicle is
NULL
, then the application will now try to get the name from thesupportedVehicles
table. - Competition starting times are now displayed in the clientâs timezone instead of the server timezone. This makes it easier for international players to know when a competition is starting.
- Increased performance of the âRacesâ tab when a lot competitions are listed.
- You can now specify multiple times for the automatic competition generator. This means that you can have competitions multiple times per day, catering to more timezones.
- The search in the âTracksâ tab now also allows you to search by the track creator name (in addition to the track name).
- Added an option to the automatic competition generator if competitions should only be generated on even dates (allows you to not have competitions every day).
- Better support for custom vehicle classes:
- Classes defined the config now also get sent to the race starting page (instead of having to edit index.html manually).
- The automatic competition generator now supports custom classes (previously only S/A/B/C/D could be generated).(edited)
Tweaks
- Made the racing command toggleable from the config (instead of having to delete/comment it out).
- You can now choose a preset value which defines how the competition prize money is distributed between players, more detailed information in the config.
- A loading spinner added to tracks page (search & filter) for better feedback when the list of tracks is large.
- Send a different webhook message (instead of an empty list) when no competitions were generated because lack of results.
- Added more detailed informational console messages for important functionality (such as competition generation and start).
- You can no longer manually start a competition race if the track has no results available for the DNF timer calculation.
- The previously hard-coded value of 1750 ELO (needed to create a manual competition) is now configurable.
- Simplified the locale system (to ox_lib locale). Translations are all in one file now and the language can be quickly changed using a convar.
- Notificatons donât move the whole UI downwards anymore. Additionally, notifications can now be hidden by hovering over them.
- Added a notification that track creation is only possible in a vehicle (when trying to do it on foot).
- Changed the default way of loading ESX through an export instead of an event.
- Added config variables to toggle Discord webhook notifications separately for manual/automatic competition race generations.
- Added additional styling icons to: finished competition races in the Races tab && âLegendaryâ and âNew trackâ tags in the Tracks tab.
- Added a confirmation modal to track deletion.
- Added an additional event for developer when a race ends & when the 3D text display starts/ends.
- Made the purple 3D text highlight color editable.
Fixes
- Removed an unused line from the
fxmanifest.lua
which was causing a start-up warning on newer artifacts. - Fixed the issue of competitions not starting/not disappearing from the tablet when no results were available for the DNF timer calculation.
- Fixed the issue of not being able to manually create a competition when the server time was between 23:00-23:59.
- The âOrganizerâ for manually created competitions in the âRacesâ tab now correctly displays the organizer name (instead of being âAnonymousâ).
- Fixed a rare edge-case race conditon where two competitions starting at the same time with no participants would cause one of them to restart.
- Track preview and track creation blips now also use saved colors instead of being white.
- Fixed the alias being blank on the race leaderboard if you hadnât opened the tablet prior to joining a race.
- Added a few missing translation strings.
- Allow competition to start if track is deleted before the competition start.
- When starting a sprint race after a circuit, the leaderboard will no longer show an incorrect lap amount.
- When someone in a race has an unusually long name, it now wonât move the leaderboard for everyone.
We have released an updated video to showcase our new features: [FiveM | RAHE Racing System (2023)]
Question
So I like the different racing and boosting systems, my question is can they all work together at the same time?
in other words would the player need different tablets for each system or can it be set up as one tablet with the 3 different systems on it? and if so does this also require a "Tablet script/system?
i had issues to due to the script needing steam, go into there discord > suggestions, i have provided code so it doesnât require steam.
i also dropped two important suggestions
The export was added in by yourself. When you updated, you overwrote the files and so the export disappeared.
Add the export back in like you originally did (using our documentation).
I suggest you re-check your work. Make sure you are editing the correct file, there arenât any errors, your resource name is correct etc. If that export exists correctly without any errors, like on your picture, itâs impossible for you to get the same error.
Unless youâre saying exports in FiveM are broken⌠(which they are not). Itâs just default FiveM logic.
https://docs.fivem.net/docs/scripting-manual/runtimes/lua/#using-exports
If you canât figure out whereâs your mistake at, feel free to come and open a ticket in our Discord.
Yesterday, we rolled out version v2.0.4, bringing you various improvements and introducing new image upload options (in response to Imgurâs blocking of requests from FiveM).
On the profile picture update page, a new button is available, directing users straight to an upload website. You have the ability to define your preferred upload website, or utilize our newly established image upload platform, created specifically for our resources.
Support has been added for the racing system to seamlessly work with our new tablet system (https://rahe.tebex.io/package/6198037)!