enc0ded / enc0ded-persistent-vehicles Goto Github PK
View Code? Open in Web Editor NEWMod for FiveM OneSync Multiplayer servers
Home Page: https://discord.gg/wNChXdB
License: MIT License
Mod for FiveM OneSync Multiplayer servers
Home Page: https://discord.gg/wNChXdB
License: MIT License
In some cases, which I can't describe at the moment, it appears that the vehicles that are managed by the persistence script are duplicated
https://media.discordapp.net/attachments/702494756760059904/721644153120751686/unknown.png
https://media.discordapp.net/attachments/702494756760059904/721644090244071434/unknown.png
https://media.discordapp.net/attachments/702494756760059904/721643961235669122/unknown.png
I wanted to ask if it is possible to make a timer for saving the vehicles in the next update.
Hello there,
I tried to register the buyed Vehicles from the esx_vehicleshop Persistent, but doesn't seem to work for me. Got nothing when I pv-to-save-file in the json file ...
If someone can help, would be grateful.
Thanks a lot.
Hello. So i'm not sure, but sometimes i got this message:
Persistent Vehicles: Waited too long for the clients to respawn vehicles
Basicly, if i saved example three car around map, restart server and and join back to server. Other two car got deleted, but latest vehicle duplicates three times. I'm not sure what cause it.
sometimes you don't see cars, but when you drive into some place, they respawn and show that you crashed into it. newest artifacts 3020 and with 80 players, no hitch warning or errors.
I saved cars around map. For some reason first registered car spawn to some other car. Check video. I saved cars, restarted server and then this happen. [VIDEO]
everytime when take vehicle, get props error. using extendedmode.
https://i.gyazo.com/1fae2157d9dbf5a48b2d2ef071e0ace5.png
https://i.gyazo.com/9b5d078087f0ce8fdf6ffc5696524b62.png
So my problem is not that the basic repopping doesnt work. The main problem is, that we have 2 main Server-Restarts. One in the early morning, and one in the evening. So If I park my Vehicle at night in front of my house, I leave and it won't get repopulated because noone is in the area if my vehicle, it won't save to the file and at the Restart in the evening it's gone.
Is there any solution?
Ty btw for this great script
I am using esx_advancevehicleshop and after trying to get it to work in the console it throws me this message
https://i.imgur.com/MQxRsz5.png
checked the cars file and i don't see any change:
https://i.imgur.com/wVCa1cs.png
.
I have added the following in the store:
https://i.imgur.com/aiZiKLr.png
could you tell me if it's okay?
Hey,
we have a trouble on OneSync Infinity with user cars. After few seconds when you leave your car, car entity dissapear. We finding solution for fix this. This resource can fix our issue?
Thanks for help
I spawned 300 Vehicle on the Map (on different places)
and when i restart the server i become this error:
`SCRIPT ERROR: @enc0ded-persistent-vehicles/server/main.lua:247: error while encoding 'number'
SavedPlayerVehiclesToFile (@enc0ded-persistent-vehicles/server/main.lua:247)
handler (@enc0ded-persistent-vehicles/server/main.lua:37)
fn (@enc0ded-persistent-vehicles/server/main.lua:413)`
edit: all Vehicles are saved in the file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.