• 0
bregan5

Disappearing vehicles on restarts

Question

I am having a huge issues with vehicles exploding in people's bases after server restarts which I feel is related to another issue I have with vehicles being deleted by the server in the database on restarts. Here is a example from my log files.

 

[07:08:47:321400 --5:00] [Thread 2808] extDB2: Input from Server: 0:367816:loadVehicle:1492
[07:08:47:321400 --5:00] [Thread 2808] extDB2: SQL_CUSTOM_V2: Trace: UniqueID: 1 Input: loadVehicle:1492
[07:08:47:321400 --5:00] [Thread 2808] extDB2: SQL_CUSTOM_V2: Trace: UniqueID: 1 Result: [1,[[1492,"I_mas_MI8","2015-12-17T06:16:44Z","76561198052283004",-1,0.967945,0.00787402,[["HitHull",0],["HitEngine",0.177165],["HitEngine1",0],["HitEngine2",0],["HitEngine3",0],["HitAvionics",0.586614],["HitVRotor",0],["HitHRotor",0.0787402],["HitMissiles",0],["HitRGlass",0],["HitLGlass",0],["HitWinch",0],["HitTransmission",0],["HitLight",0],["HitHydraulics",0],["HitGear",0],["HitFuel",0],["HitHStabilizerL1",0],["HitHStabilizerR1",0],["HitVStabilizer1",0],["HitTail",0],["HitPitotTube",0],["HitStaticPort",0],["",0.220472],["",0.220472],["HitTurret",0],["HitGun",0],["HitTurret",0],["HitGun",0],["HitTurret",0],["HitGun",0]],6793.981445,5173.729492,-0.159134,-0.292664,-0.942729,0.160034,0.0394597,0.155313,0.987077,[[],[]],[["NLAW_F",1],["150Rnd_93x64_Mag",150]],[["launch_NLAW_F","","","",[],""],["MMG_01_hex_F","","","optic_Arco",["150Rnd_93x64_Mag",114],"bipod_02_F_blk"]],"3338"]]]
[07:08:47:321400 --5:00] [Thread 2808] extDB2: Output to Server: [1,[[1492,"I_mas_MI8","2015-12-17T06:16:44Z","76561198052283004",-1,0.967945,0.00787402,[["HitHull",0],["HitEngine",0.177165],["HitEngine1",0],["HitEngine2",0],["HitEngine3",0],["HitAvionics",0.586614],["HitVRotor",0],["HitHRotor",0.0787402],["HitMissiles",0],["HitRGlass",0],["HitLGlass",0],["HitWinch",0],["HitTransmission",0],["HitLight",0],["HitHydraulics",0],["HitGear",0],["HitFuel",0],["HitHStabilizerL1",0],["HitHStabilizerR1",0],["HitVStabilizer1",0],["HitTail",0],["HitPitotTube",0],["HitStaticPort",0],["",0.220472],["",0.220472],["HitTurret",0],["HitGun",0],["HitTurret",0],["HitGun",0],["HitTurret",0],["HitGun",0]],6793.981445,5173.729492,-0.159134,-0.292664,-0.942729,0.160034,0.0394597,0.155313,0.987077,[[],[]],[["NLAW_F",1],["150Rnd_93x64_Mag",150]],[["launch_NLAW_F","","","",[],""],["MMG_01_hex_F","","","optic_Arco",["150Rnd_93x64_Mag",114],"bipod_02_F_blk"]],"3338"]]]
[07:08:47:402400 --5:00] [Thread 2808] extDB2: Input from Server: 1:367816:deleteVehicle:1492
[07:08:47:402400 --5:00] [Thread 2808] extDB2: Output to Server: 
[07:08:47:402400 --5:00] [Thread 4808] extDB2: SQL_CUSTOM_V2: Trace: UniqueID: 1 Input: deleteVehicle:1492
[07:08:47:404400 --5:00] [Thread 4808] extDB2: SQL_CUSTOM_V2: Trace: UniqueID: 1 Result: [1,[]]
[07:08:47:405400 --5:00] [Thread 2808] extDB2: Input from Server: 0:367816:loadVehicleContainer:1492
[07:08:47:405400 --5:00] [Thread 2808] extDB2: SQL_CUSTOM_V2: Trace: UniqueID: 1 Input: loadVehicleContainer:1492
[07:08:47:405400 --5:00] [Thread 2808] extDB2: SQL_CUSTOM_V2: Trace: UniqueID: 1 Result: [1,[]]
[07:08:47:405400 --5:00] [Thread 2808] extDB2: Output to Server: [1,[]]
[07:08:47:407400 --5:00] [Thread 2808] extDB2: Input from Server: 0:AVSDB:getVehicleAmmo:1492
[07:08:47:407400 --5:00] [Thread 2808] extDB2: SQL_CUSTOM_V2: Trace: UniqueID: 1 Input: getVehicleAmmo:1492
[07:08:47:407400 --5:00] [Thread 2808] extDB2: SQL_CUSTOM_V2: Trace: UniqueID: 1 Result: [1,[]]
[07:08:47:407400 --5:00] [Thread 2808] extDB2: Output to Server: [1,[]]

Can anyone tell me why this vehicle was deleted? This occurs quite frequently on the server, even resulted in a rollback when 10 people told me that they lost their cars on a restart.

Share this post


Link to post
Share on other sites

18 answers to this question

Advertisement
  • 0

someone was posting about making vehicles have god mode for a while on restarts, cant find the thread atm but could be a nice work around for this issue

Share this post


Link to post
Share on other sites
  • 0

Download the files from my dropbox link below (instructions included)

https://www.dropbox.com/s/zhdggz82lcrap11/GMVexile.zip?dl=0

 

What this does is:
1- GodMode (LOCKED) Vehicles On Restart Until Unlocked
2- Lock Your Vehicles Before A Restart For This To Work
3- Only Works On A Restart (once unlocked it will not have godmode until the next restart on LOCKED vehicles)


Step1
Download From My DropBox


Step2
Shut Server Down and Download Your Mission PBO


Step3
Extract PBO


Step 3
Add to your config in your mission under class CfgExileCustomCode to look like this

////////////////////////
class CfgExileCustomCode 
{
    ExileServer_object_vehicle_database_load = "fixes\ExileServer_object_vehicle_database_load.sqf";
    ExileServer_object_vehicle_database_update = "fixes\ExileServer_object_vehicle_database_update.sqf";
    ExileServer_object_vehicle_network_lockVehicleRequest = "fixes\ExileServer_object_vehicle_network_lockVehicleRequest.sqf";
    ExileServer_object_vehicle_network_unlockVehicleRequest = "fixes\ExileServer_object_vehicle_network_unlockVehicleRequest.sqf";
};
////////////////////////


Step4
Add a folder in your mission called fixes


Step5
Copy the 4 .sqf files from the downloaded zip in this new fixes folder


Step6
RePBO Your Mission and upload to server

ENJOY

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0

This works great, HOWEVER, if someone gets time to modify it so it has a time limit after the restart that would be great. I dont have time to look into this currently.  Once I get more time I will get that feature working.

Share this post


Link to post
Share on other sites
  • 0
On 1/23/2016 at 3:55 PM, gmctyphoon92 said:

This works great, HOWEVER, if someone gets time to modify it so it has a time limit after the restart that would be great. I dont have time to look into this currently.  Once I get more time I will get that feature working.

Agreed, using this on my server, but it would be nice if it would take away the god mode, say after 5 minutes.

 

Share this post


Link to post
Share on other sites
  • 0
On 1/22/2016 at 9:55 PM, gmctyphoon92 said:

This works great, HOWEVER, if someone gets time to modify it so it has a time limit after the restart that would be great. I dont have time to look into this currently.  Once I get more time I will get that feature working.

Did you ever get a solution for this?

I'd really like to have this feature on my server. God mode for vehicles in territories for the first 5 mins after a server restart. I'd be interested in hearing if you managed to get a solution.

Share this post


Link to post
Share on other sites
  • 0
On 1/23/2016 at 9:52 PM, gmctyphoon92 said:

Download the files from my dropbox link below (instructions included)

https://www.dropbox.com/s/zhdggz82lcrap11/GMVexile.zip?dl=0

 

What this does is:
1- GodMode (LOCKED) Vehicles On Restart Until Unlocked
2- Lock Your Vehicles Before A Restart For This To Work
3- Only Works On A Restart (once unlocked it will not have godmode until the next restart on LOCKED vehicles)


Step1
Download From My DropBox


Step2
Shut Server Down and Download Your Mission PBO


Step3
Extract PBO


Step 3
Add to your config in your mission under class CfgExileCustomCode to look like this

////////////////////////
class CfgExileCustomCode 
{
    ExileServer_object_vehicle_database_load = "fixes\ExileServer_object_vehicle_database_load.sqf";
    ExileServer_object_vehicle_database_update = "fixes\ExileServer_object_vehicle_database_update.sqf";
    ExileServer_object_vehicle_network_lockVehicleRequest = "fixes\ExileServer_object_vehicle_network_lockVehicleRequest.sqf";
    ExileServer_object_vehicle_network_unlockVehicleRequest = "fixes\ExileServer_object_vehicle_network_unlockVehicleRequest.sqf";
};
////////////////////////


Step4
Add a folder in your mission called fixes


Step5
Copy the 4 .sqf files from the downloaded zip in this new fixes folder


Step6
RePBO Your Mission and upload to server

ENJOY

 

Anyone know if this still works?

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.