BetterDeadThanZed Posted December 17, 2013 Report Share Posted December 17, 2013 I just looked at my log and it seems the crash_spawner mission has an issue: 11:51:20 "WAI: Starting Mission crash_spawner" 11:51:20 "WAI: Mission Crash_Spawner Started At [9951.39,7881.53]" 11:51:20 Error in expression <t 2; _radius = _this select 3; switch (_iClass) do { default { _item = createV> 11:51:20 Error position: <_iClass) do { default { _item = createV> 11:51:20 Error Undefined variable in expression: _iclass 11:51:20 File z\addons\dayz_code\compile\spawn_loot.sqf, line 9 11:51:20 Error in expression <s select _index; _itemType = _itemTypes select _index; [_itemType select 0, _ite> 11:51:20 Error position: <select _index; [_itemType select 0, _ite> 11:51:20 Error Zero divisor 11:51:20 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73 11:51:20 Error in expression <t 2; _radius = _this select 3; switch (_iClass) do { default { _item = createV> 11:51:20 Error position: <_iClass) do { default { _item = createV> 11:51:20 Error Undefined variable in expression: _iclass 11:51:20 File z\addons\dayz_code\compile\spawn_loot.sqf, line 9 11:51:20 Error in expression < _itemType = _itemTypes select _index; [_itemType select 0, _itemType select 1, > 11:51:20 Error position: <_itemType select 0, _itemType select 1, > 11:51:20 Error Undefined variable in expression: _itemtype 11:51:20 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 74 11:51:20 Error in expression <t 2; _radius = _this select 3; switch (_iClass) do { default { _item = createV> 11:51:20 Error position: <_iClass) do { default { _item = createV> 11:51:20 Error Undefined variable in expression: _iclass 11:51:20 File z\addons\dayz_code\compile\spawn_loot.sqf, line 9 11:51:20 Error in expression <s select _index; _itemType = _itemTypes select _index; [_itemType select 0, _ite> 11:51:20 Error position: <select _index; [_itemType select 0, _ite> 11:51:20 Error Zero divisor 11:51:20 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73 11:51:20 Error in expression <t 2; _radius = _this select 3; switch (_iClass) do { default { _item = createV> 11:51:20 Error position: <_iClass) do { default { _item = createV> 11:51:20 Error Undefined variable in expression: _iclass 11:51:20 File z\addons\dayz_code\compile\spawn_loot.sqf, line 9 11:51:20 Error in expression <s select _index; _itemType = _itemTypes select _index; [_itemType select 0, _ite> 11:51:20 Error position: <select _index; [_itemType select 0, _ite> 11:51:20 Error Zero divisor 11:51:20 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73 11:51:20 Error in expression <t 2; _radius = _this select 3; switch (_iClass) do { default { _item = createV> 11:51:20 Error position: <_iClass) do { default { _item = createV> 11:51:20 Error Undefined variable in expression: _iclass 11:51:20 File z\addons\dayz_code\compile\spawn_loot.sqf, line 9 11:51:20 Error in expression <s select _index; _itemType = _itemTypes select _index; [_itemType select 0, _ite> 11:51:20 Error position: <select _index; [_itemType select 0, _ite> 11:51:20 Error Zero divisor 11:51:20 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73 11:51:20 Error in expression <t 2; _radius = _this select 3; switch (_iClass) do { default { _item = createV> 11:51:20 Error position: <_iClass) do { default { _item = createV> 11:51:20 Error Undefined variable in expression: _iclass 11:51:20 File z\addons\dayz_code\compile\spawn_loot.sqf, line 9 11:51:20 Error in expression <s select _index; _itemType = _itemTypes select _index; [_itemType select 0, _ite> 11:51:20 Error position: <select _index; [_itemType select 0, _ite> 11:51:20 Error Zero divisor 11:51:20 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73 The offending lines where the error apparently originates from: _itemType = _itemTypes select _index; [_itemType select 0, _itemType select 1, _position, 5] call spawn_loot; I guess I'm going to need to remove this mission? Link to comment Share on other sites More sharing options...
Zernichter Posted December 17, 2013 Report Share Posted December 17, 2013 Hey guys, first i still want to know if this is an error: ///Use the built in mission system (config file for mission system in mission folder) ai_mission_sysyem = True; And my other question is, is the Z koordinate necessary for the custom spawns ? or can i let it on "0" ? EDIT: Question above have been solved. the customspawns defined at the customspawn.sqf will spawn at a server restart when ai_mission_sysyem is true ? Cause i did that and nothing happens: /* Custom Chopper Patrol spawn Eg. [[7100.0,6960.0,0]], //Position to patrol [[6500.0,7360.0,0]], // Position to spawn chopper at 700, //Radius of patrol 10, //Number of waypoints to give "UH1H_DZ", //Classname of vehicle (make sure it has driver and two gunners) 1 //Skill level of units ] spawn heli_patrol; Place your heli patrols below */ great wishes flo Link to comment Share on other sites More sharing options...
Ronie111 Posted December 17, 2013 Report Share Posted December 17, 2013 So now i know how to start chopper patrol! :-) But still dont know how is the chopper patrol working. The UH-1H is not firing on me in Armored SUV, i shot and nothing. My mate is flying with black hawk around him, and no fire... is something wrong by me? And NPCs are atacking vodnik. M2 is nice shoting on vodnik.... :-) Link to comment Share on other sites More sharing options...
Picking Posted December 17, 2013 Report Share Posted December 17, 2013 hi getting this error in RPT everything still works just spams SO hard :) _unit = _unitGroup createUnit [_aiskin, [(_position select > 22:31:57 Error position: <createUnit [_aiskin, [(_position select > 22:31:57 Error Type Any, expected Number 22:31:57 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 53 22:31:57 Error in expression <{ _aiskin = _skin }; anyone know what that is? Thanks Link to comment Share on other sites More sharing options...
2sugars Posted December 17, 2013 Report Share Posted December 17, 2013 If anyone has a fully working CustomSpawns.cfg i.e. everything is spawning can they post it please. Think my syntax is out somewhere Cheers @BetterDead line 17 crash_spawner.cfg _crashName = getText (configFile >> "CfgVehicles" >> _crashModel >> "displayName"); is what you should have? and not _crashName = getText (missionconfigFile >> "CfgVehicles" >> _crashModel >> "displayName"); Link to comment Share on other sites More sharing options...
Bondue Posted December 17, 2013 Report Share Posted December 17, 2013 Just want to say it is running flawlessly on my server and thank you for your hard work! Link to comment Share on other sites More sharing options...
Ronie111 Posted December 17, 2013 Report Share Posted December 17, 2013 Want to say the same. THX a lot for this! Got some help from Picking and its working realy great, NPCs are awesome... Nice work! Link to comment Share on other sites More sharing options...
fr1nk Posted December 17, 2013 Report Share Posted December 17, 2013 So now i know how to start chopper patrol! :-) But still dont know how is the chopper patrol working. The UH-1H is not firing on me in Armored SUV, i shot and nothing. My mate is flying with black hawk around him, and no fire... is something wrong by me? And NPCs are atacking vodnik. M2 is nice shoting on vodnik.... :-) Which vodnik? Medical or armed vodnik? Link to comment Share on other sites More sharing options...
Trinii Posted December 17, 2013 Report Share Posted December 17, 2013 So now i know how to start chopper patrol! :-) But still dont know how is the chopper patrol working. The UH-1H is not firing on me in Armored SUV, i shot and nothing. My mate is flying with black hawk around him, and no fire... is something wrong by me? And NPCs are atacking vodnik. M2 is nice shoting on vodnik.... :-) Then tell us pls how u start the Chopper patrol? :) Link to comment Share on other sites More sharing options...
Ronie111 Posted December 17, 2013 Report Share Posted December 17, 2013 Which vodnik? Medical or armed vodnik? Armed vodnik. Shot from M2 and 2 players down thru windows :-) Link to comment Share on other sites More sharing options...
fr1nk Posted December 17, 2013 Report Share Posted December 17, 2013 Armed vodnik. Shot from M2 and 2 players down thru windows :-) Well that's odd. Was driving around in mine and all they did was turn the M2 around to follow my movements...no firing though :blink: Link to comment Share on other sites More sharing options...
AndersVinde Posted December 17, 2013 Report Share Posted December 17, 2013 Hello I have put this on my server but i dont seem to be able to find any AI. I run DayZ Chernarus mission system too, is this compatible? If this compatible, is there any setting i need to change for it to work. Link to comment Share on other sites More sharing options...
2sugars Posted December 17, 2013 Report Share Posted December 17, 2013 Just want to say it is running flawlessly on my server and thank you for your hard work! Can you post your spawnconfig please? Cheers Link to comment Share on other sites More sharing options...
ispan55 Posted December 17, 2013 Report Share Posted December 17, 2013 how to turn on? Heli patrols vehicle patrols Link to comment Share on other sites More sharing options...
ispan55 Posted December 17, 2013 Report Share Posted December 17, 2013 Current Version 0.16 Adds more options to ammo boxes tweaks to missions Added timeouts to missions Fix ammobox despawn in 1.0.3 Wicked AI feature list Customizable loadouts for groups. Customizable Static weapon units Customizable Heli patrols Customizable vehicle patrols Customizable helicopter group paradrop Ability to setup custom skill settings Can spawn units in any script in the dayz_server.pbo AI share your info making them more difficult Wicked Mission System Features (WIP) Customizable random vehicles for missions Vehicles save to database only when player gets close Loads easily from AI system. No need for extra install Map markers refresh so JIP players will have them on map Uses wasteland like missions Customizable ammo boxes Missions can timeout if no player is in the area Setup ONLY WORKS FOR DAYZ EPOCH CURRENTLY Download Here (version 0.16) Setup is easy Put the WAI folder in your main dayz_server directory Add above allowConnection = true; in server_monitor.sqf [] ExecVM "\z\addons\dayz_server\WAI\init.sqf"; allowConnection = true; No need for the killing a hacker fix. Config files are located in the main WAI folder and main Missions folder. Setup your custom spawns in Customspawns.sqf This is still a WIP. So try it out and give some feedback on it to help improve the system. The mission system is lacking numbers, but the randomness of vehicles chosen makes up for it. I have had this on my server for a few weeks and everything seems to be running fine even with over 50 AI spawned in with the mission system running. I will post a more detailed setup later as I have no time now. This is running on my clans Epoch server if you want to get a taste before you try it. 69.64.52.14:2312. Known issues. Vehicle drivers are idiots Not a lot of debugging What is being worked on... More config options for missions. Changing format for AI weapon sets to not require mags in array. Early version of paradrop script. http://www.youtube.com/watch?v=opIUs4AgWXs Info Sharing Test http://youtu.be/a5G5NTmeWZQ how to turn on? Heli patrols vehicle patrols Link to comment Share on other sites More sharing options...
Trinii Posted December 17, 2013 Report Share Posted December 17, 2013 I addet a costum paraspawn... but when i start the server nothing happens. When i look into the RPT there are many of following errors... Any Ideas? :( 0:05:00 Error in expression <sent = false; {if((isPlayer _x) AND (_x distance [(_position select 0),(_positio> 0:05:00 Error position: <distance [(_position select 0),(_positio> 0:05:00 Error Typ Array, erwartet Zahl 0:05:00 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 33 0:05:10 Error in expression <sent = false; {if((isPlayer _x) AND (_x distance [(_position select 0),(_positio> 0:05:10 Error position: <distance [(_position select 0),(_positio> 0:05:10 Error Typ Array, erwartet Zahl 0:05:10 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 33 Link to comment Share on other sites More sharing options...
FFDP Posted December 18, 2013 Report Share Posted December 18, 2013 There were quite a few spelling errors in this, so until there is a working version, Ive gone back to sarge ai. System runs, but nothing spawns. I spent two hours last night just setting up the custom spawns with various coordinates, but nothing ever spawned. Link to comment Share on other sites More sharing options...
ispan55 Posted December 18, 2013 Report Share Posted December 18, 2013 There were quite a few spelling errors in this, so until there is a working version, Ive gone back to sarge ai. System runs, but nothing spawns. I spent two hours last night just setting up the custom spawns with various coordinates, but nothing ever spawned. I also tried does not generate)) Link to comment Share on other sites More sharing options...
WWKHeadhunter Posted December 18, 2013 Report Share Posted December 18, 2013 I also tried does not generate)) Same. i have 32 missions working fine. but nothing i add will spawnin. no matter what.????? Link to comment Share on other sites More sharing options...
WWKHeadhunter Posted December 18, 2013 Report Share Posted December 18, 2013 Hello I have put this on my server but i dont seem to be able to find any AI. I run DayZ Chernarus mission system too, is this compatible? If this compatible, is there any setting i need to change for it to work. i have them both running and working fine. Only problem is. if the missons are close. the ai will fight. I can't get my spawns to load up. other then that. good to go Link to comment Share on other sites More sharing options...
Picking Posted December 18, 2013 Report Share Posted December 18, 2013 I have 48 ai spawns around the map 6 heli patrols and 7 paradrops they are all working read the replys! Nothing wrong with this at all it works!! Cash and williamjbrown 2 Link to comment Share on other sites More sharing options...
ispan55 Posted December 18, 2013 Report Share Posted December 18, 2013 I have 48 ai spawns around the map 6 heli patrols and 7 paradrops they are all working read the replys! Nothing wrong with this at all it works!! CAN YOU SHARE FILES WHITH US ? :) Link to comment Share on other sites More sharing options...
Picking Posted December 18, 2013 Report Share Posted December 18, 2013 I won't share my files i will help ppl to get it going if they like i have spent the time to my going it wasn't that hard just follow the intrsuctions :) pm me if you would like a extra hand crckdns 1 Link to comment Share on other sites More sharing options...
nozik4 Posted December 18, 2013 Report Share Posted December 18, 2013 Hi all. Is anybody in here, who shared the working files and does not ask money for this Link to comment Share on other sites More sharing options...
Fuchs Posted December 18, 2013 Report Share Posted December 18, 2013 I dont think anyone will post here anything to this ..if im not coming home to late i will show u how !! ispan55 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now