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 ODBC ALPHA released!
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Blacksting



Joined: 03 Jan 2005
Posts: 107

PostPosted: Sat Jan 08, 2005 19:55    Post subject: Reply with quote

That would be a no Smile
Back to top
View user's profile Send private message
Blayde Windwalker



Joined: 02 Jan 2005
Posts: 18

PostPosted: Mon Jan 10, 2005 2:57    Post subject: FInally all problems resolved Reply with quote

Dooh, I had been useing MySQL 4.1 which is the recommend release.

As soon as I went back to 4.0 everything went very well.
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Mon Jan 10, 2005 10:59    Post subject: Reply with quote

Is someone having any problems with the module? Please state now, so we can finish this project up Very Happy

Thanks for testing!
Back to top
View user's profile Send private message Visit poster's website
Makzimia De Graf



Joined: 31 Dec 2004
Posts: 55
Location: San Diego CA.

PostPosted: Mon Jan 10, 2005 20:57    Post subject: Reply with quote

Jeroen, I am in the middle of a big change to the way we handle players, and I have not had time to confirm whether or not the issues still remain with your new module. I am anticipating use of it on the test server following this week. It's not a huge task to check once I have time. Please bare with me on this though.

Thanks.

Makz.
_________________
Makzimia De Graf

DM/Creator Island of Fredian
fredian.game-host.org:5123
Forums at http://castille.us/fredian/Forums
Back to top
View user's profile Send private message
Blacksting



Joined: 03 Jan 2005
Posts: 107

PostPosted: Mon Jan 10, 2005 23:04    Post subject: Reply with quote

All seems well. I did encounter a brief period when the odbc module stopped sending response data back completely. The log did not even show "response 0 bytes" but it did log the request. A complete script rebuild with an external compiler (without changing any lines of NWN script mind you) fixed the problem so I am chalking it up to the increasingly unreliable compiler in the toolset. If it happens again I will investigate further.
Back to top
View user's profile Send private message
Blacksting



Joined: 03 Jan 2005
Posts: 107

PostPosted: Fri Jan 14, 2005 0:31    Post subject: Reply with quote

Now that the new odbc source has been released (woohoo!) I will be adding a bit to it for anyone that is interested. A second sql connection will be available to send data to a web site. The ini file can include webip, webuser, webpwd, and webdb lines.

If an SQL query is prefaced with a * (e.g. "*UPDATE blah SET blahvar = 'blah') it will use the web sql connection instead.

If this is interesting to anyone let me know and I will give a link to the expanded dll.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Fri Jan 14, 2005 9:47    Post subject: Reply with quote

Cool, a second database connection. FYI, I am planning to integrate multiple database connections into ODBC2 sometime in the (somewhat) near future.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Blacksting



Joined: 03 Jan 2005
Posts: 107

PostPosted: Fri Jan 14, 2005 9:58    Post subject: Reply with quote

Alrighty then Smile If anyone wants this one in the mean time say so. I have to package up the revised odbc.dll and the slightly revised aps_inc (which adds a "Fetch" switch to the NWNX code for fetching web db data.)
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Fri Jan 14, 2005 11:37    Post subject: Reply with quote

Sounds interesting! Way to go!
Back to top
View user's profile Send private message Visit poster's website
Manuel



Joined: 30 Dec 2004
Posts: 51

PostPosted: Fri Jan 14, 2005 17:35    Post subject: Reply with quote

Blacksting wrote:
Alrighty then Smile If anyone wants this one in the mean time say so. I have to package up the revised odbc.dll and the slightly revised aps_inc (which adds a "Fetch" switch to the NWNX code for fetching web db data.)


Web data is always good! Wink
_________________
I only know enough to be dangerous.
Back to top
View user's profile Send private message
Blacksting



Joined: 03 Jan 2005
Posts: 107

PostPosted: Fri Jan 14, 2005 22:48    Post subject: Reply with quote

Here is the link to the revised second (web) connection nwnx_odbc.dll.

Revisednwnx_odbc.rar

Read the Information.txt included.
Back to top
View user's profile Send private message
Senalaya



Joined: 29 Dec 2004
Posts: 82
Location: Germany

PostPosted: Sun Jan 16, 2005 13:55    Post subject: Reply with quote

JeroenB,

you are a bad boy!

Why does nwnx_odbc (v. 0.92) require the 'libmysql.dll', allthough I use ODBC????

Without the MySQL DLL, the NWNX logfile looked like this:
Code:
NWN Extender V.2.6.1
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org

* Loading plugins...
* An error occured while loading extension odbc (126: The specified module could not be found. )
* Plugin profiler is loaded.
* NWNX2 activated.
* Library ODBC!SPACER does not exist.* Library ODBC!EXEC does not exist.* NWNX2 shutting down...
* NWNX2 shutdown successfull.


After adding the MySQL DLL to the NWN dir, it worked just fine. Mayhaps you should clean that up a little and refrase the error messages. Razz
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Sun Jan 16, 2005 14:07    Post subject: Reply with quote

Sorry Rolling Eyes ,

I can not help it that it needs the libmysql library as it still depends on it why not even use the direct connection type. I will update the manual to note that is a required library.

126: The specified module could not be found.: this is a message generated by the Win32 api. When a load of a DLL fails, NWNX calls the FormatMessage function which produces this message. I can not do anything about that.

btw. Pap noticed this yesterday too Twisted Evil
Back to top
View user's profile Send private message Visit poster's website
Senalaya



Joined: 29 Dec 2004
Posts: 82
Location: Germany

PostPosted: Sun Jan 16, 2005 14:37    Post subject: Reply with quote

Any hint to the MySQL lib along with that error message would have been fine. Razz I hate guessing! Evil or Very Mad
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Sun Jan 16, 2005 15:35    Post subject: Reply with quote

Especially for you I have done some work on it and came up with the ideal solution! You don't need the mysql dll file anymore. The plugin is now statically linked to mysql and has no dependencies on seperate file anymore. I hope you like it Smile

You can download the last version (0.9.2.1) from here and throw the libmysql.dll file away from your computer unless you have other plugins that need it Wink.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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