Description:
This system uses the NWN database to store PC stats,
which the PC can then view by using the Book of
STatistics and other PCs can also see these stats.
The system uses colors to show the stats without
the need for a color Placeable. This system also
keeps a persistent calendar for your module...
(The module Calendar keeps going forward even
through server resets)
Stats included:
* Current Session Game Time
* Pc Creation Game Date
* Total Kills
* Total Deaths
* Average Kill Challenge Rating
* Stongest Kill (By CR)
* Favorite Weapon
* Last Creature Killed By
* Last PC Killed By
Update: 05.09.05
The system now uses Knat's excellent ndbe system to Get and Set the persistent variables.
Added more customization to the main include script: Now there are switches to allow a builder to turn on or off a specific stat (in case the builder doesn't want a certain stat listed in their module).
Changed the way the text looks... now it all shows up at once over the PC's head instead of at intervals. IMHO it looks much nicer this way.
Made a minor change to the text colors.
Update 2 05.09.05:
Added conversation file (oops)
Changed the system so only an associate's master will be used (ie. for summons, henchman, familiars, etc).
I think I was able to get this set up right, but I had a question, my dbf file is growing at an alarming rate, I didn't really understand the function of flushing using the ndbe, or do I even have to?
btw ty for posting this script _________________________ Killing innocent hero's one step at a time
Posted by Invizible420 ( 24.177.xxx.xxx ) at 2005-08-22 06:12:11
Hey... I'm back... been without internet for awhile. Anyways, to address all your concerns:
gerrrr: By default the system uses a conversation file which is not floaty text, but because there's no responses in the dialog it appears like floaty text. This is the correct behavior. If you want a conversation window to popup just open the conversation file i420_d_pstats and add an input text line that would say EXIT.
Kanon1982: If you open the i420_s_inc_pstat script near the top you will see :
CAMPAIGN = "i420STATSCDB";
Basically you change what is inside the quotes to match whatver persistent database name you are using for you module.
Sir_Mathis_Kyngston: I actually thought of this when I was coding the script but it didn't seem plausible to have it against other players. What I will do is add code to the update that will be released shortly to allow the module builder to customize rank names based just on number of kills.
LordDelekhan: This is corrected in the next update.
xNIGHTMAREx: I also corrected this in the next update.
The next update should be available sometime this week.
Posted by xNIGHTMAREx at 2005-08-03 21:28:49 Voted 10.00 on 08/03/05
First off, this is a cool system. ^_^
LordDelekhan is right. Its set for 30 and NWN runs on 28.
Another thing is that when using Knat's NBDE system, he suggest that you delay all Flush commands by at least 1 second.
I was wondering if you are currently or planning on updating this. _________________________ [ Scripter / Builder / Player / DM ]
The one true nightmare is that what lies within.
--------
Come join us in Netheria!
> Realms of Netheria
Posted by xNIGHTMAREx at 2005-08-03 21:04:05 Voted 10.00 on 08/03/05
AWESOME! ^_^ _________________________ [ Scripter / Builder / Player / DM ]
The one true nightmare is that what lies within.
--------
Come join us in Netheria!
> Realms of Netheria
Hi,
As the result of a recient inquirey about compatability between my recient released pw clock and this script I was inclined to examine it to see if what was requested was possible. In the course of my examination I discovered an error in your calculations for the session total time. Your current calculation is based on a 30 day month, however the game engine operates on a 28 day month. You can verify this by checking the information related to the SetCalander function, you will note that it defines the range for nDay to be 1-28 inclusive.
I would have emailed this info to you but there is no email for you here.
Hey,
Invizible420. I just wanted to tell you that I am enjoying your script. I can see a use for this on my PvP Server I am running. I was wondering if you every thought of adding a �Ranking System� for PvP�s, based on the number of kills from a player against another player. Then give them status like the following: Novice, Skilled, Amateur, Challenger, and Champion, etc� Once again Thanks for a wonderful script. In fact I was looking for something based on the database system.
Hey,
Invizible420. I just wanted to tell you that I am enjoying your script. I can see a use for this on my PvP Server I am running. I was wondering if you every thought of adding a �Ranking System� for PvP�s, based on the number of kills from a player against another player. Then give them status like the following: Novice, Skilled, Amateur, Challenger, and Champion, etc� Once again Thanks for a wonderful script. In fact I was looking for something based on the database system.
Hey Invizible420, I am really enjoying your script. I can see a place for this on my PvP Server. Is there away to set it the script up for a ranking system. So when a player character reaches a certain numbers of kills he is given a status. Like Novice, Skilled, Amateur, Challenger and Champion. If so that would be great. Thanks again for a wonderful script.
I don't understand the passage in which u tell to change the string CAMPAIGN to my database name? Can u tell me exactly what to do cause i don't know what's wrong. Thx
Posted by gerrrrrr ( 24.247.xxx.xxx ) at 2005-05-30 19:21:07
how do we get rid of the darn floating text above the players??? its annoying AS ALL HECK, I set it to false but it still shows it, I tried to remove the line for it, but it still shows it??? what do I have to do to get rid of it??
Posted by Phunic Ivdon at 2005-05-25 09:49:25 Voted 9.00 on 05/25/05
This is a fantastic little feature that has been added to my PW, Realms Of Netheria.
Keep up the good work! _________________________ -Phunic Ivdon
Realms Of Netheria PW
Gamespy Room: PW Action
Server: 0 ' Phunic's Server
Website: netheria.atspace.com
Posted by Samurai_Ratt at 2005-05-15 22:14:05 Voted 9.50 on 05/15/05
Wow, it worked perfect. Very ingenious I must say. I actually turned off the entire game and turned it back on and recent stats were still there. I think I�ll use this in my module, so far I got Lilac Soul and now Invizible420 to give credit too. I think I�ll make a hall of commemoration in my PW I�m making. Most of all it seems easy and can be done anware in the game and looks easy to read, I recomend this one. Well done. Keep up the good work.
Posted by Samurai_Ratt at 2005-05-15 22:09:30 Voted 9.50 on 05/15/05
Wow, it worked perfect. Very ingenious I must say. I actually turned off the entire game a turned it back on and recent stats were still there. I think I�ll use this in my module, so far I got Lilac Soul and now Invizible420 to give credit too. I think I�ll make a hall of commemoration in my PW I�m making. i recomend this one. Well done.
Posted by MokahTGS ( 216.51.xxx.xxx ) at 2005-05-10 06:44:44
Please tell me you're planning to make the move to NWN2 when it's time. I've always been a fan especially of your no hak creatures.
I actually mean to update it with to make the database calls more efficient. Give me a few days for an update. _________________________ Enjoy.
- Invizible420
Posted by Fu_Miga at 2005-05-08 18:31:26 Voted 9.50 on 05/08/05
useful and well done... thanks _________________________ ========================
The SAGA Project
======================== Link
Friendship based RP club
========================
Posted by Fu_Miga at 2005-05-08 18:30:37 Voted 9.50 on 05/08/05
Hmmm... SAGA has this kind of statistics scripted by me for about 5 months, but i never included some features yours have though mine counts all deaths per race, gambling and quests, i'll give a look and ad what i see fit with proper credits.
Good going here, mine is script hevay and I never had the urge to export it to post!
Thanks _________________________ ========================
The SAGA Project
======================== Link
Friendship based RP club
========================
You must be Logged In to post comments in this section.