Jump to content
  • 0

Vehicles aren't updating to the database correctly.


tehatomicpotato

Question

Basically as the title says, the vehicles on my PVP server are not being saved to the database correctly. They generated and spawn in just fine but if you get in a world generated vehicle and drive it somewhere else it will just revert back to its original position and its original state after restart. Spawnign in vehicles works alright and it even saves their position after you move them, but only on the session they were spawned in. Once you restart the server it too becomes locked in place on where ever you left it and will keep reverting to that spot just like all other vehicles do. 

I'm gonna guess it has something to do with the publish vehicles or objects files in the mission pbo so I compared those files from my PVE server which works fine to the ones on the PVP server and found that the PVP server's update object and publish object files had a few lines missing  that were included in the PVE server's files. So i tried adding in the missing code but that only made it worse. It caused the server to get stuck are trying to get authentication even after wiping the database and puting back in the working server files. To fix that problem i had to completely wipe the server and start back over with vanilla files. Which is why I always make back up files but its still annoying and time consuming. I'm out of ideas. 

If anyone can help me with this that would be great. If you need to look at the files I can just email them to you.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...