This is the continuation of the KPB system. The gold storage only system of this set, compatible with beta 1.30 from Bioware can be found here. The version containing compatibility with the loans and credit system (for version beta 1.30 and up) can be found here. This is the new and improved version 1.6b of the KPB System. See the release notes below!
Posted by Anonymous ( 4.5.xxx.xxx ) at 2005-04-08 19:43:00
I downloaded this and added it to a customized Path of Ascension module. The banker works fine, but the item storage does not seem to work. (Yes, I paid the 100 gp storage rights fee.)
Do I need to place the item storage creature near the item storage chest?
2 other questions
If I put multiple bankers and chests in the module, will they be the same bank or different banks? In other words, will the player see the same 30 items no matter which banker they choose, or will they be able to purchase storage rights at each bank separately?
How do I know if I incorporated kpb_on_activate.css into my POA script properly?
Posted by Anonymous ( 4.5.xxx.xxx ) at 2005-04-08 19:42:00
I downloaded this and added it to a customized Path of Ascension module. The banker works fine, but the item storage does not seem to work. (Yes, I paid the 100 gp storage rights fee.)
Do I need to place the item storage creature near the item storage chest?
2 other questions
If I put multiple bankers and chests in the module, will they be the same bank or different banks? In other words, will the player see the same 30 items no matter which banker they choose, or will they be able to purchase storage rights at each bank separately?
How do I know if I incorporated kpb_on_activate.css into my POA script properly?
Hi, again. Took a look at it, and it appears that PRC uses the NWNX database system, which sometimes has an aweful time about running alongside things that use the default Bioware database. I decided to use the default database with this system so that any average Joe could come out and give it a spin around the block.
As I do not have NWNX, I do not see any real way of making the two systems compatible together. Perhaps a switch could be added to the NWNX code to allow both NWNX and the Bioware default database to work together, unless this is not possible or it has already been done somewhere already.
I have been away for a long while once again, so I will take a look at PRC2.2 and see what conflicts between the two. I'm not familiar with that system. Will post again when I look over it a bit.
Posted by _ ( 24.229.xxx.xxx ) at 2005-02-19 00:20:00
Same problem here, it works great but I get error spam due to it not liking PRC2.2c =/ I really like this banking system to.
Posted by Vincent Delacroix ( 65.54.xxx.xxx ) at 2005-01-15 00:08:00
I am most pleased with this banking system it works wonderfully, but is it possible to adapt it so that it works with PRC 2.2c, it has no problems with CEP 1.50 but PRC just doesn't like some of the scripts
Posted by caesarbear at 2005-01-01 22:39:42 Voted 9.75 on 01/01/05
An excellent banking system. I've implemented this in my own mod. The interface makes handling deposits and withdrawls very quick.
Surely, if you would like to post a fix for the problem you are experiencing, feel free to continue with a new thread for the system. You could add "-fan fix" or something to that effect to the title. I may work on it in the future, but at present, my internet is so terribly slow and problematic, and my time is a bit confined.
Thank you for your interest in the system.
As for the other problem, it is designed to loop back through the conversation until the loan is paid off or the person leaves from the bank.
having an issue with the loan repayment portion of the script i loaded the module that came with, and it seams that the issue exists in the module as well where if you go to repay the loan and choose one of the payment options that identifies a number it gets stuck in a consistant loop where it doesnt pay the loan but keeps asking you how much you want to pay. until such a time as you pay it all back, leave the conversation, or say you wont pay. anyone else experiance this problem and if so how did you solve it.
Posted by Silverti at 2004-08-29 20:23:00 Voted 10.00 on 06/10/04
I�ve had to remove the chest vault storage for this system. It turns out the code allows for GREAT exploits by players as to dupping items. I would highly suggest that anyone using the system now watch for dup's being done on the chests. I took it out a month ago or so but if I remember right, people could over load the bank by stuffing a ton of stuff in it and it would dup the item.. This would also crash the mod. The second problem I was having was HUGE databases. In the end, my database was 300 megs (3000 active players at one time over 6 months). Are you still working on the system? Can we look into the problems. I have a coder doing some things now, we might have a fix. _________________________ Creater / Designer / Host
Adventure Island 1: NWN
Adventure Island 2: NWN2
WOW! This looks like something I could use. I cant wait to get home and use this!
Posted by Silverti at 2004-06-10 20:59:12 Voted 10.00 on 06/10/04
Been using this for some time (older version).. just upgraded to the newest _________________________ Creater / Designer / Host
Adventure Island 1: NWN
Adventure Island 2: NWN2
Thanks for pointing out Provsul's conversion work. It's great that it could be converted for the MySQL system for folks who are using that method of doing it.
Posted by MorganQuickthrust at 2004-04-03 18:40:46 Voted 10.00 on 04/03/04
Posted by Vulcano ( ..xxx.xxx ) at 2004-04-02 13:02:00
This is a great system, and saved me a ton of work. I released my own banking system before this went up, and I wouldn't have bothered if I had known this would follow. I would still prefer to keep the gold on the bankbook item, but the persistent item storage can't be beat.
Posted by Migel Bane ( ..xxx.xxx ) at 2004-03-25 16:55:00
How do you add this script to the already in use onactivate item script that comes with hordes. Some one once told me to add the command below but it didn't work
ExecuteScript (�kpb_on_activate�, OBJECT_SELF);
Posted by Strawberries at 2004-03-09 00:05:23 Voted 10.00 on 03/09/04
Thank you TethyrDarknight, that's what it was. Wasn't walking away/waiting long enough to get the message. Perhaps I should read the documentation a little better :)
When you place the vault against a wall, place the item inside, walk to the other side of the bank. When you receive the "Item Stored Persistently" message, exit the game, come back in.
That part of it is written assuming the server would be up long enough for a character to exit the banking area (get far enough from the container). It doesn't store things until a character leaves from away from the container so that it doesn't access the database as much (keeps the CPU usage for database swapping to a minimum.)
Trying to figure out what I'm doing wrong... I can't seem to get the storage vault to be persistant. Just loading your demo mod, not modifying anything, HotU 1.62.
Loading a game, placing an item in the vault, then depositing money in the banker conversation.
Exit game, come back as same character, open the vault, it's empty. But then I talk to the banker, and my balance is correct. Hmm something isn't right on my end I guess.
Suppose I'm gonna have to dismantle these scripts to see what's going on. Perhaps a 1.62 bug? I deleted everything in my /database folder, and kept testing.
Same thing tho, gold works fine but objects in vault won't stay over restart.
I want to compliment you on this script package. I've tried it and it works very well. You obviously have a good grasp of economics. Is this the type of thing you do in RL? :)
This is very useful for the mod I'm developing right now. I'm was already implimenting a dynamic supply/demand system, with a crafting system being secondary. Perhaps we should put our heads together?
Well, the banking information is stored in a database on the server, most likely in the C:/NWN/database/ folder. If you replace the module file, it will not destroy your database information.
The databases have been made interchangable with one other, so the data works with any version of the system that you use; if you upgrade to a newer version, it can use the old variables due to naming conventions.
You will simply need to use the same database that your older version uses, if you have changed anything in the script. If everything in the script is left to default, then it will work itself and there is no need to worry. :)
Just wanted to note to everyone: Just like the previous versions, this version also does NOT use a heartbeat in ANY instance of the system, for the lowest possible CPU impact.
The chest storage is OldManWhistler's PPIS system, slightly modified and integrated into this version of the system.
It uses a creature to store the items, for two main reasons;
less impact on the database (the creature is used as a liason for storage, rather than the database being continuously accessed), and for keeping the database small, neat, and tidy.
Though it would be nice to integrate a more realistic stock exchange system within this script (based upon supply/demand of a variety of goods in the world), it is not on the top of the priority list. I am 1) attempting to design a generic, use-anywhere script, and 2) a script designed to track supply and demand would (probably) have a trade skill system involved to be useful to most PW's, and trade skill systems (and the scripts that interact with them) can become quite bloated and usually require a great deal of customization to get it started.
I will think on this a while and figure out if supply/demand (in a more generic way, such as generic armor supply/demand, sword supply/demand, etc.) will be implemented in the future. I can most assuredly tell you that if any type of long-term investment system is in place, the system will not be based off of any trade skill system, as I try to stay away from integrating a system even bigger in size than this one into the package. If any trade skill system appears in this script, it will be the standard HotU crafting capacity, not any custom job.
The investment broker serves his purpose quite well, in my opinion. The main reason for this particular guy is to be a money sink of sorts; the odds to get really rich are low, but it is possible, so it helps to even out the economy (it gives something very rich players might want to spend their gold in, thus keeping gold in rotation).
Like the idea of the market and I would love to see it expanded and be a little *less* random, so to speak. For example, one might invest in Copper Futures, the return on which would depend on the actually supply/demand for copper in the world (yes, I'm thinking PW here).
For the chest storage, are you storing out to a creature (supporting dynamic appearance/properties) or via tag/resref?Carpe Terra, Project Lead
carpeterra.com
Well, anywho, GUYS! Don't just leave me hanging! :)
Don't let the same thing happen now that happened before. If you find bugs, report 'em.
If you thoroughly test the system, let me know that it works as intended.
The only way a system can be improved is from feedback. Testing it myself only goes so far, as I may miss something. (Harder for the person to code something to notice imperfections than someone who is unfamiliar with the system.) Try to break it for me, and let's get those kinks out. :P
Yes, if you wish to send correspondence again, feel free. Over the time since when I remember getting an email concerning this system and now, there has been like 6 months, 11 reformats (that I can remember specifically), and 4 OS changes. By now, I have lost all data that was not backed up on the web itself. lol
Words sometimes get minced up over forums, post boards, and guest books (not sure which would be the one we're posting to now, really). I apologize for being hostile or carrying derogatory inuendos through my speech. I spent a long night last night fixing this stuff, adding new features, and the like, then I come on the script page and see someone (not saying you meant it like this, just saying that's what it seemed to be to me at the time) saying they pretty much wrote everything that appeared in this update, it made me slightly ticked. :)
But, all that has been done away with. I believe it was a series of assumptions on both our sides that lead to this "argument" (of sorts), and I forgot my place, my reason for doing all of this in the first place: to help other people get going with something that most people do not like to code (let's face it, coding economy and banking is mundane, boring, etc. for most people).
Anyhow, I'm sorry for anything offensive/hostile/mean I may have said, but I hope that you can understand the way I felt and my reasons for saying what I did.