Jump to content

[Release] PVE Prison punish after a kill


Rythron

Recommended Posts

Hi,

very nice script for my pve server but i have two type of errors :(

map: epoch chernarus

1- i have those error when someone go to prison:

waitUntil {_unit distance Prison > 105};

_array = _this;
_source >
13:04:31 Error position: <Prison > 105};

_array = _this;
_source >
13:04:31 Error Undefined variable in expression: prison
13:04:31 File mpmissions\__cur_mp.chernarus\addons\jail\escapekill.sqf, line 8
13:04:31 Error in expression <};

sleep 2;

waitUntil {_unit distance Prison > 90};



customRemoteMessage = [>
13:04:31 Error position: <Prison > 90};



customRemoteMessage = [>
13:04:31 Error Undefined variable in expression: prison
13:04:31 File mpmissions\__cur_mp.chernarus\addons\jail\escapee.sqf, line 8
13:04:31 Error in expression <};

sleep 2;

& because of that too when some one try to escape nothing happen

i try all solutions posted here but didnt work :(

 

2-  this error to when some one got killed by bandit

 

13:10:55 Error in expression <se
{
deleteVehicle _newObject;
};

if ((side _killer) == EAST) exitwith {
diag_l>
13:10:55 Error position: <side _killer) == EAST) exitwith {
diag_l>
13:10:55 Error side: Type String, expected Object,Group,Location
13:10:55 File z\addons\dayz_server\compile\server_playerDied.sqf, line 100

 

 

Plz little help :) & THX

Link to comment
Share on other sites

@ the second error: you sure, its when a player get killed by a bot?

I believe this error comes up, when someone suicides.

I had the same error in my log, when a player on my server suicided.

trying to work on this part.

 

the first error should have something to do with a wrong entry in your mission.sqm. or wrong paths.

check this again.

Link to comment
Share on other sites

@ the second error: you sure, its when a player get killed by a bot?

I believe this error comes up, when someone suicides.

I had the same error in my log, when a player on my server suicided.

trying to work on this part.

 

the first error should have something to do with a wrong entry in your mission.sqm. or wrong paths.

check this again.

yea sure second error when a player get killed by bot

 

first error i verrify my mission.sqm many times but i didnt see anything wrong

thas my mission.sqm :

mission.txt

Link to comment
Share on other sites

for the first mistake:

 

check the install again.you arw missing the class vehicle marker from the install.

class Vehicles
    {
        items=4; // add + 1 
        class Item3 // your follow up number
        {
            position[]={1348.44,339,4065.91};
            azimut=182.39052;
            id=53;
            side="EMPTY";
            vehicle="HeliHEmpty";
            skill=0.60000002;
            text="jail_center_H";
            description="the jail center point";
        };
       
   
};

Link to comment
Share on other sites

already in my mission.sqm & already add it alone in the bottom still same problem :(

you need to add this part 

class Vehicles
    {
        items=4; // add + 1 
        class Item3 // your follow up number
        {
            position[]={1348.44,339,4065.91};
            azimut=182.39052;
            id=53;
            side="EMPTY";
            vehicle="HeliHEmpty";
            skill=0.60000002;
            text="jail_center_H";
            description="the jail center point";
        };
       
    };

and you have changed the name in escapekill.sqf from jail_center_H to Prison

So add the class marker and change the name in jail_center_H again.

Link to comment
Share on other sites

look it is the same error like

Please check all the steps of the installation again.

yep the same instead of prison i have jail_center_H because i changed

 

trust me i verify all the steps like 10 times :(

there is no error in rpt at start just when player go to the jail i have those errors for 10 min till he go out from jail then all error stop showing

Link to comment
Share on other sites

yep the same instead of prison i have jail_center_H because i changed

 

trust me i verify all the steps like 10 times :(

there is no error in rpt at start just when player go to the jail i have those errors for 10 min till he go out from jail then all error stop showing

found your problem the jail_center_H part in vehicles is at the wrong section.

i have not clearly said in the installation that it is the second class vehicle part.

Changed the installation description.

 

In the attachment your correct version i made for you

mission.txt

Link to comment
Share on other sites

there is an error here have icon with mission can not load & after that he blocked in charater loading 

ity to change item number & }; position but no way :(

   class Item2
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={-143.93861,0.52647489,2319.5012};
                    id=50;
                    side="LOGIC";
                    vehicle="FunctionsManager";
                    leader=1;
                    lock="UNLOCKED";
                    skill=0.60000002;
                };
            };
        };
    };
    class Vehicles
        {
        items=1;
        class Item0 // your follow up number
                {
                      position[]={1348.44,339,4065.91};
                       azimut=182.39052;
                       id=53;
                       side="EMPTY";
                       vehicle="HeliHEmpty";
                       skill=0.60000002;
                       text="jail_center_H";
                       description="the jail center point";
                    };
        };              

Link to comment
Share on other sites

going to try that :

 

class Item1
        {
            side="LOGIC";
            class Vehicles
            {
                items=2;
                class Item0
                {
                    position[]={-143.93861,0.52647489,2319.5012};
                    id=50;
                    side="LOGIC";
                    vehicle="FunctionsManager";
                    leader=1;
                    lock="UNLOCKED";
                    skill=0.60000002;
                };
            
                class Item1 // your follow up number
                {
                          position[]={1348.44,339,4065.91};
                           azimut=182.39052;
                           id=53;
                           side="EMPTY";
                           vehicle="HeliHEmpty";
                           skill=0.60000002;
                           text="jail_center_H";
                           description="the jail center point";
                        };
            };
        };
    };
    
    class Markers
 

Link to comment
Share on other sites

BIG FAIL :(  still same error msg :(

 

i think its because " id=53; " & i dont know what to do for that :(

 

because i have

class Item53
                {
                    position[]={-7246.4395,365.89023,19535.512};
                    azimut=-17.0839;
     ------->    id=53;  <-------------
                    side="WEST";
                    vehicle="Survivor1_DZ";
                    player="PLAY CDG";
                    skill=0.60000002;
                    init="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';";

 

& error in rpt : jail_center_H not a soldier

Link to comment
Share on other sites

correct i have 2 .. my Bad..

class Item1
		{
			side="LOGIC";
			class Vehicles
			{
				items=2;
				class Item0
				{
					position[]={-143.93861,0.52647489,2319.5012};
					id=50;
					side="LOGIC";
					vehicle="FunctionsManager";
					leader=1;
					lock="UNLOCKED";
					skill=0.60000002;
				};
				class Item1 // your follow up number
				{
          			position[]={1348.44,339,4065.91};
           			azimut=182.39052;
           			id=53;
           			side="EMPTY";
           			vehicle="HeliHEmpty";
           			skill=0.60000002;
           			text="jail_center_H";
           			description="the jail center point";
       			 };
				
				
			};
		};			 

mission.txt

Link to comment
Share on other sites

 

correct i have 2 .. my Bad..

class Item1
		{
			side="LOGIC";
			class Vehicles
			{
				items=2;
				class Item0
				{
					position[]={-143.93861,0.52647489,2319.5012};
					id=50;
					side="LOGIC";
					vehicle="FunctionsManager";
					leader=1;
					lock="UNLOCKED";
					skill=0.60000002;
				};
				class Item1 // your follow up number
				{
          			position[]={1348.44,339,4065.91};
           			azimut=182.39052;
           			id=53;
           			side="EMPTY";
           			vehicle="HeliHEmpty";
           			skill=0.60000002;
           			text="jail_center_H";
           			description="the jail center point";
       			 };
				
				
			};
		};			 

still with that still have same error

its related to id=53 ?

error rpt: jail_center_H is not soldier nor transport.

No transport

Link to comment
Share on other sites

What is your error then ?

 

or try to make 

 

id=53;

id 51;

same error like start

waitUntil {_unit distance Prison > 105};

_array = _this;

_source >

13:04:31 Error position: <Prison > 105};

_array = _this;

_source >

13:04:31 Error Undefined variable in expression: prison

13:04:31 File mpmissions\__cur_mp.chernarus\addons\jail\escapekill.sqf, line 8

13:04:31 Error in expression <};

sleep 2;

waitUntil {_unit distance Prison > 90};

customRemoteMessage = [>

13:04:31 Error position: <Prison > 90};

customRemoteMessage = [>

13:04:31 Error Undefined variable in expression: prison

13:04:31 File mpmissions\__cur_mp.chernarus\addons\jail\escapee.sqf, line 8

13:04:31 Error in expression <};

 

and error rpt: jail_center_H is not soldier nor transport.

No transport

 

have id=51 in my mission.sqm

Link to comment
Share on other sites

	class Item1
		{
			side="LOGIC";
			class Vehicles
			{
				items=2;
				class Item0
				{
					position[]={-143.93861,0.52647489,2319.5012};
					id=50;
					side="LOGIC";
					vehicle="FunctionsManager";
					leader=1;
					lock="UNLOCKED";
					skill=0.60000002;
				};
				class Item1 // your follow up number
				{
          			position[]={1348.44,339,4065.91};
           			azimut=182.39052;
           			id=101;
           			side="EMPTY";
           			vehicle="HeliHEmpty";
           			skill=0.60000002;
           			text="jail_center_H";
           			description="the jail center point";
       			 };
				
				
			};
		};			 
	class Markers
Link to comment
Share on other sites

Fail again :( & Same error :(

 

same error like start

waitUntil {_unit distance Prison > 105};

_array = _this;
_source >
13:04:31 Error position: <Prison > 105};

_array = _this;
_source >
13:04:31 Error Undefined variable in expression: prison
13:04:31 File mpmissions\__cur_mp.chernarus\addons\jail\escapekill.sqf, line 8
13:04:31 Error in expression <};

sleep 2;

waitUntil {_unit distance Prison > 90};



customRemoteMessage = [>
13:04:31 Error position: <Prison > 90};



customRemoteMessage = [>
13:04:31 Error Undefined variable in expression: prison
13:04:31 File mpmissions\__cur_mp.chernarus\addons\jail\escapee.sqf, line 8
13:04:31 Error in expression <};

 

 

sry about all that :(

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...