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
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.11 Available!

Post by Nomad »

As I expected, the error messages show up when a new turn is loaded. Even after dumping 490+ turns of alerts, the error messages still appeared when I loaded the next turn.
So, it would seem that when you approach a database size of 2GB, it is time to restart.
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.11 Available!

Post by Nomad »

A little issue here. The history screen shows the unit with 3000 less needed supply than it show in the game screen. This is not the only unit doing this. I can find no clue as to why or what triggers it.

Image
Attachments
error.jpg
error.jpg (344.01 KiB) Viewed 727 times
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.11 Available!

Post by Nomad »

On the LCU screen the Infantry units show no required supply number.

Image
Attachments
error2.jpg
error2.jpg (153.98 KiB) Viewed 727 times
User avatar
USSAmerica
Posts: 19211
Joined: Mon Oct 28, 2002 4:32 am
Location: Graham, NC, USA
Contact:

RE: WitPTracker AE Release 1.0

Post by USSAmerica »

Everything was working fine until this turn it would not load the turn and I gat this error:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: D:\Matrix Games\WitPTracker AE Release 1.10\pwsdll7.dll: Not enough memory resources are available to process this command

Can someone tell me how to fix this?

Thanks
ORIGINAL: BaitBoy

Thanks. Turns out Dropbox was the problem.

I just hit this same error message after 131 days of turns, but at 2 day turns, so really only 66 turns. I exited my Dropbox and then opened up Tracker. After it opened, I was able to load the next turn just fine. After the turn loaded, I restarted Dropbox and away I go. I'll just have to kill it for a minute to load turns going forward. [8D]
Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me

Image
Artwork by The Amazing Dixie
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.11 Available!

Post by floydg »

ORIGINAL: Nomad

On the LCU screen the Infantry units show no required supply number.

Image

The column is too narrow. Widen the column width a little and the value will be shown. I guess I should make the default column width a little wider...
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
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.11 Available!

Post by Nomad »

ORIGINAL: floydg

ORIGINAL: Nomad

On the LCU screen the Infantry units show no required supply number.

Image

The column is too narrow. Widen the column width a little and the value will be shown. I guess I should make the default column width a little wider...

That probably is the problem there, what about the post above that one? The column width is not the issue.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.11 Available!

Post by floydg »

ORIGINAL: Nomad

A little issue here. The history screen shows the unit with 3000 less needed supply than it show in the game screen. This is not the only unit doing this. I can find no clue as to why or what triggers it.

Image
That probably is the problem there, what about the post above that one? The column width is not the issue.

I see where in the code that it adjusts down by 3000 needed supply greater than 3000 (and down by 6000 for needed supply greater than 6000). I really have no recollection why I specifically put that in the code, but there had to be a reason.

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
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.11 Available!

Post by Nomad »

Interesting. I understand that after so many years no recalling why you did something. I am sure it made sense to you when you did it.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.11 Available!

Post by floydg »

ORIGINAL: Nomad

Interesting. I understand that after so many years no recalling why you did something. I am sure it made sense to you when you did it.

Figured it out: bad design.
I was using the 3000 and 6000 values to determine up vs. down arrows. So I'd need to do some major work to fix that and I'm not sure it's worth it...
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
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.11 Available!

Post by Nomad »

I am sure it is not worth it. Maybe sometime in the far future you guys will do a version 2. You can fix and/or add a number of things at that time.
User avatar
RevRick
Posts: 2615
Joined: Sat Sep 16, 2000 4:00 pm
Location: Thomasville, GA

RE: WitPTracker AE Release 1.11 Available!

Post by RevRick »

Do you have a hidden, built-in Black Market?
"Action springs not from thought, but from a readiness for responsibility.” ― Dietrich Bonhoeffer
schwartzkie
Posts: 43
Joined: Wed Jun 01, 2005 6:29 pm

RE: WitPTracker AE Release 1.11 Available!

Post by schwartzkie »

Did a bit of searching and couldn't find anything on the issue I'm having.

Thanks in advance.

E:\Matrix Games\War in the Pacific Admiral's Edition\witpae Tracker>"C:\jre6 - Tracker\bin\java" -Xms768m -Xmx768m -jar "WitPTracker.jar"
Exception in thread "main" java.lang.UnsupportedClassVersionError: witptracker/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: witptracker.Main. Program will exit.

E:\Matrix Games\War in the Pacific Admiral's Edition\witpae Tracker>pause
Press any key to continue . . .
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.11 Available!

Post by Nomad »

I think you need a newer version of java. What version are you using?
User avatar
Voltreffer
Posts: 33
Joined: Thu Feb 13, 2020 1:25 pm
Location: Los Angeles

RE: WitPTracker AE Release 1.11 Available!

Post by Voltreffer »

ORIGINAL: schwartzkie

E:\Matrix Games\War in the Pacific Admiral's Edition\witpae Tracker>"C:\jre6 - Tracker\bin\java.exe" -Xms768m -Xmx768m -jar "WitPTracker.jar"

Assuming Java is installed in the 'jre6 - Tracker' folder (this is not a default installation location), add '.exe' to the end of the path as shown above.
schwartzkie
Posts: 43
Joined: Wed Jun 01, 2005 6:29 pm

RE: WitPTracker AE Release 1.11 Available!

Post by schwartzkie »

That was it - updating to Java version 8 fixed the issue. Thank you for your assistance.
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.11 Available!

Post by 789456281 »

If it only was that easy for me I'm tempetd to try this again but I wonder if I'm up to the headache.
GuyTipton
Posts: 15
Joined: Sat Mar 28, 2020 1:29 pm

RE: WitPTracker AE Release 1.10 Available!

Post by GuyTipton »

Hi Folks, My googlefu is failing me again. I had to reboot my computer with Tracker open (newest version) and now it appears the database is corrupted. Was there a way to repair the database? I was about 700 turns into a pbem game (stock quiet China).

D:\Games\War in the Pacific Admiral's Edition\witptracker>java -Xms512m -Xmx640m -jar "WitPTracker.jar"
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1662 >= 1662
at java.util.Vector.elementAt(Unknown Source)
at witptracker.AirGroup.GetAirGroups(AirGroup.java:232)
at witptracker.InMemoryDB.LoadStartupTables(InMemoryDB.java:150)
at witptracker.Main.main(Main.java:163)

Also tried "java -Xms768m -Xmx1024m -jar "WitPTracker.jar""

Cheers,
Guy
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: GuyTipton

Hi Folks, My googlefu is failing me again. I had to reboot my computer with Tracker open (newest version) and now it appears the database is corrupted. Was there a way to repair the database? I was about 700 turns into a pbem game (stock quiet China).

D:\Games\War in the Pacific Admiral's Edition\witptracker>java -Xms512m -Xmx640m -jar "WitPTracker.jar"
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1662 >= 1662
at java.util.Vector.elementAt(Unknown Source)
at witptracker.AirGroup.GetAirGroups(AirGroup.java:232)
at witptracker.InMemoryDB.LoadStartupTables(InMemoryDB.java:150)
at witptracker.Main.main(Main.java:163)

Also tried "java -Xms768m -Xmx1024m -jar "WitPTracker.jar""

Cheers,
Guy
Looking at that code section, I think the DB is corrupted (some missing airgroup upgrade, it appears). I don't think it's recoverable, unfortunately.
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
Tanaka
Posts: 5129
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

RE: WitPTracker AE Release 1.10 Available!

Post by Tanaka »

Coming back to set up Tracker for my first PBEM. Seems everything loads up fine but there are no alerts for my Japanese turn 2. Is this normal or is something not working right?
Image
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: Tanaka

Coming back to set up Tracker for my first PBEM. Seems everything loads up fine but there are no alerts for my Japanese turn 2. Is this normal or is something not working right?

Alerts show up when you load your second turn, since they're made by comparing old data with new data.
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”