#[FREE] RacingApp 3.7 - Bounties and more
1 messages · Page 1 of 1 (latest)
wooo racing
Would be cool to see this replace qb-racing or w/e in the qbox recipe
does this support qbox natively
It should yeah. QB for some core stuff (which qbox covers) and OX for others. Many qbox users have said it's working well.
If Qbox team want to use this as their base racing script that'd be neat 👍 Could set up the default config to be set up for QBOX rather than the random mess that it's now 😅
Yeah I've been following progress on this since 1.0, and it's nice to see how far you've gotten with it. @buoyant pier I think it would be cool to get something going with this for native qbox support/inclusion in the recipe.
the current base lap races resources is bad to say the least.
We could explore adding it to the recipe. To do so, it would need to first work without relying on the QB bridge.
All QB-related stuff is handled in the bridge files functions.luaon client and server side
So adding QBox specific ones wouldn't be to hard
These are the quality control standards for Qbox repos. https://docs.qbox.re/release While we wouldn't hold a third party resource to the same standard, it does need to be a generally high quality product without major bugs, exploits, or performance issues. We'd also need it to be versioned with a GitHub release (you can steal release code from xt-prison which recently had to do the same thing).
Documentation for the Qbox Project
Resource is scoped appropriately (i.e. it shouldn't be split, or combined with another resource).
Might be a problem since it uses cw-performance to do classes based on performance 
Dependencies are fine, but then we'd need to evaluate the dependency on the same standards. That line is referring to whether it's appropriate that cw-performance be a separate resource, or if they should be combined.
I use it for several other scripts i've released so not really a good one to merge inte cw-racingapp which is quite big
I got an update that'll be modifying/changing the database structure a bit so I'll take a look at getting the release stuff added after that's done
so people wont need to update after having added it
@kindred tapir a few pointers would be to look at using more of the ox_lib provided stuff such as lib.print, lib.table.deepclone, and lib.callback .
Also a good idea especially for multi framework resources would be to create a bridge folder with global functions on the client and server side to replace your conditionals, something like https://github.com/Randolio/randol_pizzajob/tree/main/bridge is a good example.
One additional thing to look at is extracting your sql calls out into a separate storage layer so they are easier to evaluate. Also adding type notations while not enforced in lua they are a good sanity check in your ide.
Another good read is Manason's book on FiveM Lua best practices https://manason.github.io/effective-fivem-lua/.
If you want to start a thread in the advanced support I'd be more than happy to help you with refactoring and answering questions.
Sure. let's take this discussion over to a thread 
If anyone has issues, creating their first user for me:
/createracinguser god 1 IReadTheReadme
was
/createracinguser 1 god IReadTheReadme
As mentioned in the readme
Hey Coffeelot, is there a way to have players just have a "default" account when open the tablet? It's not huge, but players seem to get confused with the account creation aspect. Just a small QOL thing.
like just having this prompt the first time a player opens the tablet, that's been the only feedback from my players other than confusion after making a crew. They said it was a really good racing experience.
It's a thing I've been planning to add yeah.
Mostly because I want to make it so that when theres 0 race users in the database, the first one to be created will be a god user. Because the command is so weird and I can't figure out why 
After that, the "You don't have an account" will be replaced with "Create an account" if your user don't have a racer
I kinda wanna ditch the traders anyway
probably easier to just make the "god" account tied to an ace perm
Yeah my players were totally confused by the process, had to walk them through it. But they were really impressed by the tablet/everything else. Thanks for working on this so long.
Hey Coffelot, would it be possible to "center" the tablet and the racing information? I assume some people want them there, so would you know where I edit the values?
I thought the tablet was centered
serves me right for just testing some screen sizes.
Update coming.
As for race hud:
No. There won't be a centered version. I'd have to make a new variant (the current one is dynamic between the right/split/left layout) and maintain that also. Not looking to double my future work 😅
Was just asking for location of where to edit myself
Want to give it a background + move it down
Ahh, it'll be in RaceHud.vue
Any specific value? Was trying to figure it out last night
Ah no, like a complete rewrite of the html and css will be needed to center it, if you aim to make it look decent 😅
I just want to move it down, since I have info top right
and white on white is hard to see, I'd add a stroke to the text if I could
Ahh
Hmm
.race class in RaceHud.vue. Change top: 5vh to bottom 5vh or whatever other spacing you want
might fix that
sure that would be awesome, even if it was just centered to the right it would be good, idk if that would would conflict with other users.
Ahh I mean doing that might fix it hahaha. It's not a planned feature
would I need to rebuild it? Doesn't seem to change anything.
if I just edit that
[FREE] RacingApp 3.7 - Bounties and more
more cw racing updates! We love to see it. Solid work, as always.