View previous topic :: View next topic |
Author |
Message |
Nemrod_Haven
Joined: 27 Oct 2007 Posts: 5
|
Posted: Wed Oct 31, 2007 20:59 Post subject: NWNXCharacter Del bug fixed, Archive func added. |
|
|
Corrected the bug in NWNXCharacter that made us unable to use the DEL function (mostly a path bug). Path in nwnx_character script must use "/" in place of "\" as always.
Archive function added, renames the .bic to .bac instead of just deleting, example module provided inside.
Sources of course provided in.
http://hlmorphe.club.fr/xp_character_01.rar
But I have an annoying bug, as in, the DEL / ARC (SetString) Calls work fine when called from a placeable, but they never worked when called from a conversation, it's very very puzzling.
PS : New corrected sources / functions can of course be used freely. But please tell me if you find any hint about that bug. |
|
Back to top |
|
|
Nemrod_Haven
Joined: 27 Oct 2007 Posts: 5
|
Posted: Wed Oct 31, 2007 21:08 Post subject: |
|
|
Description of the remaining bug :
When you call ArchiveCharacter(oPC) from a conversation callback, it enters the script properly, retrieves the Bic Filename (GetString), Boots the character, as intended, seems to make a call to SetString but... nothing. SetString does not even fire up, no trail in the log. |
|
Back to top |
|
|
PhyrPhly
Joined: 16 Jun 2007 Posts: 25
|
Posted: Thu Nov 01, 2007 14:21 Post subject: |
|
|
Sounds to be that oPC is the "object" calling ArchiveCharacter. If that is the case, the script will stop when the object is no longer in game (has been booted). You should use an game object that will not be destroyed (at least until your script has been completed) to call ArchiveCharacter.
- PhyrPhly |
|
Back to top |
|
|
kungfoowiz
Joined: 12 Oct 2006 Posts: 61
|
Posted: Sat Dec 08, 2007 21:44 Post subject: |
|
|
Yo Nemrod
Gonna use these sources for the next version of NWNX-Character.
The link's dead though, can you put the files online again? |
|
Back to top |
|
|
Nemrod_Haven
Joined: 27 Oct 2007 Posts: 5
|
Posted: Wed Dec 26, 2007 20:10 Post subject: |
|
|
rar has been reuploaded at the same location, same link, apologies. |
|
Back to top |
|
|
kungfoowiz
Joined: 12 Oct 2006 Posts: 61
|
Posted: Thu Dec 27, 2007 7:29 Post subject: |
|
|
Thx's. |
|
Back to top |
|
|
|