Jump to content

[Release] Restrict Building - ** Updated for 1.0.6.2 **


BigEgg

Recommended Posts

  On 7/26/2017 at 6:51 PM, DAKA said:
  Reveal hidden contents
  Reveal hidden contents

 

Expand  

And you are positive that you haven't changed anything in fn_selfActions? No matter what you should be getting the options, so this is clearly an issue with it.

Link to comment
Share on other sites

  On 7/26/2017 at 7:03 PM, DAKA said:

the only thing that i can think of is that i added masterkey. but that shouldn't affect anything really.

 

Expand  

I would double check, as those options are strictly controlled by fn_selfActions and should not be effected by these additions.

Link to comment
Share on other sites

@bigegg

I removed the clothes and masterkey. and I can now build. So one of those must have messed something up or i broke it somehow. I will install,  this one, then those other 2. Will update after i have done and tested them. Thanks for the help m8.

Link to comment
Share on other sites

  On 7/27/2017 at 2:30 AM, DAKA said:

wow 30 m must be really tall. I just want players to have like 3 - 4 levels to their base.

Expand  

This would be an install issue if you are being able to go 60m up, as countless people have installed this. Please be sure you have done everything correctly.

Link to comment
Share on other sites

So not sure what is wrong, but I set it to 5 m, for restrict and it went more like 15 m then stop. so for some reason the math is not adding up. I copied everything just like it is in the op. so not sure why it is different for me

Link to comment
Share on other sites

  On 7/27/2017 at 2:44 AM, DAKA said:

So not sure what is wrong, but I set it to 5 m, for restrict and it went more like 15 m then stop. so for some reason the math is not adding up. I copied everything just like it is in the op. so not sure why it is different for me

Expand  

If you'd like, I could get in contact with you sometime tomorrow and take a look, as something simple like this should not be causing these problems.

Link to comment
Share on other sites

  On 7/27/2017 at 8:23 PM, DAKA said:

After I enter something in the BlacklistedBuilding, lets say.

 ["Fire Station", "Land_a_stationhouse", 40] , ["Hospital", "Land_A_Hospital", 40]

do you put a comma in between them or no?

Expand  

So I tired this, without the , between them and get an error 

22:13:49 Error in expression <re Station", "Land_a_stationhouse", 40] ["Construction Zone", "Land_A_BuildingWI>
22:13:49   Error position: <["Construction Zone", "Land_A_BuildingWI>
22:13:49   Error Missing ]
22:13:49 File mpmissions\DayZ_Epoch_24.Napf\init.sqf, line 105
22:13:49 Error in expression <re Station", "Land_a_stationhouse", 40] ["Construction Zone", "Land_A_BuildingWI>
22:13:49   Error position: <["Construction Zone", "Land_A_BuildingWI>
22:13:49   Error Missing ]
22:13:49 File mpmissions\DayZ_Epoch_24.Napf\init.sqf, line 105

Do I have too add the commas or someting else?

Link to comment
Share on other sites

  On 7/27/2017 at 11:46 PM, DAKA said:

So I tired this, without the , between them and get an error 

22:13:49 Error in expression <re Station", "Land_a_stationhouse", 40] ["Construction Zone", "Land_A_BuildingWI>
22:13:49   Error position: <["Construction Zone", "Land_A_BuildingWI>
22:13:49   Error Missing ]
22:13:49 File mpmissions\DayZ_Epoch_24.Napf\init.sqf, line 105
22:13:49 Error in expression <re Station", "Land_a_stationhouse", 40] ["Construction Zone", "Land_A_BuildingWI>
22:13:49   Error position: <["Construction Zone", "Land_A_BuildingWI>
22:13:49   Error Missing ]
22:13:49 File mpmissions\DayZ_Epoch_24.Napf\init.sqf, line 105

Do I have too add the commas or someting else?

Expand  
Error Missing ]

Maybe missing a ]

Link to comment
Share on other sites

  On 7/27/2017 at 8:23 PM, DAKA said:

After I enter something in the BlacklistedBuilding, lets say.

 ["Fire Station", "Land_a_stationhouse", 40] , ["Hospital", "Land_A_Hospital", 40]

do you put a comma in between them or no?

Expand  

This is the correct format (example pulled from my server):

BlacklistedBuildings = [
	["Fire Station", "Land_a_stationhouse", 250],
	["General Store", "Land_A_GeneralStore_01", 250],
	["Hospital", "Land_A_Hospital", 250],
	["Fuel Pump", "Land_A_FuelStation_Feed", 250],
	["Fuel Station", "Land_fuelStation_army", 250],
	["Fuel Station", "Land_fuelstation", 250],
	["Fuel Pump", "Land_Ind_FuelStation_Feed_EP1", 250],
	["Fuel Pump", "Land_ibr_FuelStation_Feed", 250],
	["Fuel Pump", "Land_fuelStation_w", 250]
];

 

Link to comment
Share on other sites

Ok, so I have this working, except for the restrict build height. I am trying again with, i have not installed this over 20 times. everything works great, but that stupid build height, i must be crazy. but i have it set to 5 m and it will go past 10 m or so and then tell me it cant build. I have looked over everything, reinstalled it. testing again.

Link to comment
Share on other sites

  On 7/29/2017 at 6:38 AM, DAKA said:

Ok, so I have this working, except for the restrict build height. I am trying again with, i have not installed this over 20 times. everything works great, but that stupid build height, i must be crazy. but i have it set to 5 m and it will go past 10 m or so and then tell me it cant build. I have looked over everything, reinstalled it. testing again.

Expand  

I used your mission PBO that you sent me earliar, this works for me fine.

Link to comment
Share on other sites

  • 4 weeks later...

Hey BigEgg, what happens if you add this to an established server and set a single plot pole limit and a 60m build height and there's already players with 2 plot poles and a tower base that's 90m tall? Do they just get "grandfathered in" and cut off from there forward or will it cause instability or any other issues?

Link to comment
Share on other sites

  On 8/24/2017 at 1:19 PM, _Lance_ said:

Hey BigEgg, what happens if you add this to an established server and set a single plot pole limit and a 60m build height and there's already players with 2 plot poles and a tower base that's 90m tall? Do they just get "grandfathered in" and cut off from there forward or will it cause instability or any other issues?

Expand  

They wouldn't be able to build another plot and they wouldn't be able to build above the height limit that you set. Everything that was already built would remain at that height, but if they had for example a floor above your height limit, they would no longer be able to build on that floor, but that floor will still remain there as long as it is maintained.

Link to comment
Share on other sites

Loving this code! As a solo admin with with two servers and a full time 50+ hour a week job I'm always looking for ways to "idiot proof" rules into the servers to help minimize admin time. One of my biggest pet peeves is players who ignore my rule and build inside enter-able buildings and block loot from other players, and the time it takes to have to login and sort things out. - Now I don't even have to post a rule about it anymore, they just can't do it. I heart this time-saver so much.

Now, here's another time saver for other Admins that may be as strict about building as I am - this is every city on the map - all coords were taken at city center and measured out to the edge of town. Between the town coordinates here and the enter-able buildings I've added, everything enter-able across Chernarus is pretty much covered or overlapped. Adjust display names and distances to taste - Enjoy!

 

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 4 months later...

Hey BigEgg, I noticed plot pole limits and plot size limits are merged into 1062, if I add this just to get the location restrictions and I don't add the parts about plot pole limits and plot sizes to the init - think this'll work? Guess I'm about to find out :D

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...