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
John B.
Posts: 3985
Joined: Sun Sep 25, 2011 6:45 pm
Location: Virginia
Contact:

RE: WitPTracker AE Release 1.9.2 Available!

Post by John B. »

Has anyone seen this error before? Do I need to add more turns somehow, or is the problem something entirely different?


C:\Users\John\Desktop\WitPTracker AE Release 1.9.2>java -Xms384m -Xmx512m -jar "
WitPTracker.jar"
WitP Tracker AE tables loaded in 1 seconds
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at witptracker.ShipClassPanel$1.getValueAt(ShipClassPanel.java:149)
at witptracker.ShipClassPanel$1.getColumnClass(ShipClassPanel.java:177)
at javax.swing.table.TableRowSorter.useToString(Unknown Source)
at javax.swing.DefaultRowSorter.updateUseToString(Unknown Source)
at javax.swing.DefaultRowSorter.sort(Unknown Source)
at javax.swing.DefaultRowSorter.setRowFilter(Unknown Source)
at witptracker.ShipClassPanel.actionPerformed(ShipClassPanel.java:862)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.contentsChanged(Unknown Source)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
at javax.swing.JComboBox.addItem(Unknown Source)
at witptracker.ShipClassPanel.PopulateCombos(ShipClassPanel.java:789)
at witptracker.ShipClassPanel.<init>(ShipClassPanel.java:664)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:736)
at witptracker.GUIMain$5.run(GUIMain.java:1020)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

C:\Users\John\Desktop\WitPTracker AE Release 1.9.2>pause
Press any key to continue . . .

John Barr
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

ORIGINAL: John B.

Has anyone seen this error before? Do I need to add more turns somehow, or is the problem something entirely different?


C:\Users\John\Desktop\WitPTracker AE Release 1.9.2>java -Xms384m -Xmx512m -jar "
WitPTracker.jar"
WitP Tracker AE tables loaded in 1 seconds
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at witptracker.ShipClassPanel$1.getValueAt(ShipClassPanel.java:149)
[...]

C:\Users\John\Desktop\WitPTracker AE Release 1.9.2>pause
Press any key to continue . . .


How many turns were already loaded? Looks to me like the database is empty.
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
Historiker
Posts: 4742
Joined: Wed Jul 04, 2007 8:11 pm
Location: Deutschland

RE: WitPTracker AE Release 1.9.2 Available!

Post by Historiker »

I have a new Laptop with Win 7 64bit running. When starting the tracker, I get "Java platform SE binary doesn't work any more" and that's it...

How can I get the tracker running?
Without any doubt: I am the spawn of evil - and the Bavarian Beer Monster (BBM)!

There's only one bad word and that's taxes. If any other word is good enough for sailors; it's good enough for you. - Ron Swanson
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker AE Release 1.9.2 Available!

Post by n01487477 »

ORIGINAL: Historiker

I have a new Laptop with Win 7 64bit running. When starting the tracker, I get "Java platform SE binary doesn't work any more" and that's it...

How can I get the tracker running?
Hi Mate -

You need java 6v45. Java 7 doesn't work.
Install this ...
https://dl.dropboxusercontent.com/u/176 ... s-i586.exe

Then point your batch file to point to "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"

If you are using the beta. Go to the beta2 folder in your game folder and copy the pwsdll.dll to the tracker folder ...
Run the batch ;-)
User avatar
Historiker
Posts: 4742
Joined: Wed Jul 04, 2007 8:11 pm
Location: Deutschland

RE: WitPTracker AE Release 1.9.2 Available!

Post by Historiker »

thanks, now it is running!
Without any doubt: I am the spawn of evil - and the Bavarian Beer Monster (BBM)!

There's only one bad word and that's taxes. If any other word is good enough for sailors; it's good enough for you. - Ron Swanson
User avatar
John B.
Posts: 3985
Joined: Sun Sep 25, 2011 6:45 pm
Location: Virginia
Contact:

RE: WitPTracker AE Release 1.9.2 Available!

Post by John B. »

Hi Floyd,

How does one load a turn. I have it on my system and have played turns since then but I just tried it again and got the same error message. Is there some step I'm missing out on? Thanks for your help and sorry if I'm overlooking some simple step.

John
John Barr
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

ORIGINAL: John B.

Hi Floyd,

How does one load a turn. I have it on my system and have played turns since then but I just tried it again and got the same error message. Is there some step I'm missing out on? Thanks for your help and sorry if I'm overlooking some simple step.

John

Is there something on this page you're missing?

https://sites.google.com/site/witptracker/loading-turns
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
Marc
Posts: 303
Joined: Tue Sep 05, 2000 8:00 am
Location: Braunschweig, Germany

RE: WitPTracker AE Release 1.9.2 Available!

Post by Marc »

Hi guys,

in your databasetable "lcus" is a field named "attributes".
I think that there are values stored in binary format.

I think 1, 2 and 4 mean the following:

1 - static
2 - restricted temp
4 - restricted permanent

but could you please tell what
8 -
16 -
32 -
mean?

Thank you!
Image
IJN Chokai
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

I don't think I'm allowed to say due to non-disclosure agreement.
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
Marc
Posts: 303
Joined: Tue Sep 05, 2000 8:00 am
Location: Braunschweig, Germany

RE: WitPTracker AE Release 1.9.2 Available!

Post by Marc »

ORIGINAL: floydg

I don't think I'm allowed to say due to non-disclosure agreement.

Oh, OK.
Thank you anyway!
Image
IJN Chokai
User avatar
John B.
Posts: 3985
Joined: Sun Sep 25, 2011 6:45 pm
Location: Virginia
Contact:

RE: WitPTracker AE Release 1.9.2 Available!

Post by John B. »

Floyd,

No, I saw that page but when right click on the witptracker.properties and then click open all I get is an endless loop of visiting my download files (see images below).

John
John Barr
User avatar
John B.
Posts: 3985
Joined: Sun Sep 25, 2011 6:45 pm
Location: Virginia
Contact:

RE: WitPTracker AE Release 1.9.2 Available!

Post by John B. »

Here is my saved files with witptracker.properties.
Attachments
Properties.gif
Properties.gif (140.87 KiB) Viewed 510 times
John Barr
User avatar
John B.
Posts: 3985
Joined: Sun Sep 25, 2011 6:45 pm
Location: Virginia
Contact:

RE: WitPTracker AE Release 1.9.2 Available!

Post by John B. »

And when I click open on it all I get is this.

Image
Attachments
download.gif
download.gif (38.58 KiB) Viewed 506 times
John Barr
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

Instead of Open, choose Edit.
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
Marc
Posts: 303
Joined: Tue Sep 05, 2000 8:00 am
Location: Braunschweig, Germany

RE: WitPTracker AE Release 1.9.2 Available!

Post by Marc »

ORIGINAL: John B.

Floyd,

No, I saw that page but when right click on the witptracker.properties and then click open all I get is an endless loop of visiting my download files (see images below).

John

Hi John,

you need to open the file with an editor and not with the Internet Explorer.
So try "right click" and "open with" and then choose the editor c:\windows\notepad.exe.
I hope this solves your problem.
Image
IJN Chokai
Scrat
Posts: 12
Joined: Fri Aug 03, 2007 3:38 pm
Location: Spain

RE: WitPTracker AE Release 1.9.2 Available!

Post by Scrat »

When I try load WitpTracker I read this message:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.StringBuffer.charAt<Unknown Source>
at witptracker.Properties.ReadProperties<Properties.java:107>
at witptracker.Main.main<Main.java:49>

I use win7(64) and beta2, and I followed these steps:
- install java 6
- Modify witptracker.bat ("C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar")
- copy pswsdll.dll from beta2 to witptracker directory.

Could be I missing something?

Thanks in advance.

Andres
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

ORIGINAL: Scrat

When I try load WitpTracker I read this message:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.StringBuffer.charAt<Unknown Source>
at witptracker.Properties.ReadProperties<Properties.java:107>
at witptracker.Main.main<Main.java:49>

I use win7(64) and beta2, and I followed these steps:
- install java 6
- Modify witptracker.bat ("C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar")
- copy pswsdll.dll from beta2 to witptracker directory.

Could be I missing something?

Thanks in advance.

Andres

Something wrong with the witptracker.properties file. Make sure the last line of the file is empty.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
Scrat
Posts: 12
Joined: Fri Aug 03, 2007 3:38 pm
Location: Spain

RE: WitPTracker AE Release 1.9.2 Available!

Post by Scrat »

Thanks, but now I have a new problem and I read the following text:

Initializing WitP Tracker AE database.
ERROR: Save game file "C:\Program Files (x86)\WITPAE\SAVE\wpae005.pws" could not be opened.
ERROR: Problem with save game file. Exiting.

In order to run Witp Tracker, Is mandatory to run and save several turns? Can be turns of small scenarios?

Thanks again.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

ORIGINAL: Scrat

Thanks, but now I have a new problem and I read the following text:

Initializing WitP Tracker AE database.
ERROR: Save game file "C:\Program Files (x86)\WITPAE\SAVE\wpae005.pws" could not be opened.
ERROR: Problem with save game file. Exiting.

In order to run Witp Tracker, Is mandatory to run and save several turns? Can be turns of small scenarios?

Thanks again.

It couldn't find the save file. Is that file there?

To see differences between turns, you'll need to load multiple.

Floyd
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
Scrat
Posts: 12
Joined: Fri Aug 03, 2007 3:38 pm
Location: Spain

RE: WitPTracker AE Release 1.9.2 Available!

Post by Scrat »

Thanks again for your reply.

I think my problem was I renamed the file pswsdll.dll to pswsdll.dll.old and copy this file from beta2 directory. But I guess the program was reading the old pswsdll.dll.old. (although I changed the extension) I have removed this file from the tracker directory and now witp tracker works ok.
Post Reply

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