• 0
Sign in to follow this  
Followers 0

Adding nonConstructionZones


Posted (edited)

The Config.cpp asks for the following.

// A list of {position, radius} where building is not allowed at all

However, The file it references "ExileClient_util_world_isInNonConstructionZone" uses the following coding.

_position = _this;
_result = false;
	_distance = (_x select 0) distance _position;
	if (_distance < (_x select 2)) exitWith
		_result = true;
forEach ExileNonConstructionZones;

Meaning in the Config.cpp would need to be.


The file "ExileClient_util_world_isInNonConstructionZone" should change line 

	if (_distance < (_x select 2)) exitWith


	if (_distance < (_x select 1)) exitWith


For now server admins can just use the following format.


Edited by Mr.Pig
4 people like this

Share this post

Link to post
Share on other sites

2 answers to this question


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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.