SuperMarco Posted September 28, 2013 Report Share Posted September 28, 2013 Hi ! I've just implemented the script for the AI missions on my server (this one http://opendayz.net/threads/release-dayzchernarus-mission-system.12169/) but it doesn't seems to work.. we waited for 3 hours and we didn't see any event.. :/ Do we need to setup something special with the Sarge AI ? Is there is any possibility to setup a timer by hand to start the event ? Thanks.. :( Link to comment Share on other sites More sharing options...
jojje Posted September 28, 2013 Report Share Posted September 28, 2013 this mission system doesn't not really use sarge ai, the sarge ai variable is only there for cleanup purpose. so to just test it out to i think you can skip the sarge variable and just use the mission one. to change the timer open up SMGoMajor.sqf and SMGoMinor.sqf and the number after _wait = is the timer in seconds Link to comment Share on other sites More sharing options...
SuperMarco Posted September 28, 2013 Author Report Share Posted September 28, 2013 Thanks for the information ! :) But if I change the _wait, the timer will start from the restart server or after each event (or both ?) Can I just put _wait = 60 for example ? Link to comment Share on other sites More sharing options...
jojje Posted September 28, 2013 Report Share Posted September 28, 2013 yes its both. if you want it to set it to 1 minute wait whit out any random factor you set it to _wait = [60,60] the first 60 is maximum and the second minimum wait time. Link to comment Share on other sites More sharing options...
SuperMarco Posted September 28, 2013 Author Report Share Posted September 28, 2013 Thanks ! But another question ^^ For this one, I already replace this line with the one of Sarge, but for the missions, they ask to put something else. Which one do we need to put ? Step 5 Open server_cleanup.fsm Find: Code: if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n Replace with: Code: if(vehicle _x != _x && (vehicle _x getVariable [""Mission"",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""Par Link to comment Share on other sites More sharing options...
jojje Posted September 28, 2013 Report Share Posted September 28, 2013 this is what i got if(vehicle _x != _x && (vehicle _x getVariable [""Mission"",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n now i have modified my mission system a bit for epoch. (in a dirty way, must admit that i don't got that much clue what i am doing all the time, i am just smashing the code whit a sledge hammer) if you use my code above and then put _hummer setVariable ["Mission",1,true]; to setVariable ["Sarge",1,true]; in the various SM(1.2.3.ect).sqf files after the spawned vehicles (_hummer is a vehicle) they should no longer despawn when players jump into them until server restart and players can sell them for extra reward. Link to comment Share on other sites More sharing options...
SuperMarco Posted September 28, 2013 Author Report Share Posted September 28, 2013 Its working !!! yeah ;) thanks a lot ! Thanks again ! Link to comment Share on other sites More sharing options...
Booguy Posted November 16, 2013 Report Share Posted November 16, 2013 Its working !!! yeah ;) thanks a lot ! Thanks again ! Could you tell me please,where do you find in server_functions.sqf fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf"; I haven't got this ( Link to comment Share on other sites More sharing options...
DoS-gaming Posted November 16, 2013 Report Share Posted November 16, 2013 Could you tell me please,where do you find in server_functions.sqf fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf"; I haven't got this ( Because it doesn't excist in epoch. In the server functions.sqf there is a other line that starts with fn_ just paste it under that line Booguy 1 Link to comment Share on other sites More sharing options...
Booguy Posted November 16, 2013 Report Share Posted November 16, 2013 Because it doesn't excist in epoch. In the server functions.sqf there is a other line that starts with fn_ just paste it under that line Thank you! but what about "server_cleanup.fsm" ??? I can't find too if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n Only i see if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n Link to comment Share on other sites More sharing options...
DoS-gaming Posted November 16, 2013 Report Share Posted November 16, 2013 replace: if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n With: if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x) && (vehicle _x getVariable [""Sarge"",0] != 1) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n That should be it :) Booguy 1 Link to comment Share on other sites More sharing options...
Booguy Posted November 17, 2013 Report Share Posted November 17, 2013 replace: if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n With: if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x) && (vehicle _x getVariable [""Sarge"",0] != 1) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n That should be it :) doesn't work((( i done everything in guide,and when i trying to connect to server,i wait 30 sec,then i swim in debug sea Link to comment Share on other sites More sharing options...
DoS-gaming Posted November 17, 2013 Report Share Posted November 17, 2013 Can you post your .rpt file? So i can see what error you have. Link to comment Share on other sites More sharing options...
Booguy Posted November 17, 2013 Report Share Posted November 17, 2013 Can you post your .rpt file? So i can see what error you have. http://rghost.ru/50252088 http://rghost.ru/50252093 http://rghost.ru/50252102 yes please Link to comment Share on other sites More sharing options...
Booguy Posted November 19, 2013 Report Share Posted November 19, 2013 Could you help to me please!? Link to comment Share on other sites More sharing options...
DoS-gaming Posted November 19, 2013 Report Share Posted November 19, 2013 ehmm i meant your ARMA2OASERVER.RPT log. in that log you can see all the errors etc the server experienced. so if you can post that :p bit more helpful :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now