Jump to content
  • 0

AGN SafeZone script not working


Ajb

Question

I have tried this several different times in many different ways, and even switched to other scripts, doesn't work.

 

My server is running DayZ Epoch + Overwatch (OverPoch), Chernarus.

 

I really want SafeZones for my Server, but no matter what I do it doesn't work, The Server starts fine & normal, downloads the new mission.pbo and everything, loads in fine, but when I go to SafeZone still only says "Entering trader city Stary" or whatever the default message is. I follow exactly what the guide says and the server starts fine, but no actual results.

 

Thanks.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

one possible, and commonly overlooked problem is to do with your mission.sqm file.

this is a snippet of mine, it's for napf but the differences from other maps are trivial.

		class Item0
		{
			position[]={8246.3184,15.544708,15485.867};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="Lenz";
			expCond="(player distance Lenz) < 50;";
			expActiv="TitleText[""Now Entering Trader City Lenzburg"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now Leaving Trader City Lenzburg"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};

that's in the class Sensors part of the mission.sqm

do your sensors have the canbuild = false/true statements on the ends of the expActiv and Desactiv lines?

 

canbuild needs to be false for AGN to start cycling, then it pauses when canbuild becomes true.

Link to comment
Share on other sites

  • 0

one possible, and commonly overlooked problem is to do with your mission.sqm file.

this is a snippet of mine, it's for napf but the differences from other maps are trivial.

		class Item0
		{
			position[]={8246.3184,15.544708,15485.867};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="Lenz";
			expCond="(player distance Lenz) < 50;";
			expActiv="TitleText[""Now Entering Trader City Lenzburg"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now Leaving Trader City Lenzburg"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};

that's in the class Sensors part of the mission.sqm

do your sensors have the canbuild = false/true statements on the ends of the expActiv and Desactiv lines?

 

canbuild needs to be false for AGN to start cycling, then it pauses when canbuild becomes true.

My first class sensor in the list is:

		class Item0
		{
			position[]={4053.8501,364.76645,11668.645};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonebash";
			expCond="(player distance zonebash) < 75;";
			expActiv="TitleText[""Now entering trader city Bash"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
Link to comment
Share on other sites

  • 0

This is my whole Sensor Class list:

	class Sensors
	{
		items=10;
		class Item0
		{
			position[]={4053.8501,364.76645,11668.645};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonebash";
			expCond="(player distance zonebash) < 75;";
			expActiv="TitleText[""Now entering trader city Bash"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item1
		{
			position[]={11463.747,317.3078,11349.89};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zoneklen";
			expCond="(player distance zoneklen) < 50;";
			expActiv="TitleText[""Now entering trader city Klen"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader city Klen"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item2
		{
			position[]={6344.8081,304.99023,7806.7598};
			a=70;
			b=70;
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonestary";
			expCond="(player distance zonestary) < 80;";
			expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item3
		{
			position[]={5075.5767,338.98999,9733.6934};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zoneair";
			expCond="(player distance zoneair) < 75;";
			expActiv="TitleText[""Now entering trader airfield"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader airfield"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item4
		{
			position[]={12948.543,209.96339,12761.643};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonehero";
			expCond="(player distance zonehero) < 50;";
			expActiv="TitleText[""Now entering trader hero"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader hero"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item5
		{
			position[]={3438.6069,306.28281,4554.1855};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zoneholz";
			expCond="(player distance zoneholz) < 50;";
			expActiv="TitleText[""Now entering trader wood"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader wood"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item6
		{
			position[]={1100.26,10.213919,2854.37};
			a=100;
			b=100;
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonewhole";
			expCond="(player distance zonewhole) < 50;";
			expActiv="TitleText[""Now entering trader whole"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader whole"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item7
		{
			position[]={13253.62,7.9455967,6090.1885};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonewholew";
			expCond="(player distance zonewholew) < 50;";
			expActiv="TitleText[""Now entering trader whole"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader whole"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item8
		{
			position[]={1608.1403,283.95963,7782.3174};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zonebandit";
			expCond="(player distance zonebandit) < 50;";
			expActiv="TitleText[""Now entering trader bandit"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader bandit"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
		class Item9
		{
			position[]={6758.9004,343.01801,5586.7593};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="zoneextra";
			expCond="(player distance zoneextra) < 25;";
			expActiv="TitleText[""Now entering trader vehicle"",""PLAIN DOWN""]; canbuild = false;";
			expDesactiv="TitleText[""Now leaving trader vehicle"",""PLAIN DOWN""]; canbuild = true;";
			class Effects
			{
			};
		};
	};
};
Link to comment
Share on other sites

  • 0

Do you have new errors in your rpt file related to the AGN file?  I had several errors I had to fix in regards to the new beta before it ran properly when I installed it.

 

Edit: This will be in your client rpt file, btw, not your server.

How do I see my client rpt file?

Link to comment
Share on other sites

  • 0

AppData\Local\ArmA 2 OA\arma2oa.rpt

 

Open that file.  Delete everything already in it and save (its persistent, so every error you ever got is in that file atm).  Log into your server and go to your safe zone.  You should get errors in that report file (something that references the agn_ script).

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
  • Discord

×
×
  • Create New...