Mocha

How can I disable territory payment?

4 posts in this topic

I'm looking for a way to disable the territory payment feature. It's just me and my friend playing on a private server and It's a bit annoying. If anyone could help I would appreciate it! 

Share this post


Link to post
Share on other sites

ExileServer/addons/exile_server_config.pbo/config.cpp

class Database 
		{
			// Remove all deleted items from the database after X days
			permanentlyDeleteTime = 30; // <--- Change this to how long you want them to last..
			
			// Remove all territories (and contructions + containers in it) that were not paid after X days
			territoryLifeTime = 30; // <--- Change this to how long you want them to last..

			// Remove all containers outside of territories that have not been used for X days
			// Example: Tents
			containerLifeTime = 10; // <--- Change this to how long you want them to last..

			// Remove all constructions outside of territories that are older than X days or not moved for X days 
			// Example: Work Benches
			constructionLifeTime = 2; // <--- Change this to how long you want them to last..

			// Remove all vehicles that were not moved/used for X days
			vehicleLifeTime = 30; // <--- Change this to how long you want them to last..
			
			// Set safe as abandoned
			abandonedTime = 7;
			
			// Deletes a base X days after the flag is stolen if the ransom money isn't paid
			stolenFlagLifeTime = 7;
			
			// Sets door & safe pins to 0000 and marks safes to abandoned X days after the flag is stolen if the ransom money isn't paid
			unlockLifeTime = 2;
		};

 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Hello Mocha,

 

You could do what I did, I set all 'days' to 365 (one year) for everything!  I suspect you could also set the number of days to 999 as well.

 

That would be the easiest way to do it.  Just change those number shown in the post above to 999, save, restart server, and bam!   You're set!

For at least (almost) 3 years...

 

To actually disable, you could try setting those values to zero or a negative 1.  Sometimes either value will disable that feature.

Go to your DB:

Backup DB

Edit the DB and add a '1' to all of the UID's,

Save

Restart server

 

Test the 0/-1 values by building something and seeing what happens.  Either it will work or it will not.  The 999 will work.

 

Once done, stop server go to DB again:

Delete test UID's/accounts from DB

Remove the added '1' to the other UID's

Save

Restart Server

 

The 'added one' will emulate other players with different UID's so you can test the 0/-1 or anything else you wish to test.

 

I have done the 'fake uids' with no issue several times!

 

;)

 

Edited by Z80CPU

Share this post


Link to post
Share on other sites

One other way, go into the database, find your territories and and just change the year in the "last_paid_at" column to 2020 or whatever.. :)

The advantage of this is that this would cover you and your friend but, if you open up your server and it becomes popular, the other bases on there would still need protection paid as per the settings @kuplion posted above. Also, means you wouldn't have to worry about merging your changes back in to any future updates but, that's only if you haven't changed any other settings in that file..

This is the way I manage a small admin base for me on one of my servers.

  • Like 2

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.