Sexysev Posted July 24, 2014 Report Share Posted July 24, 2014 Anyone having issues since the newest version of epoch? Sometimes it will randomly stop working, then next restart all is fine. no idea why Link to comment Share on other sites More sharing options...
don2k7 Posted July 24, 2014 Report Share Posted July 24, 2014 Anyone having issues since the newest version of epoch? Sometimes it will randomly stop working, then next restart all is fine. no idea why check your rpt when that happened on my server it was to do with the helecrash mission i took and it and it all works fine now Link to comment Share on other sites More sharing options...
jackal40 Posted July 24, 2014 Report Share Posted July 24, 2014 Just looked at mine today, no AI showing up. Got multiple entries of 7:54:49 "TIME SYNC: Local Time set to [2013,8,3,20,54]" 7:58:37 "0 Active ground units" 7:58:37 "0 Active emplacement units" 7:58:37 "0 Active chopper patrol units (Crew)" 7:58:37 "0 Active vehicle patrol units (Crew)" but no errors. There haven't been any changes to the configs since I moved to 1.63.0.125548 and it was working on this version. Kind of at a loss for how to try and fix this. Never mind, seems I had cleared the custom spawns while troubleshooting something else. Added them back and all seems to be working. Link to comment Share on other sites More sharing options...
ukko Posted July 24, 2014 Report Share Posted July 24, 2014 My rpt log can be viewed here http://pastebin.com/AK4U4sP8 Can anyone assist with this line 17 error, I believe its stopping my WAi from spawning - my static mission is fine but the random missions are no longer available. My Server is on 1.0.5.1 - 1.63/125548 Im guessing that is the likey cause ( the update ) ... if anyone hasa work around that would be cool Thanks Nige Link to comment Share on other sites More sharing options...
Link Posted July 24, 2014 Report Share Posted July 24, 2014 I recieve this errors relating to spawns in my server files, anyone know a fix for some of them? 20:37:19 Error in expression <Magazine _magazine;}; _para addBackpack _aipack; {_para addMagazine _x} forEach > 20:37:19 Error position: <_aipack; {_para addMagazine _x} forEach > 20:37:19 Error Undefined variable in expression: _aipack 20:37:19 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 137 20:37:21 Error in expression <Magazine _magazine;}; _para addBackpack _aipack; {_para addMagazine _x} forEach > 20:37:21 Error position: <_aipack; {_para addMagazine _x} forEach > 20:37:21 Error Undefined variable in expression: _aipack 20:37:21 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 137 20:37:23 Error in expression <Magazine _magazine;}; _para addBackpack _aipack; {_para addMagazine _x} forEach > 20:37:23 Error position: <_aipack; {_para addMagazine _x} forEach > 20:37:23 Error Undefined variable in expression: _aipack 20:37:23 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 137 20:37:23 "PDEATH: Player Died 76561198115990538" 20:37:24 Error in expression <Magazine _magazine;}; _para addBackpack _aipack; {_para addMagazine _x} forEach > 20:37:24 Error position: <_aipack; {_para addMagazine _x} forEach > 20:37:24 Error Undefined variable in expression: _aipack 20:37:24 File z\addons\dayz_server\WAI\compile\heli_para.sqf, line 137 Link to comment Share on other sites More sharing options...
f3cuk Posted July 25, 2014 Report Share Posted July 25, 2014 Not tested, but try this. In heli_para.sqf find if (_backpack = "") then { Change to if (isNil "_backpack") then { Link to comment Share on other sites More sharing options...
Civyar Posted July 26, 2014 Report Share Posted July 26, 2014 Is there any additional work required to make this work properly in 1.0.5.1 ? EDIT: Trying it.. No missions spawning though it seems. Link to comment Share on other sites More sharing options...
crazyirishjohn Posted July 27, 2014 Report Share Posted July 27, 2014 i have heli patrols and para bandits over my airfields and they are all working fine still no problems i added some extra bandit spawns on skalisty island and smaller heli patrols around the map and they all worked fine yesterday. today i updated to steam and now just the heli patrols and paras work and all my other custom spawns wont work i tried everything reloading a fresh pbo file and loading bit by bit but nothing works anyone having this issue ?? Link to comment Share on other sites More sharing options...
MontyZari Posted July 27, 2014 Report Share Posted July 27, 2014 Could find if this problem has been posted already, but my game freezes and crashes occasionally while trying to loot a bandits body. Has this happened to anyone else? Link to comment Share on other sites More sharing options...
f3cuk Posted July 27, 2014 Report Share Posted July 27, 2014 Not to me, but check your client rpt file to see what errors you get. Usually you find the best clues there. Find it in \AppData\Local\ArmA 2 OA\ArmA2OA.RPT Link to comment Share on other sites More sharing options...
Havoc302 Posted July 30, 2014 Report Share Posted July 30, 2014 Has anyone worked out how to make it so you can define areas that the missions shouldn't spawn at? Like near trader cities and stuff. Also I've replaced the crashed C-130 mission with a crashed blackhawk if anyone wants a copy of it, not too complex, just PM me and I'll put it up on Google drive for you. Had so many issues with players getting stuck on that stupid wreck. Link to comment Share on other sites More sharing options...
rss_adm Posted July 31, 2014 Report Share Posted July 31, 2014 Has anyone worked out how to make it so you can define areas that the missions shouldn't spawn at? Like near trader cities and stuff. Also I've replaced the crashed C-130 mission with a crashed blackhawk if anyone wants a copy of it, not too complex, just PM me and I'll put it up on Google drive for you. Had so many issues with players getting stuck on that stupid wreck. it is possible for me? Link to comment Share on other sites More sharing options...
rss_adm Posted July 31, 2014 Report Share Posted July 31, 2014 How to make the mission ends after killing all AI on mission? Link to comment Share on other sites More sharing options...
Link Posted July 31, 2014 Report Share Posted July 31, 2014 So using the Wicked AI system script(s) that I have installed inside of my server files i'm trying to create a custom weapon Cache that spawns in my own predifined items. I'm succuesfull in getting the weapon caches to spawn, and by default gear spawns in them because they are using the "ExtraLargeGunBox.sqf" to fill loot inside of them everytime one of them is created. I have modied the script where the gun boxes are created so instead of the code calling "ExtraLargeGunBox.sqf" each time one is created, I call a custom created sqf file by me that fills each box with unique gear to that box. Here is "StaticAmmoBoxes.sqf" where I am creating the boxes at their locations and calloing seperate scripts for each to fill them with gear; /* Add ammmo boxes to static locations on map and fills it with loot from missionCfg.sqf creates a ammo box at [0,0,0] then fills it _box = createVehicle ["BAF_VehicleBox",[0,0,0], [], 0, "CAN_COLLIDE"]; [_box] call spawn_ammo_box; creates a 2nd ammo box at [1,1,1] then fills it _box2 = createVehicle ["BAF_VehicleBox",[1,1,1], [], 0, "CAN_COLLIDE"]; [_box2] call spawn_ammo_box; add custom ammo boxes below this line */ /* SECTOR B CUSTOM BOXES */ _box = createVehicle ["BAF_VehicleBox",[6643.02,14211.9,0.00164795], [], 0, "CAN_COLLIDE"]; /*SECTOR B WEAPON SUPPLY BOX*/ [_box] call Sector_B_Weapons; As you can see I call Sector_B_Weapons, inside of that script i have; //Extra Large Gun Box _box = _this select 0; _box setVariable ["ObjectID","1",true]; _box setVariable ["permaLoot",true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_box]; clearWeaponCargoGlobal _box; clearMagazineCargoGlobal _box; // GUNS _box addWeaponCargoGlobal ["M4A1_AIM_camo", 1]; _box addWeaponCargoGlobal ["Pecheneg", 2]; _box addWeaponCargoGlobal ["MG36", 2]; _box addWeaponCargoGlobal ["RPG7V", 1]; _box addWeaponCargoGlobal ["Mk_48_DES_EP1", 1]; _box addWeaponCargoGlobal ["DMR", 3]; _box addWeaponCargoGlobal ["M249_DZ", 2]; _box addWeaponCargoGlobal ["RH_m14", 1]; _box addWeaponCargoGlobal ["RH_m1stsp", 2]; _box addWeaponCargoGlobal ["BAF_AS50_scoped", 1]; _box addWeaponCargoGlobal ["M60A4_EP1", 1]; _box addWeaponCargoGlobal ["BAF_AS50_TWS", 1]; _box addWeaponCargoGlobal ["Mk48_DES_EP1", 1]; _box addWeaponCargoGlobal ["M249_TWS_EP1", 1]; _box addWeaponCargoGlobal ["M110_TWS_EP1", 1]; _box addWeaponCargoGlobal ["M110_NVG_EP1", 1]; _box addWeaponCargoGlobal ["USSR_cheytacM200_sd", 1]; // AMMO _box addWeaponCargoGlobal ["30Rnd_556x45_Stanag", 40]; _box addWeaponCargoGlobal ["100Rnd_762x54_PK", 6]; _box addWeaponCargoGlobal ["100Rnd_556x45_BetaCMag", 6]; _box addWeaponCargoGlobal ["PG7V", 2]; _box addWeaponCargoGlobal ["20Rnd_762x51_DMR", 16]; _box addWeaponCargoGlobal ["200Rnd_556x45_M249", 16]; _box addWeaponCargoGlobal ["5Rnd_127x99_AS50", 14]; _box addWeaponCargoGlobal ["100Rnd_762x51_M240", 10]; _box addWeaponCargoGlobal ["20Rnd_762x51_B_SCAR", 8]; _box addWeaponCargoGlobal ["USSR_5Rnd_408", 8]; //BACKPACKS _box addBackpackCargoGlobal ["DZ_LargeGunBag_EP1", 3]; But for some reason when I go in-game the box instead spawns 50x M240 Rnds and 50x M249 Rnds. In matter of fact these same two items spawn in every custom box that I create and fill with custom loot on the map, is there a reason for this and could anyone have any idea as of what I am doing wrong here? Thanks. Link to comment Share on other sites More sharing options...
redcloud78 Posted August 1, 2014 Report Share Posted August 1, 2014 unrelated to any ^ have the mission spawn tank trap in a circle around each mission or a 10mph speed limit if i gave them launchers i would not want my players to have launchers Link to comment Share on other sites More sharing options...
Stranger Posted August 1, 2014 Report Share Posted August 1, 2014 Is there a way to start a mission as an admin whenever you want to? Link to comment Share on other sites More sharing options...
Seraphiim Posted August 2, 2014 Report Share Posted August 2, 2014 I can't get the custom spawns to work properly. I input position and everything as shown by some of you guys. It still fails to work I checked RPT but I could not find error relating to it. //Custom Spawns file// /* Custom group spawns Eg. [[953.237,4486.48,0.001], //position 4, //Number Of units 1, //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array. "Random", //Primary gun set number. "Random" for random weapon set. 4, //Number of magazines "", //Backpack "" for random or classname here. "Bandit2_DZ", //Skin "" for random or classname here. "Random" //Gearset number. "Random" for random gear set. ] call spawn_group; Place your custom group spawns below /* [[13671.355, 2892.8167, -1.5258789e-005], 4, 2, "Random", 4, "", "Bandit2_DZ", "Random" ] call spawn_group; //ground troops Link to comment Share on other sites More sharing options...
ekroemer Posted August 2, 2014 Report Share Posted August 2, 2014 What about changing the second opening comment /* in line 16 into the proper closing one? */ ? Link to comment Share on other sites More sharing options...
Seraphiim Posted August 3, 2014 Report Share Posted August 3, 2014 Then change it again on following section right? I figured it would be something small. I will try it later today and see if it works properly. thanks. Link to comment Share on other sites More sharing options...
ekroemer Posted August 3, 2014 Report Share Posted August 3, 2014 Get an editor with syntax highlighting. Either install e.g. an sqf addon to Notepad++ or paste your code into whatever.c and use C/C++-Mode. I'd make a backup copy of the original file and delete all comments in the one I'm working with - the less code the less chance to overlook something. Seraphiim 1 Link to comment Share on other sites More sharing options...
Seraphiim Posted August 3, 2014 Report Share Posted August 3, 2014 Got it figured out. One quick look and I slapped myself in the face. Thanks for the help guys. Come check us out at RVP Epoch Chernarus. We would love to hear your feedback and get ideas. Link to comment Share on other sites More sharing options...
don2k7 Posted August 3, 2014 Report Share Posted August 3, 2014 So using the Wicked AI system script(s) that I have installed inside of my server files i'm trying to create a custom weapon Cache that spawns in my own predifined items. I'm succuesfull in getting the weapon caches to spawn, and by default gear spawns in them because they are using the "ExtraLargeGunBox.sqf" to fill loot inside of them everytime one of them is created. I have modied the script where the gun boxes are created so instead of the code calling "ExtraLargeGunBox.sqf" each time one is created, I call a custom created sqf file by me that fills each box with unique gear to that box. Here is "StaticAmmoBoxes.sqf" where I am creating the boxes at their locations and calloing seperate scripts for each to fill them with gear; /* Add ammmo boxes to static locations on map and fills it with loot from missionCfg.sqf creates a ammo box at [0,0,0] then fills it _box = createVehicle ["BAF_VehicleBox",[0,0,0], [], 0, "CAN_COLLIDE"]; [_box] call spawn_ammo_box; creates a 2nd ammo box at [1,1,1] then fills it _box2 = createVehicle ["BAF_VehicleBox",[1,1,1], [], 0, "CAN_COLLIDE"]; [_box2] call spawn_ammo_box; add custom ammo boxes below this line */ /* SECTOR B CUSTOM BOXES */ _box = createVehicle ["BAF_VehicleBox",[6643.02,14211.9,0.00164795], [], 0, "CAN_COLLIDE"]; /*SECTOR B WEAPON SUPPLY BOX*/ [_box] call Sector_B_Weapons; As you can see I call Sector_B_Weapons, inside of that script i have; //Extra Large Gun Box _box = _this select 0; _box setVariable ["ObjectID","1",true]; _box setVariable ["permaLoot",true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_box]; clearWeaponCargoGlobal _box; clearMagazineCargoGlobal _box; // GUNS _box addWeaponCargoGlobal ["M4A1_AIM_camo", 1]; _box addWeaponCargoGlobal ["Pecheneg", 2]; _box addWeaponCargoGlobal ["MG36", 2]; _box addWeaponCargoGlobal ["RPG7V", 1]; _box addWeaponCargoGlobal ["Mk_48_DES_EP1", 1]; _box addWeaponCargoGlobal ["DMR", 3]; _box addWeaponCargoGlobal ["M249_DZ", 2]; _box addWeaponCargoGlobal ["RH_m14", 1]; _box addWeaponCargoGlobal ["RH_m1stsp", 2]; _box addWeaponCargoGlobal ["BAF_AS50_scoped", 1]; _box addWeaponCargoGlobal ["M60A4_EP1", 1]; _box addWeaponCargoGlobal ["BAF_AS50_TWS", 1]; _box addWeaponCargoGlobal ["Mk48_DES_EP1", 1]; _box addWeaponCargoGlobal ["M249_TWS_EP1", 1]; _box addWeaponCargoGlobal ["M110_TWS_EP1", 1]; _box addWeaponCargoGlobal ["M110_NVG_EP1", 1]; _box addWeaponCargoGlobal ["USSR_cheytacM200_sd", 1]; // AMMO _box addWeaponCargoGlobal ["30Rnd_556x45_Stanag", 40]; _box addWeaponCargoGlobal ["100Rnd_762x54_PK", 6]; _box addWeaponCargoGlobal ["100Rnd_556x45_BetaCMag", 6]; _box addWeaponCargoGlobal ["PG7V", 2]; _box addWeaponCargoGlobal ["20Rnd_762x51_DMR", 16]; _box addWeaponCargoGlobal ["200Rnd_556x45_M249", 16]; _box addWeaponCargoGlobal ["5Rnd_127x99_AS50", 14]; _box addWeaponCargoGlobal ["100Rnd_762x51_M240", 10]; _box addWeaponCargoGlobal ["20Rnd_762x51_B_SCAR", 8]; _box addWeaponCargoGlobal ["USSR_5Rnd_408", 8]; //BACKPACKS _box addBackpackCargoGlobal ["DZ_LargeGunBag_EP1", 3]; But for some reason when I go in-game the box instead spawns 50x M240 Rnds and 50x M249 Rnds. In matter of fact these same two items spawn in every custom box that I create and fill with custom loot on the map, is there a reason for this and could anyone have any idea as of what I am doing wrong here? Thanks. hi have you added the box to your; C:\Users\Home 2\Desktop\dayz_epoch 1051\WAI\missions\missionIni.sqf ? if not that maybe why because it isnt calling your custom crate add this in under the other crates Sector_B_Weapons= compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\missions\compile\YOURCRATENAME.sqf"; replace yourcratename with the name of your sqf file and make sure the sqf in in the right folder Link to comment Share on other sites More sharing options...
don2k7 Posted August 3, 2014 Report Share Posted August 3, 2014 ekroemer, on 14 Jul 2014 - 7:11 PM, said: Sorry, I haven't read any WAI specifics about this. DZAI has this feature and looking at DZAI\compile\ai_death.sqf and DZAI\compile\ai_setup_loadout.sqf I assume it should not be complicated. I'd simply try to add _unit addweapon "NVGoggles"; below _unit addweapon _weapon; in compile/SpawnGroup.sqf, add _unit removeWeapon "NVGoggles"; to compile/ai_killed.sqf and hope they'll be using them. Let us know how this works out. thank you works well the ai are alot better at night now Link to comment Share on other sites More sharing options...
Mig Posted August 3, 2014 Report Share Posted August 3, 2014 hello I want to spawn bots in the lab on my server epoch origins, but the bots spawn on the surface, how to make them appear in the lab? thank you Link to comment Share on other sites More sharing options...
monkeebhoy Posted August 3, 2014 Report Share Posted August 3, 2014 I'm running this and for some reason the ai don't spawn at any of the missions. Can have a look in the rpt and see if there are any errors. 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