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 
 
Question about HashSet

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
Athanor Salamander



Joined: 15 May 2005
Posts: 6

PostPosted: Tue Jan 30, 2007 12:33    Post subject: Question about HashSet Reply with quote

Hi,
Have a question Rolling Eyes
Does the incredible Hashset dll for NWNx2, is in progress for NWNx4 ?

Best regards,

Atha.
_________________
"The Wolf, the Ram, the Hart"
Humanity is a Weakness Science.

Atha, Script Artist
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue Jan 30, 2007 15:28    Post subject: Reply with quote

Yes, someone from the community is working on it. I am not sure what the current status is, though.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Grinning Fool



Joined: 12 Feb 2005
Posts: 264

PostPosted: Wed Jan 31, 2007 0:54    Post subject: Reply with quote

*raises hand guiltily* That'd be me. I'm digging my way out from under a backlog of work, but I expect to be caught up (-finally-) and providing that by this weekend.
_________________
Khalidine, a NWN2 persistent world

Looking for volunteers.
Back to top
View user's profile Send private message
Athanor Salamander



Joined: 15 May 2005
Posts: 6

PostPosted: Wed Jan 31, 2007 16:02    Post subject: Reply with quote

Thanks a lot.
Hum just another question. I used hashsets in NWNx2 to create recordsets for my database acces from Neverwinter nights and I had a problem. The hashset was limited in space (255 characters ?).
I would like to know if it were envisaged to extend the capacity of data of these hashsets.
_________________
"The Wolf, the Ram, the Hart"
Humanity is a Weakness Science.

Atha, Script Artist
Back to top
View user's profile Send private message
Grinning Fool



Joined: 12 Feb 2005
Posts: 264

PostPosted: Wed Jan 31, 2007 18:00    Post subject: Reply with quote

The limit is set in nwscript itself, by the 'spacer' that gets sent out with the hashset calls. The spacer is set to 255 bytes by default -- since that's enough for most usages, it will remain the same. However, you can increase the limit just by increasing the spacer size itself. (Once I'm in front of the computer tonight, I can give specifics on the filename and variable to change)
_________________
Khalidine, a NWN2 persistent world

Looking for volunteers.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Wed Jan 31, 2007 20:58    Post subject: Reply with quote

In the near future, the dependency on the spacer variable will be gone entirely. But that's something for NWNX4 1.08 or 1.09...
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Wed Jan 31, 2007 22:54    Post subject: Reply with quote

Papillon wrote:
In the near future, the dependency on the spacer variable will be gone entirely. But that's something for NWNX4 1.08 or 1.09...

Whoo hoo!
It was pain having to pass a string ( at least 4 bytes? ) to activate a function that didn't return anything to the game. NWNXJr Binding functions.
I'm guessing this will also allow empty strings (""/void) to be passed as a value/parameter.
I'd prefer to update and set a value to an empty string rather than delete, and later reinsert a row - more than 8x quicker using the update method.
I cringe at the thought of "****" = null (like with 2DA's).

Oh well, future work.
Farm the source for the rest of us Wink
then take a break for a bit...



breaks over!

Cheers
Gryphyn
Back to top
View user's profile Send private message
Athanor Salamander



Joined: 15 May 2005
Posts: 6

PostPosted: Thu Mar 08, 2007 12:07    Post subject: Reply with quote

Up ? Surprised
_________________
"The Wolf, the Ram, the Hart"
Humanity is a Weakness Science.

Atha, Script Artist
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Thu Mar 08, 2007 17:50    Post subject: Reply with quote

Down! Laughing
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Grinning Fool



Joined: 12 Feb 2005
Posts: 264

PostPosted: Mon Apr 09, 2007 0:07    Post subject: Reply with quote

After many, many..many delays this is now available for NWNx4:

http://www.nwnx.org/index.php?id=81
_________________
Khalidine, a NWN2 persistent world

Looking for volunteers.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules 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