Jump to content
  • 0

Deploy bike disappearing


Logan

Question

Hi, I'm having an issue on my servers, sometimes after a minute or two the deploy vehicle gets deleted, or it happens right away. In my RPT I get this 

 

"Deleting object MMT_Civ with invalid ID at pos [8713.18,15591.1,-0.00219727]"

 

 

I'd imagine it's something with the cleanup but I'm not entirely sure.

 

Anyone have any issues similar to this? I'm also running Infistar, so maybe that's causing it?

 

The vehicles are allowed in my variables.

 

 

 

 

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Doublecheck if proper name for bike is added in dayz_allowedObjects array in variables. And variables is actually properly compiled from init.sqf

 

If it is and still deleting objects, then

 

open your dayz_server.pbo

find \compile\server_updateObject.sqf

 

Line 13, update it like this: 

_parachuteWest = ((typeOf _object == "MMT_Civ") or (typeOf _object == "ParachuteWest") or (typeOf _object == "ParachuteC"));

Repack and upload pbo.

 

if you don't want to mess with _parachuteWest, then you will find a video tutorial in my sig on how to add custom code here instead, that also lets you whitelist multiple spawned vehicles safely.

 

Tip: Never ever disable deleteVehicle code part when somebody suggest it, it's bad for server's security. Whitelisting is a safest way to go.

Link to comment
Share on other sites

  • 0
  On 5/27/2014 at 6:17 AM, TheVampire said:

Sounds like your deployed bikes don't have a characterID.

 

That makes sense actually, anyway to change that? Using this deploy script if it helps 

 

  On 5/27/2014 at 1:42 PM, raymix said:

Doublecheck if proper name for bike is added in dayz_allowedObjects array in variables. And variables is actually properly compiled from init.sqf

 

If it is and still deleting objects, then

 

open your dayz_server.pbo

find \compile\server_updateObject.sqf

 

Line 13, update it like this: 

_parachuteWest = ((typeOf _object == "MMT_Civ") or (typeOf _object == "ParachuteWest") or (typeOf _object == "ParachuteC"));

Repack and upload pbo.

 

if you don't want to mess with _parachuteWest, then you will find a video tutorial in my sig on how to add custom code here instead, that also lets you whitelist multiple spawned vehicles safely.

 

Tip: Never ever disable deleteVehicle code part when somebody suggest it, it's bad for server's security. Whitelisting is a safest way to go.

 

The vehicles are allowed in my allowed vehicles and my variables are called correctly. As for the server_updateObject.sqf I'll try it when I get home.

Link to comment
Share on other sites

  • 0
  On 5/27/2014 at 1:42 PM, raymix said:

Doublecheck if proper name for bike is added in dayz_allowedObjects array in variables. And variables is actually properly compiled from init.sqf

 

If it is and still deleting objects, then

 

open your dayz_server.pbo

find \compile\server_updateObject.sqf

 

Line 13, update it like this: 

_parachuteWest = ((typeOf _object == "MMT_Civ") or (typeOf _object == "ParachuteWest") or (typeOf _object == "ParachuteC"));

Repack and upload pbo.

 

if you don't want to mess with _parachuteWest, then you will find a video tutorial in my sig on how to add custom code here instead, that also lets you whitelist multiple spawned vehicles safely.

 

Tip: Never ever disable deleteVehicle code part when somebody suggest it, it's bad for server's security. Whitelisting is a safest way to go.

 

dayz_allowedObjects is only built items, not vehicles. It is not intended to have vehicles in it. Vehicles are not deleted for not being a building.

 

updateObject would be deleting an object without a valid characterID, like I stated.

Instead of editing a server script to exempt ALL the bikes on the map, why not just give it an ID?

 

 

  On 5/27/2014 at 3:46 PM, Logan said:

That makes sense actually, anyway to change that? Using this deploy script if it helps 

 

 

The vehicles are allowed in my allowed vehicles and my variables are called correctly. As for the server_updateObject.sqf I'll try it when I get home.

 

Unless you have a code error in EVD_deploy, it should already be getting all it needs based on that script. Not sure what invalid ID it is finding.

Maybe try turning the sell feature on, it randomizes the ID's more.

Link to comment
Share on other sites

  • 0
  On 5/27/2014 at 5:18 PM, TheVampire said:

dayz_allowedObjects is only built items, not vehicles. It is not intended to have vehicles in it. Vehicles are not deleted for not being a building.

 

updateObject would be deleting an object without a valid characterID, like I stated.

Instead of editing a server script to exempt ALL the bikes on the map, why not just give it an ID?

 

Oh yeah, that's a good point, actually.

Here, try this bike script instead, Logan. It creates a bike, gives it an ID and spawns 2 meters in front of player no matter what direction he's facing at:

  Reveal hidden contents

 

EDIT: just noticed you are using EVD script, not sure why it's not giving you proper object IDs.

Edited by raymix
Link to comment
Share on other sites

  • 0

I ran into this problem as well.  If you are using EVD deploy bike then maybe one of these two things will help.

 

In your custom variables at the very bottom you should have:

 

 

 

EVDVehicleArray = ["MMT_Civ","TT650_Civ","CSJ_GyroC"];
dayz_allowedObjects = dayz_allowedObjects + EVDVehicleArray;

if(isServer) then {
    DZE_safeVehicle = DZE_safeVehicle + EVDVehicleArray;
};

 

I missed a step in the instructions.

 

 

Also make sure this bottom part is "true".

 

// Do you want vehicles to be sold at traders?
EVDSellVehicles = true;

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...