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






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: #98
RE: Housing
MAJOR UPDATE!

DO NOT INSTALL THIS UPDATE IF YOU ARE RUNNING A SERVER VERSION OLDER THAN 01/02/2009
From this version on, the script uses LISTS to hold the co-owner, friend, access & ban lists.
Instead tell me where to find you so I can come and give you a slap and make you upgrade your server.

That said some serious bugs and exploits have been fixed in this version, so it IS in your interests to upgrade to this new version of the script.

IF YOU ARE UPGRADING TO THIS VERSION FROM ANY PREVIOUS VERSION OF THIS SCRIPT OR ANY OTHER HOUSING SCRIPT
You MUST run the function .HOUSE_LIST_CONVERT after installing the script.
This will convert houses placed with earlier versions of the script to use lists and run correctly in this and any newer versions


This function is seperate from the actual script and can be found here

----------------------------------------------------> house_list_convert function <---------------------------------------------------


If replacing an different housing script with this I cannot guarantee that any friend/co-owner lists are carried over as this function only looks for the specific tags I used in previous versions. It will however perform the house tally and log it to the owner's account.

The script itself is on the usual link which I will also paste here: Housing v2.2


New installs do NOT need to follow the above instructions.

Code:
V2.2:

NEW:    Co-Owner, Friend, Ban, Access lists for houses all pushed to lists instead of tags

ADDED: Estate Tax for players with more than def.estate_tax houses.  
ADDED: Refresh override, GMs can refresh any house FREE, though activity will be logged to the console
ADDED: If a house decays while a player is online they will be notified. (it's too late to do anything about it though)
ADDED: Refund/Redeed fee support if redeed_custom is turned on.

FIXED: Putting house up for now sale clears tax exemption tag if it exists
FIXED: Syntax error making transferring house impossible if def.account_house_limit active
FIXED: Monthly Property Tax fee per month still showing on page 1 if house is exempt from decay.
FIXED: Timer expired without DECAY flag error
FIXED: Incorrect text text displaying for list switch wipe
FIXED: resendtooltip error when creating a UID only chest.
FIXED: Attempting to lock down NPC causing errors (reported by darksun... you know the same guy that wanted to friend npc's, now he wants to lock them down and flip them.. clearly he is some kind of deviant)
FIXED: Players able to secure their and other players backpacks  (VERY VERY BAD)
FIXED: Trash Can being sent to players bank on redeed.
FIXED: Errors when buying a house listed by Britannic Realtors.

UPDATED: Amount of houses owned by an account recorded regardless of setting and stored on account based LIST
UPDATED: can_access & is_ banned priv check renamed to is_access & is_ban for streamlined functionality
UPDATED: account_house_limit can now be altered at will. Players will not be able to place/receive more in transfer while over this hard limit
UPDATED: heavy @step event altered and moved to @enter trigger instead (lighter)
UPDATED: Maintenance is now renamed to Property Tax (region tags for override remain the same for the sake of backward compatibility)
UPDATED: defname settings now more organised
UPDATED: Redeeding caused upgrades AND money from upgrades to be lost, this is now used to pay some or all of the redeeding fee with unused money refunded.
UPDATED: secure chests can now be accessed from outside the house region if LOS permits. (in the same way that doors can be accessed from outside the region)
UPDATED: Co-owner, friend, ban & access lists, gump display all now driven by same render function
UPDATED: Adding players to the house lists now all powered by the same add_list function
UPDATED: Purchasing a house listed as "for sale" by a player no longer resets the house decay timer,  Purchasing a house listed "for sale" by Britannic Realtors DOES reset the decay timer.
UPDATED: Decay time now shows on "for sale" houses not listed by Britannic Realtors
UPDATED: Timers on houses listed "for sale" by a player will continue to count down to decay and perform their normal operation when the timer expires.

REMOVED: door_is  functions, no longer required
REMOVED: fallfix event as it doesn't appear to be an issue any longer
REMOVED: access_inhibit no longer required
REMOVED: f_refund no longer required.

Whew!

A lot of updates in this version, I know this list is long but you might want to take a minute to read it as the mechanics of some features have changed, hoping that with all these changes and fixes that the script is bug free. It has been extensively tested and found to be idiot proof by darksun84... not sure what that says but still...

While I have given admins the ability to charge players more in taxes with the addition of the estate tax functionality (as well as the regional overrides in a previous version) I have small made a move in favor of the player here also in this version:

When redeeding a property now players will be refunded any money they spent on increased secure storage or extra slots the friend/co-owner list. In the case of custom houses they will also now be refunded all money spent in "building" their house, where before I had neglected to support this feature and so money and parts would be lost if a custom house was redeeded. (if custom redeeding is turned on you must still have the deeds for the foundations in your script pack),
If the fee for redeeding is turned on (which it is by default) this charge will be deducted from any refund due. If the refund does not cover the redeed fee, the player will be charged for whatever is left after the refund is applied to the fee.

A summary of the new taxes and fees and how they work can be found at the bottom of the first post of this thread

[Image: 2nis46r.jpg]
(This post was last modified: 10-16-2013 07:54 AM by Mordaunt.)
10-16-2013 04:05 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
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: 3 Guest(s)