The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 5 Votes - 4.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Housing
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #1
Housing
V2.3.6 NOW AVAILABLE


Housing System
V2.2 onwards uses LISTS and therefore requires a version of sphereserver which supports this functionality (56b newer than 01/02/2009 or 56c)

This script does away with the need for keys to access a house, everything runs from the housing menu.
Will allow you to switch from a standard house to a custom foundation of the same size.
Allows players to put their houses up for sale via the sign so that another player may purchase it.
Supports Crius' Static housing script, static houses cannot decay and so once their timer expires they automatically are put back up for sale (read installation instructions)
Houses can be set to allow all characters on the owners account to automatically be granted full access.
Extra door option allows players to add extra doors in those obvious spaces in castles & keeps.
Customize your house sign.
Place/change your sign holder (static buildings only)
Players can purchase extra storage space & friend/co-owner slots, up to a maximum number which is based upon the size of the building.
Set chests & doors for use based upon privilege levels in the house, by UID or based upon Guild membership when the house has been declared a Guild House.
House Maintenance fee can be made to be region specific, allowing for high value and low value zones.

Main Menu:
[Image: 2jfygrp.jpg]

Security: Add remove friends/co-owners make house public (shop) or convert to guild (look, in use at one of the static buildings in Britain)
[Image: 35b84m9.jpg]

Storage: (Storage in any house may be increased by 100%, this also increases house value, original storage limit based on house size)
[Image: 2i6e6f.jpg]

Customize:
[Image: bds02b.jpg]

Ownership Menu: (Administrative options only visible to staff)
[Image: 2mhackh.jpg]

Custom sign design & color
[Image: 6nrsjt.jpg] [Image: 2uxy0ow.jpg]

Maintenance rates by region - -when activated(fully adjustable)
(standard rates)
[Image: aeqigy.jpg][Image: 2rwt7cg.jpg]

And now when the new estate tax applies:
linear rate setting shown (2)
[Image: 2lsxxso.jpg]

Note: The main page of the dialog only shows the standard property tax rates by design

Quote:Instructions - because things are getting complicated.
Though it's not as complex as these instructions may seem

Taxes & Fees: (or.. how to remove money from your economy without a riot)


Property Tax (previously called Maintenance):

To turn on set the DEFNAME property_tax to a figure other than 0 (by default it is set to 10)
This figure is the percentage of the HOUSE VALUE that it will cost players to refresh their house each period as set in DEFNAME can_decay.
This percentage rate can be overridden on a regional basis by setting region.tag.maintenance_override in a region of your chosing.
If a house is placed in a region where region.tag.maintenance_override exists, property tax will be charged an that percentage of HOUSE VALUE.
region.tag.maintenance_override may be higher or lower than the default DEFNAME property_tax

Estate Tax: (new for v2.2 coming soon)

Once a player has more than DEFNAME estate_tax they become subject to additional fees each month to refresh EVERY house.
These fees are based upon the number entered into DEFNAME estate_rate which is again a percentage of the HOUSE VALUE
This percentage is also overridden by any region.tag.maintenance_override for the region in which the house was placed.
By default this setting is NOT active when you download the script. Change DEFNAME estate_tax to a number greater than zero (3 is nice) to turn it on.
If DEFNAME account_house_limit is set to a number other than zero, this number being the hard limit on the number of houses allowed PER ACCOUNT, then DEFNAME estate_tax must be set to a value lower for it to come into effect.

There are 2 scales for estate tax, this is set in DEFNAME estate_calc.
If DEFNAME estate_calc is set to 1, a player is subject to estate tax on a flat rate based upon DEFNAME estate_rate or region.tag.maintenance_override should it exist.
In setting 1 players can own as many houses as they wish and only realistically have to pay twice what they would pay without estate tax. This setting is cheaper for player with lots of houses.
If DEFNAME estate_calc is set to 2, a player is subjecy to estate tax on a linear scale based upon DEFNAME estate_rate or region.tag.maintenance_override should it exist.
In setting 2 a player with 1 house over the DEFNAME estate_tax would have to pay twice the amount they would normally pay without estate tax. With 2 houses over the DEFNAME estate_tax they would have to pay 3 times the amount, and so on... This setting is cheaper for players with fewer houses.

Buying extra secure storage & co-owner/friend slots:

If DEFNAME buy_storage is set to 1 players will be able to purchase extra secure storage slots for their house.
If DEFNAME buy_increased_list is set to 1 players will be able to purchase extra friend/co-owner slots for their house.
A player purchasing either of these increases the HOUSE VALUE which also affects how much property tax (and estate tax if applicable) they have to pay each month.

The prices for extra co-owners and friends can be set in DEFNAME xtra_co-owner_price and DEFNAME xtra_friend_price respectively.
The price for extra secure storage is calculated automatically based on the original value of the house.

Redeeding:

The cost for a player to redeed their house can be set in DEFNAME redeed_fee where the value is a percentage of the HOUSE VALUE
Demolishing a house without redeeding is free of charge and will refund players the HOUSE VALUE for the building that was demolished.

Any upgrades (which includes construction on custom houses) will be refunded to the player minus the DEFNAME redeed_fee where applicable. If no refund exists or it does not entirely cover the DEFNAME redeed_fee, the player will be charged the remainder.



It is my intention to have this script now under feature lock. Meaning no new features will be added (unless a truly fantastic and must have idea presents itself)
The only other updates that should happen after v2.2 are bug fixes, as and when they occur, and possibly some code tidying. This script was originally written ~2005 so I expect there will be a bit to do in terms of tidying up

[Image: 2nis46r.jpg]
(This post was last modified: 02-16-2014 12:01 AM by Mordaunt.)
09-12-2012 02:42 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Mordaunt's post
Post Reply 


Messages In This Thread
Housing - Mordaunt - 09-12-2012 02:42 AM
RE: Housing - htid4life - 09-12-2012, 08:37 AM
RE: Housing - Mordaunt - 09-28-2012, 11:49 PM
RE: Housing - Mordaunt - 09-30-2012, 12:12 PM
RE: Housing - Mordaunt - 10-05-2012, 11:51 PM
RE: Housing - Anarch Cassius - 10-06-2012, 06:00 AM
RE: Housing - Mordaunt - 10-06-2012, 06:34 AM
RE: Housing - Mordaunt - 10-06-2012, 08:39 AM
RE: Housing - WRWR - 10-12-2012, 01:59 AM
RE: Housing - Mordaunt - 10-12-2012, 03:40 AM
RE: Housing - Mordaunt - 10-12-2012, 08:36 AM
RE: Housing - Lazarus - 10-14-2012, 03:14 AM
RE: Housing - Mordaunt - 10-14-2012, 04:06 AM
RE: Housing - Lazarus - 10-14-2012, 05:03 AM
RE: Housing - Mordaunt - 10-18-2012, 11:27 AM
RE: Housing - Mordaunt - 10-21-2012, 12:50 PM
RE: Housing - htid4life - 10-21-2012, 07:55 PM
RE: Housing - Abuelox - 10-23-2012, 06:11 PM
RE: Housing - Gon - 10-28-2012, 05:46 AM
RE: Housing - Mordaunt - 10-28-2012, 07:02 AM
RE: Housing - Gon - 10-28-2012, 07:38 AM
RE: Housing - Mordaunt - 10-28-2012, 07:42 AM
RE: Housing - htid4life - 10-29-2012, 12:50 PM
RE: Housing - escribano - 11-20-2012, 01:52 PM
RE: Housing - Mordaunt - 11-21-2012, 03:34 AM
RE: Housing - escribano - 11-21-2012, 08:03 AM
RE: Housing - Mordaunt - 11-21-2012, 08:26 AM
RE: Housing - Runcuks - 02-03-2013, 04:37 AM
RE: Housing - Mordaunt - 02-03-2013, 07:21 AM
RE: Housing - Runcuks - 02-03-2013, 04:30 PM
RE: Housing - Mordaunt - 02-04-2013, 12:58 AM
RE: Housing - Runcuks - 02-04-2013, 10:17 PM
RE: Housing - Mordaunt - 02-05-2013, 02:01 AM
RE: Housing - Runcuks - 02-05-2013, 03:47 AM
RE: Housing - Mordaunt - 02-08-2013, 04:59 AM
RE: Housing - Runcuks - 02-09-2013, 08:43 PM
RE: Housing - Mordaunt - 02-26-2013, 01:32 PM
RE: Housing - Soulless - 02-26-2013, 03:04 PM
RE: Housing - Runcuks - 02-26-2013, 10:46 PM
RE: Housing - Mordaunt - 02-26-2013, 11:39 PM
RE: Housing - Soulless - 02-27-2013, 07:01 AM
RE: Housing - Mordaunt - 02-27-2013, 07:13 AM
RE: Housing - Soulless - 02-27-2013, 08:29 PM
RE: Housing - Mordaunt - 02-28-2013, 12:25 AM
RE: Housing - Soulless - 03-03-2013, 12:39 AM
RE: Housing - Shaklaban - 04-03-2013, 10:56 AM
RE: Housing - Mordaunt - 03-03-2013, 01:01 AM
RE: Housing - Soulless - 03-03-2013, 04:54 PM
RE: Housing - Mordaunt - 03-18-2013, 06:40 AM
RE: Housing - Mordaunt - 04-03-2013, 06:07 AM
RE: Housing - Soulless - 04-03-2013, 09:45 PM
RE: Housing - Mordaunt - 04-04-2013, 09:43 AM
RE: Housing - Soulless - 04-06-2013, 01:00 PM
RE: Housing - Mordaunt - 04-07-2013, 03:53 AM
RE: Housing - Soulless - 04-07-2013, 05:12 AM
RE: Housing - Mordaunt - 04-07-2013, 09:47 AM
RE: Housing - Soulless - 04-08-2013, 01:41 PM
RE: Housing - Soulless - 04-08-2013, 06:34 PM
RE: Housing - Mordaunt - 04-08-2013, 10:02 PM
RE: Housing - Runcuks - 04-19-2013, 11:36 PM
RE: Housing - Mordaunt - 04-20-2013, 04:01 AM
RE: Housing - Runcuks - 04-20-2013, 04:18 AM
RE: Housing - Mordaunt - 04-20-2013, 06:52 AM
RE: Housing - Runcuks - 04-21-2013, 12:34 AM
RE: Housing - Mordaunt - 04-21-2013, 01:29 AM
RE: Housing - Runcuks - 04-21-2013, 03:03 AM
RE: Housing - Mordaunt - 04-26-2013, 12:14 AM
RE: Housing - Mordaunt - 04-27-2013, 01:14 AM
RE: Housing - Mordaunt - 05-04-2013, 12:51 AM
RE: Housing - htid4life - 05-04-2013, 02:35 AM
RE: Housing - RanXerox - 05-04-2013, 03:06 AM
RE: Housing - htid4life - 05-04-2013, 04:54 AM
RE: Housing - Mordaunt - 05-09-2013, 05:16 AM
RE: Housing - Runcuks - 07-03-2013, 07:03 PM
RE: Housing - Mordaunt - 07-03-2013, 10:05 PM
RE: Housing - Runcuks - 07-03-2013, 10:13 PM
RE: Housing - Monty - 07-05-2013, 12:07 AM
RE: Housing - Mordaunt - 07-05-2013, 10:22 PM
RE: Housing - darksun84 - 07-06-2013, 12:11 AM
RE: Housing - Mordaunt - 07-16-2013, 08:03 AM
RE: Housing - xwerswoodx - 07-23-2013, 03:45 AM
RE: Housing - Mordaunt - 07-23-2013, 10:49 AM
RE: Housing - xwerswoodx - 07-23-2013, 11:24 AM
RE: Housing - Rattlehead - 08-03-2013, 05:57 PM
RE: Housing - Mordaunt - 08-03-2013, 10:11 PM
RE: Housing - Rattlehead - 08-04-2013, 02:40 PM
RE: Housing - Mordaunt - 08-06-2013, 10:57 AM
RE: Housing - Mordaunt - 08-06-2013, 11:36 PM
RE: Housing - babazar - 08-14-2013, 06:24 AM
RE: Housing - Mordaunt - 08-14-2013, 08:06 AM
RE: Housing - Rattlehead - 08-14-2013, 08:24 AM
RE: Housing - Mordaunt - 08-14-2013, 08:30 AM
RE: Housing - Mordaunt - 08-15-2013, 05:32 AM
RE: Housing - Soulless - 09-04-2013, 11:19 PM
RE: Housing - Mordaunt - 09-05-2013, 12:24 AM
RE: Housing - Soulless - 09-05-2013, 01:37 AM
RE: Housing - Mordaunt - 09-24-2013, 10:26 PM
RE: Housing - Anarch Cassius - 10-16-2013, 08:50 AM
RE: Housing - Mordaunt - 10-16-2013, 10:09 AM
RE: Housing - Anarch Cassius - 10-16-2013, 11:52 AM
RE: Housing - Mordaunt - 10-16-2013, 12:14 PM
RE: Housing - Mordaunt - 10-17-2013, 10:27 PM
RE: Housing - Mordaunt - 11-21-2013, 05:13 AM
RE: Housing - Mordaunt - 12-09-2013, 04:55 AM
RE: Housing - Mordaunt - 01-08-2014, 08:11 AM
RE: Housing - alexpetro - 01-11-2014, 09:08 PM
RE: Housing - Mordaunt - 01-12-2014, 12:27 AM
RE: Housing - Mordaunt - 01-19-2014, 04:26 AM
RE: Housing - amonvangrell - 01-19-2014, 09:53 AM
RE: Housing - Leonidas - 01-23-2014, 06:04 PM
RE: Housing - XuN - 01-23-2014, 06:15 PM
RE: Housing - Leonidas - 01-23-2014, 06:51 PM
RE: Housing - Mordaunt - 01-23-2014, 11:29 PM
RE: Housing - XuN - 01-24-2014, 05:12 AM
RE: Housing - Mordaunt - 01-24-2014, 07:20 AM
RE: Housing - XuN - 01-24-2014, 07:57 AM
RE: Housing - Leonidas - 01-25-2014, 02:38 PM
RE: Housing - Mordaunt - 01-25-2014, 10:29 PM
RE: Housing - babazar - 02-04-2014, 06:11 AM
RE: Housing - babazar - 02-04-2014, 07:32 AM
RE: Housing - Mordaunt - 02-04-2014, 01:49 PM
RE: Housing - babazar - 02-05-2014, 03:09 AM
RE: Housing - Mordaunt - 02-05-2014, 03:39 AM
RE: Housing - babazar - 02-05-2014, 07:48 AM
RE: Housing - Mordaunt - 02-05-2014, 08:50 AM
RE: Housing - babazar - 02-05-2014, 10:03 AM
RE: Housing - Mordaunt - 02-05-2014, 10:54 AM
RE: Housing - babazar - 02-05-2014, 06:39 PM
RE: Housing - Mordaunt - 02-05-2014, 11:13 PM
RE: Housing - Mordaunt - 02-06-2014, 12:33 AM
RE: Housing - babazar - 02-06-2014, 02:29 AM
RE: Housing - babazar - 02-06-2014, 09:57 PM
RE: Housing - Mordaunt - 02-07-2014, 12:43 AM
RE: Housing - babazar - 02-08-2014, 08:59 AM
RE: Housing - Mordaunt - 02-08-2014, 10:26 PM
RE: Housing - babazar - 02-09-2014, 09:07 AM
RE: Housing - Mordaunt - 02-10-2014, 12:04 AM
RE: Housing - babazar - 02-10-2014, 12:46 AM
RE: Housing - babazar - 02-10-2014, 09:05 AM
RE: Housing - Mordaunt - 02-10-2014, 10:41 AM
RE: Housing - babazar - 02-10-2014, 09:36 PM
RE: Housing - Mordaunt - 02-10-2014, 09:45 PM
RE: Housing - babazar - 02-11-2014, 02:09 AM
RE: Housing - Mazer - 02-11-2014, 04:47 AM
RE: Housing - Mordaunt - 02-11-2014, 09:06 AM
RE: Housing - babazar - 02-15-2014, 09:10 AM
RE: Housing - Mordaunt - 02-15-2014, 01:35 PM
RE: Housing - Soulless - 02-15-2014, 03:12 PM
RE: Housing - Mordaunt - 02-15-2014, 10:48 PM
RE: Housing - Soulless - 02-16-2014, 01:16 AM
RE: Housing - amonvangrell - 02-16-2014, 05:39 AM
RE: Housing - babazar - 02-16-2014, 08:02 AM
RE: Housing - Mordaunt - 02-16-2014, 09:41 AM
RE: Housing - babazar - 02-18-2014, 09:01 AM
RE: Housing - Mordaunt - 02-18-2014, 09:25 AM
RE: Housing - Mordaunt - 02-21-2014, 12:58 AM
RE: Housing - Mordaunt - 02-22-2014, 02:31 AM
RE: Housing - XuN - 02-22-2014, 03:03 AM
RE: Housing - Mordaunt - 02-22-2014, 06:24 AM
RE: Housing - XuN - 02-22-2014, 08:36 AM
RE: Housing - babazar - 04-03-2014, 08:14 PM
RE: Housing - Mordaunt - 04-04-2014, 01:28 AM
RE: Housing - babazar - 04-10-2014, 07:23 PM
RE: Housing - babazar - 04-11-2014, 05:40 AM
RE: Housing - Mordaunt - 04-12-2014, 09:12 PM
RE: Housing - ograso - 06-01-2014, 02:07 AM
RE: Housing - Mordaunt - 06-01-2014, 03:32 AM
RE: Housing - ograso - 06-01-2014, 05:52 AM
RE: Housing - Mordaunt - 06-02-2014, 01:37 AM
RE: Housing - ograso - 06-02-2014, 02:28 AM
RE: Housing - ograso - 06-02-2014, 07:25 AM
RE: Housing - babazar - 07-21-2014, 07:25 AM
RE: Housing - Extreme - 07-21-2014, 08:06 AM
RE: Housing - Mordaunt - 07-22-2014, 03:26 AM
RE: Housing - ograso - 07-24-2014, 05:36 PM
RE: Housing - Mordaunt - 07-25-2014, 04:27 AM
RE: Housing - ograso - 07-25-2014, 07:28 PM
RE: Housing - babazar - 07-25-2014, 08:19 AM
RE: Housing - Extreme - 07-25-2014, 12:06 PM
RE: Housing - Mordaunt - 07-26-2014, 05:13 AM
Console errors - ograso - 10-06-2014, 05:57 AM
RE: Housing - Extreme - 10-06-2014, 07:44 AM
RE: Housing - ograso - 10-06-2014, 10:37 PM
RE: Housing - Lazarus - 03-04-2015, 03:35 AM
RE: Housing - richm - 03-13-2015, 04:29 AM
RE: Housing - Lazarus - 03-18-2015, 09:30 AM
RE: Housing - Mordaunt - 03-21-2015, 06:17 AM
RE: Housing - Extreme - 03-21-2015, 12:31 PM
RE: Housing - Lazarus - 03-22-2015, 06:55 AM
RE: Housing - richm - 03-22-2015, 11:26 PM
RE: Housing - Mordaunt - 03-23-2015, 02:58 AM
RE: Housing - Extreme - 03-24-2015, 10:26 AM
RE: Housing - Shamino - 04-23-2015, 06:49 AM
RE: Housing - Shamino - 04-26-2015, 10:51 PM
RE: Housing - Mordaunt - 08-30-2015, 11:35 PM
RE: Housing - dafty - 09-11-2015, 11:02 PM
RE: Housing - dafty - 09-22-2015, 02:07 AM
RE: Housing - Criminal - 11-02-2015, 10:48 PM
RE: Housing - Mordaunt - 11-03-2015, 06:45 AM
RE: Housing - darksun84 - 11-03-2015, 07:32 PM
RE: Housing - sagitariuz - 01-10-2016, 01:48 AM
RE: Housing - Mordaunt - 01-10-2016, 05:26 AM
RE: Housing - sagitariuz - 01-10-2016, 11:39 AM
RE: Housing - Mordaunt - 01-11-2016, 07:53 AM
RE: Housing - sagitariuz - 01-24-2016, 03:30 AM
RE: Housing - rastrero - 01-29-2016, 02:19 AM
RE: Housing - sagitariuz - 01-29-2016, 04:30 AM
RE: Housing - rastrero - 01-30-2016, 12:39 AM
RE: Housing - by__emrah - 03-16-2016, 11:48 AM
RE: Housing - Khaos - 03-25-2016, 04:10 PM
RE: Housing - n1ghtwish - 04-14-2016, 11:13 AM
RE: Housing - Abuelox - 03-03-2018, 07:17 AM
RE: Housing - ShiryuX - 03-03-2018, 10:58 PM
RE: Housing - Abuelox - 03-04-2018, 12:58 AM
RE: Housing - Seokotov - 12-31-2018, 04:56 PM
RE: Housing - azmanomer - 01-03-2019, 03:12 AM
RE: Housing - Seokotov - 01-03-2019, 10:19 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)