WitPTracker AE Release 1.11 Available!

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

User avatar
adsoul64
Posts: 277
Joined: Mon Jan 23, 2012 3:16 pm
Location: Milan Italy

RE: WitPTracker AE Release 1.7.1 Available!

Post by adsoul64 »

Same problem to me. It was a PBEM and I mistyped password. Spent half a hour to figure out that, then corrected PW and fixed. Hoping it's going to be as easy for you, too.
User avatar
gw15
Posts: 952
Joined: Sun Mar 21, 2010 4:29 pm

RE: WitPTracker AE Release 1.7.1 Available!

Post by gw15 »

I sure wish it was a PW mistype but its not. Anyone have an idea on what is causing this?
ORIGINAL: adsoul64

Same problem to me. It was a PBEM and I mistyped password. Spent half a hour to figure out that, then corrected PW and fixed. Hoping it's going to be as easy for you, too.
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: WitPTracker AE Release 1.7.1 Available!

Post by BillBrown »

ORIGINAL: bommerrang


ERROR: Password mismatch.
ERROR: Problem with save game file. Exiting.

C:\WitPTracker AE>pause
Press any key to continue . . .

That line seems to indicate that the passwords do not match.
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: WitPTracker AE Release 1.7.1 Available!

Post by witpqs »

Are you using the right DLL? There are now two provided with the game. If using 32-bit Java you must use that one, if using 64-bit Java you must use that one.
User avatar
gw15
Posts: 952
Joined: Sun Mar 21, 2010 4:29 pm

RE: WitPTracker AE Release 1.7.1 Available!

Post by gw15 »

Oh I agree and triple checked it before I even posted. I checked it again yesterday twice to make sure after adsoul64's post. The PW in both places match.
ORIGINAL: BillBrown

ORIGINAL: bommerrang


ERROR: Password mismatch.
ERROR: Problem with save game file. Exiting.

C:\WitPTracker AE>pause
Press any key to continue . . .

That line seems to indicate that the passwords do not match.
User avatar
gw15
Posts: 952
Joined: Sun Mar 21, 2010 4:29 pm

RE: WitPTracker AE Release 1.7.1 Available!

Post by gw15 »

sorry for my stupid question but how do I find out if I'm running 32 or 64 bit Java?
I typed in "about Java" and it says Version 7 Update 71 (build 1.7.0_71-b14).
Also, are you saying WitPAE has two version of the game? I'm running WIN 7, 64-bit.
ORIGINAL: witpqs

Are you using the right DLL? There are now two provided with the game. If using 32-bit Java you must use that one, if using 64-bit Java you must use that one.
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: WitPTracker AE Release 1.7.1 Available!

Post by witpqs »

ORIGINAL: bommerrang

sorry for my stupid question but how do I find out if I'm running 32 or 64 bit Java?
I typed in "about Java" and it says Version 7 Update 71 (build 1.7.0_71-b14).
Also, are you saying WitPAE has two version of the game? I'm running WIN 7, 64-bit.
ORIGINAL: witpqs

Are you using the right DLL? There are now two provided with the game. If using 32-bit Java you must use that one, if using 64-bit Java you must use that one.
OK, I've got two answers for you. First, I just tried this and it seems to work.
https://wiki.scn.sap.com/wiki/display/SCM/Determining+whether+a+Java+installation+is+32+bit+or+64+bit

Open a command line prompt (in other words get the "C:\" or whatever prompt). Type in:

java -version

You will get output that looks something like this for 64-bit.

java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)

And something like this for 32-bit.

java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)

Notice where the 64-bit one has "64-bit" in one of the lines.

Now the second answer, is that it might not matter, I might have remembered wrong. The real point might be that for a certain version of Java and later, you must use the newer type of DLL, and for older versions of Java you must stick with the older type of DLL. So, AE is now being distributed with two DLL files so you can pick the right one for your Tracker. Look in the Beta2 folder (I hope you have the Beta loaded). Among other things, you will see:

pwsdll.dll

AND

pwsdll7.dll

If you are using a Java version lower than 7, you must use pwsdll.dll.

If you are using a Java version 7 or higher, you must use pwsdll7.dll.

Whichever one you need, just copy it into your tracker folder.

Above I mentioned "I hope you have the Beta loaded". You do not need the Beta for this to work! However, it looks like the file pwsdll7.dll is not included in the main (non-Beta) installation. So you can download/install the Beta to get the file. You still do not have to run the Beta.
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: WitPTracker AE Release 1.7.1 Available!

Post by BillBrown »

I tried the 64-bit Java. It would load the existing data base and the UI. But, it would not load a new turn.
Both of the DLLs are for 32-bit Java, but the one with a 7 in the name will load turns using Java 7 or 8.
User avatar
gw15
Posts: 952
Joined: Sun Mar 21, 2010 4:29 pm

RE: WitPTracker AE Release 1.7.1 Available!

Post by gw15 »

thank you witpgs.
based on your instructions:
I'm running 32 bit java
Version 7.
I checked and pwsdll7.dll is in the folder.
I copied turn 2 of pbem game into the folder and ran tracker.
I got a whole bunch of new error messages.
But I ran tracker a second time...it worked!
I did nothing between the first and second times I ran tracker.

I really thank you guys for helping. I realize it takes your time to answer my stupid questions.
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: WitPTracker AE Release 1.7.1 Available!

Post by witpqs »

Note that some error messages are issued for Tracker finding messages in the various report files that it is not yet programmed to recognize (not a meaningful problem). Good luck!
Chris21wen
Posts: 7625
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker AE Release 1.7.1 Available!

Post by Chris21wen »

My hard drive crashed so I have a new all singing all dancing Win 10 except tracker doesn't dance.

Here's the version of Java

Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) Client VM (build 25.77-b03, mixed mode, sharing)

C:\WINDOWS\system32>

Here's the error message

C:\Matrix Games\WitP AE RA\WitP Tracker Allied>"C:\Program Files (x86)\Java\jre1.8.0_77\bin\java" -Xms512m -Xmx1024m -jar "WitPTracker.jar nomap"
Error: Unable to access jarfile WitPTracker.jar nomap

C:\Matrix Games\WitP AE RA\WitP Tracker Allied>pause
Press any key to continue . . .

From the forum I think I need a pwsdll7 but I don't have such a thing.

Could someone point me it the correct direction please.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.7.1 Available!

Post by floydg »

You haven't even made it that far where the DLL matters. Are you running this from the folder where WitPTracker is located?
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: WitPTracker AE Release 1.7.1 Available!

Post by BillBrown »

Nomap should be outside the parentheses.
Chris21wen
Posts: 7625
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker AE Release 1.7.1 Available!

Post by Chris21wen »

OK sorted.

The post actually said where pwsdll7.dll is but I missed it first time through. It's in the beta2 folder so copied it to tracker folder deleting old one and renamed pwsdll7 to just pwsdll and it all works.
Attachments
Capture.jpg
Capture.jpg (22.32 KiB) Viewed 354 times
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.7.1 Available!

Post by floydg »

ORIGINAL: Chris H
ORIGINAL: floydg

You haven't even made it that far where the DLL matters. Are you running this from the folder where WitPTracker is located?

It say so 4 post earlier or have I misunderstood?

'If you are using a Java version lower than 7, you must use pwsdll.dll.
If you are using a Java version 7 or higher, you must use pwsdll7.dll. '

Tracker folder is located in the WitP folder I'm trying to use it on. E.g C:\Matrix Games\WitP AE RA
The batch file is in that tracker folder.

This is my properties file

# WitPTracker AE properties file
# Directory of the game
Dir=[C:\Matrix Games\WitP AE RA]
# Type of game. 0=AI, 1=PBEM
GameType=[0]
# Side you are playing. 0=Japan, 1=Allies
Side=[1]
# Password. Only needed for PBEM
Password=[abc123]
# Name of the base save file
SaveFile=[wpae003.pws]
# Mode the program will look for save files.
# 0 = just in the local folder
# 1 = just in the game folder: [Dir]/SAVE
# 2 = local and then if not found there, the game folder
SaveMode=[1]
# Text to put in the header of the main window
Header=[Allied wpae003]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1

However I deleted nomap and it ran but crashes during initialisation with this message.

Image

Which version of WitPTracker are you running? The latest version is packaged with pwsdll7.dll.

And I hard-coded pwsdll7.dll into the code in the latest version. The pwsdll.dll file won't be used any more. But pwsdll7.dll should work with Java 6, 7 and 8, I believe.


Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
Chris21wen
Posts: 7625
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker AE Release 1.7.1 Available!

Post by Chris21wen »

ORIGINAL: floydg

Which version of WitPTracker are you running? The latest version is packaged with pwsdll7.dll.

And I hard-coded pwsdll7.dll into the code in the latest version. The pwsdll.dll file won't be used any more. But pwsdll7.dll should work with Java 6, 7 and 8, I believe.

We crossed post.

However you told me something I did not realise and that is I do not have the latest version of tracker. I will correct that now.

Thanks
Chris21wen
Posts: 7625
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker AE Release 1.10 Available!

Post by Chris21wen »

Just started RHS Scenario 2. Run Tracker for the first time and got this error message. I'm assuming it can't read the whole line as the line contains 63 characters and the string is restricted to 60. Tracker will open but I do not know if all of the operation file has been read. Is there a simple fix?

C:\Matrix Games\WitP AE RHS\WitP Tracker Allied>"C:\Program Files (x86)\Java\jre1.8.0_77\bin\java" -Xms512m -Xmx1024m -jar "WitPTracker.jar" nomap
Initializing WitP Tracker AE database.
WitP Tracker AE tables loaded in 9 seconds
WARNING: Unknown row in operations file <C:\Matrix Games\WitP AE RHS\SAVE\aoperationsreport.txt>: [Task Force 437 slows down to allow following TF 403 to catch up]
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -60
at java.lang.String.substring(Unknown Source)
at witptracker.TextFileHandler.LoadOperationsFile(TextFileHandler.java:954)
at witptracker.Main.main(Main.java:259)
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

ORIGINAL: Chris H

Just started RHS Scenario 2. Run Tracker for the first time and got this error message. I'm assuming it can't read the whole line as the line contains 63 characters and the string is restricted to 60. Tracker will open but I do not know if all of the operation file has been read. Is there a simple fix?

C:\Matrix Games\WitP AE RHS\WitP Tracker Allied>"C:\Program Files (x86)\Java\jre1.8.0_77\bin\java" -Xms512m -Xmx1024m -jar "WitPTracker.jar" nomap
Initializing WitP Tracker AE database.
WitP Tracker AE tables loaded in 9 seconds
WARNING: Unknown row in operations file <C:\Matrix Games\WitP AE RHS\SAVE\aoperationsreport.txt>: [Task Force 437 slows down to allow following TF 403 to catch up]
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -60
at java.lang.String.substring(Unknown Source)
at witptracker.TextFileHandler.LoadOperationsFile(TextFileHandler.java:954)
at witptracker.Main.main(Main.java:259)

Something in the operations report is causing an issue. This is non-fatal and the rest of the turn load will work, but whatever is after that bad line in the operations file will be ignored.

If you send me the file (witptracker @ gmail.com), I can take a look.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
Chris21wen
Posts: 7625
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker AE Release 1.10 Available!

Post by Chris21wen »

Further, I've looked at the ops file and this is the first line in it.  Other lines are longer so I'm now at a loss.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

ORIGINAL: Chris H

Further, I've looked at the ops file and this is the first line in it.  Other lines are long so I'm now at a loss.

Don't count the line lengths, it's not that (specifically).
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
Post Reply

Return to “War in the Pacific: Admiral's Edition”