View previous topic :: View next topic |
Author |
Message |
archer4217
Joined: 17 Feb 2010 Posts: 3
|
Posted: Wed Feb 17, 2010 1:37 Post subject: NWNX2 or SQL or both? |
|
|
Hi all,
Our mod has been having issues with date and time so I decided we need a better database than the default nwn one.
My question is, will NWNX2 be sufficient or is SQL needed as well?
Thank in advance. |
|
Back to top |
|
|
MaxRock
Joined: 24 Jan 2008 Posts: 196
|
Posted: Wed Feb 17, 2010 2:59 Post subject: |
|
|
You can't really have one without the other:
NwNX2 (more specifically one of its plug ins) provides scripting functionality to access a database other than the default bioware one; e.g: MySQL, SQLite or MSSQL.
So you'll have to get the nwnx base which comes with database (odbc) functionality for MySQL and SQLite. Then you will have to set up the database itself |
|
Back to top |
|
|
Zebranky
Joined: 04 Jun 2006 Posts: 415
|
Posted: Wed Feb 17, 2010 4:16 Post subject: |
|
|
The "better database" you're looking for *is* SQL (more properly, a DB using SQL, such as MySQL or SQLite). NWNX just allows you to access that database from NWN (and it can do many other things, but that's another story). _________________ Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/
<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.
<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for? |
|
Back to top |
|
|
archer4217
Joined: 17 Feb 2010 Posts: 3
|
Posted: Wed Feb 17, 2010 8:48 Post subject: |
|
|
Thank you both, and hi there Zebranky, long time-no see. You might not remember me, but you and others used to help me a lot in Mirc. I ended up scrapping the old mod and starting a new one, then had to wipe my drive, then got a new computer and couldn't remember how to find you guys again.
So, I'll go ahead and download sqlite.
Thanks again. I'm sure I'll come begging for more help. |
|
Back to top |
|
|
archer4217
Joined: 17 Feb 2010 Posts: 3
|
Posted: Wed Feb 17, 2010 10:06 Post subject: |
|
|
Ok, so I downloaded sqlite from here http://www.sqlite.org/download.html
got the recommended amalgamation and opened up the zip and found these 3 files: sqlite 3.c, sqlite 2.h, sqlite3ext.h
Where should I put them? |
|
Back to top |
|
|
Gryphyn
Joined: 20 Jan 2005 Posts: 431
|
Posted: Wed Feb 17, 2010 13:06 Post subject: |
|
|
archer4217 wrote: | Ok, so I downloaded sqlite from here http://www.sqlite.org/download.html
got the recommended amalgamation and opened up the zip and found these 3 files: sqlite 3.c, sqlite 2.h, sqlite3ext.h
Where should I put them? |
Sqlite gets embedded with the application, you don't need all those files as the plugin was built using them.
When you use the default configuration Sqlite will be chosen. This will create a file on your server which contains the data.
This is the simplest database use, but it doesn't give you any tools for using the database outside of NWN. (you can download a separate tool if you can find one) |
|
Back to top |
|
|
Fireboar
Joined: 17 Feb 2008 Posts: 323
|
Posted: Thu Feb 18, 2010 15:26 Post subject: |
|
|
Yes, basically if you want to use SQLite, you don't need anything except NWNX2 and the nwnx_odbc plugin. |
|
Back to top |
|
|
Asparius
Joined: 18 Sep 2007 Posts: 52
|
Posted: Mon Feb 22, 2010 23:51 Post subject: |
|
|
Hmmm if I recall, SQLite embedded in NWNX was outdated - is it fixed at this moment? |
|
Back to top |
|
|
Fireboar
Joined: 17 Feb 2008 Posts: 323
|
Posted: Tue Feb 23, 2010 14:47 Post subject: |
|
|
Not that I know of - SQLite is not a great solution in any case - if you just want SQL functionality for variable or object storage then SQLite is fine. If you want to run a proper server on it, then installing MySQL is a better option. |
|
Back to top |
|
|
|