logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NWNXCharacter Del bug fixed, Archive func added.

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Development
View previous topic :: View next topic  
Author Message
Nemrod_Haven



Joined: 27 Oct 2007
Posts: 5

PostPosted: Wed Oct 31, 2007 20:59    Post subject: NWNXCharacter Del bug fixed, Archive func added. Reply with quote

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
View user's profile Send private message
Nemrod_Haven



Joined: 27 Oct 2007
Posts: 5

PostPosted: Wed Oct 31, 2007 21:08    Post subject: Reply with quote

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
View user's profile Send private message
PhyrPhly



Joined: 16 Jun 2007
Posts: 25

PostPosted: Thu Nov 01, 2007 14:21    Post subject: Reply with quote

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
View user's profile Send private message
kungfoowiz



Joined: 12 Oct 2006
Posts: 61

PostPosted: Sat Dec 08, 2007 21:44    Post subject: Reply with quote

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
View user's profile Send private message
Nemrod_Haven



Joined: 27 Oct 2007
Posts: 5

PostPosted: Wed Dec 26, 2007 20:10    Post subject: Reply with quote

rar has been reuploaded at the same location, same link, apologies.
Back to top
View user's profile Send private message
kungfoowiz



Joined: 12 Oct 2006
Posts: 61

PostPosted: Thu Dec 27, 2007 7:29    Post subject: Reply with quote

Thx's.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group