jackal40 Posted October 26, 2014 Report Share Posted October 26, 2014 Where? It's in this page 60). Link to comment Share on other sites More sharing options...
chaingun427 Posted October 26, 2014 Report Share Posted October 26, 2014 I'm getting the following rpt error with my mission 19:06:12 Error in expression <aigear select 0; _geartools = _aigear select 1; call { if(_skin == "random") > 19:06:12 Error position: <select 1; call { if(_skin == "random") > 19:06:12 Error Zero divisor 19:06:12 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 91 I haven't made any changes to that file. This mission worked great in a previous version of WAI and as far as i can tell the syntax for static spawns hasn't changed. static.zip Link to comment Share on other sites More sharing options...
morggin Posted October 26, 2014 Report Share Posted October 26, 2014 I put the Beta in just a few minutes ago. Getting an error in the custom_publish_vehicles.sql line 86 19:49:37 Error in expression <ith " + str(_fuel) + " fuel and " + str(_damage) + " damage."); }; _vehicle set> 19:49:37 Error position: <_damage) + " damage."); }; _vehicle set> 19:49:37 Error Undefined variable in expression: _damage 19:49:37 File z\addons\dayz_server\WAI\compile\custom_publish_vehicle.sqf, line 86 Line 86 of custom_publish_vehicle.sqf if(debug_mode) then { diag_log("WAI: Spawned " +str(_class) + " at " + str(_position) + " with " + str(_fuel) + " fuel and " + str(_damage) + " damage."); }; i changed it to this and will test to see if it reoccurs. if(debug_mode) then { diag_log("WAI: Spawned " +str(_class) + " at " + str(_position) + " with " + str(_fuel) + " fuel and " + str(_damage) + "damage"); }; EDIT: Additionally, this just happened after a Bandit MV22 mission when i attempted to get into the MV22 after getting the key off a body. 20:53:31 "HIVE: WRITE: "CHILD:388:18238419162270:"" 20:53:31 "ATTEMPT READ/WRITE: CHILD:388:18238419162270:" 20:53:31 Suspending not allowed in this context 20:53:31 Error in expression <utcome = _result select 0; waitUntil {!isNil "_outcome"}; if(debug_mode) then> 20:53:31 Error position: <!isNil "_outcome"}; if(debug_mode) then> 20:53:31 Error Generic error in expression 20:53:31 "HIVE: WRITE: "CHILD:388:18238419162270:"" 20:53:31 "ATTEMPT READ/WRITE: CHILD:388:18238419162270:" 20:53:31 Suspending not allowed in this context 20:53:31 Error in expression <utcome = _result select 0; waitUntil {!isNil "_outcome"}; if(debug_mode) then> 20:53:31 Error position: <!isNil "_outcome"}; if(debug_mode) then> 20:53:31 Error Generic error in expression 20:53:31 "HIVE: WRITE: "CHILD:388:18238419162270:"" 20:53:31 B 1-1-B:1 (Morggin) REMOTE: Getting out while IsMoveOutInProgress 20:53:31 "CUSTOM: failed to get id for : "18238419162270"" 20:53:31 "PUBLISH: Created MV22_DZ with ID "18238419162270"" Link to comment Share on other sites More sharing options...
chaingun427 Posted October 26, 2014 Report Share Posted October 26, 2014 I'm getting the following rpt error with my mission 19:06:12 Error in expression <aigear select 0; _geartools = _aigear select 1; call { if(_skin == "random") > 19:06:12 Error position: <select 1; call { if(_skin == "random") > 19:06:12 Error Zero divisor 19:06:12 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 91 I haven't made any changes to that file. This mission worked great in a previous version of WAI and as far as i can tell the syntax for static spawns hasn't changed. NVM found my error, i forgot to define aigear2 and 3 in the config theduke 1 Link to comment Share on other sites More sharing options...
Zigeris Posted October 26, 2014 Report Share Posted October 26, 2014 I was wondering if there could be missions where if you complete it, you will be able to control/command AI. Example; Mission is to save civilians from zombies within 5 minutes; if the civilian dies, then fail. If the time is exceeded the mission will auto kill the AI's and the mission is a fail. If successful then the AI will join you and you can arm them with whatever you have to give. That's assuming that zeds will interact with the AI, I have a very set project I wanna create; RP server storyline of sorts. Link to comment Share on other sites More sharing options...
MG-Maximus Posted October 27, 2014 Report Share Posted October 27, 2014 Love your work f3cuk. I am however having a small problem where after about 3 hours server time the missions stop spawning. any reason for this? (i have 4 hour restarts) Link to comment Share on other sites More sharing options...
Liqu1dShadow Posted October 27, 2014 Report Share Posted October 27, 2014 how did you get your banner in? lol off topic i know lol Link to comment Share on other sites More sharing options...
f3cuk Posted October 28, 2014 Author Report Share Posted October 28, 2014 I was wondering if there could be missions where if you complete it, you will be able to control/command AI. Example; Mission is to save civilians from zombies within 5 minutes; if the civilian dies, then fail. If the time is exceeded the mission will auto kill the AI's and the mission is a fail. If successful then the AI will join you and you can arm them with whatever you have to give. That's assuming that zeds will interact with the AI, I have a very set project I wanna create; RP server storyline of sorts. With that kind of manipulation you really have to start learning SQF. I guess everything is doable, but this seems pretty sophisticated at first sight.. I put the Beta in just a few minutes ago. Getting an error in the custom_publish_vehicles.sql line 86 19:49:37 Error in expression <ith " + str(_fuel) + " fuel and " + str(_damage) + " damage."); }; _vehicle set> 19:49:37 Error position: <_damage) + " damage."); }; _vehicle set> 19:49:37 Error Undefined variable in expression: _damage 19:49:37 File z\addons\dayz_server\WAI\compile\custom_publish_vehicle.sqf, line 86 Line 86 of custom_publish_vehicle.sqf if(debug_mode) then { diag_log("WAI: Spawned " +str(_class) + " at " + str(_position) + " with " + str(_fuel) + " fuel and " + str(_damage) + " damage."); }; i changed it to this and will test to see if it reoccurs. if(debug_mode) then { diag_log("WAI: Spawned " +str(_class) + " at " + str(_position) + " with " + str(_fuel) + " fuel and " + str(_damage) + "damage"); }; EDIT: Additionally, this just happened after a Bandit MV22 mission when i attempted to get into the MV22 after getting the key off a body. 20:53:31 "HIVE: WRITE: "CHILD:388:18238419162270:"" 20:53:31 "ATTEMPT READ/WRITE: CHILD:388:18238419162270:" 20:53:31 Suspending not allowed in this context 20:53:31 Error in expression <utcome = _result select 0; waitUntil {!isNil "_outcome"}; if(debug_mode) then> 20:53:31 Error position: <!isNil "_outcome"}; if(debug_mode) then> 20:53:31 Error Generic error in expression 20:53:31 "HIVE: WRITE: "CHILD:388:18238419162270:"" 20:53:31 "ATTEMPT READ/WRITE: CHILD:388:18238419162270:" 20:53:31 Suspending not allowed in this context 20:53:31 Error in expression <utcome = _result select 0; waitUntil {!isNil "_outcome"}; if(debug_mode) then> 20:53:31 Error position: <!isNil "_outcome"}; if(debug_mode) then> 20:53:31 Error Generic error in expression 20:53:31 "HIVE: WRITE: "CHILD:388:18238419162270:"" 20:53:31 B 1-1-B:1 (Morggin) REMOTE: Getting out while IsMoveOutInProgress 20:53:31 "CUSTOM: failed to get id for : "18238419162270"" 20:53:31 "PUBLISH: Created MV22_DZ with ID "18238419162270"" Thanks for reporting, this one has actually been reported before and has been fixed on the Testbranch. I'm hopeful that i can update the Beta pretty soon with the latest fixes and add-ons. Love your work f3cuk. I am however having a small problem where after about 3 hours server time the missions stop spawning. any reason for this? (i have 4 hour restarts) Thanks. I'm guessing after 3 hours your server FPS is too low to spawn any new missions. Wicked AI only spawns missions when your server is above the specified fps in the config.sqf. You might want to look into the cleanup stuff to keep your server fresh and quick. Link to comment Share on other sites More sharing options...
KoTaS Posted October 28, 2014 Report Share Posted October 28, 2014 Add these for all spawned vehicles from mission, if using Infistar on your server... This makes sure that any vehicle have an ID so Infistar wont kick/ban/delete for that matter :) In compile folder look for heli_para.sqf, heli_patrol.sqf, vehicle_patrol.sqf, custom_publish_vehicle.sqf, spawn_static.sqf This bellow peace of code for vehicle_patrol.sqf private ["......","......","......","_vehicleID"] - Only ,"_vehicleID" at end of private. _vehicle = createVehicle [_veh_class, [(_startingpos select 0),(_startingpos select 1), 0], [], 0, "CAN_COLLIDE"]; - Under this add following _vehicleID = str(round(random 999999)); _vehicle setVariable ["ObjectID", _vehicleID, true]; _vehicle setVariable ["ObjectUID", _vehicleID, true]; Cheers Link to comment Share on other sites More sharing options...
MarshMallow Posted October 28, 2014 Report Share Posted October 28, 2014 How would you get the customSpawns to work on this, I have it in the root of the WAI folder however the AI dont spawn. Link to comment Share on other sites More sharing options...
ElDubya Posted October 28, 2014 Report Share Posted October 28, 2014 f3cuk, Big fan of this man, well done. I run a PVE server and as such we don't have bandits, so I have changed the wording of some of the missions (changed the hero lines of mission description to bandit related) so that it reflects this, disabled the kill count totally and disabled humanity lost for killing hero AI. My problem is the "[H] Hero" missions don't seem to be completing. (No flare/smoke, nothing in the crate, minefield still active.) I did this initially so that we would still have a heap of missions to do. What would I have to do to disable these missions completely? I guess it's as simple as commenting out a line of code but the few things I have tried have failed. If I did disable these, would the remaining missions spawn at the same rate? Link to comment Share on other sites More sharing options...
MG-Maximus Posted October 29, 2014 Report Share Posted October 29, 2014 how did you get your banner in? lol off topic i know lol Just edit your profile > Signature > click Image and type in your image URL (upload your banner to something like imgur). Also google chrome is much better than internet explorer for basically everying XD To make it clickable i just use a similar code to this <a href="url here"><img src="image url here"></a> Link to comment Share on other sites More sharing options...
reaperz73 Posted October 29, 2014 Report Share Posted October 29, 2014 Running WAI BETA 2.2.0 Map Taviana 2.0 static missions work fine can't get dynamic missions to run though. Any Ideas?? Link to comment Share on other sites More sharing options...
Nekuan Posted October 29, 2014 Report Share Posted October 29, 2014 I'm sorry if this has already been asked/answered but can I place a static DYNAMIC crate using WAI which is not implemented in a mission? Link to comment Share on other sites More sharing options...
ElDubya Posted October 31, 2014 Report Share Posted October 31, 2014 Can anyone tell me how to disable the Bandit folder missions? I have changed the wording of them as follows : "Heroes have taken an armed vehicle from the bandits. Check your map for the location" "Bandits have secured the armed vehicle" "Bandits did not secure the armed vehicle this time" to "Bandits have taken an armed vehicle from the bandits. Check your map for the location" "Survivors have secured the armed vehicle" "Survivors did not secure the armed vehicle this time" but that seem to stuff the missions up and they don't complete? Is that even possible? I mean, I am only changing the description of the on-screen text, aren't I? I have even tried commenting out the whole block regarding these missions and then it doesn't work at all and starts throwing errors at me in the .rpt. Anyone? Please? Also, would it be possible to have a message come up, similar to DZMS, about "This vehicle will disappear at restart" when you have the option to save them to the DB set to false? Link to comment Share on other sites More sharing options...
ryker Posted October 31, 2014 Report Share Posted October 31, 2014 Can anyone tell me how to disable the Bandit folder missions? Just comment the banit-mission array like the special-mission array. /* Start Comment Everthing between Asterix and Slash wont be executed */ End Comment Link to comment Share on other sites More sharing options...
ElDubya Posted October 31, 2014 Report Share Posted October 31, 2014 I tried that, and it fills my .rpt with errors. Link to comment Share on other sites More sharing options...
megaz Posted October 31, 2014 Report Share Posted October 31, 2014 I tried that, and it fills my .rpt with errors. Did you change the skins to bandit skins on the hero missions as I run a PVE server and have both B and H running All with bandits and all clear and give AI kill count and Humanity MegaZ Link to comment Share on other sites More sharing options...
ElDubya Posted October 31, 2014 Report Share Posted October 31, 2014 No, I hadn't even thought of that :( Thanks man, I'll get onto it. Link to comment Share on other sites More sharing options...
GenieLeo Posted November 1, 2014 Report Share Posted November 1, 2014 Hey guys, I'm new here. Now, I am hosting a Dayz Epoch mod server and I want to add Wicked AI to my server. I did exactly everything on instructions but the mission didn't work. I tried different mission script but it didn't work too. These are my steps: Extract the sever pbo file -> copy WAI folder to the folder that I extract -> open server_monitor.sqf and add [] ExecVM "\z\addons\dayz_server\WAI\init.sqf"; above allowConnection = true; -> pack that server file into pbo again. Did I do something wrong ??? please help me Link to comment Share on other sites More sharing options...
oSoDirty Posted November 1, 2014 Report Share Posted November 1, 2014 Hey guys, I'm new here. Now, I am hosting a Dayz Epoch mod server and I want to add Wicked AI to my server. I did exactly everything on instructions but the mission didn't work. I tried different mission script but it didn't work too. I dont run my servers from home and it looks to me like you are so im not 100% on this, but it doesn't look like you're using a PBO tool to do your editing. Sorry if i'm wrong but download pbo manager and install it if you haven't already. Right click the dayz_server.pbo and open it with PBO Manager. Paste in the WAI folder and copy and paste the server_monitor.sqf to your desktop open it add the line of code and replace it in the manager. Always make back-ups of everything you plan on editing. Link to comment Share on other sites More sharing options...
GenieLeo Posted November 1, 2014 Report Share Posted November 1, 2014 I dont run my servers from home and it looks to me like you are so im not 100% on this, but it doesn't look like you're using a PBO tool to do your editing. Sorry if i'm wrong but download pbo manager and install it if you haven't already. Right click the dayz_server.pbo and open it with PBO Manager. Paste in the WAI folder and copy and paste the server_monitor.sqf to your desktop open it add the line of code and replace it in the manager. Always make back-ups of everything you plan on editing. That's right, I have some trouble with pbo manager so I use PBO viewer, I've edited some addon to my server like load out gear, admin tool by pbo viewer and everything working perfect except AI mission :( Link to comment Share on other sites More sharing options...
ElDubya Posted November 1, 2014 Report Share Posted November 1, 2014 I have reverted back to the standard "unedited by me" files and am still having missions not completing. Could this error point anyone in the right direction as to why they aren't completing : 0:17:02 Error in expression < getVariable["actionSet", false]; if (!_actionSet) then { s_player_holderPickup> 0:17:02 Error position: <_actionSet) then { s_player_holderPickup> 0:17:02 Error Undefined variable in expression: _actionset 0:17:02 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13 Link to comment Share on other sites More sharing options...
Jey Posted November 1, 2014 Report Share Posted November 1, 2014 @f3cukWe have been running your wai 2.2.0 beta since it is out. Everyone in our do like it, great work man.I had a little question is possible WAI make error in the server_functions?anyway great work Link to comment Share on other sites More sharing options...
noesges97 Posted November 2, 2014 Report Share Posted November 2, 2014 I want to install the Beta Version now. But i have a Question. You can change how much missions spawns. wai_hero_limit = 2; wai_bandit_limit = 2; wai_special_limit = 1; does that means that 2 hero, 2 bandit and a special mission spawns at the same time? Link to comment Share on other sites More sharing options...
Recommended Posts