Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing happens after finding and lockpicking the car. #52

Open
unhiro opened this issue Sep 29, 2023 · 2 comments
Open

Nothing happens after finding and lockpicking the car. #52

unhiro opened this issue Sep 29, 2023 · 2 comments

Comments

@unhiro
Copy link

unhiro commented Sep 29, 2023

After fixing the date issue with the information found in comments here. I was happy to think I finally had this script working. Was able to join the queue, get a contract, find the car, lockpick the door, lockpick or hotwire the ignition, and then .... nothing. The red circle stays marked where the car was found, I can't run the tracker remover, and it never updates where I am supposed to drop the car off. There are no errors in the server console or logs anywhere.

I don't know if it is related issue but the benny's garage vendor dude never spawns either. I feel like there may be a connection but I don't see anything in the code that would actually suggest it. I can only assume that the script is never triggering the RegisterNetEvent('lockpicks:UseLockpick', function() section in jl-laptop\client\boosting.lua or that maybe since it isn't spawning peds properly it never updates the script with the drop of location? I'm not sure but I have been trying to get this script working for 3 days now and I am at my wits end.

I should add that when I cancel the contract it properly removes it and removes the car from the server even if I'm driving it.

@unhiro
Copy link
Author

unhiro commented Sep 29, 2023

Additionally in case this has any correlation to my issue. I get this -0 that pops up under where my cash on hand is in the top right corner only when I am doing boosting contracts. No idea what it is supposed to mean.
image

@unhiro
Copy link
Author

unhiro commented Sep 29, 2023

I lied there were errors in the client 'F8' console. Turns out you need https://github.com/overextended/ox_lib or the script won't work. Too bad there is no mention of this in the dependencies on the website or on here. So much is glossed over in the installation instructions that it is a miracle anyone gets this script running.

Once I installed and configured ox_lib the Benny's Ped spawned, the script realized I lockpicked the car and armed Peds spawned (3 of them with guns for a D boost which seems overkill but it worked), but I do still have an issue. It seems the script is not properly receiving that qb-vehiclekeys lockpick was a success. I doubt it's actually the qb scripts issue but more so this scripts lack of instruction.

Edit: this final issue after fixing the ox_lib was that inside jl-laptop/shared/boosting.lua you have to set the hacking device. By default it is set to phone so I changed it to the tracker remover or whatever the item is named with this script and it all works now. I made it so Peds only start spawning on C with 1 and 1 all the way until A+ then 2. With baseball bats until A+ and then bats and pistols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant