#windows/fivem server build 7290 doesnt like cars

1 messages · Page 1 of 1 (latest)

torpid cypress
#

Tbh idk how to title this one properly as it’s a strange issue.

So basically, if I use /car, I can spawn a car. That works. But when I spawn a new one, by default it’s supposed to delete the old one right? It doesn’t for me. I never fill in the optional argument to allow it to stay, yet it stays. I thought maybe a bug or config somewhere may have screwed this so I just thought nothing of it. But then when I use randols car related scripts (exporting, heists, etc) when I enter the vehicle it doesn’t proceed with the execution of the script. My friend teleports me and it gets me out of the black screen from which I can only assume that it should disappear when I’m in a vehicle but when the server doesn’t see that my ped is in a car, that black screen doesn’t disappear. I see the framework and some ox stuff has an update. Am I best to update all that and see if it works?

rapid edge
#

in baseline qbox this works perfectly fine so ill need to see those errors to assist

torpid cypress
#

I’ll send them once I’m home. At work atm lol

torpid cypress
#

restarted server ands these showeds

#

no other errors other than that so maybe besides the core recognising me, nothing else seems to think i exist

torpid cypress
#

okay i apparently dont exist

dense marten
#

Are you using the newest version of ox inventory? If so ox dropped support for qbcore entirely and it looks like it's looking for exports that don't exist anymore.

dense marten
torpid cypress
dense marten
#

How new is the server build

#

Did you set it up in the past 24hrs

torpid cypress
#

nope

#

uhhh

#

id say around 2 months now

dense marten
#

And you havent update the inventory?

#

Because typically when it spits errors like that it's unable to find a export it's calling for.

torpid cypress
#

nope nothings been updated

#

well even if i remove the scripts (sorry randol ily) i still have the issue of not existing somehow

dense marten
#

What are the new errors

torpid cypress
#

thats the odd thing, i dont have any

dense marten
#

I know it's not able to find registershops in ox because it doesn't exist in ox inventory according to that.

#

So something is messed up somewhere. How far along in development are you?

torpid cypress
#

tbh its not as much as youd think

#

like

#

2 months but not a lot has been done

dense marten
#

I'd just recommend starting from scratch so everything is up to date.

torpid cypress
#

that was my thinking but i just tried to leave it as a last resort ofc

#

wait hold a horse

dense marten
#

Main thing is with ox dropping support and all that it's best to be up to date. Maybe try replacing ox inventory and the core first.

torpid cypress
#

ok so i have JG garage and mechanic. could this be causing this 'i do not have a vehicle' crap?

dense marten
#

Take that out

#

It's conflicting most likely

torpid cypress
#

ohhhhkayyyyyyyyy looks like ox needs that update then

dense marten
#

I don't even use npwd lol

#

Yeah...

#

Also make sure bridge is set to qbx in ox.cfg

#

Otherwise ox will refuse to cooperate

torpid cypress
#

ive seen that i thought it was just set to it lol. i havent really had many issues in the beginning until recently

dense marten
#

Yeah I don't know but I updated all my stuff today and a lot of issues went away.

torpid cypress
#

yeah i have it on my to do list to update qbx and ox

#

but my inventory isnt working at all now so maybe the update will fix that bit too lol

dense marten
#

Just drag them on your desktop and put up to date ones and see if that fixes the issue.

#

If it does that solves your problem.

#

If not then I'm sure Matthew could help you when he sees this thread.

#

He's more advanced than I am hahahah.

torpid cypress
#

i feel that 🤣 i just hope it fixes the part where the server doesnt see that im in a vehicle cause thats like my main issue atm

#

its annoying when i do /car and it spawns on top of my old instead of deleting 😭

torpid cypress
#

okay so i updated my ox stuff, and my qbx-core. my inventory doesnt open at all, nor does it register apparently as any keybinds. it doesnt exist. the bridge is set as qbx. nothing should break but well it broke. i have no errors aside from the export ones above

hazy crest
#

you updated the inventory and core
What are the versions of both
and please dont tell me latest

torpid cypress
hazy crest
#

and you've got the correct convar set in ox.cfg?

torpid cypress
#

the set inventory one? its qbx yes

hazy crest
#

show the errors

torpid cypress
#

these are the only ones i have

#

theyre all just inventory export errors

hazy crest
#

I just downloaded a fresh copy of 2.42.1
And in modules>shop>server.lua
There should be the RegisterShop export on lline 118

torpid cypress
#

and F8 shows nothing i shouldve added

hazy crest
torpid cypress
#

i see it yea

#

ill restart the server again and see if it shuts up

#

nope 🤣

#

oh wait

#

i know why and im stupid

#

okay i can fix the shops then. but for the inventory not opening... would that be why?

hazy crest
#

Possibly

torpid cypress
#

okay so far inventory is a-okay. now its just the amin issue of my ped not being recognised

hazy crest
#

tbh im not scrolling up, are there errors related to that?

torpid cypress
#

nope... which is the painful thing

#

only errors i got was like 'unable to find player dropped or whatever

hazy crest
#

and when you say your ped is not being recognized you mean?

torpid cypress
#

idek how to explain it because its weird as. its like the server doesnt recognise im in a vehicle. i can do /car and spawn them, but the [keepCurrent] flag is somehow always true and doesnt depsawn the current car (unless the server thinks im not in a car to start with) but then i tried using randols carheists, it blackscreens every time i get into a car, and his export script, the bomb doesnt actually start when i get into the car. hence my thinking its ped/vehicle related

#

no errors whatsoever anywhere either relating to it from what im seeing

hazy crest
#

yea im not smart enough to even have a clue why LUL
good luck with that one

dry plover
#

can you share the code of the /car

torpid cypress
#

uhmmmm

#

ill try. its what came with the server

dry plover
#

if you have vs code just do RegisterCommand('car i think it shoul reveal

torpid cypress
#

its gonna take a sec

dry plover
#
share it like this
torpid cypress
#
this?
#

sweet

#

i remember it

dry plover
#

you do ```

spring dagger
#

From what I can see, you need to update to ox_inventory 2.42.1 and qbx_core 1.18.1

torpid cypress
spring dagger
#

And does ox_inventory startup without errors?

dry plover
#

how does a /car has anything to do with the inventory?

torpid cypress
#

inventory works fine now

#

its cause i forgot to readd the shops.lua file

dry plover
#

ohh i read it back i think we are not on the same page @spring dagger

torpid cypress
#

i deleted it cause of another script i have lmao

#
lib.addCommand('car', {
    help = locale('command.car.help'),
    params = {
        { name = locale('command.car.params.model.name'), help = locale('command.car.params.model.help') },
        { name = locale('command.car.params.keepCurrentVehicle.name'), help = locale('command.car.params.keepCurrentVehicle.help'), optional = true },
    },
    restricted = 'group.admin'
}, function(source, args)
    if not args then return end

    local ped = GetPlayerPed(source)
    local keepCurrentVehicle = args[locale('command.car.params.keepCurrentVehicle.name')]
    local currentVehicle = not keepCurrentVehicle and GetVehiclePedIsIn(ped, false)
    if currentVehicle and currentVehicle ~= 0 then
        DeleteEntity(currentVehicle)
    end

    local _, vehicle = qbx.spawnVehicle({
        model = args[locale('command.car.params.model.name')],
        spawnSource = ped,
        warp = true,
    })

    local plate = qbx.getVehiclePlate(vehicle)
    config.giveVehicleKeys(source, plate, vehicle)
end)
#

this is the car spawn command snippet

spring dagger
#

The car staying bug is an issue with newer artifacts

#

GetVehiclePedIsIn stopped working server side for some reason

#

I downgraded to an 86xx artfiact and that solved it

#

9xxx builds have this issue

dry plover
#

i used 9xxx and it had no problem for me.

spring dagger
#

Although I'm not sure if it's solved in the newest ones

spring dagger
dry plover
#

lemme check which i am on

#

how tf do i check that kekw

#

ah got it

torpid cypress
#

i used these if that helps lol

dry plover
#

oh my god 7.2k?

spring dagger
#

That's pretty old but that one shouldn't have an issue

#

I use 8695 now I think

torpid cypress
#

look it said latest and i dont read things

spring dagger
#

We never follow those buttons lol

dry plover
#

i am using 9572, should be stable.

spring dagger
#

Those are bad examples

spring dagger
dry plover
#

eh i have no problem

#

i used this for i think when it came out

spring dagger
#

Anything above around 86 was when the new dev team ruined a lot

dry plover
#

had 0 problems

torpid cypress
#

oof

spring dagger
#

It's getting better but their methods of pushing stuff is still crap

dry plover
#

the last fxserver broke with node 22 kekw

spring dagger
#

They don't test a lot even when they now have a team of testers

dry plover
#

also they broke txadmin with that update kekw

torpid cypress
#

i need to update mine...

spring dagger
#

They push to production and blame testers for not testing

torpid cypress
#

👉 👈

dry plover
#

well hard to test if they dont get it before its out yk

dry plover
spring dagger
dry plover
#

86xx should be stable tho afaik

torpid cypress
dry plover
#

but i used this and it worked fine all the time for me

spring dagger
dry plover
#

Dont they make a bag with Tebex and Zap?

#

and with boosts now

spring dagger
#

They do

dry plover
#

then why tf cant they tell their devs to not push stuff into prod before testing 💀

spring dagger
#

They can chill but rockstar put them up to this and other corrupt people in the company too to push dbub out

#

And all other devs supported dbub so they left

torpid cypress
#

dont shock me one bit

dry plover
#

what did dbub do, only helped it nothing else 😦

spring dagger
#

His mentally unstable image was a risk to them

dry plover
#

fuck rockstar*

spring dagger
#

And people in the company hated him before rockstar even came

#

So they did their best to get him out

dry plover
torpid cypress
#

tbh i might go do some blade and sorcery for a bit i need to max my crystals out so i can shove swords up butts but if anyone comes up with a fix for this ill love you foreverrrrrr. fyi when i first created the server, it was never an issue, had the server for 2 months, been happening for 1 month

spring dagger
#

This is just an artifact issue

#

So just try out a few of them

#

One will eventually work

dry plover
#

and will probably break half of the server just because it changed 1 thing that 20 scripts use but no one knows got removed in that specific version

torpid cypress
#

but how does it go from working to not working

dry plover
#

good question, we donno

#

it just realized it or idk

torpid cypress
#

🤣

#

okay so

#

how easy would it be to upgrade my articact?

#

dont tell me i gotta reinstall qbx again

dry plover
#

no need

#

just download a new fxserver

spring dagger
#

Just replace the artifact files and you're done

dry plover
#

delete the old one and install the new

#

and you "updated"

#

sometimes its a downgrade but yeah

spring dagger
#

I also like to delete the citizen folder in case something is deleted there but kept because of just replacing it

torpid cypress
#

so just replacing the files wont break everything

spring dagger
#

Yup

#

That's how we update

torpid cypress
#

thank jebus

spring dagger
#

Literal plug and play update

torpid cypress
#

love ittttt

dry plover
#

dont forget to stop fxserver before doin the update kekw

torpid cypress
#

im adding it to my list of bs to do tomorrow but if it dont work expect me to be back 🤣

spring dagger
#

That too

torpid cypress
#

just to make sure, if i replace all the files, then i open the start.bat thingy, itll just use whats in that folder?

#

i wanna double and triple check this shit lol

spring dagger
#

It does yeah

#

It just points to the FXServer.exe so if that's updated it'll use that on next start

dry plover
#

yep

torpid cypress
#

Okay sweet bloody Jesus. Thank you both soo much. Now as I said in general if this works, I’ll give love forever 👉👈

#

😂

dry plover
#

nah dw we love to help people who dont just say "help" and stuff

torpid cypress
#

I want to learn as much as I can about it all so I can make my own scripts for my server but that’s far away

spring dagger
#

It's usually less far away than you think

dense marten
torpid cypress
#

I’ve gotta get my head wrapped around this - - - @param thing yet with qbx, and then I just have to learn the sql as well haha. HTML, css, and lua seems alright. Oh and Java/json or whatever. Lordy

spring dagger
#

The param stuff is just to assign a type to params in functions

#

Once a type is assigned you can view the type of that variable by hovering over it

#

Then you know what to expect of that variable

torpid cypress
#

whats that refer to?

spring dagger
#

Show a screenshot of it

torpid cypress
#

gimme 1 sec i just restarted it to see if it would shuddup

#

i deleted the artifact folder, made a new one, then extracted and ran the new stuff

spring dagger
#

Which version did you download?

torpid cypress
#

uhm the top one. probs a bad idea

#

it was 9655

#

maybe ill try 9595

#

okay so 9595 lets me in

#

the 9655 is ass lol

#

so the vehicle issue ive had for a while is now gone so fucking sweet. but now i have this

spring dagger
#

That error will almost always show up

#

It's just the server list always returning an error for some reason

#

It doesn't affect anything though

spring dagger
#

When the old dev team was here, almost no published builds had such huge issues

#

There were some, but these are many more

torpid cypress
#

Lovely haha

torpid cypress
spring dagger
#

Not an error but a warning

#

A warning usually doesn't disrupt anything

#

But should be atleast handled sometime but without too much priority

#

In this case, that warning has been solved recently with #🗿〡qbx-changelog

#

From qbx_storerobbery

torpid cypress
#

Sweeeeet

#

Other than that I think that’s all my shit solved. Appreciate everyone who helped me out through this bs