Player Resource Consortium

Neverwinter Nights => Help => Topic started by: Terrah87 on September 27, 2011, 09:38:08 AM

Title: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 09:38:08 AM
Hi Guys,

I've been making my own classes for use in a Vampire the Masquerade themed module however I've run into troubles with the character creator, I've got all the 2da/TLK entries right and I can go right through the character creation process in the CC up to the point where I finalise the character then it crashes.

How can I go about debugging this from there?

thanks for any help :)
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 10:13:08 AM
Hi Guys,

I've been making my own classes for use in a Vampire the Masquerade themed module however I've run into troubles with the character creator, I've got all the 2da/TLK entries right and I can go right through the character creation process in the CC up to the point where I finalise the character then it crashes.

How can I go about debugging this from there?

thanks for any help :)

CC means JavaCC or ConvoCC? ;p
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 10:14:37 AM
Sorry it's the Java one :P
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 10:39:06 AM
You can try to run CC for command line with this command:
Code: [Select]
start javaw -Xmx200M -Xms200M -jar CC.jar > cc.logand check the info in cc.log after it crashes.
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 10:48:30 AM
Just tried that and it's giving me the error Windows cannot find "javaw" make sure you have typed the name correctly and try again.


Sorry for being a bit thick but Java isn't really my area of expertise :p
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 11:00:16 AM
heh, try
start java -Xmx200M -Xms200M -jar CC.jar > cc.log
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 11:04:54 AM
still getting the same error :/ sorry it's not helping much
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 11:14:51 AM
Are you sure you have Java installed?

javaw.exe and java.exe should be in your system %PATH%
if you do have java installed find those files and add path to them into command line
ie: start "c:\program files\java\java.exe" -Xmx200M -Xms200M -jar CC.jar > cc.log
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 11:43:14 AM
double checked that I have java installed and I do,

I can get the java window to launch by putting in:

start "c:\program files(x86)\java\jr6\java.exe" into the window but then when I add the rest of it I then get the same error again with windows cannot find -Xmx200M this time.
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 11:48:29 AM
that's because "start" takes your path as one of its parameters.
ignore start!
type:
"c:\program files(x86)\java\jr6\java.exe" -Xmx200M -Xms200M -jar "<path to cc>\CC.jar" > cc.log
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 11:50:57 AM
ah right sorry  :-[
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 12:09:39 PM
Getting path errors now going to go bang my head against a wall for a bit then try again :P
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 12:35:23 PM
alright got it working now using this : "c:\program files (x86)\java\jre6\bin\java.exe" -Xmx200M -Xms200M -jar "c:\cc\cc.jar" > cc.log

however no log file was being created in the CC folder :/
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 12:49:08 PM
found the log file!

there's no error on it just this:

Invalid icon: isk_x3_ride.tga
Invalid icon: isk_x3_ride.tga
Invalid icon: isk_x3_ride.tga
Wing: 0
Tail: 0

The CC still just hangs once you've clicked finalise with nothing else happening
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 12:50:47 PM
Do you run it as administrator?

Maybe give it some time, it usually takes a while to create the bic.
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 12:54:14 PM
Tried running it with admin and without and it's not made a difference. It works with the standard NWN classes and writes the bics instantly it just hangs whenever it tries to write a bic of a non standard class
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 01:04:05 PM
Tried running it with admin and without and it's not made a difference. It works with the standard NWN classes and writes the bics instantly it just hangs whenever it tries to write a bic of a non standard class
But you are sure that all 2das are OK? Sometimes a small typo can cause big problems...
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 01:09:53 PM
triple checking them now :P
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 01:35:02 PM
According to my 2das there's nothing wrong with them. I may be wrong as it's been years since I've messed about with classes, I'm going to leave it for now and come back to it tomorrow
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 02:00:50 PM
Seems to be something in the classes 2da that's broke as it's causing my toolset to crash when I open the mod that uses the haks I'd made now
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 02:30:42 PM
If I want to use a class as a baseclass do I have to set anything special anywhere other than classes.2da? I've managed to take the classes in game after level one I just can't make a new character in the java character creator with the same classes
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 03:19:55 PM
No, it's just classes.2da. Send me that 2da, maybe I'll come up with something.

I remember i wrote CLS_SVATHR_WIZ instead of CLS_SAVTHR_WIZ once and it caused toolset to crash.
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 03:30:35 PM
Thanks for the help! ^^ I've attached the 2da to this post
Title: Re: Help with the Character Creator
Post by: xwarren on September 27, 2011, 04:05:51 PM
Hmmm... I haven't found any bugs in classes.2da, and it seems that everything is setup correctly...
Strange.
When toolset crash what error message does it display?
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 27, 2011, 04:10:26 PM
It's : "Access violation at address 0040BD05 in module 'nwtoolset.exe' read of address 00000030."
Title: Re: Help with the Character Creator
Post by: Terrah87 on September 29, 2011, 09:28:38 AM
managed to get a work around for the not being able to take the classes on level 1 with Leto which is fine as it's only a small handful of us playing this. However still getting the error message from toolset whenever I open a module with any custom classes either PRC or my own. is there any log file with the toolset which says what causes the errors?