Page 314 of 320

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Jan 01, 2023 11:04 pm
by GrosserKreuzer
I just wanted to let people know that I solved my question about differences with values of some devices.
Apparently I forgot to delete some of the database data when copying tracker and setting it up for for the beta version, and the data was correct for v1.01.26a and changed to version v1127Beta. One more changed I had not known of before.

Tracker is therefore working fine.

I'm stumpped

Posted: Mon Jan 02, 2023 10:17 am
by Chris21wen
Normally I can get it to go no bother but stump.

I'm head to head with latest beta and the new map, scen 2 with two trackers, Japan and Allied. The Japanese one opens the Allied one won't see below for error.

If I switch to Japan computer the Allied one will open so it's something to do with head to head. Allied trtacker properties below. I'm sure I had it working before?

D:\Matrix Games\War in the Pacific AE\Tracker A>rem del *db.*

D:\Matrix Games\War in the Pacific AE\Tracker A>"C:\Program Files (x86)\Java\jre1.8.0_351\bin\Java" -Xms512m -Xmx768m -jar "WitPTracker.jar" nomap
Initializing WitP Tracker AE database.
WitP Tracker AE tables loaded in 3 seconds
Exception in thread "main" java.lang.NumberFormatException: For input string: " ove"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.valueOf(Unknown Source)
at witptracker.TextFileHandler.LoadOperationsFile(TextFileHandler.java:856)
at witptracker.Main.main(Main.java:259)

# WitPTracker AE properties file
# Directory of the game
Dir=[D:\Matrix Games\War in the Pacific AE]
# 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]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]

Re: WitPTracker AE Release 1.11 Available!

Posted: Sat May 13, 2023 7:19 am
by Chris21wen
Not sure why but it's now working??

Re: WitPTracker AE Release 1.11 Available!

Posted: Thu May 18, 2023 10:33 am
by Count Sessine
Hi guys

Would any of you know a solution to this error message? I installed Java 6 32 bit as instructed as well as the old C++ package.

C:\Users\xx\Desktop\WITP tracker>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.

C:\Users\xx\Desktop\WITP tracker>pause
Press any key to continue . . .

Re: WitPTracker AE Release 1.11 Available!

Posted: Thu May 18, 2023 11:01 am
by floydg
This is typically a JRE version issue - what version of the JRE are you running? You need at least 1.7 or 1.8.

From the DOS command prompt, type "java -version" to see the version number.

Re: WitPTracker AE Release 1.11 Available!

Posted: Thu May 18, 2023 2:07 pm
by Count Sessine
Here is what it says


openjdk version "11.0.18" 2023-01-17
OpenJDK Runtime Environment Temurin-11.0.18+10 (build 11.0.18+10)
OpenJDK 64-Bit Server VM Temurin-11.0.18+10 (build 11.0.18+10, mixed mode)

Re: WitPTracker AE Release 1.11 Available!

Posted: Thu May 18, 2023 11:18 pm
by floydg
You need the JRE. The latest should be JRE8 Build 371.

https://www.java.com/en/download/

The result should look like this:

Code: Select all

java version "1.8.0_371"
Java(TM) SE Runtime Environment (build 1.8.0_371-b11)
Java HotSpot(TM) Client VM (build 25.371-b11, mixed mode, sharing)

Re: WitPTracker AE Release 1.11 Available!

Posted: Mon Jun 05, 2023 7:57 pm
by Tanaka
Dewey169 wrote: Fri Dec 23, 2022 10:41 pm
Nomad wrote: Fri Dec 23, 2022 10:04 pm I had not realized that Carnegie was in the middle of Australia. It should not have a port SPS of 2. That is a database error for sure.

As a test, I loaded scenario 1 into the editor and changed Carnegie to a Port Build of 0
and Port Dickson and Kuala Kangsar to Type 1 - Port

started the game and made a save. Tracker worked fine with those changes.

Do you want to post that info to the beta thread so they can fix those bases? I gonna guess those three are like that in all the scenario's that they were added into.

In my tracker, on the bases data set, approx 10% of the bases have a type listed as "Beach". The two other types found are "airfields" and "base". Since I've only played stock, shouldn't there only be the two types? I'm sure it's not going to hurt anything but rather strange seeing something like Anyang(89,43) in China listed as "beach".
RIP Nomad. He was always such a great help with the Tracker. You guys got me looking into this and fixing these issues. Now I am also wondering why so many bases deep inland are set to Beach?

Re: WitPTracker AE Release 1.11 Available!

Posted: Tue Jun 06, 2023 9:06 pm
by Dewey169
Tanaka wrote: Mon Jun 05, 2023 7:57 pm
Dewey169 wrote: Fri Dec 23, 2022 10:41 pm
Nomad wrote: Fri Dec 23, 2022 10:04 pm I had not realized that Carnegie was in the middle of Australia. It should not have a port SPS of 2. That is a database error for sure.

As a test, I loaded scenario 1 into the editor and changed Carnegie to a Port Build of 0
and Port Dickson and Kuala Kangsar to Type 1 - Port

started the game and made a save. Tracker worked fine with those changes.

Do you want to post that info to the beta thread so they can fix those bases? I gonna guess those three are like that in all the scenario's that they were added into.

In my tracker, on the bases data set, approx 10% of the bases have a type listed as "Beach". The two other types found are "airfields" and "base". Since I've only played stock, shouldn't there only be the two types? I'm sure it's not going to hurt anything but rather strange seeing something like Anyang(89,43) in China listed as "beach".
RIP Nomad. He was always such a great help with the Tracker. You guys got me looking into this and fixing these issues. Now I am also wondering why so many bases deep inland are set to Beach?
I feel the same about Nomad. My guess has been this was caused by all the updates to the map that were in the latest beta. Hopefully, the next version of the beta comes out soon and can see if they still appear that way.

Re: WitPTracker AE Release 1.11 Available!

Posted: Thu Jun 08, 2023 11:14 am
by btd64
That base is fixed in the next beta....GP

Re: WitPTracker AE Release 1.11 Available!

Posted: Tue Jun 13, 2023 5:19 am
by Tanaka
btd64 wrote: Thu Jun 08, 2023 11:14 am That base is fixed in the next beta....GP
Thanks just Carnegie? Port Dickson and Kuala Kangsar need to be changed to Type 1 - Port also. When you do this they finally show up in Tracker since they are supposed to be ports.

Carnegie to a Port Build of 0
Port Dickson and Kuala Kangsar to Type 1 - Port

Also what about all of those inland bases labeled beach? For example Anyang which is an inland base in China with no water around? Isn't the beach label only for atolls and islands?

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Jun 25, 2023 4:01 pm
by Montecriz
I'm sorry for this dumb question but I've not understood what this tracker for... :oops:

It helps just for PBEM games or for solo games too?

(I'm back in WITP since 10 years and I do not remember nothing about the game, sorry :roll: )

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Jun 25, 2023 7:45 pm
by JanSako
I use it as a 'to do' checklist of sorts:
- check the status of your industry - HIP, supplies, resources & oil/fuel status and how does it change over time - mostly for Japanese player. It does this for each base, & region.
E.g it shows that the Japanese Home Islands have XX days of resources left, shows how the daily surplus or deficit, shows the total of TF's with resources onboard that are heading towards the home islands.

- it allows you to manage Air production much better, it shows the airframe & engine progression, how many you have & need.

- it shows sunk ships sooner than the in-game tally :-) especially ones that sunk on the day but they are not shown yet (no idea what sort of magic does it use to do so). Helpful if you need to decide if you should pursue a wounded enemy.

- it aggregates the various notifications & messages on a single list, from 'ship upgraded' to 'ship repair finished', 'ship repair cannot progress', LCU arrived & my personal favorite: LCU arrived at a destination! This last one should have been in the battle reply... just saying.

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Jun 25, 2023 8:54 pm
by floydg
- it shows sunk ships sooner than the in-game tally :-) especially ones that sunk on the day but they are not shown yet (no idea what sort of magic does it use to do so). Helpful if you need to decide if you should pursue a wounded enemy.
Well, it's not supposed to do that... I'd like to fix that if someone has an example of the game not showing the ship sunk but WitPTracker showing it.

Re: WitPTracker AE Release 1.11 Available!

Posted: Mon Jun 26, 2023 8:07 am
by JanSako
It most often happens that Tracker shows it the day before. Why fix it? I like that feature :-)
Other times Tracker shows a different ship than the game.
I think I have an example of that now where tracker shows BB Maryland but the game shows BB California. let me know what do you need.

Error message leaves more to be desired

Posted: Sun Jul 09, 2023 2:49 am
by larryfulkerson
I'd like to know more about the type of error, what caused it, what I can do to solve it, etc.

I downloaded the Java package suggested above ( version 1.8 ) and copied the Java.exe to the Tracker folder ( to solve any pathing problems )
and then tried to run Tracker and it loaded and was running so then I tried the Turn->READ Turn function and I got this error message popup.
It is somewhat obtuse as you can imagine. I captured the console messages and this is the extent of the verbage:

C:\Matrix Games\War in the Pacific Admiral's Edition\WitPTracker AE Release 1.11>java -Xms384m -Xmx512m -jar "WitPTracker.jar" nomap
WitP Tracker AE tables loaded in 8 seconds


Which is also somewhat obtuse. I'm not sure what to do now. Thoughts?
error in Tracker.gif
error in Tracker.gif (626.76 KiB) Viewed 1826 times
I thought I'd attach the input file if that will help

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Jul 09, 2023 12:43 pm
by btd64
Check your properties file and make sure that you have the right read turn listed....GP

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Jul 09, 2023 2:06 pm
by floydg
It could also be the turn of the save file. If the turn is not a finalized turn (End Turn used), that could be the cause.

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Jul 09, 2023 10:09 pm
by larryfulkerson
btd64 wrote: Sun Jul 09, 2023 12:43 pm Check your properties file and make sure that you have the right read turn listed....GP
You're correct, of course. That's what it was.
floydg wrote: Sun Jul 09, 2023 2:06 pm It could also be the turn of the save file. If the turn is not a finalized turn (End Turn used), that could be the cause.
It turns out that this version of Tracker will read non-finalized turn files. I've not had a problem after 202 turns.

Margaret thanks you both for your answers. She wants a hug from both of you.
a woman in the military.jpg
a woman in the military.jpg (64.59 KiB) Viewed 1770 times

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Jul 09, 2023 11:20 pm
by btd64
larryfulkerson wrote: Sun Jul 09, 2023 10:09 pm
btd64 wrote: Sun Jul 09, 2023 12:43 pm Check your properties file and make sure that you have the right read turn listed....GP
You're correct, of course. That's what it was.
floydg wrote: Sun Jul 09, 2023 2:06 pm It could also be the turn of the save file. If the turn is not a finalized turn (End Turn used), that could be the cause.
It turns out that this version of Tracker will read non-finalized turn files. I've not had a problem after 202 turns.

Margaret thanks you both for your answers. She wants a hug from both of you.
a woman in the military.jpg
Your welcome....GP