Jump to content
  • 0

Custom Vehicle Patrols not spawning in


Thug

Question

Setting up one of the AI Citys that I use on Epoch 106. Everything works, but two of the vehicles patrols do not come in. Can someone point me in the right direction. 

My script worked fine in 1.0.5.1  Do I have to add the vehicles to the variables.sqf??

I get this in the RTP

 2:31:26 "HIVE: Request sent"
 2:31:26 "HIVE: Streamed 353 objects"
 2:31:39 "HIVE: BENCHMARK - Server_monitor.sqf finished streaming 353 objects in 13.0137 seconds (unscheduled)"
 2:31:39 "Total Number of spawn locations 6"
 2:31:39 "[DZAI] Initializing DZAI version 2.2.1 Release Build 20141208 using base path z\addons\dayz_server\DZAI."
 2:31:39 "[DZAI] Reading DZAI configuration file."
 2:31:39 "[DZAI] DZAI configuration file loaded."
 2:31:39 "CLEANUP: INITIALIZING Vehicle SCRIPT"
 2:31:39 "[DZAI] Compiling DZAI functions."
 2:31:39 ["z\addons\dayz_server\system\scheduler\sched_sync.sqf","TIME SYNC: Local Time set to:",[2012,8,2,17,31],"Fullmoon:",true,"Date given by HiveExt.dll:",[2017,2,20,17,31]]
 2:31:39 ["z\addons\dayz_server\system\scheduler\sched_safetyVehicle.sqf","KILLING A HACKER","Haikal Saikal"," IN ","HMMWV_M1151_M2_CZ_DES_EP1_DZ"]
 2:31:39 ["z\addons\dayz_server\system\scheduler\sched_safetyVehicle.sqf","KILLING A HACKER","Mikhail Bulgakov"," IN ","HMMWV_M1151_M2_CZ_DES_EP1_DZ"]
 2:31:39 ["z\addons\dayz_server\system\scheduler\sched_safetyVehicle.sqf","KILLING A HACKER","Qadeer Hakimi"," IN ","M1A2_TUSK_MG"]
 2:31:39 ["z\addons\dayz_server\system\scheduler\sched_safetyVehicle.sqf","KILLING A HACKER","Arkadiy Morozov"," IN ","M1A2_TUSK_MG"]

 2:31:40 "HIVE: WRITE: "CHILD:306:365:[["glass1",1],["glass2",1],["glass3",1],["glass4",1],["telo",0.019]]:0.66:""
 2:31:42 "HIVE: WRITE: "CHILD:306:401:[["NEtrup",0.604],["motor",1],["elektronika",1],["mala vrtule",0.193],["velka vrtule",1],["munice",0],["sklo predni P",0],["sklo predni L",0],["glass1",0.041],["glass2",0.041],["glass3",0.643],["glass4",0.64],["glass5",1],["glass6",0]]:0.242:""
 2:31:42 "[DZAI] DZAI functions compiled."
 2:31:42 "DayZ (Default) classnames loaded."
 2:31:42 "[DZAI] DZAI settings: Debug Level: 0. DebugMarkers: false. WorldName: chernarus. ModName:  (Ver: dayz epoch 1.0.6). DZAI_dynamicWeaponList: true. VerifyTables: true."
 2:31:42 "[DZAI] AI spawn settings: Static: false. Dynamic: true. Random: false. Air: true. Land: false."
 2:31:42 "[DZAI] AI settings: DZAI_findKiller: true. DZAI_useHealthSystem: true. DZAI_weaponNoise: false. DZAI_zombieEnemy: true."
 2:31:42 "[DZAI] DZAI loading completed in 3.48047 seconds."
 2:31:42 "CRASHSPAWNER: Starting crash site spawner. Frequency: 25±20 min. Spawn chance: 0.75"
 2:31:42 "INFO - Player: PID#3(Zoranth)(UID:76561198084105705/CID:20) Status: LOGGING IN"
 2:31:43 Server: Object 3:6 not found (message 94)
 2:31:59 Server: Object 3:9 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

sounds like your BE are killing the ia .

check this example

_helicopter =  createVehicle [_heli_class, [(_position select 0) + 4, (_position select 1) + 100],[], 0, "FLY"];
dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_helicopter];//this line

 

Link to comment
Share on other sites

  • 0
  On 2/21/2017 at 7:00 PM, juandayz said:

sounds like your be are killing the ia .

check this example

_helicopter =  createVehicle [_heli_class, [(_position select 0) + 4, (_position select 1) + 100],[], 0, "FLY"];
dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_helicopter];//this line

 

Expand  

As @juandayzhas pointed out, your script is not updated to 1.0.6 epoch, you need to have the script add the vehicle created (for example, juans _helicopter) added to the dayz_serverObjectMonitor variable with the example juan posted.

That variable will differ depending on who wrote it, _helicopter, _vehicle, _unit etc.

If you get stuck, post the script here and we can advise you.

Link to comment
Share on other sites

  • 0
  On 2/22/2017 at 4:29 AM, salival said:

If you get stuck, post the script here and we can advise you

Expand  

Here is one of the scripts that I use and again here is the error that I get in the RPT:

2:31:39 ["z\addons\dayz_server\system\scheduler\sched_safetyVehicle.sqf","KILLING A HACKER","Haikal Saikal"," IN ","HMMWV_M1151_M2_CZ_DES_EP1_DZ"]

  Reveal hidden contents
Link to comment
Share on other sites

  • 0
  On 2/22/2017 at 5:37 PM, Thug said:

Here is one of the scripts that I use and again here is the error that I get in the RPT:

2:31:39 ["z\addons\dayz_server\system\scheduler\sched_safetyVehicle.sqf","KILLING A HACKER","Haikal Saikal"," IN ","HMMWV_M1151_M2_CZ_DES_EP1_DZ"]

  Reveal hidden contents
Expand  

Wow, that's a badly written script

 

Add this line: 

dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_this];

directly after this line:

_this = createVehicle ["HMMWV_M1151_M2_CZ_DES_EP1_DZ", [6414.438, 14200.033, 9.1552734e-005], [], 0, "CAN_COLLIDE"];

so it looks like this:

  _this = createVehicle ["HMMWV_M1151_M2_CZ_DES_EP1_DZ", [6414.438, 14200.033, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_this];

 

Link to comment
Share on other sites

  • 0
  On 2/22/2017 at 6:00 PM, salival said:

Wow, that's a badly written script

Expand  

May look bad, but it worked lol

Still learning

Will try out later today. Thank you very much

=================UPDATE=================

@salival I put this in:  dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_this];

The vehicle is there and gunner and driver in vehicle. The gunner will shoot at you, but driver must be on strike lol, because he just sits there. There is a tank also at the mission. It is doing the same thing. 

I can tell you it worked in 1.0.5.1

If someone could help me I will buy you 2 cases of in game beer.

Salival, what would you suggest 

RPT:  NOTE this runs on for over 5500 lines

  Reveal hidden contents

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
  • Discord

×
×
  • Create New...