DZAI implemented but no AI spawn (also some errors in rpt)

LonelyWalker

New Member
Like the topic says, i've tried to implement DZAI on Epoch 1.0.4.2.

I'll get a few errors in rpt log (e.g. errors in lines) but i've didnt change anything in the config.
I'll send my server monitor and rpt log.

Code:
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\DZAI\init\dzai_initserver.sqf";
    allowConnection = true;


At the rpt log i've marked every DZAI part. Its obvious, that no AI spawns (yes i've walked around between cities to see if they will spawn) but its loaded in.

20:03:35 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852
20:03:36 No speaker given for Peter Shannon
20:03:38 "infiSTAR.de - Player-Log: LonelyWalker(4430722) - 0h 10min | ******ADMIN******"
20:03:42 "HIVE: Vehicle Spawn limit reached!"
20:03:42 "HIVE: Spawning # of Debris: 50"
20:03:42 "HIVE: Spawning # of Ammo Boxes: 3"
20:03:42 "HIVE: Spawning # of Veins: 50"
20:03:43 "[DZAI] Initializing DZAI version 2.1.0 Release Build 7072014 using base path z\addons\dayz_server\DZAI."
20:03:43 "[DZAI] Reading DZAI configuration file."
20:03:43 "[DZAI] DZAI configuration file loaded."
20:03:43 "[DZAI] Compiling DZAI functions."

20:03:43 Error in expression < toString _directoryAsArray;
if ((count _this) > 0) then {

if ("readoverridefil>
20:03:43 Error position: <_this) > 0) then {

if ("readoverridefil>
20:03:43 Error Nicht definierte Variable in Ausdruck: _this
20:03:43 File z\addons\dayz_server\DZAI\init\dzai_initserver.sqf, line 16

20:03:56 "Spawning loot event at [10217.1,8290.17]"
20:03:56 "Creating ammo box at [10290.5,8175.01]"
20:03:56 "Spawning loot event at [11142.1,12007.2]"
20:03:56 "Creating ammo box at [10898.1,12216.4]"
20:03:56 "Loot event setup, waiting for 900 seconds"
20:03:57 "DEBUG VEIN: Too many objects at [6572.89,8617.44]"
20:03:58 "[DZAI] DZAI functions compiled."
20:03:58 "DZAI Debug: Detected mod variant @dayz_epoch."
20:03:58 "[DZAI] Epoch classnames loaded."
20:03:58 "[DZAI] DZAI settings: Debug Level: 2. DebugMarkers: false. WorldName: chernarus. ModName: epoch. DZAI_dynamicWeaponList: true. VerifyTables: true."
20:03:58 "[DZAI] AI spawn settings: Static: true. Dynamic: true. Air: false. Land: false."
20:03:58 "[DZAI] AI settings: DZAI_findKiller: true. DZAI_useHealthSystem: true. DZAI_weaponNoise: false. DZAI_zombieEnemy: false. DZAI_freeForAll: false"
20:03:58 "[DZAI] DZAI loading completed in 15.137 seconds."

20:03:58 "Air Raid: ABOUT TO SPAWN"
20:03:58 "Loot event setup, waiting for 900 seconds"
20:03:58 "EPOCH EVENTS INIT"
20:03:58 "DZAI Debug: DZAI Startup is running required script files..."
20:03:58 "[DZAI] DZAI finished building weighted weapongrade tables in 0.00201416 seconds."
20:03:58 "Total Number of spawn locations 5"
20:03:59 "DZAI Debug: Building DZAI weapon arrays using CfgBuildingLoot data."

20:03:59 Error in expression < (getNumber (configFile >> "CfgWeapons" >> _weaponItem >> "type"));
call {
if (_>
20:03:59 Error position: <>> _weaponItem >> "type"));
call {
if (_>
20:03:59 Error >>: Typ Zahl, erwartet Zeichenfolge
20:03:59 File z\addons\dayz_server\DZAI\scripts\buildWeaponArrays.sqf, line 105

20:03:59 "DZAI Debug: CfgTownGenerator not found. Aborting serverside object patch. (This is not an error)"
20:03:59 "DZAI Extended Debug: Default trigger gamelogic spawn check result: true"

20:04:08 "TIME SYNC: Local Time set to [2013,8,3,18,4]"
20:04:11 "infiSTAR.de PVAH_AdminReqLog: [1234,B 1-1-B:1 (LonelyWalker) REMOTE,"4430722"]"
20:04:11 "infiSTAR.de ******ADMIN-LOGIN******: LonelyWalker(4430722)"
20:04:21 "infiSTAR.de PVAH_WriteLog: [B 1-1-B:1 (LonelyWalker) REMOTE,"LonelyWalker G_o_d ON"]"
20:04:23 "RANDOM WORLDSPACE: Initializing defaults... BalottaAirstrip | 4829.99 2450.11 1.5| RANDOM ON: true"
20:04:24 "RANDOM WORLDSPACE SELECTED: 27 | City: NEAF | Coords: 12073.9 , 12724.3 | Try 48"
20:04:24 "AIRRAID: SEL: [12073.9,12724.3,1.5] | TARGET: [12073.9,12724.3,1.5] | CITY: NEAF"
20:04:27 "AIRRAID: BOMBER: Su-25 | TYPE: Su25_TK_EP1 Start at [13987.6,10755.2,300] | End at [13987.6,10755.2]"
20:04:27 "AIRRAID: BOMBER: Su-25 moving from [13987.6,10755.2,300] to [12184.1,12733.1] NOW!( TIME: 19 )"
20:04:29 "AIRRAID: BOMBER: Adding Pre-target Waypoint #1 on [4457.77,10129.9]"
 
The version you downloaded is the prerelease 2.1.0 version, where the install steps changed (read over the main page).

If you want the current release version then go to the Releases link on the github page and download 2.0.0.
 
Lonely- Have you updated to the new Release of 2.1.0? I am getting this similar error:

18:06:51 "EPOCH EVENTS INIT"
18:06:51 Error in expression < (getNumber (configFile >> "CfgWeapons" >> _weaponItem >> "type"));
call {
if (_>
18:06:51 Error position: <>> _weaponItem >> "type"));
call {
if (_>
18:06:51 Error >>: Type Number, expected String
18:06:51 File z\addons\dayz_server\DZAI\scripts\buildWeaponArrays.sqf, line 105

Was this the same thing you were seeing? I updated to 2.1.0, did not keep any old files, updated the configs with new info, etc. etc. Did you find a fix?

EDIT:
I am using Epoch 1.0.4.2 in Chernarus with no other addons at all.
No other errors were listed in report.
I followed instructions for installation including the addition of the [] in the allow connection liine.
 
Last edited:
The dynamic weapon list was updated for compatibility with the most recent Epoch version (1.0.5.1). The only other DayZ version tested was Overwatch 0.2.5 due to time constraints.
 
I'm getting the same errors as karmafied in the rpt with DZAI 2.1.0 and Epoch 1.0.4.2 Chernarus.

Buttface, maybe reverting back to the 2.0 version of the dynamic list will fix the error?
Or is too much ingrained with everything else and if i change it i'll break everything?
Btw, thank you for your work for this great addon ^_^
 
Last edited:
If you want to use Epoch 1.0.4.2 then your options are to either grab the buildWeaponArrays.sqf from DZAI 2.0.0 through the Releases page on Github or disable the dynamic weapon list. Just so you know it is my unspoken/understood rule that DZAI will only support the most recent version of any DayZ mod and support for older versions is not always guaranteed.
 
Thank you for the tip and the advice, unfortunately dayz.st doesn't allow to use the latest epochs yet.
As for support, for me is enough to know that i can change the buildWeaponArrays.sqf version without breaking everything else, i can make adjustments where needed, i can't rebuild every single file ;)
 
Back
Top