View previous topic :: View next topic |
Author |
Message |
Shiner
Joined: 04 Jan 2007 Posts: 4
|
Posted: Tue Jan 09, 2007 2:49 Post subject: No module loaded |
|
|
Its very strange.
I tried the 1.06 on localhost and everything was ok.
Tonight i tried with a remote server (with a friend of mine there), and we incurred in a very strange problem.
Nwnx4 start as well but no module loaded..
Path of Nwn2 custom mod: C:\Documents and Settings\user\Documenti\Neverwinter Nights 2
[/list] |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Jan 09, 2007 12:07 Post subject: |
|
|
Please try and see if loading the module works without NWNX4. It has been observed on a couple of occassions that nwn2server does not load modules properly.
Just create a shortcut to the server executeable and add "-module mymodulename" as parameter. If that does not work either, the fault is on the NWN2 side. _________________ Papillon |
|
Back to top |
|
|
Shiner
Joined: 04 Jan 2007 Posts: 4
|
Posted: Tue Jan 09, 2007 13:20 Post subject: |
|
|
Ok, added -module mymodule to the original nwn2server and it loaded as well.
I really dont understand why it doesnt work with nwnx4.. |
|
Back to top |
|
|
Shiner
Joined: 04 Jan 2007 Posts: 4
|
Posted: Tue Jan 09, 2007 15:44 Post subject: |
|
|
It seems Nwnx4 cant read in my documents folder.. |
|
Back to top |
|
|
Shiner
Joined: 04 Jan 2007 Posts: 4
|
Posted: Tue Jan 09, 2007 15:58 Post subject: |
|
|
Got it!
nwn2temp = D:\Projekte\NWNX4svn\bin\dist
In my local server i have two partition but on remote one i havent, then it incurred in error. |
|
Back to top |
|
|
Energia
Joined: 05 Jun 2006 Posts: 19
|
Posted: Thu Jan 11, 2007 10:18 Post subject: |
|
|
Same problem.
Some mod are loaded, others no.
But if I use the interactive service "C:\nwnx4\NWNX4_Controller.exe -interactive" the mod is loaded.
nwnx.ini:
nwn2 = C:\Programmi\Atari\Neverwinter Nights 2
nwn2temp = C:\Projekte\NWNX4svn\bin\dist
parameters = -module prova
Nwn4 is in directory C:\nwnx4
Nwn2 is in directory C:\Programmi\Atari\Neverwinter Nights 2
Module is in directory C:\Documenti\Neverwinter Nights 2\modules
O.S.: Win XP SP2 Home and Professional italian |
|
Back to top |
|
|
Gryphyn
Joined: 20 Jan 2005 Posts: 431
|
Posted: Thu Jan 11, 2007 13:34 Post subject: |
|
|
Energia wrote: | Same problem.
Some mod are loaded, others no.
But if I use the interactive service "C:\nwnx4\NWNX4_Controller.exe -interactive" the mod is loaded.
nwnx.ini:
nwn2 = C:\Programmi\Atari\Neverwinter Nights 2
nwn2temp = C:\Projekte\NWNX4svn\bin\dist
parameters = -module prova
Nwn4 is in directory C:\nwnx4
Nwn2 is in directory C:\Programmi\Atari\Neverwinter Nights 2
Module is in directory C:\Documenti\Neverwinter Nights 2\modules
O.S.: Win XP SP2 Home and Professional italian |
try using nwn2temp = .\temp
This will keep the log file (and others) as a subfolder of your NWN2 Folder.
--avoids any complications with 'win-user' access.
Cheers
Gryphyn |
|
Back to top |
|
|
Energia
Joined: 05 Jun 2006 Posts: 19
|
Posted: Thu Jan 11, 2007 14:57 Post subject: |
|
|
Thank you for the answer, but mod is not loaded.
This is serverLog1.txt:
[Thu Jan 11 13:40:07] Loading Module: prova
TRANS: [Thu Jan 11 13:40:07]Not decompressing as not loading from a previously visited module.
[Thu Jan 11 13:40:07]---- Server Options ----
Max Players: 6
Char Levels: (1-20)
Player Password: NO
DM Login Enabled: YES
Server Admin Login Enabled: YES
Post Game To Internet: YES
Game Type: Azione
Difficulty: 2
PVP Setting: PARTY
Vault: LOCAL
Only One Party: YES
Enforce Legal Characters: YES
Item Level Restrictions: NO
Player pausing: DISABLED
Auto Save: Enabled
Saving Characters in Saved Game
---- End Server Options ----
............................
And this is nwnx.txt:
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_sqlite.dll: Error during plugin initialization.
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* Disabling general protection fault error dialog.
* NWNX4 activated.
I don't use it, but do I have to always install MySql? |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Thu Jan 11, 2007 19:22 Post subject: |
|
|
Energia - is this a module saved as a .mod file, or in directory mode?
And to answer your question - no, as far as I know, you actually don't need to load any plugins at all. To prevent that error message, remove the xp_mysql.dll and xp_sqlite.dll files from from the folder. _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
Energia
Joined: 05 Jun 2006 Posts: 19
|
Posted: Fri Jan 12, 2007 10:01 Post subject: |
|
|
Grinning Fool wrote: | Energia - is this a module saved as a .mod file, or in directory mode? |
Where is differente between mod and directory mode?
Mod is saved in this directory:
c:\Documenti\Neverwinter Nights 2\modules (o.s. is in italian).
I use a World Map and I created a directory called: c:\Documenti\Neverwinter Nights 2\Campaigns\MODNAME
Nwn4:
C:\nwnx4
Game:
C:\Programmi\Atari\Neverwinter Nights 2
But if I use the interactive mode, module is loaded:
C:\nwnx4\NWNX4_Controller.exe -interactive
Is it possibile an error because I use a different O.S. language?
Thank you for your interest. |
|
Back to top |
|
|
Energia
Joined: 05 Jun 2006 Posts: 19
|
Posted: Mon Mar 26, 2007 12:29 Post subject: |
|
|
I found a possibile solution.
When I create a module, nwnx4 (service) works correctly.
If I create a campaing for that module, nwnx4 doen't load module.
GetModule() works correctly, but with campaing, the result is "null".
(if I delete campaing, nwnx4 restart correctly).
Peraphs the problem is when there is a campaing? |
|
Back to top |
|
|
TroveLord
Joined: 22 Nov 2006 Posts: 136 Location: Italy
|
Posted: Mon Mar 26, 2007 13:50 Post subject: |
|
|
Energia wrote: | When I create a module, nwnx4 (service) works correctly.
If I create a campaing for that module, nwnx4 doen't load module. |
If you're using a single module you shouldn't need a campaign, since campaigns' sole purpose is to like the link the various modules in it.
Anyway you could try to run the first module of the campaign instead of the campaign file (if it's even a file, I never tried).
Energia wrote: | Is it possibile an error because I use a different O.S. language? |
Surely not, my O.S. is italian as well and NWNX4 works like a charm. |
|
Back to top |
|
|
Energia
Joined: 05 Jun 2006 Posts: 19
|
Posted: Mon Mar 26, 2007 14:08 Post subject: |
|
|
TroveLord wrote: |
If you're using a single module you shouldn't need a campaign, since campaigns' sole purpose is to like the link the various modules in it.
|
In italian:
devo usare la campagna perché ho un mondo pw che usa la mappa del mondo per viaggiare da una destinazione ad un'altra. La mappa del mondo funziona solo in una campagna.
Se cancello la cartella della campagna (disabilitando temporaneamente la mappa del mondo o rinominando il MOD), nwnx4 riprende a funzionare e carica il modulo. Appena rimetto la cartella della campagna, nwnx4 carica un modulo vuoto e smette di funzionare.
Ho notato che GetModule() risponde null quando c'č la campagna.
Inoltre, qando uso la campagna e quando voglio caricare il modulo per giocarci, se c'č la campagna il modulo non appare nella lista dei moduli che posso giocare (nei miei test off-line). Infatti, quando c'č la campagna, per eseguire il modulo devo andare nel menų Nuova Campagna dove trovo il nome della campagna.
Nwnx4 funziona regolarmente quando uso la versione GUIi. Il problema č solo quando uso il servizio.
Purtroppo il mio inglese non č cosė sofisticato da riuscirmi a spiegare pių di quanto ho terribilmente fatto finora. Spero che qualcuno, prima o poi, riesca a notare le mie stesse osservazioni e le scriva in un inglese pių evoluto del mio. |
|
Back to top |
|
|
TroveLord
Joined: 22 Nov 2006 Posts: 136 Location: Italy
|
Posted: Mon Mar 26, 2007 14:53 Post subject: |
|
|
So basically you need to run a campaign (for the world map plugin) and NWNX4 can't run campaigns, or so it seems. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Mon Mar 26, 2007 20:14 Post subject: |
|
|
Can the dedicated server, without NWNX ? _________________ Papillon |
|
Back to top |
|
|
|