View previous topic :: View next topic |
Author |
Message |
nachopala
Joined: 20 May 2007 Posts: 6
|
Posted: Sun May 20, 2007 2:03 Post subject: Noob needs help setting up Database |
|
|
Ok, here's the thing, ì'm struggling with nwnx and the database, i almost have it done, but it seems that i dont understand the basics. So, i thought that if i could ask the right questions ill be back in track.
I undestand scripting in nwn very well, i have a great idea of using MySQL, due to work with Webpages, but anyway i cant find the way to get them working together.
So, here comes the questions:
I Understand that I can use MySQL.
So, wich is the best software option for hosting it? Windows service maybe?.
Then, wich is the best software option for accesing the DB?
The Database should have only the PW table? or i can add my own?
The scripting part seems to be clear in the documentation.
Oka, thats all for now, im sorry if all this seems too basic, but i am very exited about working with this amazing tools in my module, i've been searching the net for several days and i couldnt find anything that gets me out of this hole. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun May 20, 2007 14:30 Post subject: Re: Noob needs help setting up Database |
|
|
This is just my personal preference, but I would answer your questions like so:
nachopala wrote: | So, wich is the best software option for hosting it? Windows service maybe?. |
Definitely windows service.
nachopala wrote: | Then, wich is the best software option for accesing the DB? |
If would use the tools provided by MySQL as seperate download for starters, namely MySQL Administrator and MySQL Query Browser.
nachopala wrote: | The Database should have only the PW table? or i can add my own? |
In fact, you are encouraged to add your own tables. Since you said you know MySQL, you probably also know how to create, fill, and query your own tables. The purpose of the pwdata table is just to provide a starting point for basic use of NWNX and for providing alternatives to the Bioware DB functions. Useing your own data structures which are specific to your problem should result in better performance and cleaner nwscript code. _________________ Papillon |
|
Back to top |
|
|
nachopala
Joined: 20 May 2007 Posts: 6
|
Posted: Sun May 20, 2007 18:41 Post subject: |
|
|
Thanks a lot for the fast answer, it has clarified everything to me.!! Now im ready to rock the PW. |
|
Back to top |
|
|
|
|
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
|