Jump to content


Photo

DayZ Chernarus Mission System and Epoch 1.0.3


  • Please log in to reply
11 replies to this topic

#1 BetterDeadThanZed

BetterDeadThanZed

    Zed Killer

  • Member
  • PipPipPipPipPipPip
  • 2542 posts
  • LocationSouth River, NJ USA

Donator

Posted 08 December 2013 - 04:16 PM

I use the DayZ Chernarus Mission System (http://opendayz.net/...n-system.12169/). With Epoch 1.0.3, there were some changes to the server_cleanup.fsm file. The mission system says to change this line:

 

if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n

 

to this:

 

if(vehicle _x != _x && (vehicle _x getVariable [""Mission"",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n

 

This is the line in Epoch 1.0.3:

 

" if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n

 

Can anyone help me out here and show me how I am supposed to change the line for Epoch 1.0.3?


deadzed2.jpg

Killin Zedz PVE Survivalist Custom Epoch Mod Servers: http://killinzedz.net


#2 Axe Cop

Axe Cop

    Legend

  • Member
  • PipPipPipPipPip
  • 1118 posts
  • LocationGermany

Donator

Posted 08 December 2013 - 05:29 PM

just add the mission code back in, doesn't matter where:

you need to add this condition

(vehicle _x getVariable ["Mission",0] != 1)

e.g.

" if(vehicle _x != _x && (vehicle _x getVariable [""Mission"",0] != 1) && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n

should work. :)



#3 archer3456789

archer3456789

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 10 December 2013 - 04:48 PM

Ok can someone help me with this its confusing me so at step 3 in this http://opendayz.net/...n-system.12169/ it says to find this (fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf";) part of code but in the server functions.sqf its not there and it says to insert the next part of code after that. does it matter where i put that next code or no? Mind you this is the newest epoch patch 1.0.3 and the codes are different for some reason. if there is anything else i should know about trying to install this, it would be greatly appreciated 



#4 fr1nk

fr1nk

    wtfr1nk?

  • Member
  • PipPipPipPipPip
  • 1437 posts
  • Locationcharacter_data

Donator

Posted 10 December 2013 - 05:06 PM

Ok can someone help me with this its confusing me so at step 3 in this http://opendayz.net/...n-system.12169/ it says to find this (fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf";) part of code but in the server functions.sqf its not there and it says to insert the next part of code after that. does it matter where i put that next code or no? Mind you this is the newest epoch patch 1.0.3 and the codes are different for some reason. if there is anything else i should know about trying to install this, it would be greatly appreciated 

 

That line was never there for Epoch. Just drop the required line under:

 

server_spawnEvents = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_spawnEvent.sqf";

My cat's breath smells like cat food.


#5 archer3456789

archer3456789

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 10 December 2013 - 05:33 PM

ok well that sovled that but when ever i go into my server it gets stuck at "waiting for server to start authentication"

is this the same code?

#ifdef OBJECT_DEBUG
    diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
#endif
    //force fail
    _objectID = "0";
    _uid = "0";
}; 
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";
}; 

like do they work the same way or do i paste that code somewhere else?



#6 archer3456789

archer3456789

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 10 December 2013 - 05:39 PM

and is the root of your server PBO just the default folder for your server?



#7 fr1nk

fr1nk

    wtfr1nk?

  • Member
  • PipPipPipPipPip
  • 1437 posts
  • Locationcharacter_data

Donator

Posted 10 December 2013 - 05:41 PM

ok well that sovled that but when ever i go into my server it gets stuck at "waiting for server to start authentication"

is this the same code?

#ifdef OBJECT_DEBUG
    diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
#endif
    //force fail
    _objectID = "0";
    _uid = "0";
}; 
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";
}; 

like do they work the same way or do i paste that code somewhere else?

 

Check here:

http://opendayz.net/...e-14#post-79270

 

The server_cleanup.fsm part is not accurate anymore though, since that's changed a bit in 1.0.3


My cat's breath smells like cat food.


#8 calamity

calamity

    Hardened

  • Member
  • PipPipPipPip
  • 981 posts

Donator

Posted 16 December 2013 - 03:53 PM

when I add this script all vehicles get reset at restart, I think its this script doing it..


Ev-ev-ev-everyday I'm updating'
Ev-ev-everyday I'm, everyday I'm, everyday I'm updating'
Everyday I'm updatingupdatingupdatingup- dating' 1.0.5.2 What ??


#9 Axe Cop

Axe Cop

    Legend

  • Member
  • PipPipPipPipPip
  • 1118 posts
  • LocationGermany

Donator

Posted 16 December 2013 - 06:06 PM

when I add this script all vehicles get reset at restart, I think its this script doing it..

no its not the script, it is an error in your script thats why nothing gets saved (its not reset it is never saved and you only notive it with a restart)

i had this once and some other server i was playing on too, very hard to find this error :/



#10 Codemanx

Codemanx

    Survivor

  • Member
  • PipPipPip
  • 50 posts

Posted 16 December 2013 - 08:14 PM

Hello Everyone, I have the mission system back in my 1.0.3.1. However, the crates are not spawning or de-spawning at each mission. Does anyone have any ideas..

 

I do not have access to the variables.sqf so, I hope there is another way around that.

 

thanks

 

Codeman



#11 calamity

calamity

    Hardened

  • Member
  • PipPipPipPip
  • 981 posts

Donator

Posted 16 December 2013 - 11:50 PM

no its not the script, it is an error in your script thats why nothing gets saved (its not reset it is never saved and you only notive it with a restart)

i had this once and some other server i was playing on too, very hard to find this error :/

I redid the scripts and it works now

I did have sarge instead of mission  put it back to mission and all is good


Ev-ev-ev-everyday I'm updating'
Ev-ev-everyday I'm, everyday I'm, everyday I'm updating'
Everyday I'm updatingupdatingupdatingup- dating' 1.0.5.2 What ??


#12 The_Hulk

The_Hulk

    Fresh Spawn

  • Member
  • PipPip
  • 29 posts

Posted 15 January 2014 - 12:43 AM

calamity ive got your problem can you walk me through it please , i seriously cant solve it






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users