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 
 
NWNX!SQL!SET_ESCAPE_STRING showing up in PWData

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



Joined: 25 Nov 2006
Posts: 10

PostPosted: Sun Jan 14, 2007 14:43    Post subject: NWNX!SQL!SET_ESCAPE_STRING showing up in PWData Reply with quote

My pwdata has the occasional entry where any of the columns might hold "NWNX!SQL!SET_ESCAPE_STRING" instead of their actual value. Looking at the sql include didn't help me anything. It's odd since it seems to work usually.

Anyone know anything about this problem?

I'm running nwn2 1.03 with hotfix and 1.06 prototype.
Back to top
View user's profile Send private message
Fable



Joined: 25 Nov 2006
Posts: 10

PostPosted: Sun Jan 14, 2007 17:15    Post subject: Reply with quote

This seems to be caused by using a . (period) in the data passed through SQLEncode.... Can someone else confirm this bug?
Back to top
View user's profile Send private message
mostal



Joined: 29 Apr 2005
Posts: 60

PostPosted: Sun Jan 14, 2007 20:03    Post subject: Reply with quote

I have this bug with strings longer than 24 characters
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sun Jan 14, 2007 23:22    Post subject: Reply with quote

This is very high on my todo list. The problem has been mentioned in another thread, and there is an example how to reproduce it.

As soon as I get that GUI thing working, I'll take care of it.
_________________
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: Mon Jan 15, 2007 2:00    Post subject: Reply with quote

Papillon wrote:
This is very high on my todo list. The problem has been mentioned in another thread, and there is an example how to reproduce it.

As soon as I get that GUI thing working, I'll take care of it.


If I can sort out some other issues I've got a technique where this type of issue goes away altogether... stay tuned...
There are added benefits as well, with less nwn scripting, and faster performance.

Cheers
Gryphyn
Back to top
View user's profile Send private message
Grinning Fool



Joined: 12 Feb 2005
Posts: 264

PostPosted: Sun Jan 21, 2007 23:45    Post subject: Reply with quote

I've a fix for this; if you haven't already had a chance, I can send it over. Basically in SetEncodedString I malloc a new string instead of assigning the input directly; and in GetEncodedString I free it.
_________________
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: Mon Jan 22, 2007 0:16    Post subject: Reply with quote

Yes, please do. I wanted to have a look on Friday, but a lot of other things on nwnx.org came in the way. Rolling Eyes
_________________
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 Jan 22, 2007 0:24    Post subject: Reply with quote

sent
_________________
Khalidine, a NWN2 persistent world

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



Joined: 29 Apr 2005
Posts: 60

PostPosted: Mon Jan 22, 2007 7:47    Post subject: Reply with quote

Could you send me too please ?
Back to top
View user's profile Send private message
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Tue Jan 23, 2007 0:02    Post subject: Reply with quote

Grinning Fool wrote:
I've a fix for this; if you haven't already had a chance, I can send it over. Basically in SetEncodedString I malloc a new string instead of assigning the input directly; and in GetEncodedString I free it.

It's good to have thix fixed.
Wait for NWNX Junior source code to be available. Using parameter binding this functionality is no longer necessary.

Cheers
Gryphyn
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