logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NWNX4Character Question

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Development
View previous topic :: View next topic  
Author Message
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Thu Aug 30, 2007 15:50    Post subject: NWNX4Character Question Reply with quote

I followed the instructions including setting the ServerVault constant in the nwnx_character script. When I run the demo module:

It will print the base skill bonuses.

It will not print the bic file name.

When setting Abilities to 50 or Lore to 100, the character is booted, but no change when I log back in.

When using the Delete Character lever, I get booted but character is not deleted.

I thought is was the ServerVault constant so I double checked it. Here it is from the script:
const string SERVERVAULT = "D:/games/nwn2/Servervault/";

I did compile all scripts and save the module before restarting.

Any Clues?
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Thu Aug 30, 2007 15:57    Post subject: Reply with quote

I just checked the nwnx.txt log and saw this:


* NWNXGetString: Function class 'CHARACTER' not provided by any plugin. Check your installation.

Don't I have to register the PlugIn with NWNX4 some where?
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Thu Aug 30, 2007 16:08    Post subject: Reply with quote

Okay - The instructions call to copy the xp_character.dll and BicFunctions.exe files in the base nwn2 install folder. I moved them to my nwn2\nwnx4 folder and at least they are being recognized now. But I am getting this error:

Loading plugin xp_character.dll: Error 14001. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

I grabbed vcredist_x86.exe from Microsoft and ran it, but that hasn't solved the problem.

Here is the nwnx.txt log file:
Code:
NWN Extender 4 V.0.0.8
(c) 2007 by Ingmar Stieger (Papillon)
visit us at http://www.nwnx.org

* Loading plugins...
* Loading plugin xp_character.dll: Error 14001. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
* Loading plugin xp_mysql.dll: Successfully registered as class: SQL
* Loading plugin xp_spawn.dll: Error 14001. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
* Loading plugin xp_sqlite.dll: Error during plugin initialization.
* Loading plugin xp_system.dll: Error 14001. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* Disabling general protection fault error dialog.
* NWNX4 activated.

_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri


Last edited by Urlord on Thu Aug 30, 2007 16:28; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Thu Aug 30, 2007 16:20    Post subject: Reply with quote

I think this should have been in the Tech Support forum.
Please move it in you want to.
Back to top
View user's profile Send private message Send e-mail
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Thu Aug 30, 2007 17:37    Post subject: Reply with quote

Well it appears that this is nothing to do with my server configuration. It has to do with the way the plugins were compiled.

I believe I read that kungfoowiz is not available at the moment. If that is true, could another Plugin Developer grab the source for xp_server, xp_character and xp_time, recompile them correctly and make them available to us. Otherwise, they should be removed until this is fixed to cut down on frustration. Just my opinion.

So now I wait!
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
Carter_DC



Joined: 25 Nov 2006
Posts: 23
Location: France

PostPosted: Thu Aug 30, 2007 18:15    Post subject: Reply with quote

I kinda hope that this issue will be fixed soon, in the meantime, you can find some of them here :
http://www.elechos.com/pix/Carter/nwnx/

Just test and tell me if it does the trick.
(as I couldn't tell for plugins always work on one's computer where one builded it)
Back to top
View user's profile Send private message MSN Messenger
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Thu Aug 30, 2007 18:46    Post subject: Reply with quote

I haven't tested the functions in the module yet, but the plugins registered properly with your newly compiled versions:

Code:
* Loading plugins...
* Loading plugin xp_character.dll: Successfully registered as class: CHARACTER
* Loading plugin xp_clock.dll: Successfully registered as class: CLOCK
* Loading plugin xp_mysql.dll: Successfully registered as class: SQL
* Loading plugin xp_spawn.dll: Successfully registered as class: SPWN
* Loading plugin xp_sqlite.dll: Error during plugin initialization.
* Loading plugin xp_system.dll: Successfully registered as class: SYSTEM
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* Disabling general protection fault error dialog.
* NWNX4 activated.

_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
Urlord



Joined: 17 Nov 2006
Posts: 122

PostPosted: Thu Aug 30, 2007 18:55    Post subject: Reply with quote

Tested in the module and confirmed that these build work.

Carter is DA MAN!!! Very Happy
_________________
Jim (aka, Urlord)
Visit the Persistent World of Nymri
Back to top
View user's profile Send private message Send e-mail
brockfanning



Joined: 01 Sep 2007
Posts: 15

PostPosted: Sun Sep 02, 2007 20:28    Post subject: Reply with quote

That sounds promising. I've got the versions linked above, and the nwnx.txt file is recognizing them ok. However, I still am not having any success calling the ResetServer() function from within the game. It boots everyone off, but doesn't reset the server. Anyone else run into this problem? Our server is running Windows Server 2003, in case it's relevant.
Back to top
View user's profile Send private message
kungfoowiz



Joined: 12 Oct 2006
Posts: 61

PostPosted: Mon Sep 03, 2007 5:15    Post subject: Reply with quote

I had the redists loaded which you apparently don't need anymore. Try redownloading the plugins and they should work fine.
Back to top
View user's profile Send private message
MobiuSRIT



Joined: 28 Sep 2007
Posts: 3

PostPosted: Fri Sep 28, 2007 5:11    Post subject: Reply with quote

I'm getting the following in my xp_character.txt file when I try to execute a DeleteCharacter() call:

* Plugin initialized.
* Plugin GetString( psFunction = GETBIC, psParam1 = C:/Documents and Settings/Administrator/My Documents/Neverwinter Nights 2/servervault/MobiuSRIT/*.bic, nParam2 = 0 )
* C:/Documents and Settings/Administrator/My Documents/Neverwinter Nights 2/servervault/MobiuSRIT\mobiustest.bic = GetBICFilename( C:/Documents and Settings/Administrator/My Documents/Neverwinter Nights 2/servervault/MobiuSRIT/*.bic )


What's curious to me is the "\" in the path where mostly "/" are used. But, that bic file IS the correct bic for the character that executed the call.
Back to top
View user's profile Send private message
kungfoowiz



Joined: 12 Oct 2006
Posts: 61

PostPosted: Sat Oct 13, 2007 9:05    Post subject: Reply with quote

So, the issue is that DeleteCharacter( ) is bugged?
I haven't tested the plugins under NWN2 1.10 / NWNX4 1.08 yet. They'll probably need tweaking for it.
Back to top
View user's profile Send private message
PNJ



Joined: 30 Jun 2007
Posts: 67

PostPosted: Tue Dec 25, 2007 19:46    Post subject: Reply with quote

Any luck to see a function to change hair ?
Back to top
View user's profile Send private message
kungfoowiz



Joined: 12 Oct 2006
Posts: 61

PostPosted: Wed Dec 26, 2007 19:36    Post subject: Reply with quote

Heya

Nyet. Can you try out this test plugin to see if it runs without having to download the Visual Studio runtimes. Once this problem is sorted then more features may be added.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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