Jump to content

Pre Made Mission and Server Files


bsmaff

Recommended Posts

As some people are having problems with scripting and certain scripts, I have decided to help some newbie's by creating very basic working Mission and Server pbo files.

 

The first two I have completed is working Mission system and Blue Pheonix Admin tools.

The scripts should all work fine, but any bugs just report and I will look into it.

 

DayZ Mission system:

http://dayztvirus.com/downloads/MISSIONS.rar

 

DayZ Admin Tools:

http://dayztvirus.com/downloads/ADMIN.rar

Link to comment
Share on other sites

Tried this now on my testservers, this is what i got in the rpt.

 

13:44:25 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error Undefined variable in expression: _safety
13:44:25 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error Undefined variable in expression: _safety
13:44:25 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error Undefined variable in expression: _safety
13:44:25 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error Undefined variable in expression: _safety
13:44:25 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error Undefined variable in expression: _safety
13:44:25 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error Undefined variable in expression: _safety
13:44:25 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:25 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:26 Error Undefined variable in expression: _safety
13:44:26 Error in expression <_safety = PVDZE_serverObjectMonitor;


{
if(vehicl>
13:44:26 Error position: <PVDZE_serverObjectMonitor;


{
if(vehicl>
13:44:26 Error Undefined variable in expression: pvdze_serverobjectmonitor
13:44:26 Wrong text element 'null'
13:44:26 Wrong text element 'null'
13:44:26 Wrong text element 'null'
13:44:26 Wrong text element 'null'
13:44:27 Wrong text element 'null'
13:44:27 Wrong text element 'null'
13:44:27 Wrong text element 'null'
13:44:27 Wrong text element 'null'
13:44:28 Wrong text element 'null'
13:44:28 Wrong text element 'null'
13:44:28 Wrong text element 'null'
13:44:28 Wrong text element 'null'
13:44:29 Wrong text element 'null'
13:44:29 Wrong text element 'null'
13:44:29 Wrong text element 'null'
13:44:29 Wrong text element 'null'
13:44:30 Wrong text element 'null'
13:44:30 Wrong text element 'null'
13:44:30 Wrong text element 'null'
13:44:30 Wrong text element 'null'
13:44:30 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error Undefined variable in expression: _safety
13:44:30 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error Undefined variable in expression: _safety
13:44:30 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error Undefined variable in expression: _safety
13:44:30 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error Undefined variable in expression: _safety
13:44:30 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error Undefined variable in expression: _safety
13:44:30 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:30 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error position: <_safety) && (typeOf vehicle _x) != "Para>
13:44:31 Error Undefined variable in expression: _safety
13:44:31 Error in expression <_safety = PVDZE_serverObjectMonitor;


{
if(vehicl>
13:44:31 Error position: <PVDZE_serverObjectMonitor;


{
if(vehicl>
13:44:31 Error Undefined variable in expression: pvdze_serverobjectmonitor
13:44:31 Wrong text element 'null'
13:44:31 Wrong text element 'null'
13:44:31 Wrong text element 'null'
13:44:31 Wrong text element 'null'
13:44:32 Wrong text element 'null'
13:44:32 Wrong text element 'null'
13:44:32 Wrong text element 'null'
13:44:32 Wrong text element 'null'
13:44:33 Wrong text element 'null'
13:44:33 Wrong text element 'null'
13:44:33 Wrong text element 'null'
13:44:33 Wrong text element 'null'

Link to comment
Share on other sites

Normal BE filters probably do not work, does the mission system actually work?

 

I will upload the mission file to my test server later as did not test them, just done the edits required to get them working correctly.

 

On my server, I also use customised missions which I worked on, but should work fine with the default mission files too.

Link to comment
Share on other sites

As some people are having problems with scripting and certain scripts, I have decided to help some newbie's by creating very basic working Mission and Server pbo files.

 

The first two I have completed is working Mission system and Blue Pheonix Admin tools.

The scripts should all work fine, but any bugs just report and I will look into it.

 

DayZ Mission system:

http://dayztvirus.com/downloads/MISSIONS.rar

 

DayZ Admin Tools:

http://dayztvirus.com/downloads/ADMIN.rar

 

Can you also post a version with Missions & Admin Tool together?

Link to comment
Share on other sites

I've merged the two together and all the players just seem to spawn in the debug and then get disconnected, does anyone know how to resolve this I also have krixes self bloodbag on the server?

 

Any help is greatly appreciated

 

 

Regards

Joe

Link to comment
Share on other sites

Using SargeAI, the post for this on opendayz says to, in the missions folder, replace all

setVariable ["Mission",1,true];

with

setVariable ["Sarge",1,true];

Would this mean I have to change that line in all the SM1-SM6 in both the Major and Minor folders?

 

Edit: I went ahead and did this and all is well!

 

One thing however... When killing any of the AI at the missions, they don't count as either murders or bandit kills. Being SargeAI, shouldn't they give +/- humanity just like the ones roaming around do?

Link to comment
Share on other sites

Using SargeAI, the post for this on opendayz says to, in the missions folder, replace all

setVariable ["Mission",1,true];

with

setVariable ["Sarge",1,true];

Would this mean I have to change that line in all the SM1-SM6 in both the Major and Minor folders?

 

Yes, you have to change them, or they will be removed by the server upon spawn.

Link to comment
Share on other sites

Just to sum it up.

Part 1

DayZ_server > Missions> Minor 

 

Change all

 setVariable ["Mission",1,true];

to

setVariable [setVariable ["Sarge",1,true];

Do the same in the DayZ_Server > Missions > Major

 

End of Part 1

 

Part 2

Navigate to dayz_server > compiles > server_updateObject.sqf

Change

 if (_object getVariable "Mission" == 1) exitWith {};

to 

 if (_object getVariable "Sarge" == 1) exitWith {};

 End of Part 2

Part 3

dayz_server > system > server_cleanup.fsm

Change

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

 

to

 " if(vehicle _x != _x && !(vehicle _x in _safety) && (vehicle _x getVariable [""Sarge"",0] != 1) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
Link to comment
Share on other sites

Would I need to add the factions.sqf if I have DAYZAI running, you only mentioned SARGE AI.. I'm guessing I wouldn't but want to make sure

 

or following Retra's example, would it need to be DAYZAI instead of SARGE in this code

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

My brain has gone on strike today I think

Link to comment
Share on other sites

OK guys, I've been having a look at this...

 

and I'm gonna run some code by you guys, you might have a better idea..

 

This is my current part in the server_cleanup.fsm

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

This is what DAYZAI said to add

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

But I haven't had to do that to get my DAYZAI working.. dunno why though

For the missions, it says to put this in there

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

Now my question is...how should I modify my current part to do it

 

Any suggestions???

Link to comment
Share on other sites

@bsmaff - You are a legend dude. This works better than it ever did before. I spent over a week with BluePhoenix trying to get this working and he couldn't make it happen. Then I saw a post from some guy and followed his advice and partly got it working. But this, someone who out of the kindness of their own heart, does it for you is above and beyond.

 

A massive thank you and well done my friend.

 

If you could do one for Dayz1.8 too that would be cracking  :P

 

Cheers again

 

Andy

Link to comment
Share on other sites

Having a bit of an issue with Pheonix Admin tools running 1.0.2.4 Epoch.

Everything works fine, up until I change the bit of code in server_cleanup.fsm

I was told to put:

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

in the check for hackers part. Which to my understanding is supposed to make sure the vehicles don't get cleaned up straight after spawning.

If I change it to this, then repack the .pbo and restart the server, the traders get stuck on "Loading Items" and never actually loads them.

In my RPT log I'm getting the same error over and over again,

23:22:28 Error in expression <
if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x) && (typeOf ve>
23:22:28 Error position: <_safety) && (isPlayer _x) && (typeOf ve>
23:22:28 Error Undefined variable in expression: _safety

However I don't see how that is stopping the traders from working, they work perfectly fine without the check for a hacker part of the code changed.

Any ideas?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...