Mitscher Posted June 30, 2014 Report Share Posted June 30, 2014 Hey, is there a update comming for 1.0.5.1? I already got it working but I discovered a bug. If Im getting the AI using RPG's they wont disappread on death. So u get pick the RPG up. Thats nothing I'd like to have xD Would be nice. Greetings Link to comment Share on other sites More sharing options...
Rivin Posted July 1, 2014 Report Share Posted July 1, 2014 Hey all, Really new at scripting etc here. I tried installing the DZMS on my server but when joining the client seems to stall out at the "waiting for server authentication to start" message. The message will disappear and the counter in the bottom right corner keeps counting up. Any thoughts? Thanks! By the way, I am running 103718 on the NAPF map Link to comment Share on other sites More sharing options...
TheVampire Posted July 1, 2014 Author Report Share Posted July 1, 2014 Hey all, Really new at scripting etc here. I tried installing the DZMS on my server but when joining the client seems to stall out at the "waiting for server authentication to start" message. The message will disappear and the counter in the bottom right corner keeps counting up. Any thoughts? Thanks! By the way, I am running 103718 on the NAPF map Make sure it doesn't say that server_monitor.sqf was not found in your RPT. If that is in there, it means your PBO packer corrupted your PBO, or the prefix needs adjusted. Link to comment Share on other sites More sharing options...
TheVampire Posted July 1, 2014 Author Report Share Posted July 1, 2014 Hey all, Really new at scripting etc here. I tried installing the DZMS on my server but when joining the client seems to stall out at the "waiting for server authentication to start" message. The message will disappear and the counter in the bottom right corner keeps counting up. Any thoughts? Thanks! By the way, I am running 103718 on the NAPF map I'm not seeing those issues myself, and you're the first person to report and issue. If more people come back with the same problem, I'll address it, otherwise I don't have any intention to update DZMS if it's not broken. If you have an RPT of it happening I'd be interested in seeing it. Link to comment Share on other sites More sharing options...
Rivin Posted July 1, 2014 Report Share Posted July 1, 2014 Oh I'm sure it's something I did lol. Where do I find RPT? I'm still finding my way around the server files etc. Thanks for the quick reply! EDIT: I recompiled and the server started up normally. Missions have not spawned yet but I think that is normal. ty for the help! Link to comment Share on other sites More sharing options...
Brutus Posted July 2, 2014 Report Share Posted July 2, 2014 Hi mate; There is some error now for DZMS ... here it's part of my rpt: 12:12:40 Error position: <DZMSMinDone}; DZMSMinDone = nil; };> 12:12:40 Error Undefined variable in expression: dzmsmindone 12:12:40 File z\addons\dayz_server\DZMS\Scripts\DZMSMinTimer.sqf, line 42 12:12:40 Error in expression <or Mission %1.",_varName]; waitUntil {DZMSMinDone}; DZMSMinDone = nil; };> 12:12:40 Error position: <DZMSMinDone}; DZMSMinDone = nil; };> 12:12:40 Error Undefined variable in expression: dzmsmindone 12:12:40 File z\addons\dayz_server\DZMS\Scripts\DZMSMinTimer.sqf, line 42 12:12:40 Error in expression <or Mission %1.",_varName]; waitUntil {DZMSMinDone}; DZMSMinDone = nil; };> Link to comment Share on other sites More sharing options...
TheVampire Posted July 2, 2014 Author Report Share Posted July 2, 2014 Hi mate; There is some error now for DZMS ... here it's part of my rpt: Can you post your DZMSInit.sqf? Link to comment Share on other sites More sharing options...
Brutus Posted July 2, 2014 Report Share Posted July 2, 2014 /* DZMSInit.sqf by Vampire This is the file that every other file branches off from. It checks that it is safe to run, sets relations, and starts mission timers. */ private["_modVariant"]; waitUntil{initialized}; // Lets let the heavier scripts run first sleep 60; // Error Check if (!isServer) exitWith { diag_log text format ["[DZMS]: <ERROR> DZMS is Installed Incorrectly! DZMS is not Running!"]; }; if (!isnil("DZMSInstalled")) exitWith { diag_log text format ["[DZMS]: <ERROR> DZMS is Installed Twice or Installed Incorrectly!"]; }; // Global for other scripts to check if DZMS is installed. DZMSInstalled = true; diag_log text format ["[DZMS]: Starting DayZ Mission System."]; // Let's see if we need to set relationships // Checking for DayZAI, SargeAI, and WickedAI (Three AI Systems that already set relations) // I would rather the user set their relations in the respective mod instead of overwrite them here. if ( (isnil("DZAI_isActive")) && (isnil("SAR_version")) && (isnil("WAIconfigloaded")) ) then { // They weren't found, so let's set relationships diag_log text format ["[DZMS]: Relations not found! Using DZMS Relations."]; // Create the groups if they aren't created already createCenter east; // Make AI Hostile to Survivors WEST setFriend [EAST,0]; EAST setFriend [WEST,0]; // Make AI Hostile to Zeds EAST setFriend [CIVILIAN,0]; CIVILIAN setFriend [EAST,0]; } else { // Let's inform the user which relations we are using // This could be made better in a future version DZMSRelations = 0; //Set our counter variable if (!isnil("DZAI_isActive")) then { diag_log text format ["[DZMS]: DZAI Found! Using DZAI's Relations!"]; DZMSRelations = DZMSRelations + 1; }; if (!isnil("SAR_version")) then { diag_log text format ["[DZMS]: SargeAI Found! Using SargeAI's Relations!"]; DZMSRelations = DZMSRelations + 1; }; if (!isnil("WAIconfigloaded")) then { diag_log text format ["[DZMS]: WickedAI Found! Using WickedAI's Relations!"]; DZMSRelations = DZMSRelations + 1; }; // If we have multiple relations running, lets warn the user if (DZMSRelations > 1) then { diag_log text format ["[DZMS]: Multiple Relations Detected! Unwanted AI Behaviour May Occur!"]; diag_log text format ["[DZMS]: If Issues Arise, Decide on a Single AI System! (DayZAI, SargeAI, or WickedAI)"]; }; DZMSRelations = nil; //Destroy the Global Var }; // Let's Load the Mission Configuration call compile preprocessFileLineNumbers "\z\addons\dayz_server\DZMS\DZMSConfig.sqf"; // These are Extended configuration files the user can adjust if wanted call compile preprocessFileLineNumbers "\z\addons\dayz_server\DZMS\ExtConfig\DZMSWeaponCrateList.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\DZMS\ExtConfig\DZMSAIConfig.sqf"; // Report the version diag_log text format ["[DZMS]: Currently Running Version: %1", DZMSVersion]; // Lets check for a copy-pasted config file if (DZMSVersion != "RC1.1") then { diag_log text format ["[DZMS]: Outdated Configuration Detected! Please Update DZMS!"]; diag_log text format ["[DZMS]: Old Versions are not supported by the Mod Author!"]; }; diag_log text format ["[DZMS]: Mission and Extended Configuration Loaded!"]; // Lets get the map name for mission location purposes DZMSWorldName = toLower format ["%1", worldName]; diag_log text format["[DZMS]: %1 Detected. Map Specific Settings Adjusted!", DZMSWorldName]; // We need to detect Epoch to change the hive call for vehicle saving // Epoch doesn't have hive 999 calls and uses 308 publish instead _modVariant = toLower( getText (configFile >> "CfgMods" >> "DayZ" >> "dir")); if (_modVariant == "@dayz_epoch") then {DZMSEpoch = true;} else {DZMSEpoch = false;}; if ((!(DZMSEpoch)) AND (!(isNil "PVDZE_serverObjectMonitor"))) then {DZMSEpoch = true;}; if (DZMSEpoch) then { diag_log text format ["[DZMS]: DayZ Epoch Detected! Some Scripts Adjusted!"]; }; // Lets load our functions call compile preprocessFileLineNumbers "\z\addons\dayz_server\DZMS\DZMSFunctions.sqf"; // these arrays are used to hold units for each mission type DZMSUnitsMinor = []; DZMSUnitsMajor = []; // Let's get the clocks running! [] ExecVM DZMSMajTimer; [] ExecVM DZMSMinTimer; // Let's get the Marker Re-setter running for JIPs to stay updated [] ExecVM DZMSMarkerLoop; Thx The Vampire. Anyway this is your own sqf not edited anyway. And here it's the DZMSMinTimer.sqf /* DayZ Mission System Timer by Vampire Based on fnc_hTime by TAW_Tonic and SMFinder by Craig This function is launched by the Init and runs continuously. */ private["_run","_timeDiff","_timeVar","_wait","_cntMis","_ranMis","_varName"]; //Let's get our time Min and Max _timeDiff = DZMSMinorMax - DZMSMinorMin; _timeVar = _timeDiff + DZMSMinorMin; diag_log text format ["[DZMS]: Minor Mission Clock Starting!"]; //Lets get the loop going _run = true; while {_run} do { //Lets wait the random time _wait = round(random _timeVar); [_wait,5] call DZMSSleep; //Let's check that there are missions in the array. //If there are none, lets end the timer. _cntMis = count DZMSMinorArray; if (_cntMis == 0) then { _run = false; }; //Lets pick a mission _ranMis = floor (random _cntMis); _varName = DZMSMinorArray select _ranMis; // clean up all the existing units before starting a new one {if (alive _x) then {_x call DZMSPurgeObject;};} forEach DZMSUnitsMinor; // rebuild the array for the next mission DZMSUnitsMinor = []; //Let's Run the Mission [] execVM format ["\z\addons\dayz_server\DZMS\Missions\Minor\%1.sqf",_varName]; diag_log text format ["[DZMS]: Running Minor Mission %1.",_varName]; //Let's wait for it to finish or timeout waitUntil {DZMSMinDone}; DZMSMinDone = nil; }; Link to comment Share on other sites More sharing options...
TheVampire Posted July 2, 2014 Author Report Share Posted July 2, 2014 Thx The Vampire. Anyway this is your own sqf not edited anyway. And here it's the DZMSMinTimer.sqf You're missing part of the undefined fix. Here is the commit. Make sure you have those two lines in your DZMSInit.sqf. https://github.com/SMVampire/DZMS-DayZMissionSystem/commit/09de330200454557c3ac581dfa7c2f8777a635ac Link to comment Share on other sites More sharing options...
Ventana Posted July 2, 2014 Report Share Posted July 2, 2014 anyone know why I'm getting this unit addEventHandler ["Kil> 16:10:09 Error position: <_aicskill; _unit addEventHandler ["Kil> 16:10:09 Error Undefined variable in expression: _aicskill 16:10:09 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 100 16:10:09 Error in expression <[(_x select 0),(_x select 1)] } forEach _aicskill; Link to comment Share on other sites More sharing options...
TheVampire Posted July 2, 2014 Author Report Share Posted July 2, 2014 anyone know why I'm getting this unit addEventHandler ["Kil> 16:10:09 Error position: <_aicskill; _unit addEventHandler ["Kil> 16:10:09 Error Undefined variable in expression: _aicskill 16:10:09 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 100 16:10:09 Error in expression <[(_x select 0),(_x select 1)] } forEach _aicskill; Make sure you have the newest copy off github. Looks like its looking for a skill array that doesn't exist. Link to comment Share on other sites More sharing options...
Ventana Posted July 2, 2014 Report Share Posted July 2, 2014 Thanks, will do. EDit: Yep, that was the problem. Link to comment Share on other sites More sharing options...
DudesNightmare Posted July 3, 2014 Report Share Posted July 3, 2014 could i request some assistance on this? i use epoch 1.0.5.1 and 112555 with over watch. i added over watch weapons to the ai and crates. only the crates spawn the ai do not, backpacks where the ai would spawn are on the ground. here is my rpt https://www.dropbox.com/s/uo3kbqc758e4g45/arma2oaserver.RPT Link to comment Share on other sites More sharing options...
TheVampire Posted July 4, 2014 Author Report Share Posted July 4, 2014 could i request some assistance on this? i use epoch 1.0.5.1 and 112555 with over watch. i added over watch weapons to the ai and crates. only the crates spawn the ai do not, backpacks where the ai would spawn are on the ground. here is my rpt https://www.dropbox.com/s/uo3kbqc758e4g45/arma2oaserver.RPT You need the newest version of DZMS here: https://github.com/SMVampire/DZMS-DayZMissionSystem/archive/master.zip There was an update to Arma 2 recently that messed up some stuff that was working fine before. Link to comment Share on other sites More sharing options...
DudesNightmare Posted July 4, 2014 Report Share Posted July 4, 2014 hmm i thought i had the most recent version, seeing that i downloaded it today but never the less. i downloaded it again still no ai and lots of error messages https://www.dropbox.com/s/uo3kbqc758e4g45/arma2oaserver.RPT ^ this is the new rpt Link to comment Share on other sites More sharing options...
TheVampire Posted July 4, 2014 Author Report Share Posted July 4, 2014 hmm i thought i had the most recent version, seeing that i downloaded it today but never the less. i downloaded it again still no ai and lots of error messages https://www.dropbox.com/s/uo3kbqc758e4g45/arma2oaserver.RPT ^ this is the new rpt Did you replace the ExtConfig folder too? looks like it is missing an array in DZMSWeaponCrateList.sqf or similar. Link to comment Share on other sites More sharing options...
DudesNightmare Posted July 4, 2014 Report Share Posted July 4, 2014 Did you replace the ExtConfig folder too? looks like it is missing an array in DZMSWeaponCrateList.sqf or similar. i did i replaced all and just readded the overwatch weapons to the config here https://www.dropbox.com/s/y4kqt85h2cf82hx/DZMSAIConfig.sqf im sure it is something very simple i am doing wrong. Link to comment Share on other sites More sharing options...
TheVampire Posted July 4, 2014 Author Report Share Posted July 4, 2014 i did i replaced all and just readded the overwatch weapons to the config here https://www.dropbox.com/s/y4kqt85h2cf82hx/DZMSAIConfig.sqf im sure it is something very simple i am doing wrong. Might be possible you have an overwatch classname wrong then, which would cause the error you have originally. Link to comment Share on other sites More sharing options...
TheHound Posted July 4, 2014 Report Share Posted July 4, 2014 How would I go about making the markers for missions not centered, basically have the missions appear somewhere randomly inside the marker? Link to comment Share on other sites More sharing options...
DudesNightmare Posted July 4, 2014 Report Share Posted July 4, 2014 Might be possible you have an overwatch classname wrong then, which would cause the error you have originally. ok i think i figgured it out i had a bad class name like you said, so im going through each one and making sure it works. also in the crate config dzmssnipers was named as primary, so i had 2 primary sets. thx for the help. :D Link to comment Share on other sites More sharing options...
TheVampire Posted July 5, 2014 Author Report Share Posted July 5, 2014 How would I go about making the markers for missions not centered, basically have the missions appear somewhere randomly inside the marker? You'd have to go into DZMSMajMarker, DZMSMinMarker, and DZMSMarkerLoop and set it up to offset the marker. Link to comment Share on other sites More sharing options...
ATRealMaster Posted July 5, 2014 Report Share Posted July 5, 2014 Is there a way to change the loot in the Boxes? I tried to edit "DZMSWeaponCrateList" But it didnt work, there are no guns in the boxes now, just a backpack and a grenade. Link to comment Share on other sites More sharing options...
TheHound Posted July 5, 2014 Report Share Posted July 5, 2014 Thanks for the response Vampire, and ATRealMaster the only times I've had that happen is if one of the classnames I added was incorrect or if I messed up the array by not adding a comma, or an extra space or whatever. Link to comment Share on other sites More sharing options...
TheVampire Posted July 5, 2014 Author Report Share Posted July 5, 2014 Is there a way to change the loot in the Boxes? I tried to edit "DZMSWeaponCrateList" But it didnt work, there are no guns in the boxes now, just a backpack and a grenade. Yes there is, by modifying DZMSWeaponCrateList. Just because you broke it doesn't mean it didn't work. :P If you post it, I'll point out your code error. Link to comment Share on other sites More sharing options...
ATRealMaster Posted July 5, 2014 Report Share Posted July 5, 2014 Yes there is, by modifying DZMSWeaponCrateList. Just because you broke it doesn't mean it didn't work. :P If you post it, I'll point out your code error. http://pastebin.com/5Jm7MgQQ If custom Weapons doesn't work, then my question is automatically answered. 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