Torndeco Posted November 1, 2013 Author Report Share Posted November 1, 2013 Updated Readme... instructions abit more clear.. There is also a fix for killing off the second group of AI's + Helis when mission is over.. @Lightstylez Sound like u dont have your mission file running the custom publicEH.sqf.. That calls the sqf to create the map markers for players + update thier debug monitor basicly Note u will need to alter your custom debug monitor to disable the mission notices.. Look @ the one provided in the files as an example Link to comment Share on other sites More sharing options...
darkfall211 Posted November 2, 2013 Report Share Posted November 2, 2013 so my init should look like this step 1 edits: //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; // Custom Debug [] execVM "extras\debug_monitor\debug_monitor.sqf"; step 2 edits: _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; // Mission System // Mission [] execVM "\z\addons\dayz_server\missions\mission_deamon.sqf"; and this code to execute the missions at the end of my init.sqf: //Missions call compile preprocessFileLineNumbers "fixes\init\publicEH.sqf"; because even after all of this , no success. also i dont know how to edit the debug monitor :( Link to comment Share on other sites More sharing options...
Torndeco Posted November 2, 2013 Author Report Share Posted November 2, 2013 Send me your pbo's for server & mission and i have a look whats gone wrong Link to comment Share on other sites More sharing options...
darkfall211 Posted November 2, 2013 Report Share Posted November 2, 2013 Send me your pbo's for server & mission and i have a look whats gone wrong you got an email i can send em to? Link to comment Share on other sites More sharing options...
Th4z Posted November 2, 2013 Report Share Posted November 2, 2013 Thank you for the updated readme, but no success on the debug monitor. The mission system works, I found it on RPT logs but no marks on the map, the provided debug monitor doesn't show up. My previous custom monitor work, but when I try to merge the mission part of yours it stop working. The provided debug monitor doesn't work at all for me. @darkfall211 You can try to change call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; by call compile preprocessFileLineNumbers "fixes\init\publicEH.sqf"; instead of adding it at the end of init.sqf Link to comment Share on other sites More sharing options...
darkfall211 Posted November 2, 2013 Report Share Posted November 2, 2013 Thank you for the updated readme, but no success on the debug monitor. The mission system works, I found it on RPT logs but no marks on the map, the provided debug monitor doesn't show up. My previous custom monitor work, but when I try to merge the mission part of yours it stop working. The provided debug monitor doesn't work at all for me. @darkfall211 You can try to change call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; by call compile preprocessFileLineNumbers "fixes\init\publicEH.sqf"; instead of adding it at the end of init.sqf so put the call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; after call compile preprocessFileLineNumbers "fixes\init\publicEH.sqf"; in the init file or just change it to the other 1? Link to comment Share on other sites More sharing options...
Lightstylez Posted November 2, 2013 Report Share Posted November 2, 2013 I re-downloaded the new files since you update them a lot, and followed the new more in-depth guide. but SOON as i add [] execVM "\z\addons\dayz_server\missions\mission_deamon.sqf"; I get requesting authentication for 30 secs (usually instant) then it logs me in and im stuck in debug with nothing in my inventory. Im guessing i have some scripts that are conflicting, i have quite a few. Any idea what is causing the problem, or if i send you my files could you help? My RPT logs do show 3:00:32 "DEBUG: Mission Code: Start......." 3:00:32 "DEBUG: Mission Code: Loading Mission Functions......." 3:00:32 "DEBUG: Mission Code: Waiting...." and i am getting a lot of these errors spammed in the same time-frame 3:00:32 Error in expression <_done = true; publicVariable "sm_done"; };> 3:00:32 Error position: <};> 3:00:32 Error Missing { 3:00:32 File z\addons\dayz_server\system\server_monitor.sqf, line 406 3:00:32 Error in expression <_done = true; publicVariable "sm_done"; };> Link to comment Share on other sites More sharing options...
Torndeco Posted November 2, 2013 Author Report Share Posted November 2, 2013 If u want send me your files in private message if u want & i will have a look... Link to comment Share on other sites More sharing options...
Th4z Posted November 2, 2013 Report Share Posted November 2, 2013 @darkfall211 Just change it to the other one Link to comment Share on other sites More sharing options...
Th4z Posted November 2, 2013 Report Share Posted November 2, 2013 For me using only the files on github give me a working Mission System without Debug monitor and map markers on a clean install of DayZ Epoch 1.0.2.4 with Sarge AI 1.5.2 without any other scripts. In your example on github I see _playerMonitor = [] execVM "fixes\system\player_monitor.sqf"; where mine is _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; The change I made on init.sqf are : call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) progressLoadingScreen 0.1; //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers call compile preprocessFileLineNumbers "fixes\init\publicEH.sqf"; progressLoadingScreen 0.2; .... if (isServer) then { call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs // Add trader citys _nil = [] execVM "mission.sqf"; _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; // Mission System // Mission [] execVM "\z\addons\dayz_server\missions\mission_deamon.sqf"; }; .... //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; // Mission System // Debug Monitor [] execVM "extras\debug_monitor\debug_monitor.sqf"; Thanks for your help Link to comment Share on other sites More sharing options...
Torndeco Posted November 2, 2013 Author Report Share Posted November 2, 2013 If u are using the v.latest version on github.. And u have no errors in your server or client logs or any errors using -showscripterrors... I really need to see your mission, server, pbo otherwise i have nothing to figure out what is gone wrong. Thx Link to comment Share on other sites More sharing options...
Th4z Posted November 2, 2013 Report Share Posted November 2, 2013 Ok, here is my mission zipped folder and my server.pbo. Thx Documents.zip Link to comment Share on other sites More sharing options...
Torndeco Posted November 2, 2013 Author Report Share Posted November 2, 2013 Right fixed Debug Monitor Example in latest github update... Was a variable not intialized... Please note the debug monitor code is an example... Alter the code / layout of debug monitor to suit your server etc Link to comment Share on other sites More sharing options...
Th4z Posted November 2, 2013 Report Share Posted November 2, 2013 Thank you very much, that's working very well ! It will be easyer to adapt the debug monitor from a working example. Link to comment Share on other sites More sharing options...
Th4z Posted November 2, 2013 Report Share Posted November 2, 2013 In the RPT logs, the following error appear only between two missions, 6-8min after the cleanup, but doesn't seem to break anything 20:08:04 Error in expression <index)} do { _group = mission_ai_groups select _index; if (count units (_group s> 20:08:04 Error position: <select _index; if (count units (_group s> 20:08:04 Error Diviseur nul 20:08:04 File z\addons\dayz_server\missions\mission_functions.sqf, line 11 Link to comment Share on other sites More sharing options...
Torndeco Posted November 2, 2013 Author Report Share Posted November 2, 2013 Thx... missed that error in my logs been busy making changes Its a minor bug u can ignore it if u want... only issue it will cause, is that error in the logs really. Fix on github on for it Link to comment Share on other sites More sharing options...
Torndeco Posted November 3, 2013 Author Report Share Posted November 3, 2013 Update with multiple concurrent missions, setting via config.sqf Fix for blowing up vehicles = still untested... Added timer code for debug monitor example Link to comment Share on other sites More sharing options...
Th4z Posted November 4, 2013 Report Share Posted November 4, 2013 After the update I get this error in RPT logs : 0:48:58 Error in expression < ("DEBUG: Mission Code: Waiting...."); sleep [1500,650] call fnc_hTime; { if (> 0:48:58 Error position: <sleep [1500,650] call fnc_hTime; { if (> 0:48:58 Error sleep: Type Tableau, Nombre attendu 0:48:58 File z\addons\dayz_server\missions\mission_deamon.sqf, line 25 Only one mission launch, after the cleanup there are no missions following during 2h of testing. I use the default files except for the debug monitor. On the debug monitor, I can't get missions alerts/ timer, can you tell me where I've to look for that please. Here is my modded debug monitor Thanks for this awesome mod ! debug_monitor.zip Link to comment Share on other sites More sharing options...
Trainmanoz Posted November 4, 2013 Report Share Posted November 4, 2013 Evening All, mission files install great and it fired up first time... However (and I might be doing something stupid here), the first 2 missions run... then they de-spawn regardless if players have completed them or not (after a period of time) and then there are no more missions until next restart, at which time the cycle restarts.. Have a missed a step some where? Thanks for great mod.. my server players will love it. Link to comment Share on other sites More sharing options...
Torndeco Posted November 4, 2013 Author Report Share Posted November 4, 2013 I broke the code slightly working on a fix atm Link to comment Share on other sites More sharing options...
Torndeco Posted November 4, 2013 Author Report Share Posted November 4, 2013 Fixed the code for spawning missions... Should work for u now Th4z and Trainmanoz 2 Link to comment Share on other sites More sharing options...
Th4z Posted November 5, 2013 Report Share Posted November 5, 2013 Thank you ! That works very well =) I managed to have alerts on custom missions on the debug monitor, the last trouble I have is with two elements that didn't display. I get file %11 not found ( "extras\debug_monitor\pirates.paa") and the second one ( _combatlogger ) is showed as %12 in the debug monitor. I don't understand why, the path are good and if I'm right the client retrieve the files from the mission folder, so the client have the files (for the image). If you have any hints you're welcome ! Thanks Edit : Just find where the problem was, I'll post my edited debug monitor later ... Link to comment Share on other sites More sharing options...
Torndeco Posted November 7, 2013 Author Report Share Posted November 7, 2013 Latest updates were me just tidyin up the debug monitor examples code + have rewrote the loot code for crates to use epoch loot tables... And just replacing instances of spawning objects i.e like jerrycans with gold / silver bars.. Still needs afew tweaks to get a nice balance of loot spawning Note: If u are using custom loot tables dayz_server\missions\misc\fillBoxes-customloot.sqf rename to dayz_server\missions\misc\fillBoxes.sqf Next on todo list is to customize the debug alert to inform players if there is a vechicle spawned @ the mission... Link to comment Share on other sites More sharing options...
itsatrap Posted November 8, 2013 Report Share Posted November 8, 2013 Please remove the custom debug monitor!!! Link to comment Share on other sites More sharing options...
Torndeco Posted November 8, 2013 Author Report Share Posted November 8, 2013 Remove it yourself & replace it with your own debug its thier as an example... Or u can replace it with https://community.bistudio.com/wiki/titleText 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