#not-cw-support-fivem-talk

1 messages ยท Page 3 of 1

lapis ginkgo
#

i have something i bought which is similar to gp traders but the stock is saved to sql depending on how much players have sold or bought the items

craggy estuary
#

Iโ€™m a fan of our gp traders as we implimented rep into it, so you needed both the item and the required rep to access them. Meant you could find the npc but never know what he does without it

#

Coffee also did the same for rep in cw-traders I believe @thorn spoke ?

#

That requires mz skills though

thorn spoke
#

Yup

lapis ginkgo
#

bit of a random question but could anyone point me in the direction of a decent ambulance job script for QB to make EMS/doctors have more interaction on stuff like treating wounds operating ect

finite dagger
#

Ever figure that out? I want to remove it too from ps-hud but not familiar with svelte... I just want the fuel gauge, as I already have another speedo.

fluid python
#

Pretty simple just remove it from the script ps hud is open source ๐Ÿ˜€

fluid python
#

Work from the config backwards im on vacation so just have mobile so i cant really hold your hand to help but i was able to trace the hud back to the beginning all ud have to do is remove it

old fable
#

I could be doing this wrong but when I "/createracinguser 3 god IReadTheReadme" it says "This user type does not exist"

#

am I doing something wrong here?

fluid python
#

im pretty sure its not "god" have you read the read me?

thorn spoke
#

It should be yes.

thorn spoke
old fable
#

I'm id 3 at the moment

#

unless I'm understanding wrong

thorn spoke
#

Aah the order is wrong in the readme I think

#

If you do the command, it should say the order you should use

#

type should be first I think

old fable
#

thats all I get when I use the command

#

doesnt say what order unfortunately

#

ah

#

just checked the server main lua

thorn spoke
#

Weird that the help text doesnt show

old fable
#

/createracinguser god 3 IReadTheReadme

#

was the correct sequence

#

{name='type', help='racer/creator/master/god'}, {name='identifier', help='Server ID'},

#

type first then id

dense merlin
#

Hi everyone! may you can help me? im using the Raidjob2 for Ox_inventory it works fine but dont give me the items, may you can help me _?

thorn spoke
#

I'm not a master of Ox, but Player.Functions.addItem should be one of the functions that Ox overwrite right @craggy estuary ?

craggy estuary
#

it does, the itembox bullshit isnt required for ox though as thats standardized without its own call.

thorn spoke
#

No errors?ย @dense merlin
You sure you added the items also?

dense merlin
#

this one, yes i have the items also

craggy estuary
#

thats a warning but not related to inventory stuff

#

What function are you working in?

#

or line number

dense merlin
#

from 506 till 540

craggy estuary
#

Give reward?

dense merlin
#

nope

#

that is the problem

#

give the money but no the items

craggy estuary
#

So yes thats the function that your working in. got it

thorn spoke
#

I assume you tested modifying the chance right?

dense merlin
#

100

#

yes haha

craggy estuary
#

Yeah im looking at our code now for my version of the script and its essentially the same. it should work so its gonna come down to checking that your items were put in properly and turn on debugging you might get some more info

#
        for k, v in pairs(Config.Jobs[diff].Rewards) do
            local chance = math.random(0, 100)
            if useDebug then
                print('chance for ' .. v.item .. ': ' .. chance)
            end
            if chance < v.chance then
                Player.Functions.AddItem(v.item, v.amount)
            end
        end

no difference here aside from it being cleaned up a bit more for private usage

thorn spoke
#

When you gonna make the Raidjob2Ox-version repo Khat? Madge

craggy estuary
#

i sent you the source xD

thorn spoke
#

Oh

#

right

craggy estuary
#

bahahahaha

thorn spoke
craggy estuary
#

i did my part lmao

#

at least the 2.0 ox version has been stress tested to extremes haha

#

so many people ran that on sundown

thorn spoke
#

Did you do the qb parts of that?

craggy estuary
#

i ripped it all out

#

its ONLY ox

dense merlin
#

๐Ÿคท

thorn spoke
#

i'll put the done up ox version up

#

haha

craggy estuary
#

haha

craggy estuary
dense merlin
#

thanks mates hahaha!

pliant fable
#

Did someone fully converted qb-inventory player items to ox_inventory player items

#

Because i have running server and just want to move to ox inventory

craggy estuary
#

Ox Had a conversion script inside it already.

#

i think its still there, i havent done dev work in a few months

pliant fable
#

Yes but convert only trunk and glovebox not player inventory and stashes

#

For that i ask

craggy estuary
#

It used to do players too

#

I only know cuz I did it lol

#

Yep still there lol

hexed flicker
#

i'm trying to make a custom npc for the cw-trades but whenever i do the event with a parameters it says trade doesn't exist

Config.Peds = {
    {
        model = `s_m_m_fibsec_01`,
        coords = vector4(-700.37, -1474.47, 4.0, 52.82),
        freeze = true,
        networked = true,
        invincible = true,
        blockevents = true,
        target = {
            options = {
                {
                    type = "client",
                    event = 'cw-trade:client:attemptTrade',
                    parameters = "SandwichToBeer",
                    icon = "fa-solid fa-gun",
                    label = "Crafting",
                },
            },
            distance = 2.5
        }
    }

}``` even though the SandwichToBeer is a correct trade
thorn spoke
hexed flicker
#

so i've got

        { tradeLabel = 'Trade 10 Recycling Boxes',     tradeName = 'TenBoxes' },
        { tradeLabel = 'Trade 50 Recycling Boxes',     tradeName = 'FifBoxes' },
        { tradeLabel = 'Trade 100 Recycling Boxes',    tradeName = 'HundBoxes' },``` but it shows up as 
```lua
        { tradeLabel = 'Trade 10 Recycling Boxes',     tradeName = 'TenBoxes' },
        { tradeLabel = 'Trade 100 Recycling Boxes',    tradeName = 'HundBoxes' },
        { tradeLabel = 'Trade 50 Recycling Boxes',     tradeName = 'FifBoxes' },
#

in game for the bottom one

thorn spoke
#

LUA doesn't do numbered order unless you set indexes

hexed flicker
#

ahh, so how would I make it so its numbered?

thorn spoke
#

[1] = {trade} etc

#

I think

#

Or you can always write a function that sorts em alphabetically or something

hexed flicker
#

yeah doing { 1, tradeLabel etc works

zenith mortar
#

I was going through the readme for racingapp and didn't see anything in regards to the metadata, but saw that there was some for selectedRacerName and Auth. Is there a specification on this? Or can I just do this:

    playerData.metadata.selectedRacerName = playerData.metadata.selectedRacerName or 'NONE'
    playerData.metadata.selectedRacerAuth = playerData.metadata.selectedRacerAuth or 'NONE'
thorn spoke
#

the metadata values should be nil if they aren't set yet. I think the script wont auto-assign one otherwise

#

Or are you trying to fetch them somewhere else?

zenith mortar
#

No I was just having difficulties just getting anything to register and noticed I didn't have the metadata set in the core. So I was just seeing if there was something I was missing or not.

thorn spoke
#

The script should check if any of them are set or NIL, whenever a race user is given to them, if it's set to NIL it will just set their current user as the one just created

#

Did you update? If so did you run the sql mentioned in the readme?

zenith mortar
#

Ok. Also, when I was doing the createracinguser I was getting the this user type doesn't exist even though I was following everything as it should've been.

I ran the latest sql. I didn't know I had to add what was in the readme as I was under the assumption that it was preadded to those who didn't already have the script prior to the update. I'll have a look. (Reviewed the SQL and everything is as it should be)

thorn spoke
#

When did you grab the code? I updated the readme on Friday cause I had the wrong order on the command.

zenith mortar
#

Today

thorn spoke
#

You shouldn't have to add the readme stuff if you install from scratch ๐Ÿค”

zenith mortar
thorn spoke
#

try enabling debug

#

in the config

#

Did you modify the config anything?

zenith mortar
#

Also there's a typo here:

        if PlayerData.metadata.selecterdRacerName then
            currentAuth = PlayerData.metadata.selectedRacerAuth
            currentName = PlayerData.metadata.selecterdRacerName
        else
#

No. I've only just installed, ran SQL, added items and changed the cryptoType to 'gne'.

#

I couldn't even get any of the targets to work due and I had the job that was required in AllowedJobs

thorn spoke
zenith mortar
#

Trying to load in to see.

thorn spoke
#

AllowedJobs wasn't updated in the config for the User update. Fixed it now

zenith mortar
#

It's working now

rotund vault
#

so ima just put this here as its probably simple and im missing something somewhere.

I want the payment to be with items instead of cash (trying to do item to item for the economy and do away with currency) i have tried to set the payment type to item and have it take the weed brick item but that just breaks the interaction to where it wont take the item and it doesnt even say i dont have enough of the item

#

btw this is for radidjob2 OX version

rotund vault
#

eh i just said screw it and did it myself. If anyone is also using ox_inventory and wants this to work here ya go.

#

oh yeah can ignore the print functions. debug fun times

thorn spoke
rotund vault
rotund vault
#

question. with the raidjob cleanup timer. how long is the base timer. im assumning the 20000 is 20 seconds but looking through i cant tell what the script thinks the completion of the job is and im having a pile up of dead bodies and cars in spots sometimes

thorn spoke
#

I think cleanup starts from after case pickup

#

It's been a bit problematic due to how Onesync handles chunks tho.

rotund vault
#

i swear the more and more i learn about fivem and how gta natives work its like making minecraft mods lol. got chunks as well now

thorn spoke
#

Yeah, basically anything outside of a clients chunk (~2500 meters iirc) is totally ignored

#

meaning if you spawn enemies or despawn stuff outside it sometimes just wont register

#

It's why we spawn enemies upon coming close to the spot

#

And why the max distance in Head2Head is 2km PepeLaugh

#

cause otherwise fivem cant determine distances

#

I'm sure there's some better ways to do it tho

rotund vault
#

that i assumed. i did notice when testing that it only spawns them in if the client that started the job gets near. Im assuming that with renewed phone groups that is fixed i just dont want to setup renewed phone lol

thorn spoke
#

Yep

#

One day I kinda wanna just write a script that does renewed phone groups but without the phone PepeLaugh It's basically just a couple of exports and a list of playerids

rotund vault
#

basically a renewed_lib

thorn spoke
#

a cw lib coming up PepeLaugh

rotund vault
#

but yeah your scripts a great. its like the basics are there for people to just fuck with and I love it. im by no means a dev. (i have a degree in game design lol) but i can do a bit more that just config dev lol

thorn spoke
#

Yeah it's what we've usually tried to create. Something people can tinker with.

rotund vault
#

i just figured out how to do the qbphone button and i editied your code to not automatically place a waypoint and instead you need a phone to get the location. it does still start the job so if the player gets near it will start but to get the waypoint you need a phone

thorn spoke
#

I think there's a way to like overwrite fivem Natives even. So you could probably create an overwrite for the set waypoint native and make that a global thing ๐Ÿ‘€

rotund vault
#

what do you mean by that. like set the waypoint for everyone or?

thorn spoke
#

No like if you want to make all waypoints always need a phone, that can be done globally

#

I think

#

as in you do it in one file and it will always be the case

#

Ah nvm I was wrong. It's not possible

rotund vault
#

well i think thats what i have done. in a probably pretty jank way. it just uses the function that was already there to set the waypoint. I just turned that function into an event and i call that event through the mail button and just removed the setgps line to the start job

#

the most simple way and its all done within the client script

thorn spoke
#

cool thumbup

#

Also what progra mare you coding in?

rotund vault
#

soo uhh its legit just notepad++

#

its simple and effective

thorn spoke
#

Much more simpler and effective

rotund vault
#

oh i have VS code. i just find notepad for me to be easier

rotund vault
#

so i just checked. the cleanup by default is when the case is unlocked. i just switched it to be when the case is picked up because i think i figured out the one sync issue. Its if the player is too far away when the cleanup triggers it doesnt acctually clean those entities. so having it be once the case is picked up gives a better chance to have the player be near when the entities clear.

The only issue i see with it is if it clears the ped that has the key

thorn spoke
#

Can always be triggered when both are done I guess

#

I think the initial idea with triggering it after unlock is that cops would otherwise show up to an empty scene hehe

rotund vault
#

that is fair lol. im doing survival server stuffs so i dont need cop stuffs but that does make sense

muted smelt
#

cw-racingapp
Even though Config.UseCustomUi = false, the ui appears. I only want qb-menu, how can I do it?

thorn spoke
#

Ah yeah, forgot to mention, I removed the qb menus

#

It came to the point where i'd need to update them also, so they're gone now

muted smelt
#

I don't even know how to create a very complex new route since there is no such thing as a video for use.

thorn spoke
#

Wait? Wait for what?
The qb-menus are gone, forever.

muted smelt
#

What is the reason for deleting qb-menu?

thorn spoke
#

I dont want to maintain multiple menus

#

You can always use an old commit from github if you want that

#

but you'll be out of all updates and probably have a bug or two

muted smelt
#

Are there any errors in the content of the previous version?

thorn spoke
#

I'm sure there could be yes. You'll have to compare commits to check

muted smelt
thorn spoke
#

Alright thumbup The next update will focus even more on the custom UI tho. The qb-menu will be long forgotten

calm lion
#

A small question, how can I change the language for the racing app?

thorn spoke
#

With the new ui, language changes won't affect the App, only some notifications.

calm lion
thorn spoke
#

Yeah of Course ๐Ÿ‘

I'd hold off on doing it tho

#

Next update will completely rework the app side of things

calm lion
#

cw-racingapp
how can I set the buttons config? If I do it in the config . only the label changes

thorn spoke
#

You'll have to edit the code

calm lion
thorn spoke
#

It should change the default keybind

#

But if i recall correctly, it won't reset when you change it after once set

calm lion
#

So it's best to take everything down again. clean cache and new?

thorn spoke
#

You might need to clear the keybinda in settings also

#

I don't remember the exact process, but I think it was:

  1. Take out script
  2. Start server without it and remove/reset the racing app keybinds in settings
  3. Re-add script with new default keybinds and run
#

It's just the default keybinds tho. so they can be changed however

calm lion
#

I thank you for the effort. I'll try it

calm lion
sour merlin
#

@thorn spoke is this a public resource? I see it in al of your recent video's

thorn spoke
sour merlin
#

ohjw thx

strange summit
#

Hey guys, I'm having a problem with cw-racingapp script. It stucks like this when I try to open it.

thorn spoke
#

Should be fixed now thumbup

strange summit
#

Thank you for the fix I lost my mind over this yesterday lol

#

thought I was doing something wrong

#

May I also ask something about the script? Why does it say No User even tho I used createracinguser as a god?

thorn spoke
thorn spoke
#

Try restarting the script once

#

I don't know if the command actually assigns the user as current

strange summit
#

I tried restarting script but it didnt worked let me try restarting the server

#

Idk if this is something I did wrong but I get this error at f8 when I try to select a user

thorn spoke
#

Hmm, I think I know what might be causing it. I might have forgotten the no-user check sweats
I'll fix it soon, probably in about 1.5h when I get back home

strange summit
#

Okay thank you I'll be waiting โค๏ธ

thorn spoke
#

Should work now thumbup

strange summit
#

thank you will try rq

#

I'm getting an antivirus error while trying to download from github

thorn spoke
strange summit
#

yeah lol

thorn spoke
#

It might be cause it's built in the dist

#

maybe that's a bad way to publish it ๐Ÿค”

#

one sec

strange summit
#

alright

thorn spoke
#

does it mention any specific files?

strange summit
#

it looks like this

thorn spoke
#

Ok that doesn't really say much. I'll try deleting the dist folder and I guess people gotta build it themselves then

strange summit
#

I allowed it gonna try now if it works

thorn spoke
#

I removed the dist folder.
If you redownload now you need to also run "npm i" in a console window when in the html folder

strange summit
#

Okay I will try that too

thorn spoke
#

I added some better instuctions in the readme for installation of the ui thumbup You can find it under Setup

#

Did it at least not give you a virus warning now? haha

#

@strange summit

#

Also, found this.
https://forum.cfx.re/t/malware-detection-in-server-build-6500/5117877

seems like that specific virus message is common ๐Ÿ‘€

strange summit
#

I will try really quick I went out to eat something

#

Will let you know when I'm back home

#

thanks

ebon drum
thorn spoke
#

is it the same one?

ebon drum
thorn spoke
# ebon drum

That's not an antivirus error. just npm saying there's some outdated packages basically.

ebon drum
#

and currently we can't change the position of position and the checkpoint box both separately ?

thorn spoke
# ebon drum

This is weird.

I don't get this when building on my dev server... but I get this error also when I try building in the public-repo I have what fixing it asap

ebon drum
#

also while building there was one undefined variable too $border

thorn spoke
ebon drum
#

and show only top 3 now confused what to do ๐Ÿ˜•

thorn spoke
#

You can edit the VUE files and do a new build

#

for t he same layout

#

but like I said, I'm planing to add HUD layout options

thorn spoke
ebon drum
thorn spoke
#

Might take a while, depending on when I got time to work on it

ebon drum
#

And also to show only top 3 racers previously had a if statement for that

#

Now where have to do that

thorn spoke
#

RaceHud.Vue I think

thorn spoke
sour merlin
summer compass
#

@knotty bison

thorn spoke
#

to lazy to even rename it well PepeLaugh

thorn spoke
# ebon drum Awaiting for that

Got it done a lot faster than expected โœŒ๏ธ
Not sure if my IRL colleague is here, but shortly after our discussion in here, he randomly sent me "Hey Coffee, did you know you can do this in VUE? [insert thing that makes HUD positioning a walk in the park]" Sweat

primal pelican
#
operable program or batch file.```

When I try to run the cmd. ๐Ÿ˜ฆ
median flume
#

it bugs the ui everytime in raceapp

thorn spoke
median flume
thorn spoke
#

Did you follow the set-up steps, to build the ui?

grizzled hill
#

I have 2 issues, I cant make the tablet work, and the createracinguser says " this user type doesnt exist" . I tried different stuff, but I failed.

thorn spoke
grizzled hill
#

I got them yesterday, and did the npm stuff

thorn spoke
#

Errors?

grizzled hill
thorn spoke
#

It's like you're lacking a translations file or something

grizzled hill
thorn spoke
#

Remove the folder. Re-download it.

grizzled hill
worthy pollen
#

Quick Question can't see if it has already been asked but for cw-prints, what links can be used in the books? Apologise if this has been covered

thorn spoke
grizzled hill
#

Im using the command

thorn spoke
worthy pollen
grizzled hill
thorn spoke
versed rampart
thorn spoke
#
versed rampart
#

Just wanted to let you know and also confirm if it is good to download

thorn spoke
#

Yeah. you're the first one to bring it up for vending

#

And the last push is like many months old

#

If there had been anything, it'd been picked up a long time ago

humble narwhal
#

I have few questions how to some of players join race

#

Or must have race account

thorn spoke
#

Account is needed

sour merlin
#

i cant swap my vehicle with cw-vehicleswap

#

it says the vehicle doesn't have any swaps

thorn spoke
#

Did you add the vehicle ?

#

To the list of swaps

calm lion
#

for the cw racing uptade reinstall the script ?

ebon drum
#

setup tracks thing

thorn spoke
thorn spoke
runic moth
#

in racing script i am pressing INSERT but checkpoints are not adding in race tracks please can you tell me how to fix that problem

thorn spoke
runic moth
#

ok

calm lion
ebon drum
calm lion
#

Can I translate this completely now or will a lot change? racingapp

thorn spoke
ebon drum
thorn spoke
humble narwhal
#

i have the racing thing i have a master fob it doesnt seem to respond to you

ebon drum
#

currently it updates only when player crosses checkpoint

thorn spoke
thorn spoke
humble narwhal
#

i did got it off github

thorn spoke
#

The script doesn't use fobs no more

humble narwhal
#

can u send me thew link

ebon drum
ripe silo
#

Is there any way i can get the tracks link? @thorn spoke

thorn spoke
ripe silo
ripe silo
upper sinew
#

with the cw-racingapp how do i get the tablet or app its self

thorn spoke
shut pivot
thorn spoke
upper sinew
thorn spoke
rotund vault
#

i have a question. I have looked through everything and removed all debug prints, debuging is off in the config ad well. this is for the raid job. it only happens when someone uses the case to open it

thorn spoke
rotund vault
#

yeha i have no idea where lol

thorn spoke
#

Search the files for qbcore.debug

rotund vault
#

does raidjob use the QBCore:Client:UseItem

thorn spoke
#

I dont know, try searching for that in the files maybe? I only have the ox version around.

rotund vault
#

found it. its in the server file of the raidjob around 320

ripe crater
#

can anyone help me fix this issue none of the mini games work when we get the case

thorn spoke
#

Probably a PS UI issue

half coyote
#

yo guys can someone explaine this for me ฤฑ dont understand what can ฤฑ do here :/ "Go to "html" folder and open a command window (right-click > open in terminal) then type npm i and then npm run build. (Seeing a virus popup? Don't worry) You should now see a folder called "dist" "

thorn spoke
half coyote
#

yeah ฤฑ dont want to modify that ui but ฤฑ take this eror how can ฤฑ fix that

thorn spoke
#

Did you run the sql?

half coyote
#

yeap

thorn spoke
#

If you did the setup correctly and that's all the errors then I can't really help you. Sorry. If you find anything else please return with more info ๐Ÿ‘

strong root
#

@thorn spoke Hey there! Can I peep you a dm for commissioned work? ๐Ÿ™‚

gilded oxide
#

Hi guys, could anyone help me? I'm having a problem opening any NUI but it stays like this without any items appearing and I've already used the blueprint

framework: qb-core
inventory: LJ
target: ox

thorn spoke
stray grove
#

is tuning meant to come with a default item list for qb?

thorn spoke
toxic saddle
#

Does anyone know how to set up Metadata for Cw-Prints for ox_inventory

I can get the cars to make but can't get the meta data to appear, i see in the documentation how to get it to work for qb-inventory, but we are not using that

thorn spoke
toxic saddle
#

Nope, i have it set to ox

toxic saddle
thorn spoke
#

It's only supposed to show the business btw

craggy estuary
#

To display the meta on item

thorn spoke
#

Oooh

#

There is an export for the business it seems?

craggy estuary
#

On my phone so I canโ€™t check atm

thorn spoke
thorn spoke
#

Seems like the entire script was broken to bits with some ox update we did lol

#

Fixing it now

thorn spoke
#

Mightve also rewrote the book displaying a bit ๐Ÿ‘€

#

(it fucks up a bit if you use different sized images but that's a user error if anything lol)

craggy estuary
#

oh thats clean

thorn spoke
#

Now also with ox lib input

craggy estuary
#

ox is the future

thorn spoke
#

Take the blue pill, and keep using dated inventory systems like LJ or QB... or take the red pill and see Ox, the true master systems

hybrid nova
#

Hello, a quick question, could anyone tell me how to sell this item and give me money in cash or in the bank? I have been reading the readme and due to my limited knowledge in programming I must be doing something wrong, thank you very much

thorn spoke
chilly tinsel
#

Hi can anyone help me? How can I create an account?

thorn spoke
chilly tinsel
#

Can someone give me a cheap racing script?

thorn spoke
# chilly tinsel Can someone give me a cheap racing script?

No, like you buy the account in game, from the seller/laptop

Please read the readme.
https://github.com/Coffeelot/cw-racingapp?tab=readme-ov-file#user-management

GitHub

Racing script with ghosting, advanced leaderboards, class system and race positions - GitHub - Coffeelot/cw-racingapp: Racing script with ghosting, advanced leaderboards, class system and race posi...

chilly tinsel
#

thx

chilly tinsel
#

But if I don't want to put god on a person, what command do I use?

craggy estuary
#
The tiers are racer < creator < master < god 
chilly tinsel
#

Thx

thorn spoke
#

Renaming and moving this channel so it's easier to understand to use the support tickets

mental marten
#

Hi can i ask for fix a little think in my own script? >.<

swift mural
#

Does anyone know how to press the keybind next to this, it can't be pressed?

thorn spoke
#

You can set them in the keybinds Settings if they don't work for ya. or change the buttons in the config (I think)

fresh relic
#

I have a problem with cw Notes. Can anyone help me?

thorn spoke
compact gust
#

how to fix this?

thorn spoke
#

Not sure what you are having issues with?
The print? Probably a missed console log

compact gust
#

this not save my settings

#

and not errors

thorn spoke
harsh kite
#

just a doubt i want to changes some design in racing app

#

i do npm i and afterwards npm run dev

#

but

#

no ui appear

thorn spoke
#

try npm run watch

harsh kite
thorn spoke
#

You cant with racingapp as it's highly dependant on the data is holds. There's no dummy data to help display in a browser

harsh kite
thorn spoke
#

npm run watch

#

dev with it in game

harsh kite
#

i have to go in game to do that spaming ?

thorn spoke
#

spaming?

brazen orchid
#

anyone know where to change the npc location in raid job 2? ive searched the whole folder for the coords and nothing is coming up

thorn spoke
brazen orchid
thorn spoke
#

@fallow glen
Which specific track was not working? Or all of them?

fallow glen
thorn spoke
fallow glen
#

Like off the paste pin from top to bottom yeah.

thorn spoke
#

I just tested and it's working fine.
Paste into a txt file instead and post it here.

fallow glen
#

Okok

opaque gate
thorn spoke
opaque gate
#

Glad to see someone using Vue instead of React for Simple UI stuff

grizzled hill
#

Fire release cant wait to try it out, and cool showcase video

thorn spoke
#

Thank you Prayge it's pretty damn fun driving around with haha

thorn spoke
opaque gate
#

It's such a beefy framework though for something like FiveM

thorn spoke
#

It is. Svelte is prob the best for the majority of UI stuff honestly

#

VUE is great for anything that needs a bit more advanced stuff, like UIs with several menus and whatnot

opaque gate
#

Svelte is solid, i know not too many people in FiveM Development use it either which is shocking to me Lol.
Though Iโ€™m usually shocked by all kinds of stuff in the FiveM space.
Weโ€™ve been working on a new boilerplate for Vue & Svelte for ease of use on new projects.

thorn spoke
#

I link the one I use in crafting and racingapp readmes, but that's for more advanced stuff with state etc.

It'd be nice to have the simple VUE setups as boilerplates also!

opaque gate
#

True, our main issue though with using stuff thatโ€™s already made like the vue plate you linked is we primarily use C# for 98% of the new stuff we create leading us not to be able to use things like that BP.

itโ€™s always a surprise how poorly built FiveM the framework is.

#

We actually have a BP for simple VUE setups I believe PeepoThink
Or maybe we donโ€™t Iโ€™d have to check

opaque gate
thorn spoke
#

It'd go as far as give anti virus hits ๐Ÿ˜‚

opaque gate
thorn spoke
opaque gate
#

You good man

opaque gate
thorn spoke
#

Nope ๐Ÿค” could be some versioning issue or maybe Node version when installing

opaque gate
short ferry
#

any smart people know how to update these two lines of code to work with the new QB-core ?

#

TriggerServerEvent("QBCore:Server:AddItem", Config.ThermiteItem, math.random(Config.MinEarn,Config.MaxEarn))
TriggerEvent("inventory:client:ItemBox", QBCore.Shared.Items['thermite_bomb'], "add")

regal dirge
# short ferry any smart people know how to update these two lines of code to work with the new...
RegisterNetEvent('qb-smallpenis:server:AddReItem', function(item, amount, type)
    local src = source
    local Player = QBCore.Functions.GetPlayer(src)
    if not Player then return end
    if not item then return print('you need an item') end
    if not type then type = "add" end
    if type == "add" then
        Player.Functions.AddItem(item, amount)
        TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items[item], 'add', amount)
    elseif type == "remove" then
        Player.Functions.RemoveItem(item, amount)
        TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items[item], 'remove', amount)
    end
end)

Past that in any server sided script

Then trigger with the following

TriggerServerEvent('qb-smallpenis:server:AddReItem', Config.ThermiteItem,math.random(Config.MinEarn,Config.MaxEarn), 'add')

That adds

TriggerServerEvent('qb-smallpenis:server:AddReItem', Config.ThermiteItem,math.random(Config.MinEarn,Config.MaxEarn), 'remove')

That removes

keen lintel
thorn spoke
keen lintel
thorn spoke
grizzled hill
#

CW can I send you a DM

thorn spoke
nocturne remnant
#

hello, so our team is interested in your tuning script, were looking to drop a few scripts but want to make sure that your script can cover our basics, i see that you now offer interchangable motorswaps. does this also include the possibilty of adding our Add-on swaps and audio?
does it offer any gear ratio, or fuel to air ratio tuning, or even possibly a dyno?
Looking for basically a whole NFSU2 vibe

thorn spoke
# nocturne remnant hello, so our team is interested in your tuning script, were looking to drop a f...

You can use any add on audio yes.
Cw gearbox (which covers the gearing for Cw tuning) does not add gear ratios. Not sure if it's possible with this implementation ๐Ÿค”
Theres not any fuel-to-air-ratio but you can always add parts that do this perhaps.

For example, the default ecu is defined as such:

    ecu = {
        bayShore = {
            description = "Bay Shore are known for their focus on high speed",
            stats = {
                torque = 0.008,
                speed = 8.0,
            },
            price = 6000
        },
        endo = {
            description = "ENDO are known for their focus on accleration",
            stats = {
                torque = 0.0098,
                speed = 5.0,
            },
            price = 6000
        }
    },

You can probably make similar parts that just change up the variables accordingly.

A dyno UI is planned, but I haven't gotten far with it. It will basically just be a way for mechanics to test all parts to create builds, before commiting to purchasing. So it'll be an UI that has all parts and then updates using cw-performance (probably) to grab PI values

nocturne remnant
#

ok worst case scenario we can find another dyno for the time being, have ran into so many complications with the current tuning script and keep just ripping out more and more code within the last couple days and its no longer supported,

ok with motorswaps does that offer more than just sound? i can tune individual engines to certain specs?

do you offer maintanence ? like vehicle ware, repair?

also lets say i have a "stage 4 camshaft", i replace it with "stage 5" do i remove the old camshaft or does it overwrite it?

is there a way to basically third eye the car to "check vehicle mods"?

thorn spoke
# nocturne remnant ok worst case scenario we can find another dyno for the time being, have ran int...

This might be what you want to check performance
https://github.com/Coffeelot/cw-mechtool

i can tune individual engines to certain specs?
Yes. The script also comes with a command to "rip" performance values from other cars to make it easier. It normalizes values towards 1000kg weight so it can be taken and applied to any vehicles.

do you offer maintanence ? like vehicle ware, repair?
No. I haven't found a decent way to add this that wont require lots of frequent DB calls ๐Ÿค” If I do I might add it for sure

also lets say i have a "stage 4 camshaft", i replace it with "stage 5" do i remove the old camshaft or does it overwrite it?
Both, iirc. I think there's an option for it in the config for non-mechanics. It's a feature to allow non-mechanincs to upgrade if mechanincs aren't around but this can be disabled also. Mechanincs remove parts when installing new of same type.

is there a way to basically third eye the car to "check vehicle mods"?
Yes. That's how it works if you dont use cw-mechtool

#

(also an update is coming for cw tuning like REAL soon so dont download it to soon if you get it PepeLaugh )

nocturne remnant
#

ok good to know thank you alot for your feedback and great response time. i also love that your script is also open source aswell!
currently our server is free for all mechanics right now, trying our best to make it run without admins having to give job roles all day so the feature to disable the mechanic job is very helpful
this is currently how we have one of our motorswap options

['k20a'] = {    ['improvements'] = {    ['type'] = 'CHandlingData',
['handId'] = 'fInitialDriveForce',
['sound'] = 'k20a',
['value'] = 0.320,    ['fixed_value'] = true
            },['item'] = {
['name'] = 'k20a',
['amount'] = 1,
['time'] = 10
            },
['interface'] = {
['name'] = 'Honda K20',
['icon_color'] = '#ffffff00',
['icon'] = 'images/upgrades/k20a.png',
['description'] = 'The Honda K-series engine is a line of four-cylinder four-stroke car engine introduced in 2001.',
['index'] = 14 },
['class'] = 'engine'
        }, ```
#

or

#

you say that yours is a command but do you offer it as a adjustment within the script aswell?

#

[`musv8`] = { nInitialDriveGears = 5, fInitialDriveForce = 0.425000, fDriveInertia = 1.200000, fClutchChangeRateScaleUpShift = 8.200000, fClutchChangeRateScaleDownShift = 8.200000, fInitialDriveMaxFlatVel = 168.000000, fMass = '1400.000000', custom = true, -- DECLARE AS CUSTOM ENGINE turboinstall = true, -- this engine has a default turbo install? handlingName = 'musv8', -- sound name label = 'Mustang V8', -- ITEM LABEL soundname = 'musv8', -- sound name price = 100000, },

#

just trying to compare to what you have. i noticed that your using torque and speed which is something were not used to seeing which could be really interesting

thorn spoke
#

but you can technincally add any of the "modifiers" you find if you want

#
    torque
    speed
    mass
    antiRollBalance  -- hard set. Not increased on base value
    braking  -- hard set. Not increased on base value
    suspForce -- hard set. Not increased on base value
    suspComp -- hard set. Not increased on base value
    suspRebound -- hard set. Not increased on base value
    antiRollForce -- hard set. Not increased on base value
    offRoadTractionLoss -- hard set. Not increased on base value
    steeringAngle -- hard set. Not increased on base value
    griplow -- hard set. Not increased on base value
    griphigh -- hard set. Not increased on base value
    transmissionUp -- hard set. Not increased on base value
    transmissionDown -- hard set. Not increased on base value

    torqueSet -- hard set. Not increased on base value
    speedSet -- hard set. Not increased on base value
nocturne remnant
#

oh i see ๐Ÿ˜ฒ

thorn spoke
#

so any part you can modify to your hearts content with those. Sadly gtas handling lacks a lot of depth haha

#

but this script does it's best to add as much as it can

nocturne remnant
#

yes i agree, have been tuning cars for the passed 3 years and im always sitting here fighting with these weird variables

Looking forward to your next update then =D$$

ALSO if you make a dyno and its anything like this
https://www.youtube.com/watch?v=Q2U3wtpLnY0
TAKE MY MONEY lol

I used this dyno setup for Street-X in my NFSU2 Walkthroughs. All parts are on lvl3
Leave a LIKE and a comment, thanks for watching.

Content:
00:00 Dyno
00:57 Suspension
01:18 Drivetrain
01:28 Aerodynamics
01:34 Tires & Brakes
01:43 ECU
01:51 Turbo
02:00 Test Run
02:33 Outro

Subscribe for more!

Music: Skylines - Anno Domini Beats
Support by ...

โ–ถ Play video
thorn spoke
#

Haha not sure if it's possible

#

Unless shits faked

nocturne remnant
#

id like to share a dyno with you but dont want to promote anything care if i dm you the link?

thorn spoke
#

nah yo ucan post it here its fine

grim helm
#

anyone knows if i can add AUDIO on gear change?

nocturne remnant
#

ok i mean its renzu if youve seen it

thorn spoke
thorn spoke
nocturne remnant
#

HAHA atleast your honest! i can appriciate that lol

#

one last question i think for now, this is all inventory supported right? like i dont have to worry about using metadatas and pulling from some "upgrade bench" instead of just using my inventory?

#

we craft all of our own parts, so we wolnt be using any tables or purchasable areas

thorn spoke
#

It uses ox inventory

#

but it sets up shops and everything yes

#

they're customizable per mechanic shop they belong to also

nocturne remnant
#

ox inventory.. so this doesnt support qb inventory?

thorn spoke
#

Oh

thorn spoke
#

QB has 0 support for metadata checks and manipulations

thorn spoke
#

a script like this would be shit with that LuL

nocturne remnant
#

lol

thorn spoke
#

Like legit not possible to make

#

without adding like 200 parts individually maybe

nocturne remnant
#

trust, i know this very well thats why weve ripped so much code outta renzus

ugh just dont feel like making the whole switch to ox

thorn spoke
#

It's the true way

nocturne remnant
thorn spoke
#

QB is dead LuL

#

barely gets updated

nocturne remnant
#

yeah im not going to disagree with you. but theoretically we could possibly make this work if we make individual parts without the metadata concept ?๐Ÿง
we do enjoy things the hard way you should see our 900 buildable vehicle chassis list lol. which was metadata before.

thorn spoke
#

Yeah for sure. But since QB doesn't support metadata stuff then it will be hell of a lot more coding as you cant just use the built in stuff ox comes with

#

One key thing about cw tuning is that it uses ONE item

#

and then uses ox to just change it's image and name

#

so all these are the same item, no matter type, variant or tier

nocturne remnant
#

well we use a lua creator that generates these things for us so adding repetitive code isnt our worst concern. and ok im understanding what your throwing at me, i think we may be able to make this work

thorn spoke
#

if you got good devs Im sure you could

nocturne remnant
#

well as far as making brand new scripts not those kind of devs, but as far as making scripts work the way they werent intended too. OH YES lol

#

but i appreciate you and keep up the great work! as soon as the new update releases im sure we will pick up your tuning!

thorn spoke
#

thumbup Adding automatic swaps now too

nocturne remnant
#

terrific, talking with our team. even if we were to use the metadata system it would create conflict within making these items craftable.
ox seems great and all but eh... ideas tho supporting metadata through a crafting system would be a great addition. select the item and it will generate it the same way as your stores doing

thorn spoke
#

I do wonder if cw crafting dont already support just that hmmm

nocturne remnant
#

i see.... see we havnt really jumped that far into metadata as we are but..
we'll download it tonight and pick at it to see if this is viable. does this support xp and levels?

thorn spoke
#

tuning? No
crafting? yes

nocturne remnant
#

ok yeah crafting. were going to ponder the possibilities.

warped crater
#

where can i find more new race tracks ?

thorn spoke
thorn spoke
#

If anyone is on the fence about jumping mz-skills to cw-rep. This is the difference PER PLAYER CHARACTER of data saved in the database in our db between mz-skills and cw-rep

thorn spoke
#

Anyone know if QB supports checking inventory for metadata/info nowdays?

This shi is the reason I'm on the fence of even supporting this dated inventory system.

If you're to dumb to understand what happens here: Line 72 does everything in line 70 + the entire function above

#

Also slight spoiler for upcoming script stolen_eyes

rugged meadow
tiny basin
#

wish us luck 1970_pepe_sweat

#

30 people, amazing work pepeiloveu

thorn spoke
#

Was it streamed? Any vod? ๐Ÿ‘€

tiny basin
#

starts at around 2:40 and yes worked amazing pepeiloveu , gonna actually do the update since I finally got some time

thorn spoke
#

Ah cool, you got it into a laptop app also? Does it just open the racingapp ontop of it, or is it actually implemented into it? @tiny basin

tiny basin
thorn spoke
#

Or wait, hmm, I think cars would de-phase if they are also close to anyone not in a race. So if there are spectators at the starting line phasing will (by design) not work there haha

tiny basin
#

yes i agree, which is why i was like i need to get to that update haha. We appreciate the work glowy_heart

thorn spoke
#

I think no matter what you will get that issue if there are spectators around the starting line

#

It cuts phasing when non-racers are close

tiny basin
#

ohhhh yeahhh that would makes sense aLaughtPepe

deft zenith
#

hello hello, does anyone know how to get rid of curbboosting/speedbumps in cars? its driving me crazy to figure this out.

tiny basin
thorn spoke
# deft zenith hello hello, does anyone know how to get rid of curbboosting/speedbumps in cars?...

You can also add advanced flags to fix it. It might change handling om some vehicles tho, and it's a bit of a chore to add them.
I don't remember exactly what each one did but this one fixes some stuff: 4000000
If I recall correctly, 10000 also fixes this specific issue. However: it will make all your cars gear up early and sound like they are all driven by a 80 year old man who's afraid to rev their super car.

#

We had one dude add 10000 to most high end vehicles on our server but after the server split up I removed it from all handling files cause personally I think the balance it gives doesn't outweight how boring it makes cars sound LuL

#

8000000 can fix top-speed glitching also iirc. But it needs a full revamp of downforce if used, to work correctly

deft zenith
#

thank you very much, iโ€™ll definitely look into that!!

deft zenith
#

thank you all again for your help, we got it to work!!

zinc flare
#

hi

#

Hi, I need help, I wanted to add to the server ps-hud-cw but I have a problem my server is on qbox
I am trying to rewrite it but without success, I would appreciate any help

merry badgeBOT
#

There aren't any pending purchases for you to claim.

woeful goblet
#

Hi @thorn spoke i made a translation to spanish

#

But im trying to rebuild

#

Once i got it i can share it no problems ๐Ÿ™‚

thorn spoke
#

For what script?

woeful goblet
#

cw-racing

thorn spoke
#

Cool. Due to how it's translated its probably easiest for you to provide a copy of the html files in a separate repo or something ๐Ÿ‘

quasi oracle
#

how to put a race track template

#

help

#

@limber quest

limber quest
#

oof, its sadly ages since i've used any of this so I can't help you there, maybe I should return to this though

dapper vine
#

Hi, ive been trying to use cw-tuning with qbx_garages and no luck with cars spawning with mods, has anybody got it working?

thorn spoke
twin bison
#

Hello all

swift aurora
#

Hello guys just a very quick question, i saw your crafting system and cw-rep, so my question is: will that scripts work with qbox?

thorn spoke
swift aurora
thorn spoke
#

Qbox mainly uses ox target + inv and crafting supports that so it shouldn't be an issue

#

rep is pretty much standalone I think

ashen crescent
#

Would there ever be ox target support for cw trading?

thorn spoke
ashen crescent
#

Was using it and getting errors

#

Im going to try to convert it

thorn spoke
#

Your errors might be due to an incorrect setup or installation also.
If you need help please post in #1176825221785849977 , be sure to read through the pinned post.

swift aurora
#

Hello, again! The crafting script and rep is amazing!! Ty for the creation of them. i am just wondering
If there isn't the right place please delete it

this is a client-side part right?

local hasSkill = exports["cw-rep"]:playerHasEnoughSkill("Searching", 100)
    if hasSkill then
        -- do thing
    end

and this is a server side export right?

exports['cw-crafting']:giveRandomBlueprint(source, {min = 1, max = 2}, 990)

So if i want to add the random blueprint for client side i have to create somethink like this at server side?

ServerSide:
RegisterNetEvent("ascript:DoSomething", function(data)
 local src = source

exports['cw-crafting']:giveRandomBlueprint(src, {min = 1, max = 2}, 990)
end

Client side:

local hasSkill = exports["cw-rep"]:playerHasEnoughSkill("Searching", 100)
    if hasSkill then
        TriggerServerEvent:("ascript:DoSomething", data)
    end
thorn spoke
#

Yeah that looks good to me, both examples ๐Ÿ‘

#

Allows you to test exports and stuff directly in game

swift aurora
#

Oh ty for letting me know! will try it for sure ๐Ÿ˜„

swift aurora
thorn spoke
thorn spoke
#

Hey <@&1043506590663319622> users.

Have you experienced issues with phasing/ghosting, especially on a server with more active players?

I think I might have found the issue, but I need people to test the fix.

If you have time and have people on your server then please try this fix and get back to me:
#1257119324599091253 message

Nerdge

It seems to have been a OneSync issue and statebags not actually working as suggested in their documentation

robust mesa
#

@thorn spoke I have a question about cw-emsblips - but i can't find open a ticket / find the category under #1176825221785849977 ?

thorn spoke
robust mesa
mild hull
#

#updates message
I've been using qbx for a few months, and I haven't had to do any conversions

thorn spoke
#

Qbox has some issues with commands also right? I know people who use QBox have had problems using the commands that are created with the QBCore function

pulsar oriole
#

Really never had a problem with that function

thorn spoke
#

huh ๐Ÿค” Racingapp for example doesn't have oxlib commands set up, and I know people running QBox has had issues with them because somewhere with the conversion it replaced the integer indexed table with a named one

#

maybe they fixed that

mild hull
#

No issues with the commands, I have various scripts including yours where I kept everything 'original'. No problems with the callbacks either. Where available, I've activated the ones from ox. I haven't updated to version 18 yet though, I'm still on the previous version

pulsar oriole
#

i do recommend just using oxlib for most registion and callback, wait etc

summer ember
#

I a using cw-rep and cw-crafting no problem at all on qbox

thorn spoke
pulsar oriole
#

it allow the code to be easier to read

thorn spoke
#

In darkweb i've tried to support both because I figured QBs might not be supported with qbox

#

but I guess they are ๐Ÿค”

#

All good. Nice to heard that it's working out anyway.
I've been running a QBCore server with an (old) QBox core basically ๐Ÿ˜… and it's always worked fine to me

pulsar oriole
#

the biggest exploit to qbox is still supporting qbcore as it super exploitable

#

but they support 90 % of qbcore so that my option.

thorn spoke
pulsar oriole
#

kekw that true to be honest if cfx just added cryto encryption to the client side they would fix biggest flaw in fivem

thorn spoke
#

Racingapp is probably INSANELY easy to exploit because it sends the entire set of the race every update. Can probably just trigger the same server calls and gain an infinete amount of wins

hollow current
thorn spoke
#

Didn't Qbox post something about deviating from Qbcore like 6 months ago?

#

Which'd drop some support?

#

Or was that just like inventory shit?

hollow current
#

Nop they still have the bridge for everything from qb

hollow current
thorn spoke
#

As long as you run both QBox and ox it shouldn't make a difference

#

Oh, hmm

#

the job/group system changed no?

pulsar oriole
#

im still confused on that too

#

idk if it a group api or it just changes job and gangs logic

thorn spoke
#

I guess they changed the core system, but I'd wager the exports probably still work

#

Like they merged jobs/gangs right?

#

So if you'd try to fetch a gang (with qbcore functions) called 'police' it'd probably return your police job instead

pulsar oriole
#

so the group api is just to update jobs and gang sets got it

thorn spoke
#

Yeah I think it's a merge

#

as the systems have like almost the same setup anyway

#

The core use of them is checking access and rank

hollow current
#

Just a little u can refer to the docs

#

or randol_multijobs

thorn spoke
#

Since no one has complained I assume it works haha

#

Because I think the only script where I've broken out the job fetch is tuning

hollow current
hollow current
thorn spoke
#

As long as no one complains there's no need to fix anything hehe

#

But in the long run I would assume they'll cut more and more support

#

Which they should as qbcore certainly is lacking in some spots

pulsar oriole
#

I have cw-turing and tebex id could you help with role?.

thorn spoke
fiery mantle
#

Qbx โ™ฅ๏ธ

zinc drum
#

Had no issues with QBCore to QBox functions. But you are gonna have to be careful with ox dropping support for qbcore because now scripts like crafting are not gonna auto convert qb-target to ox_target for example

craggy estuary
#

Depends on how far the support for QBCore goes here as well honesty. I know coffees made mention that he might drop it in favor of qbox instead. Core itself is dated and a security risk in most aspects.

thorn spoke
#

The support didn't seem to be dropped yet for Qb-target and I assume that's just beacuase Linden made Q-target which qb-target was based of to begin with

craggy estuary
thorn spoke
#

At least it's easy to add ox-target support along side it

#

Since they have identical setups

#

Unlike the menus for example lostInv

hidden lintel
#

I love the ps-hud edit but the only thing I ask is if we could get the option to toggle show minimap when not in vehicle like the original ps-hud, maybe in a future update pepeblink if not I understand

thorn spoke
#

I won't be updating it ๐Ÿ‘

#

The hud is just something I was doing for fun. It won't get any more updates.

median mortar
#

if a project is not using qb/qbox/esx how would be best to convey that on the form to you? Not looking to get filtered for selecting something inaccurate.

thorn spoke
#

(added some extra options)

median mortar
thorn spoke
median mortar
cinder stag
#

Has anyone ever tried to set up the raid jobs with AV Gangs?

weary verge
#

anyone able to help w this?

#

im qb-target but has no option to change it from ox

thorn spoke
weary verge
#

what you mean

#

@thorn spoke

digital rose
weary verge
#

we use oxlib not ox target

digital rose
thorn spoke
#

Ah ok. Script doesn't support changing them individually.

halcyon marsh
#

I enter the location and i put everything money debit but the cards are not come in inventory

thorn spoke
halcyon marsh
#

I am Using Ox_inventory But The Read Me is For Qb

#

My issue is Only The Card Not Come Into My Inventory

thorn spoke
halcyon marsh
#

oo sorry

#

I opened Sir

waxen notch
#

So - i have a general fivem question. I am new to FiveM so bear with me, but we've noticed that the vehicle sync is quite... not good. It feels like that vehicles if in races or just driving around create some sort of "airbubble" around them and if you drive against it it already counts as bump. Any idea to prevent this?

craggy estuary
#

Thereโ€™s not much of a fix, thatโ€™s just the sync in general of fiveM

#

The difference between fiveM sync and altV is absolutely bonkers. Wish altV was a bigger platform

reef bane
#

Where I can change or modify this UI?

reef bane
#

@thorn spoke

thorn spoke
#

Do you know how to work with VUE and node?

reef bane
#

nope

thorn spoke
#

Then it won't matter much since it's not just some css/html editing. Search the html file for files/folders with HUD in the name

#

As stated in the readme, we don't do lessons in how to work with the ui. So good luck chilidog

lucid ermine
#

anyone using cw-tuning on esx?

#

have you guys fixed this?

thorn spoke
#

Did you change the SQL script to use "owned_vehicles"?

lucid ermine
#

yes

thorn spoke
#

Says there that owned_vehicles doesn't have the mods column

#

Did you change it when you added the column?

lucid ermine
#

this are my tables

#

i added manually the mods im not sure if im doing it right

thorn spoke
#

Huh hmm

lucid ermine
#

this is where the error comes from

#

i got the tuning data

#

but mods yea error

#
[    script:cw-tuning] SCRIPT ERROR: @cw-tuning/server/server.lua:46: cw-tuning was unable to execute a query!
[    script:cw-tuning] Query: SELECT mods FROM owned_vehicles WHERE plate = ?
[    script:cw-tuning] ["KUKTZITR"]
[    script:cw-tuning] Unknown column 'mods' in 'field list'
[    script:cw-tuning] > handler (@cw-tuning/server/server.lua:46)
[    script:cw-tuning] > logError (@oxmysql/dist/build.js:26282)
[    script:cw-tuning] > rawQuery (@oxmysql/dist/build.js:26458)
[    script:cw-tuning] > processTicksAndRejections (node:internal/process/task_queues:96)```
thorn spoke
#

Oh yeah

#

Change tuning to mods on those lines

lucid ermine
#

oki

thorn spoke
#

I thought I fixed that facepalm

lucid ermine
#
RegisterNetEvent('cw-tuning:server:setMods', function(newMods, plate)
    local result = MySQL.query.await('SELECT mods FROM owned_vehicles WHERE plate = ?', {plate})
    if result[1] then
        local amountOfMods = 0
        for i, mode in pairs(newMods) do
            amountOfMods = amountOfMods + 1
        end
        if amountOfMods == 0 then 
            if useDebug then print('There are no mods. Resetting DB field.') end
            MySQL.query.await('UPDATE owned_vehicles SET tuning = ? WHERE plate = ?', {NULL, plate})
        else
            if useDebug then print('Setting mods: ', json.encode(newMods)) end
            MySQL.query.await('UPDATE owned_vehicles SET tuning = ? WHERE plate = ?', {json.encode(newMods), plate})
        end
    else
        if useDebug then print('Vehicle not in DB') end
    end
end)```
#

how do i do it correctly?

thorn spoke
#

Where it says "tuning =" there. Change it to "mods ="

lucid ermine
#

on it

#

only for setmods?

thorn spoke
#

I think that was the only spot it was incorrect

#

I'm not at my PC. Can't check

lucid ermine
#

its okay ill try to debug

#

i appreciate the fast response ๐Ÿ’ฏ

thorn spoke
#

I have the fixes locally just probably didn't update the resource on Tebex . I'll fix it tomorrow

lucid ermine
#

thank u!

#

appreciate you bro ill just wait for the update

lucid ermine
#

hi thanks for the update! but im having issues on jg advancedgarage i guess no more error on server console but still doesnt fetch maybe the settings

thorn spoke
lucid ermine
#

sure 1 sec

#

sent

craggy yacht
#

https://www.youtube.com/watch?v=c5u5mqbRQe0 it is possible to make ui like this and checkpoints? not exactly the same but something like this ....

โœจ Siga-me nas redes sociais para ficar por dentro de tudo:

Instagram: @pegasusp1
Discord: https://discord.gg/23Ff7BZ92c

๐ŸŽฎ E nรฃo perca minhas lives na Twitch! Estou ao vivo toda semana jogando e interagindo com vocรชs! Venha fazer parte da nossa comunidade:

Twitch: https://www.twitch.tv/pegasusp1_

๐Ÿ”” Ative as notificaรงรตes para nรฃo perder nenh...

โ–ถ Play video
thorn spoke
craggy yacht
#

oops i dont know coding

dusky creek
vast mango
#

anyone able to help me with cw-raidjob2?

#

i want to make it so you can have a chance to get weapons and attachments

mild hull
#

I recently see the new addition about bounties, incredible!! ๐Ÿ˜

charred dagger
#

Hey Can Someone send me steps to install the racing script I am unable to figure otu

#

out*

charred dagger
#

<@&1002187624259256350>

thorn spoke
charred dagger
#

I Tried but then it's showing cw-performance issue and when I am adding CW-Performance then my -phone is not coming out

#

Can I get some video link so i can check and follow the steps

#

<@&1002187624259256350>

thorn spoke
#

There's no install video from us. You'll have to find that somewhere else

charred dagger
#

What type of service you guys are giving then if u can't solve the issues even your read me file is not proper with steps

thorn spoke
#

Support on issues that are from the scripts, not user errors

#

You don't have to install the phone part of cw-performance if that's whats causing the issues

charred dagger
#

I removed that phone is coming out but then cw-racing and performance is not starting

thorn spoke
#

There's a step by step guide pinned in #1176825221785849977 to debug. Please start there, and make a thread when you've gone though the steps and provided the suggested info

dusky creek
#

Is there seomething wron in my cfg or this is f*up?

Too many entried for each player.
Should only be 1 for each player, how should i fix it ?

thorn spoke
dusky creek
# thorn spoke What page are you screenshotting?

I just read the config and it seems to be normal behavious, Wanted to know if there was possible to limit only best record for player on each track not taking in consideration carmodel or vehicleclass but nevermind.

thorn spoke
#

It should be doing one 1 entry per racer per class/vehicle (depending on what your Config.UseVehicleModelInsteadOfClassForRecords is set to)

dusky creek
dusky creek
thorn spoke
#

Yes, one record per racer as long as:

  • track is same
  • vehicle or class is same (whic one depends on config)
  • Race Type is same .

Ei you can have 2 entries for RacerA but they'd have to differ in one of those 3 aspects

#

so what you screenshotted looks like it's a buug

dusky creek
#

Ok maybe its due to updating script after rework on records, i wil ltry to drop the records table on the DB and try to see if it works correctly

#

Also, Wanted to let you know that when racers gets ghosted other players from outside the race do not see them with Alpha set as 254, but see them almost completely transparent.
Looks like it is synced only with those in race.

thorn spoke
dusky creek
#

I will wipe the DB records

thorn spoke
minor dew
#

some reason thecreateracinguser command doesn't work for me, doesn't show up on the command list
also my user doesn't show up in the db

#
11:47:17 PM [              bussin] createracinguser 
11:47:17 PM [                 cmd] No such command createracinguser.

it appears none of the commands work I don't see removeracetracks either
and yes i have cw-performance installed

#

any ideas on why?

#

@thorn spoke

thorn spoke
minor dew
#

is there a way to change the flare color @thorn spoke ?

thorn spoke
minor dew
# thorn spoke Check the config. If not there then search the client main file for flare

I tried this but no luck.. any ideas? I don't think the flare particle color can be changed but i could be wrong.

local function handleFlare(checkpoint)
    local Size = 1.0
    local left = showNonLoopParticle('core', 'exp_grd_flare',
        CurrentRaceData.Checkpoints[checkpoint].offset.left, Size)
    local right = showNonLoopParticle('core', 'exp_grd_flare',
        CurrentRaceData.Checkpoints[checkpoint].offset.right, Size)

    -- added
    SetParticleFxLoopedColour(left, 128 / 255, 0 / 255, 128 / 255)
    SetParticleFxLoopedColour(right, 128 / 255, 0 / 255, 128 / 255)
    --

    SetTimeout(Config.FlareTime, function()
        StopParticleFxLooped(left, false)
        StopParticleFxLooped(right, false)
    end)
end
thorn spoke
minor dew
fierce jay
#

I have cw-trade and cw-traders as seperate folders how do I merge them to get the cw-traders to read the server file

#

p.s: cw-traders did NOT come with a server folder or sever.lua

thorn spoke
#

They should be separate folders. Traders does not have a server file.

fierce jay
#

so I remove the string of code that mentions a server.lua

thorn spoke
minor dew
fierce jay
thorn spoke
#

And for anyone else dropping in here: this isn't a support channel for cw scripts.๐Ÿ‘

#1176825221785849977

minor dew
#

but it did not work, any ideas?

thorn spoke
#

Nah no idea. Maybe needs a different particle effect shrug

craggy estuary
#

Iโ€™d assume youโ€™d have better luck with

#

Purely a guess though

minor dew
#

I tried that one too

hazy arch
#

Hi, can anyone tell me whats the difference between the "control" and the "controlAll" permission in cw-racingapp ?

thorn spoke
#

control only lets the the user with that auth type control users they created. Controll All lets you see all racing uers ever created.

hazy arch
#

so if i let master the "control" perm, they can create users right?

#

but they can create with god permission for example?

thorn spoke
hazy arch
#

okay, but they can't create higher rank users right?

thorn spoke
#

No, they can only create types under them iirc

#

Or it might be that it's tied to what's defined in Config.Laptop actually

hazy arch
#

Yeah but if i'm "master" for example, i can create user but cannot specify what auth type

thorn spoke
#

Did you remove the job requirement in Config.Laptop?

hazy arch
#

u mean just empty the table or set to false?

thorn spoke
#

False

#

If they're not included then they wont be available in the list iirc

hazy arch
#

current settings:

jobRequirement = false, -- Tied to Config.AllowedJobs
    requireToken = false,                                                         -- using cw tokens?
    model = 'xm_prop_x17_laptop_mrsr',                                            -- entity model
    location = vector4(938.56, -1549.8, 34.37, 163.59),                           -- world location
    moneyType = Config.Payments.createRacingUser,                                 -- cash/bank/crypto
    racingUserCosts = {                                                           -- cost of creating an account
        racer = 1,
        creator = 1,
        master = 1,
        god = 1
    },
#

And still "not authorized"

thorn spoke
#

No. All options should be false if you don't want them to have a job requirement

hazy arch
#

ah okay

#

sorry

thorn spoke
#
jobRequirement = { racer = false, creator = false, master = false, god = false }```
#

I'd remove the god user from that list tho, so they can't be created

#

god user is meant to be an admin kinda thing

hazy arch
#

yeah i know, i just want "rp crews leader" to be allowed to create racers with creator/racer auth

#

so i just need to put true the master and the god user tho

thorn spoke
#

Anything you set to true in that will require your user to have a specific job to be able to create that user type

hazy arch
#

yeah, i set to true the master and god user and set the config.allowedjobs to the admin crew one

#

Already ud, thank you so much coffeelot

thorn spoke
#

yeah exactly. So you can actually hide the god one behind a job

#

that's neat, didn't even think about that lol

#

And I'm renaming this channel since it seems that it's unclear that this aint cw support channel, that'd be #1176825221785849977 lul

hazy arch
#

hahaha sorry

#

Buying you a coffee anyway PeepoCoffee

hazy arch
#

u received it=?

thorn spoke
#

Sure did. Appreciate it peepoCoffee2

fierce jay
#

Hello yall
I was wondering if anyone could help me with qbtarget. I wanted to make it so that it would show .pngs of items when third eyeing. In this case I want it to show "beer.png" or/and "meth.png". Any help of guidance is helpful

spring spear
#

hello all , thanks for the amazing script one problem i have
when i start the race ghost dont start direclty it take some seconds + some times even players are racers they hit each other

hazy arch
thorn spoke
#

Hot tip: Debug logs will without a doubt be needed to debug that.

hazy arch
sick roost
#

hey does anyone know how to make a fivem screen like this when a player joins any server

gusty summit
#

I get this when trying to insert the default tracks sql

zinc phoenix
#

I'm loving the racing app, its come so far since I used it last year!

#

How is the score for the cars calculated? Is it from the handling meta values? I wanna rearrange the classes on my server

thorn spoke
#

Yeah it analyzes the meta values. You can tweak it q bit through the performance config

hazy marten
#

If I dont want a sound while driving through a checkpoint, can I delete the checkpoint line or just fill in false?

thorn spoke
#

No idea. You could always try

hazy marten
#

Any way that I could make this black? I like it more white honestly but because of my bloom I dont see the standings at night

hazy marten
hazy marten
#

sound stuff didnt work if anyone would have idea how to fix without fucking over the other files let me know, imma also try some stuff

vast mango
#

does renewed qb-phone renewed still work these days? i really wanna use it so we can have groups for raidjob but ive installed it multiple times and none of the apps load

vast mango
#

ill see if i can locate it again for you

#

find this: Config.PrimaryUiColor = '#2986cc' -- Primary color in UI, default is orange Line 54 of config.lua

#

you will need to just replace the hex code, as mine is blue

thorn spoke
#

I'd highly advice against renewed phone. It's dead afaik

vast mango
#

gotcha, is there any other way to get groups for raidjob2?

#

yeah i figured it was archived for a reason

thorn spoke
#

not without re-coding it

vast mango
#

ah okay, but if yphone has groups i could totally re-code it to work?

thorn spoke
#

Yeah any group system that works in a similar way would probably be pretty easy to swap out the qb-phone exports for whatever group system you want to use

vast mango
#

sweet, appreciate the help! been developing a server for only like 3 months now so im still pretty clueless on alot of things.

vast mango
#

i just tried replacing the exports with yphone ones and no luck so far, also the first time ive done it so i probably messed up

half valley
#

Does anyone have a script that when you hold some keybind it displays the vehicle class above the vehicle?

#

that would be cool for police and stuff

thorn spoke
#

Been wanting to test ox dui stuff out so maybe that's not a bad idea to test it on ๐Ÿค”

half valley
#

that would be dope

outer shadow
#

if youre using ps-dispatch there at one point was a way to add that as an alert, idk where that snippet is now though

#

it would ping back plate information and someone had modified it to add the class of the car in

half valley
#

but civilians couldnt use it

outer shadow
#

true

thorn spoke
#

the closest rn is probably cw-mechtool but that's only for mechanics

#

But something that displays it above the vehicle would be sweet also

half valley
#

somethign like this

thorn spoke
#

(ignore the audio from me watching Kitboga)

half valley
#

This looks dope man

dark stone
#

@thorn spoke please say me how can I remove that

thorn spoke
dark stone
thorn spoke
#

For CW performance

dark stone
#

-- THE FOLLOWING REQUIRES OXLIB
Config.AllowDrawTextDisplay = true -- If enabled you can use a hotkey to display classes over vehicles. Make sure oxlib is imported in the fxmanifest

Config.DrawTextSetup = {
height = 2.0, -- height above vehicle the label displays
distance = 20.0, -- Distance from players where performance index is visible
showPillar = true, -- if false then disables pillar, if your arent into that kinda thing
markerType = 1, -- marker type, 0 is a cone and 1 is pillar. Google fivem markers for more
baseSize = 0.04, -- Pillar size
defaultButton = 'F6' -- see https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/

#

this?

thorn spoke
night pilot
#

I was wondering if I can talk to somebody about commission?

night pilot
next valve
#

does anyone have lb-phone cw-performance app by any chance or do I have to make it? dogO

next valve
night pilot
#

nobody made the app

craggy estuary
next valve
craggy estuary
#

can post it in here if ya want. i dont think anyone would object to it

thorn spoke
#

Great place to put it โ˜๏ธ

next valve
#

I will do it

arctic flume
#

Hey Coffee or any other seasoned dev. Is there a good tutorial or guide you know of for learning to how make a bridge for frameworks? or just good go-to videos for fivem scripting? Trying to learn this shit, it's so hard to find any coheearant learning resources

thorn spoke
arctic flume
summer pier
#

Heya @thorn spoke might to add a section to the readme about "setCraftingOpen" export in the crafting

#

So it can be opened from other scripts

crisp obsidian
#

@thorn spoke sorry for taging but im usin the cw-racing the prob is when i want to creat race and adding check points i cant why ???

thorn spoke
#

You probably using the wrong buttons.

Seeing as you're not making a report in #1176825221785849977 i assume there's no errors so user error is most likely the case here ๐Ÿ‘

Check config and make sure you read

merry badgeBOT
#

There aren't any pending purchases for you to claim.

#

The Discord ID of gh_oficial#0 is 281179437419069441. Please enter this ID to gift a package to this user.

hazy marten
#

I think i has something to do with my own server the thing is idk what it could be caused by

thorn spoke
#

Could be alot of things. If you think it's on your server only, the first thing I'd check is custom assets