View previous topic :: View next topic |
Author |
Message |
Saboty
Joined: 13 Jan 2007 Posts: 2
|
Posted: Sat Jan 13, 2007 19:57 Post subject: Module doesn't seem to be loading |
|
|
All, any suggestions?
I used NWNX for NWN successfully and have since moved to NWN2 with teh most recent version of NWNX4 and took it through step by step in the set up, but it does not appear to actually load the module. I've double checked everything (like paths, etc), all else is correct (like server name, number of players, etc), but even when I amnually select the module it does not appear to load. Even when I go to the game and look at it for a LAN connection, it shows there but says "No Module"
Any idea what I'm doing wrong?
Saboty |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Sat Jan 13, 2007 22:05 Post subject: |
|
|
Just a couple of questions
- does your module have a valid starting location?
- when you manually select and press load, what does the status bar say?
- have you had a look in the server log files to see if there are any errors or issues? _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
Saboty
Joined: 13 Jan 2007 Posts: 2
|
Posted: Sun Jan 14, 2007 2:00 Post subject: |
|
|
The module does have a valid starting point
Nothing really happens when I select any of the modules (including mine or the OC modules) if I select them manually and press load. Status bar does not change.
I have looked at the logs:
NWNX MySQL Plugin V.0.0.1
(c) 2006 by Ingmar Stieger (Papillon)
visit us at http://www.nwnx.org
(built using mysql-5.0.27 source)
* Connecting to server localhost
* Connection to MySQL server failed:
Unknown database 'nwnx4data'
and
NWN Extender 4 V.0.0.6
(c) 2006 by Ingmar Stieger (Papillon)
visit us at http://www.nwnx.org
* Loading plugins...
* Loading plugin xp_mysql.dll: Error during plugin initialization.
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* Disabling general protection fault error dialog.
* NWNX4 activated. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun Jan 14, 2007 23:00 Post subject: |
|
|
You should first make sure that your module can be loaded without NWNX4. Just try it with nwn2server alone.
From your logs, I can see that MySQL is up and running, but there is not database (schema) called "nwnx4data". While that is not the cause of your current problem, you should remember to create it later on. _________________ Papillon |
|
Back to top |
|
|
Timex
Joined: 10 Jan 2007 Posts: 11
|
Posted: Wed Jan 17, 2007 19:16 Post subject: |
|
|
I seem to be having the same issue here.
I'm a software developer by trade, but I'm a bit of a newb when it comes to NWN, so please bear with me.
I'm trying to load the demo module for NWNx4. I followed the installation instructions for NWNX4, and it seemed to work. I already had MySQL on my machine from previous projects.
I can load the demo module using the regular nwn2 server, and can connect to it fine (although the nwnx plugins don't load correctly, since nwnx isn't running).
However, when I try to run the nwnx4 controller, I can't seem to load any modules. It gives the same behavior described above. The status bar doesn't change any.
Any help here would be greatly appreciated. For instance... I'm not even sure where the logs are located. Knowing that may be of assistance to me. |
|
Back to top |
|
|
Timex
Joined: 10 Jan 2007 Posts: 11
|
Posted: Wed Jan 17, 2007 19:32 Post subject: |
|
|
Okey doke.. found the log files.
Here's the result of my log:
* Loading plugins...
* Loading plugin xp_mysql.dll: Error during plugin initialization.
* Loading plugin xp_sqlite.dll: Error during plugin initialization.
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* Disabling general protection fault error dialog.
* NWNX4 activated.
* NWNX4 shutting down...
* NWNX4 shutdown successfull.
But, as described above, the module itself doesn't load.. or at least, doesn't seem to. No other error messages given though. |
|
Back to top |
|
|
Timex
Joined: 10 Jan 2007 Posts: 11
|
Posted: Wed Jan 17, 2007 19:46 Post subject: |
|
|
Ah, ok.. I think I figured out the issue.
So, in the nwnx4.ini file, there's a line:
# You can override the tempory path NWN2 uses
# This is where NWN2 will put its logfiles (among other files)
# no default
nwn2temp = C:\Projects\NWN\Logs
This wasn't set (I don't believe the instructions mentioned it, which is probably why I missed it in my rush to try and get this stuff going) to a valid directory on my machine.
Apparently, that was enough to make things choke. Once I set it to a valid directory, everything seems to work peachy. (or rather, the module loads at least. ) |
|
Back to top |
|
|
Lugoun
Joined: 18 May 2007 Posts: 36
|
Posted: Fri Oct 17, 2008 8:43 Post subject: |
|
|
Thread necromancy... I ran into this issue today when trying to get our server going again. The log filepath had changed and what was in the ini was invalid and I couldnt get a module to launch until I found this thread and corrected the filepath. _________________ Lugoun
www.hotta-rpg.org |
|
Back to top |
|
|
|