Rod Serling

AVS - Advanced Vehicle System

714 posts in this topic

Execute the following query on your exile MySQL database:

ALTER TABLE vehicle  
ADD ammo text  
NOT NULL;  
UPDATE vehicle SET ammo='[]'

 

Screenshot.png.3c71067b39c5dbd8c310a156c8889c8a.png

how to fix?

Share this post


Link to post
Share on other sites
Advertisement
On 10/30/2018 at 11:30 AM, zol said:

Execute the following query on your exile MySQL database:

ALTER TABLE vehicle  
ADD ammo text  
NOT NULL;  
UPDATE vehicle SET ammo='[]'

 

Screenshot.png.3c71067b39c5dbd8c310a156c8889c8a.png

how to fix?

tell me how to add correctly ...Execute the following query on your exile MySQL database:

ALTER TABLE vehicle  
ADD ammo text  
NOT NULL;  
UPDATE vehicle SET ammo='[]'

Share this post


Link to post
Share on other sites

How and where can I change ammo related DB insert of a newly created persistent vehicles to prevent DB related errors?
Or maybe completely cut out ammo related code, since I don't use militarized vehicles at all...?

ALTER TABLE vehicle  
ADD ammo text  
NOT NULL;  
UPDATE vehicle SET ammo='[]'

The above code, only changes the already created persistent entries and must be done manually via sql query,
but when some of the persistent vehicles destroyed , new ones automatically spawned with their ammo data empty (see the attached screenshot , two bottom lines) and not with " [] " entry. Which creates AVS error
 

"AVS ERROR - INVALID MAGAZINE SAVED IN DATABASE: "
 "AVS ERROR - Magazines should be saved an array. Blank entries should be: [] Verify your database."

    

GLWga6h.png
 

Edited by Chernaruski

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.