#[FREE] RacingApp 3.7 - Bounties and more

1 messages · Page 1 of 1 (latest)

sharp raptor
#

pepehype more cw racing updates! We love to see it. Solid work, as always.

molten mist
#

wooo racing

empty imp
#

Would be cool to see this replace qb-racing or w/e in the qbox recipe

#

does this support qbox natively

kindred tapir
# empty imp 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 😅

empty imp
#

the current base lap races resources is bad to say the least.

buoyant pier
#

We could explore adding it to the recipe. To do so, it would need to first work without relying on the QB bridge.

kindred tapir
#

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

buoyant pier
#

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).

kindred tapir
#

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 ThinkHead

buoyant pier
#

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.

kindred tapir
#

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

ashen elk
#

@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.

kindred tapir
#

Sure. let's take this discussion over to a thread thumbup

empty imp
#

If anyone has issues, creating their first user for me:

/createracinguser god 1 IReadTheReadme

was

/createracinguser 1 god IReadTheReadme

As mentioned in the readme

empty imp
#

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.

empty imp
#

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.

kindred tapir
#

I kinda wanna ditch the traders anyway

ashen elk
#

probably easier to just make the "god" account tied to an ace perm

empty imp
empty imp
#

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?

kindred tapir
#

I thought the tablet was centered facepalm 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 😅

empty imp
#

Want to give it a background + move it down

kindred tapir
empty imp
#

Any specific value? Was trying to figure it out last night

kindred tapir
empty imp
#

and white on white is hard to see, I'd add a stroke to the text if I could

kindred tapir
#

Ahh

#

Hmm

#

.race class in RaceHud.vue. Change top: 5vh to bottom 5vh or whatever other spacing you want

#

might fix that

empty imp
# kindred tapir 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.

kindred tapir
#

Ahh I mean doing that might fix it hahaha. It's not a planned feature

empty imp
#

if I just edit that

empty imp
#

ok yeah that was it

kindred tapir
#

[FREE] RacingApp 3.7 - Bounties and more