Page 309 of 320

RE: WitPTracker AE Release 1.11 Available!

Posted: Wed Feb 09, 2022 9:15 am
by Nomad
yes

Help Needed

Posted: Sun Feb 20, 2022 3:26 pm
by joliverlay
Got a new computer with windows 11 (had 10). Now cant get tracker to work no matter how many times I try (all day). It acts like it does not recognize the game file.

last error message:

"Could not find the main class: witptracker.Main. Program will exit."

save file in same folder as the tracker stuff, etc.

RE: Help Needed

Posted: Sun Feb 20, 2022 4:35 pm
by btd64
ORIGINAL: joliverlay

Got a new computer with windows 11 (had 10). Now cant get tracker to work no matter how many times I try (all day). It acts like it does not recognize the game file.

last error message:

"Could not find the main class: witptracker.Main. Program will exit."

save file in same folder as the tracker stuff, etc.


Post in the tracker forum....GP

RE: Help Needed

Posted: Sun Feb 20, 2022 4:46 pm
by Nomad
ORIGINAL: btd64

ORIGINAL: joliverlay

Got a new computer with windows 11 (had 10). Now cant get tracker to work no matter how many times I try (all day). It acts like it does not recognize the game file.

last error message:

"Could not find the main class: witptracker.Main. Program will exit."

save file in same folder as the tracker stuff, etc.


Post in the tracker forum....GP

This is the tracker thread.

RE: Help Needed

Posted: Sun Feb 20, 2022 4:52 pm
by michaelm75au
ORIGINAL: joliverlay

Got a new computer with windows 11 (had 10). Now cant get tracker to work no matter how many times I try (all day). It acts like it does not recognize the game file.

last error message:

"Could not find the main class: witptracker.Main. Program will exit."

save file in same folder as the tracker stuff, etc.

Does it have Java 7 or 8 (32bit) installed?




RE: Help Needed

Posted: Sun Feb 20, 2022 5:15 pm
by btd64
Oh, on my phone it said "help needed". My bad....GP

RE: Help Needed

Posted: Sun Feb 20, 2022 5:40 pm
by Nomad
ORIGINAL: joliverlay

Got a new computer with windows 11 (had 10). Now cant get tracker to work no matter how many times I try (all day). It acts like it does not recognize the game file.

last error message:

"Could not find the main class: witptracker.Main. Program will exit."

save file in same folder as the tracker stuff, etc.

Do you have a lib folder in your tracker folder? There are files in it that are needed.

RE: Help Needed

Posted: Sun Feb 20, 2022 6:28 pm
by joliverlay
Yes,3 files, hsqldb, jcommn, and jfreechart all executables.

RE: Help Needed

Posted: Sun Feb 20, 2022 6:47 pm
by Nomad
OK, you will have to wait for Floyd or Damien to see the problem.

RE: Help Needed

Posted: Mon Feb 21, 2022 12:42 am
by JanSako
No action item needed, just figured I will report this.

On my Win 11 when I run the tracker from Desktop or Documents, I can run the tracker one time. When I close it & try to reopen, there is a database error & it just won't run any more after that. I can run it just fine from the root of the C drive.

The best clue I have, apart of Windows weirdness with the Desktop folder is that it is being constantly backed up by OneDrive or Google or similar service.

RE: Help Needed

Posted: Tue Feb 22, 2022 9:54 am
by joliverlay
Sorry I missed the question above. Yes, I have Java 6 installed. The error message looks like it is generated by Java failing to find the "main program" which I assume means it can't open the save file in the same folder with the other tracker files.

I suspect it is a windows 11 problem. Running from my D: drive not C:

I've had this running on earlier versions of windows on older computers, but finally had to upgrade.

Re: WitPTracker AE Release 1.11 Available!

Posted: Thu Feb 24, 2022 6:28 pm
by joliverlay
Trying to install tracker on yet another PC, and still no luck. Never finds the main file it says it looking for. I want to play Japanese side for a change, but can't without getting tracker going. Anyone else having problems. I had this running a few years ago, and did not need it as allied player, so stopped using it, but can't for the life of me install now on my main and now a back up computer.

Re: WitPTracker AE Release 1.11 Available!

Posted: Fri Feb 25, 2022 7:26 am
by Chris21wen
You need to edit the witptracker.properties in the tracker folder. Contents of file below, bit that you need to edit for playing Japan Bold.

# 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=[0]

# 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=[Japan wpae001]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]

Re: WitPTracker AE Release 1.11 Available!

Posted: Fri Feb 25, 2022 7:30 am
by Chris21wen
Justed Noticed your other problems. All solved by editing this file.

Re: WitPTracker AE Release 1.11 Available!

Posted: Tue Mar 01, 2022 10:05 pm
by joliverlay
Tried what you posted, does not work. Tired again, this time change to AI (as Allied) game so no confusion about which file to use (AI can have 1, PBM has 2) and tried this, still no luck with the save game file in the same folder. Error message says "Exception in thread "main" java.lang.UnsupportedClassVersionError: witptracker/Main : Unsupported major.minor version 52.0" Like I said. I've used this before but not on Windows 10 or 11.

WitPTracker AE properties file
# Directory of the game
Dir=[D:\Matrix Games\War in the Pacific Admiral's Edition]
# 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=[]
# Name of the base save file
SaveFile=[wpae007.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=[0]
# Text to put in the header of the main window
Header=[wpae007]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]

Re: WitPTracker AE Release 1.11 Available!

Posted: Sun Mar 13, 2022 9:07 pm
by Molon Labe
Hey guys,

Was running Tracker on my old system without issue in a PBEM campaign that's still active. Just upgraded my MoBo and transitioned to Windows 10. I can get tracker to run and load the last turn we played before I upgraded, but it won't load a new turn. There's no error message, it just doesn't do anything when I click read turn. Running Java 8 and confirmed that the properties file is pointing Tracker to the correct save directory. Any ideas? (preferably, that won't require restarting from scratch as I don't want to lose the campaign data right in the middle of the war)

Thanks!

Re: WitPTracker AE Release 1.11 Available!

Posted: Mon Apr 18, 2022 10:30 am
by sanderz
Having some problems getting Tracker to work with the empire mod.

When i click on one of the modded in planes in the Aircraft Comparison tab i get a blank picture (though it shows up ok in the actual game) but worse tracker gets stuck and won't display any other aircraft data.

Any ideas how to fix?
Thanks

Code: Select all

E:\witp_ae_base_1126b - Extended map-Empire\WitPTracker AE Release 1.11 - Japan>"C:\Program Files (x86)\Java\jre1.8.0_321\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
Initializing WitP Tracker AE database.
WitP Tracker AE tables loaded in 2 seconds
WARNING: SigInt file <E:\witp_ae_base_1126b - Extended map-Empire\SAVE\jsigint.txt> has 0 days of intel in the file, but the turn cycle is 1.
WARNING: Operations file <E:\witp_ae_base_1126b - Extended map-Empire\SAVE\joperationsreport.txt> has 0 days of data in the file, but the turn cycle is 1.
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1061
        at witptracker.Images.GetPlaneSideIcon(Images.java:211)
        at witptracker.AircraftComparePanel.SetPlaneInfo(AircraftComparePanel.java:571)
        at witptracker.AircraftComparePanel.actionPerformed(AircraftComparePanel.java:497)
        at javax.swing.JComboBox.fireActionEvent(Unknown Source)
        at javax.swing.JComboBox.setSelectedItem(Unknown Source)
        at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
        at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.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)

Re: WitPTracker AE Release 1.11 Available!

Posted: Fri Apr 22, 2022 6:36 pm
by rsallen64
Having a new problem running tracker. It's won't run the turn and this is the message a get:


D:\Tracker>java -Xms768m -Xmx768m -jar "WitPTracker.jar" nomap
WitP Tracker AE tables loaded in 85 seconds
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: D:\Tracker\pwsdll7.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at JNIpws.JNIpws.<clinit>(JNIpws.java:20)
at witptracker.SaveFileReader.ReadScenarioTurnNumber(SaveFileReader.java:339)
at witptracker.GUIMain.ReadNewTurn(GUIMain.java:150)
at witptracker.GUIMain.actionPerformed(GUIMain.java:529)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.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)

Any ideas or suggestions? Thanks!

Re: WitPTracker AE Release 1.11 Available!

Posted: Fri Apr 22, 2022 8:33 pm
by Nomad
suggestion, get the 32-bit version of Java and use it

Re: WitPTracker AE Release 1.11 Available!

Posted: Sat Apr 23, 2022 6:17 am
by rsallen64
Nomad wrote: Fri Apr 22, 2022 8:33 pm suggestion, get the 32-bit version of Java and use it
Thanks, Nomad. That did the trick. Funny, as I had been running the 64-bit version for some time with no problems. But everything is working fine now.