Jump to content

[RELEASE] WAI 2.2.6


JasonTM

Recommended Posts

11 hours ago, JasonTM said:

I haven't tested this, but change this line:

https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/compile/mission_winorfail.sqf#L250

to this:


_acdot setMarkerText format["%1 Claim Timeout [%2]",(_acArray select 1),_leftTime];

 

Super....yes that works thank you so much Jason now i can extend the timeout time and should stop players from placing markers again!

Fantastic work :)

Link to comment
Share on other sites

Hey All,

I am getting some warnings and errors in WAI when the server starts up (see spoiler below). Does anyone know how I might fix these errors?

Thanks!

Spoiler

15:54:55 "WAI: AI Config File Loaded"
15:54:55 "WAI: blacklist Loaded"
15:54:56 "WAI: Initializing missions"
15:54:56 "DEBUG: Spawning a care package (Misc_cargo_cont_net3) at [4102.22,9584.43,0] with 11 items."
15:54:56 "WAI: Initializing static missions"
15:54:57 "DEBUG: Spawning a care package (Misc_cargo_cont_net1) at [7601.67,12300.5,0] with 4 items."
15:54:58 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [6727.96,7886.4,0] with 7 items."
15:55:00 "WAI: Spawned a group of 15 AI (Bandit) at [13726,2920.75,0.001]"
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomMin'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomMax'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomInit'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.distanceZoomMin'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.distanceZoomMax'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsFlare'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsDisablePeripherialVision'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsPPEffects'.
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.useModelOptics'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.memoryPointCamera'.
15:55:00 Warning Message: '/' is not a value
15:55:02 No speaker given for Alexander Wagner
15:55:05 "WAI: Spawned a group of 25 AI (Bandit) at [3894.12,7875.2,0.00140381]"
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMin'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMax'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomInit'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.distanceZoomMin'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.distanceZoomMax'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsFlare'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsDisablePeripherialVision'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsID'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsPPEffects'.
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomMin'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomMax'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomInit'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.distanceZoomMin'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.distanceZoomMax'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsFlare'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsDisablePeripherialVision'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsID'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsPPEffects'.
15:55:05 UnExpected call of CreateVehicle for 'Logic', pos(0.000000.2,1.131473.2,0.000000.2). Vehicles with brain cannot be created using 'createVehicle'!
15:55:06 "WAI: Spawned a group of 5 AI (Bandit) at [13470.5,3193.03,0.00138092]"
15:55:07 "WAI: Spawned a group of 5 AI (Bandit) at [13956.9,3065.26,0.00101662]"
15:55:08 "WAI: Spawned a group of 5 AI (Bandit) at [13660,2860.46,0.0015564]"
15:55:08 "WAI: Spawned a group of 5 AI (Bandit) at [13038.1,3240.1,0.00285912]"
15:55:09 "HIVE: Vehicle Spawn limit reached!"
15:55:09 "HIVE: Spawning # of Debris: 0"
15:55:09 "HIVE: Spawning # of Ammo Boxes: 10"
15:55:11 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\stp\non\non\amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end
15:55:11 Server: Object 3:76 not found (message 94)
15:55:11 Server: Object 3:77 not found (message 94)
15:55:12 "WAI: Spawned a group of 5 AI (Bandit) at [6876.11,11456.2,0.00143433]"
15:55:15 "WAI: Spawned in 9 M2StaticMG"
15:55:15 Error in expression <ammo, (1 + floor(random 5))];
};
};

if(_num_backpacks > 0) then {

_num_backpac>
15:55:15   Error position: <_num_backpacks > 0) then {

_num_backpac>
15:55:15   Error Undefined variable in expression: _num_backpacks
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 154
15:55:15 Error in expression <
_pistols_array	= (_crateLoot select 3) select 1;
} else {
_num_pistols	= _crate>
15:55:15   Error position: <select 1;
} else {
_num_pistols	= _crate>
15:55:15   Error Zero divisor
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 55
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomMin'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomMax'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomInit'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.distanceZoomMin'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.distanceZoomMax'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsFlare'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsDisablePeripherialVision'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsPPEffects'.
15:55:15 Error in expression <eCargoGlobal [_item,1];
};
};
};
};

if(_num_pistols > 0) then {

_num_pistols =>
15:55:15   Error position: <_num_pistols > 0) then {

_num_pistols =>
15:55:15   Error Undefined variable in expression: _num_pistols
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 142
15:55:15 Error in expression <ammo, (1 + floor(random 5))];
};
};

if(_num_backpacks > 0) then {

_num_backpac>
15:55:15   Error position: <_num_backpacks > 0) then {

_num_backpac>
15:55:15   Error Undefined variable in expression: _num_backpacks
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 154
15:55:15 Error in expression <
_pistols_array	= (_crateLoot select 3) select 1;
} else {
_num_pistols	= _crate>
15:55:15   Error position: <select 1;
} else {
_num_pistols	= _crate>
15:55:15   Error Zero divisor
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 55
15:55:16 Error in expression <eCargoGlobal [_item,1];
};
};
};
};

if(_num_pistols > 0) then {

_num_pistols =>
15:55:16   Error position: <_num_pistols > 0) then {

_num_pistols =>
15:55:16   Error Undefined variable in expression: _num_pistols
15:55:16 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 142
15:55:16 Error in expression <
_pistols_array	= (_crateLoot select 3) select 1;
} else {
_num_pistols	= _crate>
15:55:16   Error position: <select 1;
} else {
_num_pistols	= _crate>
15:55:16   Error Zero divisor
15:55:16 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 55
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMin'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMax'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomInit'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.distanceZoomMin'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.distanceZoomMax'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsFlare'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsDisablePeripherialVision'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsID'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsPPEffects'.
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomMin'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomMax'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomInit'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.distanceZoomMin'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.distanceZoomMax'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsFlare'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsDisablePeripherialVision'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsID'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsPPEffects'.
15:55:16 Error in expression <eCargoGlobal [_item,1];
};
};
};
};

if(_num_pistols > 0) then {

_num_pistols =>
15:55:16   Error position: <_num_pistols > 0) then {

_num_pistols =>
15:55:16   Error Undefined variable in expression: _num_pistols
15:55:16 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 142
15:55:16 "WAI: Static mission loaded"

 

Link to comment
Share on other sites

1 hour ago, Vladick said:

Hey All,

I am getting some warnings and errors in WAI when the server starts up (see spoiler below). Does anyone know how I might fix these errors?

Thanks!

  Reveal hidden contents


15:54:55 "WAI: AI Config File Loaded"
15:54:55 "WAI: blacklist Loaded"
15:54:56 "WAI: Initializing missions"
15:54:56 "DEBUG: Spawning a care package (Misc_cargo_cont_net3) at [4102.22,9584.43,0] with 11 items."
15:54:56 "WAI: Initializing static missions"
15:54:57 "DEBUG: Spawning a care package (Misc_cargo_cont_net1) at [7601.67,12300.5,0] with 4 items."
15:54:58 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [6727.96,7886.4,0] with 7 items."
15:55:00 "WAI: Spawned a group of 15 AI (Bandit) at [13726,2920.75,0.001]"
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomMin'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomMax'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomInit'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.distanceZoomMin'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.distanceZoomMax'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsFlare'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsDisablePeripherialVision'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsPPEffects'.
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.useModelOptics'.
15:55:00 Warning Message: '/' is not a value
15:55:00 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.memoryPointCamera'.
15:55:00 Warning Message: '/' is not a value
15:55:02 No speaker given for Alexander Wagner
15:55:05 "WAI: Spawned a group of 25 AI (Bandit) at [3894.12,7875.2,0.00140381]"
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMin'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMax'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomInit'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.distanceZoomMin'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.distanceZoomMax'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsFlare'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsDisablePeripherialVision'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsID'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsPPEffects'.
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomMin'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomMax'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomInit'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.distanceZoomMin'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.distanceZoomMax'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsFlare'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsDisablePeripherialVision'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsID'.
15:55:05 Warning Message: '/' is not a value
15:55:05 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsPPEffects'.
15:55:05 UnExpected call of CreateVehicle for 'Logic', pos(0.000000.2,1.131473.2,0.000000.2). Vehicles with brain cannot be created using 'createVehicle'!
15:55:06 "WAI: Spawned a group of 5 AI (Bandit) at [13470.5,3193.03,0.00138092]"
15:55:07 "WAI: Spawned a group of 5 AI (Bandit) at [13956.9,3065.26,0.00101662]"
15:55:08 "WAI: Spawned a group of 5 AI (Bandit) at [13660,2860.46,0.0015564]"
15:55:08 "WAI: Spawned a group of 5 AI (Bandit) at [13038.1,3240.1,0.00285912]"
15:55:09 "HIVE: Vehicle Spawn limit reached!"
15:55:09 "HIVE: Spawning # of Debris: 0"
15:55:09 "HIVE: Spawning # of Ammo Boxes: 10"
15:55:11 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\stp\non\non\amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end
15:55:11 Server: Object 3:76 not found (message 94)
15:55:11 Server: Object 3:77 not found (message 94)
15:55:12 "WAI: Spawned a group of 5 AI (Bandit) at [6876.11,11456.2,0.00143433]"
15:55:15 "WAI: Spawned in 9 M2StaticMG"
15:55:15 Error in expression <ammo, (1 + floor(random 5))];
};
};

if(_num_backpacks > 0) then {

_num_backpac>
15:55:15   Error position: <_num_backpacks > 0) then {

_num_backpac>
15:55:15   Error Undefined variable in expression: _num_backpacks
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 154
15:55:15 Error in expression <
_pistols_array	= (_crateLoot select 3) select 1;
} else {
_num_pistols	= _crate>
15:55:15   Error position: <select 1;
} else {
_num_pistols	= _crate>
15:55:15   Error Zero divisor
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 55
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomMin'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomMax'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsZoomInit'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.distanceZoomMin'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.distanceZoomMax'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsFlare'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsDisablePeripherialVision'.
15:55:15 Warning Message: '/' is not a value
15:55:15 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD_DZ/OpticsModes/Ironsights.opticsPPEffects'.
15:55:15 Error in expression <eCargoGlobal [_item,1];
};
};
};
};

if(_num_pistols > 0) then {

_num_pistols =>
15:55:15   Error position: <_num_pistols > 0) then {

_num_pistols =>
15:55:15   Error Undefined variable in expression: _num_pistols
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 142
15:55:15 Error in expression <ammo, (1 + floor(random 5))];
};
};

if(_num_backpacks > 0) then {

_num_backpac>
15:55:15   Error position: <_num_backpacks > 0) then {

_num_backpac>
15:55:15   Error Undefined variable in expression: _num_backpacks
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 154
15:55:15 Error in expression <
_pistols_array	= (_crateLoot select 3) select 1;
} else {
_num_pistols	= _crate>
15:55:15   Error position: <select 1;
} else {
_num_pistols	= _crate>
15:55:15   Error Zero divisor
15:55:15 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 55
15:55:16 Error in expression <eCargoGlobal [_item,1];
};
};
};
};

if(_num_pistols > 0) then {

_num_pistols =>
15:55:16   Error position: <_num_pistols > 0) then {

_num_pistols =>
15:55:16   Error Undefined variable in expression: _num_pistols
15:55:16 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 142
15:55:16 Error in expression <
_pistols_array	= (_crateLoot select 3) select 1;
} else {
_num_pistols	= _crate>
15:55:16   Error position: <select 1;
} else {
_num_pistols	= _crate>
15:55:16   Error Zero divisor
15:55:16 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 55
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMin'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMax'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomInit'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.distanceZoomMin'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.distanceZoomMax'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsFlare'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsDisablePeripherialVision'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsID'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsPPEffects'.
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomMin'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomMax'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsZoomInit'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.distanceZoomMin'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.distanceZoomMax'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsFlare'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsDisablePeripherialVision'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsID'.
15:55:16 Warning Message: '/' is not a value
15:55:16 Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Ironsights.opticsPPEffects'.
15:55:16 Error in expression <eCargoGlobal [_item,1];
};
};
};
};

if(_num_pistols > 0) then {

_num_pistols =>
15:55:16   Error position: <_num_pistols > 0) then {

_num_pistols =>
15:55:16   Error Undefined variable in expression: _num_pistols
15:55:16 File z\addons\dayz_server\WAI\compile\dynamic_crate.sqf, line 142
15:55:16 "WAI: Static mission loaded"

 

SVD_DZ error means you're using old version (at least, the loot table is old) for 1.0.6.1.
"Error Undefined variable in expression: _num_pistols" also means your mission data is old.

use newer version. 

Link to comment
Share on other sites

19 hours ago, Schalldampfer said:

SVD_DZ error means you're using old version (at least, the loot table is old) for 1.0.6.1.
"Error Undefined variable in expression: _num_pistols" also means your mission data is old.

use newer version. 

Thanks for the reply! Use newer version of what? The Epoch server files or the WAI mission files? Thanks!

Link to comment
Share on other sites

Hello,

installed, everything works fine but the mission announcements are not working i.e. no pop ups at all with radio or not. tried using the previous version remote message sqf but that makes the messages look like the attached picture. any help would be greatly appreciated.

 

Thanks.

IMG_0143.JPG

Link to comment
Share on other sites

5 hours ago, G2K said:

Hello,

installed, everything works fine but the mission announcements are not working i.e. no pop ups at all with radio or not. tried using the previous version remote message sqf but that makes the messages look like the attached picture. any help would be greatly appreciated.

 

Thanks.

IMG_0143.JPG

use newer version. and, you need to edit WAI\config.sqf to use radio announcement..
old version is not available with localization with STR_CL_*** 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

i use KeyinCrate so keys will be put inside the crate, i do this so players will be able to unlock a vehicle only when finishing the mission howerver thats not how it works currently the key will be added to the crate right when vehicles are spawned, making possible for players to approach the crate and loot key before completing mission. Shouldn't the keys be added after mission completion together with loot?

Is that how it was intended ? to me and older version of WAI it was how it worked, i am not sure how @JasonTM meant for it to work, if thats how u wanted, ok, however if not please take a look because i am not sure how to do it.

https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/compile/custom_publish_vehicle.sqf#L80

https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/compile/functions.sqf#L225-L229

Link to comment
Share on other sites

i would like to block wai missions near Stary. donu guys have a solution for it?

blacklist.sqf

 

Quote


call {
    if (toLower worldName == "chernarus") exitWith {wai_blacklist = [
        [[0,16000,0],[1000,-0,0]],                // Left
        [[0,16000,0],[16000.0,14580.3,0]],        // Top
        [[5533.00,8445.00],[6911.00,7063.00]]     // Stary ];
        blacklist = [ [[5533.00,8445.00],[6911.00,7063.00]] // Stary ];
    ];};
    if (toLower worldName == "namalsk") exitWith {wai_blacklist = [];};
    if (toLower worldName == "panthera") exitWith {wai_blacklist = [];};
    if (toLower worldName == "tavi") exitWith {wai_blacklist = [];};
    if (toLower worldName == "lingor") exitWith {wai_blacklist = [];};
    if (toLower worldName == "napf") exitWith {wai_blacklist = [];};
    if (toLower worldName == "smd_sahrani_a2") exitWith {wai_blacklist = [];};
    if (toLower worldName == "sauerland") exitWith {wai_blacklist = [];};
    wai_blacklist = []; diag_log "You are on an unsupported map! No blacklist available."; //default if nothing above matches
};

diag_log "WAI: blacklist Loaded";
 

 

Link to comment
Share on other sites

On 8/8/2018 at 7:14 PM, SmokeyBR said:

i use KeyinCrate so keys will be put inside the crate, i do this so players will be able to unlock a vehicle only when finishing the mission howerver thats not how it works currently the key will be added to the crate right when vehicles are spawned, making possible for players to approach the crate and loot key before completing mission. Shouldn't the keys be added after mission completion together with loot?

Is that how it was intended ? to me and older version of WAI it was how it worked, i am not sure how @JasonTM meant for it to work, if thats how u wanted, ok, however if not please take a look because i am not sure how to do it.

https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/compile/custom_publish_vehicle.sqf#L80

https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/compile/functions.sqf#L225-L229

I wrote it like this out of convenience. I didn't think it would be an issue because players tend to wait until all of the ai are dead before approaching the crate. The original way placed the vehicle objects at the end of the dynamic crate.

https://github.com/f3cuk/WICKED-AI/blob/master/WAI/missions/bandit/ikea_convoy.sqf#L63

I can change it back to that method easy enough. Let me know if you want this.

 

Link to comment
Share on other sites

On 8/9/2018 at 3:40 AM, daryl922 said:

i would like to block wai missions near Stary. donu guys have a solution for it?

blacklist.sqf

 

 

Do it like this...

call {
    if (toLower worldName == "chernarus") exitWith {wai_blacklist = [
        [[0,16000,0],[1000,-0,0]],                // Left
        [[0,16000,0],[16000.0,14580.3,0]],        // Top
	[getMarkerPos "Tradercitystary",500]	// Prevent missions from spawning within 500 meters of Stary trader
    ];};
    if (toLower worldName == "namalsk") exitWith {wai_blacklist = [];};
    if (toLower worldName == "panthera") exitWith {wai_blacklist = [];};
    if (toLower worldName == "tavi") exitWith {wai_blacklist = [];};
    if (toLower worldName == "lingor") exitWith {wai_blacklist = [];};
    if (toLower worldName == "napf") exitWith {wai_blacklist = [];};
    if (toLower worldName == "smd_sahrani_a2") exitWith {wai_blacklist = [];};
    if (toLower worldName == "sauerland") exitWith {wai_blacklist = [];};
    wai_blacklist = []; diag_log "You are on an unsupported map! No blacklist available."; //default if nothing above matches
};

diag_log "WAI: blacklist Loaded";

This will prevent missions from spawning within a 500 meter radius around the Stary trader. You can change the 500 to whatever you want.

You can use different methods for creating blacklist entries.

blacklistPos (Optional): List of blacklisted areas in format [area1, area2, area3... areaN] (Default: []). Area could be one of:

    Array - in format [topLeftCorner, bottomRightCorner] - top and bottom coordinates of blacklisted area
    Object - trigger area
    String - marker area
    Location - location
    Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]

https://community.bistudio.com/wiki/BIS_fnc_findSafePos

Link to comment
Share on other sites

On 8/12/2018 at 9:32 AM, JasonTM said:

I wrote it like this out of convenience. I didn't think it would be an issue because players tend to wait until all of the ai are dead before approaching the crate. The original way placed the vehicle objects at the end of the dynamic crate.

https://github.com/f3cuk/WICKED-AI/blob/master/WAI/missions/bandit/ikea_convoy.sqf#L63

I can change it back to that method easy enough. Let me know if you want this.

 

i have seen players abusing this... the only way i would know how to do it, its going back to the old way, which would require to edit every mission with vehicle being spawned like u showed. I thought a better way might be possible without having to make so many adjustments.

If thats the only way possible and only doing it because i asked dont bother with it then, since it seems im the only one bothered by it. thank you i do love the changes you made.

Link to comment
Share on other sites

2 hours ago, SmokeyBR said:

i have seen players abusing this... the only way i would know how to do it, its going back to the old way, which would require to edit every mission with vehicle being spawned like u showed. I thought a better way might be possible without having to make so many adjustments.

If thats the only way possible and only doing it because i asked dont bother with it then, since it seems im the only one bothered by it. thank you i do love the changes you made.

I already made the changes on a test server and it is not that much of a bother. There are not that many current missions with vehicles. I will post the code tomorrow when I get time.

Link to comment
Share on other sites

Help

Server,rpt

 

Quote

19:52:01 "WAI: AI Config File Loaded"
19:52:01 Error in expression <rver\WAI\configs\blacklist.sqf"
call {
if (toLower worldName == "chernarus") >
19:52:01   Error position: <f (toLower worldName == "chernarus") >
19:52:01   Error Missing ;
19:52:01 File z\addons\dayz_server\WAI\configs\blacklist.sqf, line 2
19:52:01 Error in expression <rver\WAI\configs\blacklist.sqf"
call {
if (toLower worldName == "chernarus") >
19:52:01   Error position: <f (toLower worldName == "chernarus") >
19:52:01   Error Missing ;
19:52:01 File z\addons\dayz_server\WAI\configs\blacklist.sqf, line 2
19:52:01 "WAI: Initializing missions"
19:52:01 Error in expression <\dayz_server\WAI\configs\blacklist.sqf"
call {
if (toLower worldName == "cher>
19:52:01   Error position: <call {
if (toLower worldName == "cher>
19:52:01   Error Generic error in expression
19:52:01 File z\addons\dayz_server\WAI\configs\blacklist.sqf, line 1
19:52:01 "WAI: Overpoch Config File Loaded"

blacklist.sqf

Quote

call {
    if (toLower worldName == "chernarus") exitWith {wai_blacklist = [
        [[0,16000,0],[1000,-0,0]],                // Left
        [[0,16000,0],[16000.0,14580.3,0]],        // Top
    [getMarkerPos "Tradercitystary",500]    // Prevent missions from spawning within 500 meters of Stary trader
    ];};
    if (toLower worldName == "namalsk") exitWith {wai_blacklist = [];};
    if (toLower worldName == "panthera") exitWith {wai_blacklist = [];};
    if (toLower worldName == "tavi") exitWith {wai_blacklist = [];};
    if (toLower worldName == "lingor") exitWith {wai_blacklist = [];};
    if (toLower worldName == "napf") exitWith {wai_blacklist = [];};
    if (toLower worldName == "smd_sahrani_a2") exitWith {wai_blacklist = [];};
    if (toLower worldName == "sauerland") exitWith {wai_blacklist = [];};
    wai_blacklist = []; diag_log "You are on an unsupported map! No blacklist available."; //default if nothing above matches
};

diag_log "WAI: blacklist Loaded";

 

Link to comment
Share on other sites

Just came to the realization just now that missions in the BANDIT folder are FOR BANDITS, meaning they spawn HERO AI. I spent way more time than I'd like to admit disabling the wrong missions only to have the ones I thought I was disabling be the only ones spawning. Ugh!

Scratch that, it seems no matter what I do it wants to only spawn hero missions.

Well, it seems to be working for now.

Link to comment
Share on other sites

  • 2 weeks later...
36 minutes ago, JakeQue said:

Is there any way of customising the messages that come in into a nicer style? I've seen some servers with boxes around the server announcements and it looks nice!

Most of them using hints. You can look that up here: https://community.bistudio.com/wiki/hint
It's easy to do. It's somehow like doing a debug monitor.

You can also use something like my function:

But you would have to update some things yourself or wait or my update in case you want to use it and have no clue.

Link to comment
Share on other sites

  • 1 month later...

17:02:06 "<infiSTAR.de> LockUnlockVehicle: GAZ_Vodnik_HMG UNLOCKED @114040 [11488.1,11333.9,3.05176e-005]"
17:02:37 "WAI: Minefield Warning Owner 11"
17:02:41 "WAI: Minefield Warning Owner 8"
17:03:10 Error in expression <    = getArray (configFile >> "cfgWeapons" >> _weapon >> "magazines");

if (count _>
17:03:10   Error position: <>> _weapon >> "magazines");

if (count _>
17:03:10   Error >>: Type Array, expected String
17:03:10 File z\addons\dayz_server\WAI\compile\functions.sqf, line 8

Link to comment
Share on other sites

  • 3 weeks later...

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
  • Advertisement
×
×
  • Create New...