View previous topic :: View next topic |
Author |
Message |
Athanor Salamander
Joined: 15 May 2005 Posts: 6
|
Posted: Tue Jan 30, 2007 12:33 Post subject: Question about HashSet |
|
|
Hi,
Have a question
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 |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Jan 30, 2007 15:28 Post subject: |
|
|
Yes, someone from the community is working on it. I am not sure what the current status is, though. _________________ Papillon |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Wed Jan 31, 2007 0:54 Post subject: |
|
|
*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 |
|
|
Athanor Salamander
Joined: 15 May 2005 Posts: 6
|
Posted: Wed Jan 31, 2007 16:02 Post subject: |
|
|
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 |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Wed Jan 31, 2007 18:00 Post subject: |
|
|
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 |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Wed Jan 31, 2007 20:58 Post subject: |
|
|
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 |
|
|
Gryphyn
Joined: 20 Jan 2005 Posts: 431
|
Posted: Wed Jan 31, 2007 22:54 Post subject: |
|
|
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
then take a break for a bit...
breaks over!
Cheers
Gryphyn |
|
Back to top |
|
|
Athanor Salamander
Joined: 15 May 2005 Posts: 6
|
Posted: Thu Mar 08, 2007 12:07 Post subject: |
|
|
Up ? _________________ "The Wolf, the Ram, the Hart"
Humanity is a Weakness Science.
Atha, Script Artist |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Thu Mar 08, 2007 17:50 Post subject: |
|
|
Down! _________________ Papillon |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
|
Back to top |
|
|
|