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 
 
Campaign Objects

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



Joined: 17 Nov 2006
Posts: 122

PostPosted: Mon Dec 11, 2006 2:12    Post subject: Campaign Objects Reply with quote

I understand that Get/SetPersistentObject() is not working in NWNX4 right now.

I am actually looking for an explaination/education on StoreCampaignObject() and RetrieveCampaignObject(). When I store an item in the default NWN2 DBF database, does it save everything with it; like variables, item properties, Name (if I changed it), etc.? And when I Retrieve it, will it restore everything correctly?

What happens if you store a Local Object on an item and then Store the item in the campaign DB? What gets stored as the LocalObject var (if anything) and what will it bring back from the DB when you retrieve it?

I would ask this on the NWN2 forums, but there is just too much crap on there and I don't really want to have to sift through it just now.

Also, how will Get/SetPersistentObject() in NWN4?
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Mon Dec 11, 2006 3:02    Post subject: Reply with quote

Ok, after testing, Variables are saved and retrieved correctly using the Campaign Database. I quess, what I trying to figure out is how it works. I am looking in the DBF file at the data and there just isn't much there except for the VarName and "UTI 3.28" in the MEMO field.
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Mon Dec 11, 2006 7:32    Post subject: Reply with quote

Urlord wrote:
Ok, after testing, Variables are saved and retrieved correctly using the Campaign Database. I quess, what I trying to figure out is how it works. I am looking in the DBF file at the data and there just isn't much there except for the VarName and "UTI 3.28" in the MEMO field.
Apparently, your DBF editor doesn't support MEMO fields in binary format. Find one that does - and you'll see that MEMO field doesn't end just with "UTI 3.28".
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Mon Dec 11, 2006 15:09    Post subject: Reply with quote

virusman wrote:
Urlord wrote:
Ok, after testing, Variables are saved and retrieved correctly using the Campaign Database. I quess, what I trying to figure out is how it works. I am looking in the DBF file at the data and there just isn't much there except for the VarName and "UTI 3.28" in the MEMO field.
Apparently, your DBF editor doesn't support MEMO fields in binary format. Find one that does - and you'll see that MEMO field doesn't end just with "UTI 3.28".


Any recomendations on a DBF editor that does?
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
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