View previous topic :: View next topic |
Author |
Message |
Blacksting
Joined: 03 Jan 2005 Posts: 107
|
Posted: Sat Jan 08, 2005 19:55 Post subject: |
|
|
That would be a no |
|
Back to top |
|
|
Blayde Windwalker
Joined: 02 Jan 2005 Posts: 18
|
Posted: Mon Jan 10, 2005 2:57 Post subject: FInally all problems resolved |
|
|
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 |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Mon Jan 10, 2005 10:59 Post subject: |
|
|
Is someone having any problems with the module? Please state now, so we can finish this project up
Thanks for testing! |
|
Back to top |
|
|
Makzimia De Graf
Joined: 31 Dec 2004 Posts: 55 Location: San Diego CA.
|
Posted: Mon Jan 10, 2005 20:57 Post subject: |
|
|
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 |
|
|
Blacksting
Joined: 03 Jan 2005 Posts: 107
|
Posted: Mon Jan 10, 2005 23:04 Post subject: |
|
|
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 |
|
|
Blacksting
Joined: 03 Jan 2005 Posts: 107
|
Posted: Fri Jan 14, 2005 0:31 Post subject: |
|
|
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 |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Fri Jan 14, 2005 9:47 Post subject: |
|
|
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 |
|
|
Blacksting
Joined: 03 Jan 2005 Posts: 107
|
Posted: Fri Jan 14, 2005 9:58 Post subject: |
|
|
Alrighty then 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 |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Fri Jan 14, 2005 11:37 Post subject: |
|
|
Sounds interesting! Way to go! |
|
Back to top |
|
|
Manuel
Joined: 30 Dec 2004 Posts: 51
|
Posted: Fri Jan 14, 2005 17:35 Post subject: |
|
|
Blacksting wrote: | Alrighty then 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! _________________ I only know enough to be dangerous. |
|
Back to top |
|
|
Blacksting
Joined: 03 Jan 2005 Posts: 107
|
Posted: Fri Jan 14, 2005 22:48 Post subject: |
|
|
Here is the link to the revised second (web) connection nwnx_odbc.dll.
Revisednwnx_odbc.rar
Read the Information.txt included. |
|
Back to top |
|
|
Senalaya
Joined: 29 Dec 2004 Posts: 82 Location: Germany
|
Posted: Sun Jan 16, 2005 13:55 Post subject: |
|
|
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. |
|
Back to top |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Sun Jan 16, 2005 14:07 Post subject: |
|
|
Sorry ,
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 |
|
Back to top |
|
|
Senalaya
Joined: 29 Dec 2004 Posts: 82 Location: Germany
|
Posted: Sun Jan 16, 2005 14:37 Post subject: |
|
|
Any hint to the MySQL lib along with that error message would have been fine. I hate guessing! |
|
Back to top |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Sun Jan 16, 2005 15:35 Post subject: |
|
|
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
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 . |
|
Back to top |
|
|
|