Player Resource Consortium

Neverwinter Nights => Other Features => Topic started by: nwnrules on January 28, 2016, 11:28:43 PM

Title: Fatal Error with JavaCC
Post by: nwnrules on January 28, 2016, 11:28:43 PM
I cry every time. (see attachment)

I've tried different versions of JavaCC and the PRC pack. I've followed all instructions to the letter and I can't get rid of this damn error!

Hint:
the file is not corrupt.
Title: Re: Fatal Error with JavaCC
Post by: xwarren on January 31, 2016, 10:56:50 PM
The PRC Pack was designed to work with latest NWN + SoU + HotU game (1.69 I belive). If you don't have SoU or HotU you may get this error. If your game works without a problem then I can't see any other reasons why it would display this message.
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 01, 2016, 01:03:53 PM
The PRC Pack was designed to work with latest NWN + SoU + HotU game (1.69 I belive). If you don't have SoU or HotU you may get this error. If your game works without a problem then I can't see any other reasons why it would display this message.

I have Neverwinter Diamond (from here: http://www.gog.com/game/neverwinter_nights_diamond_edition) and the 1.70 community patch.
Title: Re: Fatal Error with JavaCC
Post by: xwarren on February 02, 2016, 12:18:21 AM
hmmm....

Maybe try extracting portraits.2da to your override folder - perhaps this will help (or if there is one already - remove it). I haven't played with 1.70 patch much, I can't tell how it behaves with Java CC.
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 02, 2016, 01:54:02 AM
hmmm....

Maybe try extracting portraits.2da to your override folder - perhaps this will help (or if there is one already - remove it). I haven't played with 1.70 patch much, I can't tell how it behaves with Java CC.


I found a folder called 2dasource.zip in the main nwn directory, is that suppose to be there or maybe it failed to unpack during installation? It has portraits.2da in it

I've tried it without the 1.7, still does the same thing.
Maybe this has something to do with it
After using the Diamond installer, when I use the .exe installer for JavaCC, it gives the error that I don't have the expansions when I do

EDIT:
Placing the .2da file from the .zip into the override folder fixed it.

However, I'm still curious about my previous questions regarding 2dasource.zip
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 02, 2016, 03:31:27 AM
Well, I didn't get far!
Here are two more errors
The first one is caused when I try to use a default package.
I can get passed it by configuring my own class, but if I hit recommended on the feat pick, it gets the same error.

Second error is when I go to customize, which was not fixed by putting appearances.2da in the override folder.
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 02, 2016, 03:35:25 AM
I went ahead and extracted all of the files from 2dasource.zip into the override folder, which fixed those two errors.
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 02, 2016, 11:33:09 PM
Holy shit, this is making me mad.

Any character I make doesn't work when I go to pick it inside NWN.
It always shows the class as Barbarian and when I try to load it, it presents the error:
"Invalid character - player login refused. Bad Strref"
 
Any ideas before I move on to NWN2 and try the PRC packs there. Maybe I'm just not destined to enjoy NWN PRC :P
Title: Re: Fatal Error with JavaCC
Post by: Atalsen on February 03, 2016, 04:23:54 AM
What module are you attempting to use, and is is updated to use the PRC?

For example there are steps you need to take to update the campaign to use PRC successfully, or any module not built with the PRC initially.

Seeing PRC classes as "barbarian" is common if the tlk file is not installed properly (or if not used by the module, which would be a problem with not updating the module to work with PRC).
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 03, 2016, 11:45:31 AM
The first campaign.
I placed all the files in their respective folders and I've also used the PRCModuleUpdater.exe... I even stuck the files for PRC3.5 in override to see if that would fix it. It didn't.
Title: Re: Fatal Error with JavaCC
Post by: xwarren on February 03, 2016, 02:22:45 PM
Are you sure the 'Enforce Legal Characters' option is set turned off?
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 03, 2016, 02:34:35 PM
Single Player Enforce Legal Characters=0
in nwnplayer.ini
this is correct?

Perhaps there's something about the GOG Diamond edition that isn't compatible with PRC
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 06, 2016, 06:46:08 PM
no more ideas huh?
yeah, i'm also stumped -.-
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 15, 2016, 05:42:42 PM
still cant get it to work
somebody copy and paste me their install  :P
Title: Re: Fatal Error with JavaCC
Post by: xwarren on February 15, 2016, 05:53:28 PM
So the JavaCC works now, but you can't play NWN with any PRC character. Is that correct?

Stupid question - but are you sure you have PRC Pack installed in the module you are trying to play?
Quote
It always shows the class as Barbarian and when I try to load it, it presents the error:
"Invalid character - player login refused. Bad Strref"
This indicates that the game can not find prc tlk file...
Title: Re: Fatal Error with JavaCC
Post by: nwnrules on February 22, 2016, 02:18:35 AM
I'm not sure, is there a way to confirm?
I had to use the zip file instead of the .exe installer because the .exe kept saying I didn't have the expansions installed which is bull cause I do.
I'm trying to play the first campaign and I'm pretty certain everything is installed right because I followed the websites installation instructions to the letter.
Title: Re: Fatal Error with JavaCC
Post by: clansunstar on February 25, 2016, 06:56:25 AM
I have Neverwinter Diamond (from here: http://www.gog.com/game/neverwinter_nights_diamond_edition) and the 1.70 community patch.

the PRC and the 1.70 community patch are completely separate projects that will not work together without an immense amount of scripting rewrites.

Title: Re: Fatal Error with JavaCC
Post by: Calirion on May 26, 2016, 06:41:43 PM
I'm not sure, is there a way to confirm?
I had to use the zip file instead of the .exe installer because the .exe kept saying I didn't have the expansions installed which is bull cause I do.
I'm trying to play the first campaign and I'm pretty certain everything is installed right because I followed the websites installation instructions to the letter.
There are three potential issues here:
the 1.7 patch, though you have tested without that
Neverwinter Diamond sometimes behaves oddly without the critical rebuild. You can find it on the new NW vault
The Gog version. From what I can recall, the Gog version doesn't handle the registry correctly, which is why the exe version is saying the expansions aren't there. This registry problem will not interfere with regular game play but causes problems with the PRC. You are not going to like this advice, but you are better off finding and buying one of the original versions of the game, then updating using the files on the new NW vault (since the update server no longer works).