Requesting Help.

Yuuyori

New Member
Hello again folks, It's been a bit since my first request for help, but since then I've ditched my previous server host whom was garbage.. I won't say who :D

I've learned a lot about the scripting and addon files and managed to succesfully add custom buildings, refueling, blood bagging, and the custom AI bus route to my server, however now there is one thing I desperately want, but can not figure out.

HOW do you get AI side missions? Like the hunting party etc. The ones that appear every 30 minutes. I found someone who prepacked some files, and i tried them but my server would not even load after using them.

Can someone tell me where to get side mission files, and how to load them into a DayZ Epoch mod?
http://opendayz.net/threads/release-dayzchernarus-mission-system.11991/ tells me as my first step do to this; but in my server_functions.sqf there is no line that reads that at all.
"

In your server.pbo

Copy the Missions folder to the root of the server PBO.

Open server_functions.sqf

Find:
Code:
fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf";
Insert after:
Code:
fnc_hTime = compile preprocessFile "\z\addons\dayz_server\Missions\misc\fnc_hTime.sqf"; //Random intege"


Can anyone at all help me figure this out?
 
Place it after this
Code:
fnc_plyrHit  = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fnc_plyrHit.sqf";

What you mean with side mission files? All mission files are in the main post.
 
I inserted the code where mentioned; this is what I'm having trouble with now
again the line of code is not in my sqf file.
"

Open server_updateObject.sqf

Find:
Code:
#ifdef OBJECT_DEBUG
diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
#endif
//force fail
_objectID = "0";
_uid = "0";
};
Insert after:
Code:
if (_object getVariable "Mission" == 1) exitWith {};
 
Here:
Code:
if ((typeName _objectID != "string") || (typeName _uid != "string")) then
{
    diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
    //force fail
    _objectID = "0";
    _uid = "0";
};
 
if (_object getVariable "Mission" == 1) exitWith {};
 
if (!_parachuteWest and !(locked _object)) then {
        if (_objectID == "0" && _uid == "0") then
        {
                _object_position = getPosATL _object;
            _isNotOk = true;
        };
};
 
Here:
Code:
if ((typeName _objectID != "string") || (typeName _uid != "string")) then
{
    diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
    //force fail
    _objectID = "0";
    _uid = "0";
};
 
if (_object getVariable "Mission" == 1) exitWith {};
 
if (!_parachuteWest and !(locked _object)) then {
        if (_objectID == "0" && _uid == "0") then
        {
                _object_position = getPosATL _object;
            _isNotOk = true;
        };
};


Thanks to your help I may or may not have it working, I will sit in game and see if anything appears, I did my SARGE edits etc also. I really appreciate you taking the time to assist me with this.
 
That should not effect traders. Are you sure that they are not working when you zoom in and scroll?

Did you notice that this line in server_cleanup.fsm -->
if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n

is different in epoch, so don't use the one that is given in the tutorial. Just add (vehicle _x getVariable [""Sarge"",0] != 1) part there.
 
/*%FSM</STATE>*/
/*%FSM<STATE "vehicle_cleanup">*/
class vehicle_cleanup
{
name = "vehicle_cleanup";
init = /*%FSM<STATEINIT""">*/"_safety = PVDZE_serverObjectMonitor;" \n
"" \n
"//Check for hackers" \n
" {" \n
" if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
" diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
" (vehicle _x) setDamage 1;" \n
" _x setDamage 1;" \n
" };" \n
" } forEach allUnits;" \n
"" \n


This is where i'm assuming that line of code goes, but where exactly do I insert that ? at the end of DZE_safeVehicle)) ?
 
Code:
if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x) && (vehicle _x getVariable [""Sarge"",0] != 1) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
 
I must suck at this, I've changed all the correct lines of codings you showed me, and for the SARGE Ai mod being on I went ahead and changed everything it mentioned to change. I wonder what the problem is.

Would I be able to send you the files and you look at them if you get the chance to tell me where I went wrong with all of this >.<, and again thank you very much for all the time you've put into answering my questions.
 
Back
Top