This robust code allows you to export reliabily all the PCs in a game, no need to use the 'autosave game' feature or the dangerous ExportAllCharacters() function. The PC autosave is triggered by a timer. Last version avoids excesive hard disk usage picks when saving all PCs, and avoids the Shifter PrC Bugs. Easy configuration. There is a very improved version of another similar scripts in the vault. The original functions 'Export*', don't work if used when the character is not in an area (it is loading). This script is more robust because it makes second trials in a few seconds if the PC cannot be saved. The messages help you to set a correct saving time. The zip includes an .erf (HotU 1.64) and the code in .txt archives, for SoU users. It contains the include file, and an *example* OnLoad script. Two versions: english and spanish. Two new functions: ExportSingleCharacterFix() ExportAllCharactersFix() Note: Sorry for the bad english.
How can i tell if this is working?
I did what you said but do not see a prompt saying it was saved. seems simple to impliment your script but don't know if its working can you help I just want to do away with the auto save screen that comes up w/ the searver save. I' read throuh most of this vault and this is about the four differnt angle i have tryed to get my searver to save on its owen someone please send me an e-mail if you can help. sorry for spamming for help here.
I will have to check this out. I downloaded the database you made, and I thought it was done well other than I can't get the locations to be saved properly. Demo works, but not my mod... going to test a few other things and then I want to download this to see how well it works. When does this save the character? When they zone or level? Or does a certain number of minutes go by between saves?
Hey. I hope you still check this thread, 'cause I need a little help with your script. I've installed it in my PW mod, and it is amazing! *BUT* my problem is this.
Whenever the PC's are saved, I get the "PC saved to vault" message twice.
As well as the other messages that go off when trying to save during area trans.
All messages show up in double. What am I doing wrong?
Posted by Cuthbert503 at 2005-06-11 00:57:19 Voted 10.00 on 06/11/05
/
Posted by Cryolithic ( 142.179.xxx.xxx ) at 2004-12-01 23:35:00
Although this does work for shifters, it doesn't avoid problems with characters using the shapeshift spell.
IntrepidCW,
Thanks for posting this script. This will definitely be useful in my PW module. I like this better than the the selectable in game autosave feature since it only saves the PC's to the server vault which is all I care for it to do.
actually, if this is used with server vault PCs, then it exports the PCs to the server vault, not to the local vault (learned this from DM Akalima of the UO: NWN server). This is good for PWs that might go down and don't want to deal with people complaining that they lost a ton of xp, gold, items, etc. _________________________ -I pwn n00bs-
It forces the game to export the player characters in the game to the local vault. It is better than saving the entire game (don't slowers the game, no lag).
It saves: xp, gold, stats, objects of the PC... never locations or actual hitpoints (excellent scripts in the vault will do that).
It doesn't use any database, and don't interferes with any permanency system. It only makes sure that the Player Characters information is always safe even if the server falls down.
I hope it answers the question.
(Note: don't use it in a solo game, because in a solo game NWN don't overwrite the character, it makes a copy)
You must be Logged In to post comments in this section.