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
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: WitPTracker AE Release 1.11 Available!

Post by Lokasenna »

ORIGINAL: floydg

ORIGINAL: Lokasenna
ORIGINAL: Lokasenna

I keep running into this intermittent and unpredictable issue when trying to read in a new turn:



System memory usage at 47% (of 32GB). I've fiddled with the -Xms and -Xmx tags and it doesn't seem to matter whether I put 512, 768, or 1024 in any of them, in any combination.

I haven't changed anything and Trackers "installed" in different folders on my desktop never had this issue.

Sometimes closing other apps and re-loading Tracker, then trying the turn again, would work. Today it isn't working.

Any help tracking this down? It's highly irritating and it is only happening with this instance of Tracker, not those I use(d) for other games. It's the exact same Tracker files, just in a different subfolder.

Edit to add:
Windows 10
Tracker version 1.10

java -showversion
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)


Edit 2:
Just tried it 3 more times and it worked this time. I closed another app that may use Java but... WTH?

Still having this issue, and only with one particular Tracker folder.

I've played around with the maximum heap space (-Xmx) number and can't figure it out or resolve it. I'm in 64-bit Windows, but I think it's 32-bit Java VM?

Shouldn't the 32-bit Java VM allow values of -Xmx up to 1.6 GB? (https://java2blog.com/could-not-reserve ... ject-heap/)

More to the point, why is this happening for a game save file that's still in January 1942? The database isn't very big at all yet.

And why doesn't it happen with my other Tracker folder that is also playing the Allies, is in 1943, and uses -Xms512m -Xmx512m in its command line? Why wouldn't that one run out of heap space? It doesn't - it works fine.

When Tracker loads up, it's in the ~440-480MB range in my task manager. How does it not have enough space between 400M and the 1300M that I have been able to set the -Xmx on to load a turn? It makes zero sense.


Edit 2: I made a fresh folder, switched back to -Xms512m -Xmx512m (which I'd already tried and are the same parameters on my other functioning Trackers), and then loaded a fresh database. I then loaded the new turn. It worked. When I looked at how much RAM it was taking up, it was over 600MB. If the heap stack space is limited to 512MB... This makes no sense to me.

I've never been an expert at memory management. It could be related to how the program processes the data, so it could be situation-specific. I know the program is long overdue for a re-work to fix the load times, which could address this. But finding the time is a challenge.

What boggles my mind about it is that it appears specific only to this one folder on my desktop. I can (and did) make a copy and run that one, and it works. But that folder's copy doesn't.
azura987
Posts: 55
Joined: Sat Jul 03, 2010 11:31 pm

RE: WitPTracker AE Release 1.11 Available!

Post by azura987 »

Hi! I'm trying my best to get witptrack 1.11 running but don't succeed. My knowledge of JAVA Runtime and windows is not as good as some here, and I tried a lot of things :) This is the error message I get on the console, please help me !
C:\Users\claes\Downloads\witptracker>C:\jre6-Tracker\bin\java -Xms512m -Xmx640m -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.
User avatar
Zovs
Posts: 9174
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: WitPTracker AE Release 1.11 Available!

Post by Zovs »

Looks like your running the wrong Java version.
Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
azura987
Posts: 55
Joined: Sat Jul 03, 2010 11:31 pm

RE: WitPTracker AE Release 1.11 Available!

Post by azura987 »

odd, I have tried with Java 6 32 bit... it's that one right?
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 »

Hi Floyd, any idea what these error messages are about?

java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_PK_59
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at witptracker.Database.InsertRow(Database.java:54)
at witptracker.Base.UpdateBaseInDB(Base.java:640)
at witptracker.InMemoryDB.CompareBaseLists(InMemoryDB.java:1743)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:91)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Insert Error code = -104
Table=BaseObjects Values=(749,1,388,527,0,1,0,1,0)
-----------------------------------------------
java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_PK_59
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at witptracker.Database.InsertRow(Database.java:54)
at witptracker.Base.UpdateBaseInDB(Base.java:640)
at witptracker.InMemoryDB.CompareBaseLists(InMemoryDB.java:1743)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:91)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Insert Error code = -104
Table=BaseObjects Values=(749,2,388,519,0,1,0,1,0)
------------------------------------------------------
java.sql.SQLException: Numeric value out of range
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at witptracker.Database.InsertRow(Database.java:54)
at witptracker.Alert.InsertInTable(Alert.java:232)
at witptracker.Pilots.UpdatePilotInDB(Pilots.java:294)
at witptracker.InMemoryDB.ComparePilotLists(InMemoryDB.java:3338)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:206)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Insert Error code = -65
Table=Alerts Values=(388,6,34199,12,0,1)

User avatar
Marc
Posts: 303
Joined: Tue Sep 05, 2000 8:00 am
Location: Braunschweig, Germany

RE: WitPTracker AE Release 1.11 Available!

Post by Marc »

Hi Floyd,

is it possible to adjust the font size of tracker?
The font size is quite small on my screen and adjusting it would be really great.

Anyway thank you for this extremly good tool.
Image
IJN Chokai
Nexira
Posts: 24
Joined: Mon Mar 01, 2021 10:38 pm

RE: WitPTracker AE Release 1.11 Available!

Post by Nexira »

I get a "unable to access jarfile witptracker.jar" error in the bat command prompt. No clue whats causing it, i have the right java and its linked to it, i have the memory, and ive double checked that i have downloaded everything it asks for on the tracker site. Anyone know what im doing wrong? (also running things in admin mode and what not)
User avatar
Fraggo5
Posts: 110
Joined: Wed Mar 24, 2021 1:04 pm
Location: Peterborough U.K

RE: WitPTracker AE Release 1.11 Available!

Post by Fraggo5 »

Thanks for the advice you gave to Zovs back in December Nomad , It helped me get WitPTracker working on my system.
Thanks
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 glad I could help. I loved Squad Leader, played a lot of it many, many years ago.
Hano
Posts: 91
Joined: Thu Feb 05, 2009 5:11 pm

RE: WitPTracker AE Release 1.11 Available!

Post by Hano »

Help needed with WitPTracker 1.11

Is there someone who can help me with this, I appreciate that a number have people have contributed with advice and suggestions, but I cant get WitPTracker to work

I have written out the steps I took following the steps in https://sites.google.com/site/witptracker/installation but cant get it to work.

Does anyone have the patience to spell out in the simplest terms what I'm doing wrong and how to get it to work.

If anyone can, I would really appreciate the help

Image
Attachments
WitPTracke...11post.jpg
WitPTracke...11post.jpg (112.54 KiB) Viewed 1118 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 »

The one thing I see is that there should be a " after witpTracker.jar

If your 32-bit java installation is in C:\java32\installation\bin\java.exe then it should work

Another possibility is that your witptracker properties file is not correct
edit, a bad path in the wirptracker properties file does not give that error.

I really think that the path you input for your 32-bit java installation is incorrect

Hano
Posts: 91
Joined: Thu Feb 05, 2009 5:11 pm

RE: WitPTracker AE Release 1.11 Available!

Post by Hano »

Thank you Nomad

I will check that out both the missing " and the path.

I assume that I dont need Java 6 if I have Java8 (32bit) installed?

This has been driving me nuts.......
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'm using version 8, no problem.
User avatar
purake
Posts: 16
Joined: Wed Aug 26, 2020 2:50 pm

RE: WitPTracker AE Release 1.11 Available!

Post by purake »

Hi Guys,

Tried to install tracker, it says x64 AMD systems are not supported? Is there a workaround?

Image
Attachments
amd.jpg
amd.jpg (144.97 KiB) Viewed 1117 times
User avatar
purake
Posts: 16
Joined: Wed Aug 26, 2020 2:50 pm

RE: WitPTracker AE Release 1.11 Available!

Post by purake »

ORIGINAL: purake

Hi Guys,

Tried to install tracker, it says x64 AMD systems are not supported? Is there a workaround?

Image

Nvm: Found the solution; installed the SP1 C++ libraries and copied the 32 bit Java exe to the tracker directory.
User avatar
BananaConvention
Posts: 720
Joined: Wed Jan 19, 2022 9:04 pm
Location: March ARB, CA

RE: WitPTracker AE Release 1.11 Available!

Post by BananaConvention »

Guys I am having a problem with Tracker. I get it to load my turn, but it's not showing me the alerts. I really need the alerts to keep track of where my ships are. How do I get it to show all alerts?

Image
Attachments
Tracker.jpg
Tracker.jpg (198.61 KiB) Viewed 1117 times
Jochen Heiden

My WitP Tutorial Playlist:
https://youtube.com/playlist?list=PLFaQ ... Q9HG1hSiAG

Join my WitP Discord! Over 950 members and growing DAILY!
https://discord.gg/v4A9STzW7R
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 »

That screen shot shows that you just initialized the database. The alerts are based on comparing the current turn with the previous turn.
I do not know what you did for turn 1 and and turn 2, since it shows you loaded turn 3 but you have not loaded turn 1 and turn 2.
User avatar
BananaConvention
Posts: 720
Joined: Wed Jan 19, 2022 9:04 pm
Location: March ARB, CA

RE: WitPTracker AE Release 1.11 Available!

Post by BananaConvention »

How do I load other turns? I don’t understand how to save the files each turn so it can read a previous one. Should I save them on different slots each turn or overwrite the file each time?
Jochen Heiden

My WitP Tutorial Playlist:
https://youtube.com/playlist?list=PLFaQ ... Q9HG1hSiAG

Join my WitP Discord! Over 950 members and growing DAILY!
https://discord.gg/v4A9STzW7R
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 »

You are playing against the AI correct? pick one slot, preferably a very low number like 5. That is your tracker save slot. After the new turn processes save the turn to that slot and also save it to a different slot so you have a running set of turns so you can go back and restart the game and try different actions. I always used slot 5 for my tracker save, slot 4 I used to save the game just before I ended it, so I could made adjustments if I wanted to, and slot 3 was a temporary save slot while doing the turn. I often save before I do something that could be done wrong. You can then have about 194 other save file slots you can use to have for learning.
Note that when I play a pbem game I use the same setup, but not always slot 5, but use 3 slots as described. That way after I send my turn I can use the save just before ending to open and peruse and make notes for things to do later in the game.
User avatar
BananaConvention
Posts: 720
Joined: Wed Jan 19, 2022 9:04 pm
Location: March ARB, CA

RE: WitPTracker AE Release 1.11 Available!

Post by BananaConvention »

Ok, so I can keep uploading the same game file name to the Tracker and it'll start creating my alert log from that point on?
Jochen Heiden

My WitP Tutorial Playlist:
https://youtube.com/playlist?list=PLFaQ ... Q9HG1hSiAG

Join my WitP Discord! Over 950 members and growing DAILY!
https://discord.gg/v4A9STzW7R
Post Reply

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