Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN SCRIPTS

- Jump to comments -
Title  Sins Housing Project
Author  f0ul_cr0w
Submitted / Updated  02-22-2005 / 11-22-2006
Category  Database Related
Expansions  Requires Both Expansions (SoU & HotU)
View Code  

Select All Text | View Code in separate window
Format  Module and Code
Type  Type - Player Property Tracking
Includes  Custom
Description
*Version 5 : 7/27/06*
Reworked some functions, fixed some errors.

7/26/06
Fixed issues with the house tokens, creating 10+ of the same furniture, and making homes with 10 or more areas.

Sins Housing Project uses NwnX2/MySQL, and therefor is very fast and very clean. The furniture system includes persistent storage containers that can handle non-modular, dynamic items. Furniture can be placed anywhere in the house (not just at waypoints), can be altered after placement, and is stored persistently when a PC leaves the area (including when the PC logs out of the server while in a home). Players may preview homes beforehand so they know exactly what they're getting. Instructions included tell you how to set up your system (after you try the demo of course), as well as how to create new furniture to be used in your home. Check out the demo module to set up the core system table and to make sure it works for you! Be sure to read through the instructions, as it documents the features and how to use them. Thanks!
-f0ul cr0w

My Email: [email protected]

Files

NameTypeSizeDownloads
Sins_Housing_5.zipSins_Housing_5.zip
Submitted: 02-22-2005 / Last Updated: 07-27-2006
zip199.49Kb399
Version 5 - Complete package. Read the included instructions. Try the demo first!
SCORE OUT OF 10
9.9
7 votes
View Stats
Cast Your Vote!

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS

Using the House Deed to give another creature access to a home.


Using the House Deed on a placed furniture to turn it.


Clicking on the door to an owned home displays the address and owner.





You Must Be Logged In to Participate.
Comments (30):

1 2 3

Posted by f0ul_cr0w at 2006-07-2712:39:28    
Another small update coming soon: I fixed some issues with miscalculating size and price of multi story homes, and the owner being bootable from his own home. Also made more use of the SHS_GetMainFloor function so that less variables are stored on each area of the house. Only H_MainFloorTag and H_Owner will be on each area now. Removed the constant for using the Unlock script on interior doors. Now, you can just do it and it will behave properly, whether you choose to use the thief/upgrade system or disable it. I'm considering either removing the ability to grant access to all homes using the house token, or redoing the way the house token works entirely. I'm thinking of adding players who are granted access to a new table, which could also track values for those players corresponding to the house (like access levels, ranks, etc). This would mean no variables getting thrown onto the house token itself anymore. And the ability to store additional information about each guest would open the door to other possibilities.

Posted by f0ul_cr0w at 2006-07-2611:01:33    
The update is in, but that particular issue is unresolved for now.

Posted by f0ul_cr0w at 2006-07-2509:26:02    
The 10+ furniture issue I've resolved (as well as another unreported issue concerning 10+ stories in a home). However, I can't see what would be causing the PC to re-enter a home he's sold. The table for the house should be getting dropped in the function SHS_RefundHome, and the local variables that are checked for ownership and whatnot are also deleted in that function. I will check again when I get the chance, and should have the update later tonight.

Posted by f0ul_cr0w at 2006-07-2507:57:21    
I will check into both of these, thanks. Let me ask, are you using the demo module or a seperate module to do this? And are you using default furniture or furniture you created?

Posted by Jugs at 2006-07-2422:06:08    
Thx f0ul_cr0w! I think i came across a few more problems today, not sure if it's just me though, haha... I realised if a I place more than 9 of the same furnitures at the same area, the 10th furniture will be recorded into the database but without resref and location... and sometimes causes other furnitures to dissapear... Another problem is if a dm is in the same house as a player when he re-sell the deed, the player will get his money back, but the door will still show as he owns it, which he can re-enter and sell it again.. i haven't tested it with a player standing inside though...will test it later once i get a friend to help :)

Posted by f0ul_cr0w at 2006-07-2409:24:35    
BTW, the download has been updated to include this fix.

Posted by f0ul_cr0w at 2006-07-2409:01:51    
Jugs n Mugs - Thank you for reporting this; it was an oversight on my part. This can be fixed by changing one line of code. Open the script shs_act_token and go to line 42, or the line that says : SetLocalInt( oTarget, "OwnerUnlocked", 1 ); and change that to : SetLocalInt( oTarget, "H_OwnerUnlocked", 1 ); I changed the naming of most variables and I suppose I overlooked this script. Thank you for reporting and let me know if you find anything else!

Posted by Jugs at 2006-07-2403:29:05    
hmm.. not sure if it's just me or what, but after changing some settings in shs_inc_const (after some narrowing down), the house tokens don't work... Basically, i changed the pricings, disabled the theft system, display name on clicking door, display in feet to TRUE, and the house tokens stopped working. Anyone else having this problem?

Posted by Jugs at 2006-07-2012:38:46    
hi, i love ur house scripts. i just updated from version 3 to 5. but i keep having problems with house tokens after that. after the house owner gives a token to another player, the token, when used on the house owner, does shows that he has access to the right house, but when used on the door of the house, it says "locked" without other message. we made sure it was set to allow guest access, but same thing happened. we also checked to make sure the door's resref n tags are correct, and the house deed does work on the door, only the given tokens weren't. pls help! thanks in advance!

Posted by BigMacDaddy at 17:25:17    Voted10.00
Ok I'll email you later tonight or tomorrow... Sorry I've been busy dealing with other things for the last few weeks... please dont torture yourself :) we'll work it out... _________________________ BigMacDaddy Forgotten Worlds: Dragon Mountain Link

1 2 3

You must be Logged In to post comments in this section.

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Prefab Areas


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters