The Ivodon Persistent Inn System provides NWN world builders with resources for easily adding innkeepers to their modules, who will rent out rooms to PCs. The primary design criteria and supporting features are: * Simplicity for builder -- a working inn can be created just by dropping one placeable object to represent the inn, one NPC to be the inkeeper, then painting one door for each room. Configuration is performed through editing these objects; no script editing is required. Blueprints are provided for all object types. * Scalability -- each inn can have up to 999 rooms, divided arbitrarily into up to 9 price classes. A new room is added to an inn simply by adding a correctly-tagged door. Each module can have over 99 inns. * Simplicity for players -- PCs interact with each inn through its inkeeper. The innkeeper will create, extend, and expire rental agreements with any PC. While an agreement is in effect, only the PC can open the door for his or her room.
Posted by eviljason at 2010-12-04 15:31:21 Voted 10.00 on 12/04/10
Works as advertised, and a welcomed addition to any module.
Posted by Mannast at 2010-11-03 07:55:05 Voted 10.00 on 11/03/10
I find this system very useful. I also incorporate the scripts into using specific rooms in my class and practical guilds. Great stuff!
Posted by scsijon at 2008-04-26 20:25:28 Voted 8.00 on 04/26/08
Nice system but I needed a key to be issued for each room so that access to common areas (such as bathrooms, "games" rooms and such) could be included and controlled, as well as allow for "please fetch from my room" type quests (it would also fix one of his listed known problems).
Hopefully Benton will read this and be able to help as an email to him was returned as unknown
Posted by danielf30 at 2007-11-24 10:13:07 Voted 9.75 on 11/24/07
I really like this system i could not give it a 10 for one reason, and that is there is an exploit where you can stay for free at any inn.
step 1. rent a room
step 2. go sleep
step 3. go right back to the inn keeper and extend your room.
step 4. ask for a refund, the inn keeper gives you all your money back.
I have been looking for a way to fix this, anyopne got any ideas.
TIA _________________________ Check out my PW:
Rolepay: Arcana
arcana.homelinx.org:5121 Link
Posted by Ondaderthad at 2007-10-21 19:16:01 Voted 10.00 on 10/21/07
Excellent and very versatile set of scripts.
There are even ways to make "rental houses" using this.
ie. make an Innkeeper called real estate agent and make the prices weekly instead of daily. Room doors can also be used for houses in a city. Works very well and unlike other housing systems the rental agreement will expire even if the player no longer plays in your server without the need to edit anything.
Brilliant.
I also used this to setup many other soprts of rentals like safe meeting rooms, thieve guild fence merchant (they charge a fee for using it and the stolen goods merchant is inside the room) etc.. Just be creative.
_________________________ The Best PW system is getting even better. PLATEMAIL Tech Preview
Posted by DM-Taino ( 70.152.xxx.xxx ) at 2006-01-02 10:10:03
Im having a problem with compiling this into my MOD. In the Script "pf_aps_persist" line 76: void SetPersistentObject(object oTarget, string sName, int iExpiration=0, string sTable="") {}
Im getting an ERROR: FUNCTION IMPLEMENTATION AND DEFINITION DIFFER
Has anyone found a way to allow a PC to rent a room in multiple inns? _________________________ OnyxEye - Lead Admin
The Realms of Ghamede Link
Posted by Tzal at 2005-12-14 11:09:13 Voted 9.50 on 12/14/05
Excellent set of scripts. _________________________ -Tzal The Moonshae Isles
Posted by peskyone ( 151.213.xxx.xxx ) at 2005-11-11 12:53:39
This set is great and the author has explained the use wonderfully! Two thumbs up and my players love it
Posted by _martigan_ at 2005-10-20 19:38:09 Voted 9.75 on 10/20/05
I've used this across several different mods and PWs. Awesome work. _________________________ It is by caffeine alone I set my mind in motion, it is by the beans of Java that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning, it is by caffeine alone I set my mind in motion.
Posted by Fleshmelter at 2004-10-30 13:49:05 Voted 8.75 on 10/30/04
Very damn good! _________________________ PW Action Server:
| Chaosgate |
This is a compilation of the old system into a single score. There were 6 that made this score of 8.50 then rounded to 9.
Posted by Lorsd Dakon ( ..xxx.xxx ) at 2004-01-26 14:15:00
Ignore missing resource errors if the file ends in .ncs. It's a toolset problem.
Posted by Athus ( ..xxx.xxx ) at 2004-01-07 08:47:00
When i try to import the IPInns.erf, it gives me the following error:
Missing Resources
The following resources were rquired by the package selected for import, but they could not be found in the package. Do you still wish to continue importing?
And then it lists the following files that are missing:
I doubt this is -supposed- to happen. I've tried re-DLing the zip just in case I got a bad DL, and it still gives me the same error. Any ideas anyone? Thanx
Posted by Genji ( ..xxx.xxx ) at 2003-11-01 23:36:00
Nevermind ...
I see it now "and the numbers must run in unbroken sequence "001", "002", "003", etc. "
Posted by Genji ( ..xxx.xxx ) at 2003-11-01 20:16:00
When I talk to him, and say I would like to rent a room, he says there are no rooms left to rent.
Naming conventions are correct. Is there some update I need to get or how did Peterson get this working?
Posted by Uhane ( ..xxx.xxx ) at 2003-09-26 13:28:00
Hey Benton...First off i'd like to say that your persistant Inn system is fantastic. I have it working in a friend of mines world. I am haveing a problem though..We downloaded the current version you have with the Inn fix so that a player can not access the same number room in another Inn. The only thing is its not working. It's still accessing the same info from the first inn...Any Idea way? Did i download the wrong one, or do you have to do anything speacial?
Posted by benton ( ..xxx.xxx ) at 2003-09-03 13:29:00
Peterson,
The room number in the door tags must be encoded with 3 digits. The door templates that appear under "Special5" in the Custom Doors palette of the toolset have tags that end in 00 so that you can quickly add one digit to put in your inn's first nine rooms. So if your inn's two-digit code was "AA" then your inn's rooms would have tags IPI_Inn_AA_RM001, IPI_Inn_AA_RM002, IPI_Inn_AA_RM003, and so on.
- benton
Posted by Peterson ( ..xxx.xxx ) at 2003-08-26 04:57:00
I am having some difficulty in getting this to work. It's prolly something that I have done. I have gone through the installation docs 4 times now to check that I have done things correctly.
I see the ipi_init_inn is called initially by starting the Conv with the InnKeeper. But when I talk to him, and say I would like to rent a room, he says there are no rooms left to rent.
I have made the inn, made 12 rooms and placed the appropriate doors and labled the tag correctly. one thing I did notice is that the door tags have 2 digit at the end and the docs have 3 digit for the room number. Would this make a difference?
Also, The Sign: I have it outside the inn and the Inn keeper inside the inn. Does this matter? I even went so far as to place the sign inside the inn next to the vendor. No difference.
A little background info: I am using HCR, CNR with APS/NWNX using MySql.
I this this is a great addition to nwn, Thank you benton for supplying us with this wonderful script.
Any help would be definately appreciated.
Posted by benton ( ..xxx.xxx ) at 2003-07-24 13:28:00
Hello, Persistent Inn users.
An alert user of this system has discovered a bug in version 0.9 which causes PCs who rent room X in one inn to get access to room X in all the inns in the campaign. This bug was caused by an inconsistency in the way Bioware has implemented their persistence functions, so it only affects builders who are placing more than one Inn, and using Bioware persistence.
I have fixed the problem in the current version (1.0), which I have posted to this page. If you are using the Persistent Inns system, please update to version 1.0 by downloading the above zip file, and reimporting the IPInns.erf file; overwrite all duplicate script files.
Thanks to C.J. for catching this bug and bringing it to my attention.
- benton
Posted by Fleshmelter ( ..xxx.xxx ) at 2003-07-08 19:10:00
This is excellent, even if it wasn't persistent it would rock.....mcuh thanks for making this.
Posted by Albereth ( ..xxx.xxx ) at 2003-06-28 01:01:00
Ahhh, okay that makes sense and going back and reading it now I see that. I was just confused as you were talking about the door reflex save and then switched to referring to the inns will save and then back to the doors will save. Reading it my brain just assumed the whole paragraph was talking about the same door object and that is where the confusion stepped in 8)
Thanx for the clarification.
Posted by benton ( ..xxx.xxx ) at 2003-06-27 21:43:00
Sure. Here's the rundown. There are three saving throw settings that are significant, but they're spread across two types of objects.
#1) The first is the Will Save of the Inn object (the "Persistent Inn" template object). This is a "base rental timeperiod" which applies to all rooms. 0=daily,1=weekly,2=monthly,4=yearly.
The confusing thing is that this controls how one of the other settings is interpreted...
#2) The Reflex Save of each room's Door object sets the price for that room, *per unit of time, as defined by the Inn object's will save*. In other words, the Inn object's Will Save encodes the length of time you can stay in any room once you've paid the amount (in GP) of the Door's Reflex save.
For example, if a room's Reflex Save is 5, it costs 5 gold per day to rent if the Inn's Will Save is 0, 5 gold per week if the Inn's Will Save is 1, and so on.
#3) Finally, the Will Save of each individual door object (NOT the Inn object) controls whether that room will be referred to as "Room X" (where X is its number) or by the Door object's name string, AFTER the PC has rented the room.
Using the default vaule (0) lets you use a generic name like "a Luxury Room" as the name of the door. This will show up on the list of offerings to the player, but after its rented, the room will then be referred to as "Room 12" (or whatever) when the PC is given info about her room.
Using the other Will Save value (1) is better for a unique name like "The Honeymoon Suite" which will always be referred to in the conversation by this name, never by room number. Since this is a per-door setting, feel free to mix these two types.
Hope this clears things up.
- benton
Posted by Albereth ( ..xxx.xxx ) at 2003-06-27 18:41:00
Hmmm, mind clearing up what the saves are used for again?? The documentation says teh Reflex is for pricing, the Will is for Length of Contract and the Will is used for whether to use the standard name or a custom name. Should one of the two Will Saves be changed to the Fortitude save?? If so which one??
Posted by RealmForge ( ..xxx.xxx ) at 2003-06-26 16:01:00
Very useful script.
Another use would be persistent housing. Rename the innkeeper to "Landlord" and have him charge a tax to "own" a home. Since you can put one of the doors anywhere, this makes persistent housing so much easier to implement. There are, of course, downsides.
- Ownership of one house only.
- Allowing others entry to your home might be tough.
You must be Logged In to post comments in this section.