WitPTracker AE Release 1.11 Available!
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
RE: WitPTracker AE Release 1.0
It doesn't, the doubling was put in a patch that is later than Tracker.
-
- Posts: 7485
- Joined: Thu Jan 17, 2002 10:00 am
- Location: Cottesmore, Rutland
RE: WitPTracker AE Release 1.0
I often want to look at the overall search arcs using tracker but found loading tracker with the map progressively gets slower and slower. Bad enough without it.
I started to use a separate tracker solely for viewing the map but even this eventually gets bigger and slower. I suppose this is nothing new too many of you but I also included an extra line to the bat file that deletes the database every time it's loaded.
del *db.*
"C:\Program Files (x86)\Java\jre6\bin\java" -Xms512m -Xmx768m -jar "WitPTracker.jar"
If you do this in conjunction with your turn save, mine's 03, then the map tracker loads very quickly. The only thing I've not been able to do is make tracker start at the Map dataset as opposed to Alerts (the top dataset). Is it possible to do this?
I started to use a separate tracker solely for viewing the map but even this eventually gets bigger and slower. I suppose this is nothing new too many of you but I also included an extra line to the bat file that deletes the database every time it's loaded.
del *db.*
"C:\Program Files (x86)\Java\jre6\bin\java" -Xms512m -Xmx768m -jar "WitPTracker.jar"
If you do this in conjunction with your turn save, mine's 03, then the map tracker loads very quickly. The only thing I've not been able to do is make tracker start at the Map dataset as opposed to Alerts (the top dataset). Is it possible to do this?
RE: WitPTracker AE Release 1.0
Floydg, I have 64bit Java8 and C++ installed and I get this message;


- Attachments
-
- Tracker Error.jpg (66.65 KiB) Viewed 658 times
Intel i7 4.3GHz 10th Gen,16GB Ram,Nvidia GeForce MX330
AKA General Patton
DW2-Alpha/Beta Tester
SCW Manual Lead & Beta Support Team
"Do everything you ask of those you command"....Gen. George S. Patton
AKA General Patton
DW2-Alpha/Beta Tester
SCW Manual Lead & Beta Support Team
"Do everything you ask of those you command"....Gen. George S. Patton
RE: WitPTracker AE Release 1.0
From this website- they suggest re-loading the 64bit jre (and make sure you are pointing at the right java version )
https://stackoverflow.com/questions/323 ... t-platform
Also they mention pwsdll7.dll a couple of times here: https://sites.google.com/site/witptracker/releases
Hope these help !
RE: WitPTracker AE Release 1.0
uninstall 64Bit Java.
Install 32Bit Java 8 (update 131 is current). Standard installation folder is C:\Program Files (x86)\Java\jre1.8.0_131 (the three digits change with the update version)
edit witptracker.bat to this:
"C:\Program Files (x86)\Java\jre1.8.0_131\bin\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar"
pause
Install 32Bit Java 8 (update 131 is current). Standard installation folder is C:\Program Files (x86)\Java\jre1.8.0_131 (the three digits change with the update version)
edit witptracker.bat to this:
"C:\Program Files (x86)\Java\jre1.8.0_131\bin\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar"
pause
- kfmiller41
- Posts: 1063
- Joined: Tue Mar 25, 2003 9:00 pm
- Location: Saint Marys, Ga
- Contact:
RE: WitPTracker AE Release 1.0
Tracker was working, and I started a new PBEM game and now I get this
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$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.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)
No matter what I try, old game, changing properties, nothing seems to work. Have Java 8.0.131
Please help
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$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.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)
No matter what I try, old game, changing properties, nothing seems to work. Have Java 8.0.131
Please help
You have the ability to arouse various emotions in me: please select carefully.
- kfmiller41
- Posts: 1063
- Joined: Tue Mar 25, 2003 9:00 pm
- Location: Saint Marys, Ga
- Contact:
RE: WitPTracker AE Release 1.10 Available!
ORIGINAL: Chris H
Just started RHS Scenario 2. Run Tracker for the first time and got this error message. I'm assuming it can't read the whole line as the line contains 63 characters and the string is restricted to 60. Tracker will open but I do not know if all of the operation file has been read. Is there a simple fix?
C:\Matrix Games\WitP AE RHS\WitP Tracker Allied>"C:\Program Files (x86)\Java\jre1.8.0_77\bin\java" -Xms512m -Xmx1024m -jar "WitPTracker.jar" nomap
Initializing WitP Tracker AE database.
WitP Tracker AE tables loaded in 9 seconds
WARNING: Unknown row in operations file <C:\Matrix Games\WitP AE RHS\SAVE\aoperationsreport.txt>: [Task Force 437 slows down to allow following TF 403 to catch up]
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -60
at java.lang.String.substring(Unknown Source)
at witptracker.TextFileHandler.LoadOperationsFile(TextFileHandler.java:954)
at witptracker.Main.main(Main.java:259)
Getting this exact error after getting everything else straitened out. But I cannot get tracker to even open
You have the ability to arouse various emotions in me: please select carefully.
RE: WitPTracker AE Release 1.10 Available!
Floyd, I have a question for you. I have gotten the message "Pilot Honored" I can not find anything like this in the op report, is it something you guys put if for pilots that get 25 kills?
- Admiral DadMan
- Posts: 3402
- Joined: Fri Feb 22, 2002 10:00 am
- Location: A Lion uses all its might to catch a Rabbit
RE: WitPTracker AE Release 1.10 Available!
Saw this displayed:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Games\Matrix Games\WitP\SAVE\WitPAE Tracker\pwsdll7.dll: Not enough storage is available to process this command
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Games\Matrix Games\WitP\SAVE\WitPAE Tracker\pwsdll7.dll: Not enough storage is available to process this command
RE: WitPTracker AE Release 1.10 Available!
Hi,
Similar situation here.
Yes, I went to the support page, and I am running this from the batch file and not the .jar file.
I've been diddling with the memory settings in the batch file, to no avail. I don't know if there's a "sweet spot" for values to use.
Thanks.

Similar situation here.
Yes, I went to the support page, and I am running this from the batch file and not the .jar file.
I've been diddling with the memory settings in the batch file, to no avail. I don't know if there's a "sweet spot" for values to use.
Thanks.

- Attachments
-
- Tracker.jpg (127.29 KiB) Viewed 658 times

RE: WitPTracker AE Release 1.10 Available!
I use the following for memory settings:
-Xms512m -Xmx768m
I've played around with them in the past, and these seemed to work best; it's certainly a case where more isn't necessarily better. It might also help to periodically trim the event logs - I think I trim mine to 25 turns, IIRC. There really hasn't been a need to look at events further back than that in my experience, so it's one less thing taking up memory.
-Xms512m -Xmx768m
I've played around with them in the past, and these seemed to work best; it's certainly a case where more isn't necessarily better. It might also help to periodically trim the event logs - I think I trim mine to 25 turns, IIRC. There really hasn't been a need to look at events further back than that in my experience, so it's one less thing taking up memory.
RE: WitPTracker AE Release 1.10 Available!
Tried that no joy.
I don't get it. It was running it fine for months. I deleted the game files to start a new one, and it won't work anymore. Even with a fresh install.
I don't get it. It was running it fine for months. I deleted the game files to start a new one, and it won't work anymore. Even with a fresh install.

RE: WitPTracker AE Release 1.10 Available!
Did you follow the install instruction on the Tracker homepage?
The installer doesn't do everything for you - you've got to make a copy of the Java.exe file and move it to the Tracker folder, for instance. Also, copy the pwsdll.dll and pwsdll7.dll files into the Tracker folder.
I've been helping the Gorn get his Tracker back up to speed (no joy yet), and it's brought back memories of how particular the install process is.
The installer doesn't do everything for you - you've got to make a copy of the Java.exe file and move it to the Tracker folder, for instance. Also, copy the pwsdll.dll and pwsdll7.dll files into the Tracker folder.
I've been helping the Gorn get his Tracker back up to speed (no joy yet), and it's brought back memories of how particular the install process is.
RE: WitPTracker AE Release 1.10 Available!
Okay...
I just wiped out my Java install, including removing all of the 8 or so prior install folders and re-installed fresh. This seemed to work now.
Java must just have gotten bungled at some point.
I just wiped out my Java install, including removing all of the 8 or so prior install folders and re-installed fresh. This seemed to work now.
Java must just have gotten bungled at some point.

RE: WitPTracker AE Release 1.10 Available!
had Trackers problems too.
Now I did a download of Java 32bit, installed it in a seperate folder, pointing tracker on that path and set the "normal" Java install to "No auto update".
Tracker always did not start after a Java Update, right now it is running for the last hundreds of turns in my game.
Now I did a download of Java 32bit, installed it in a seperate folder, pointing tracker on that path and set the "normal" Java install to "No auto update".
Tracker always did not start after a Java Update, right now it is running for the last hundreds of turns in my game.
RE: WitPTracker AE Release 1.10 Available!
ORIGINAL: Pilsator
had Trackers problems too.
Now I did a download of Java 32bit, installed it in a seperate folder, pointing tracker on that path and set the "normal" Java install to "No auto update".
Tracker always did not start after a Java Update, right now it is running for the last hundreds of turns in my game.
When Java updates, it will remove the old version and install the new one in a different directory. Therefore every update of Java requires a change in the witptracker.bat
eg.: C:\Program Files (x86)\Java\jre1.8.0_141 to C:\Program Files (x86)\Java\jre1.8.0_144
Alternatively you could create a "static" Java version by copying the folder to a new location and change the path for Java in the witptracker.bat pointing to that path.
RE: WitPTracker AE Release 1.10 Available!
Has anyone ever tried to convert Tracker to C# (eg.with "Java Language Conversion Assistant") or any other language?
Would the authors of Tracker allow this?
Would the authors of Tracker allow this?
- Lord_Calidor
- Posts: 402
- Joined: Fri Mar 25, 2005 8:00 am
- Location: Rijeka, CRO
- Contact:
RE: WitPTracker AE Release 1.10 Available!
Is there a way to delete the database (or in any way make it smaller... after couple hundred turns it gets really slow because of the huge file), but without deleting my region assignment data?
When I delete the trackerdb files, database is purged, Tracker runs much faster, but I also lose all of my regions, since all the bases are now assigned to "Japan".
Also, is there a way to delete all the turns in it, except the last one, so I can still track the changes etc.?
EDIT: nvm, got it sorted chaps.
Here's how I did it (!!! it's CRUCIAL that you follow the 1st two steps carefully, or else you could lose the save files !!!):
1) backup your old save file from previous turn, that should be your first in a new database, eg. I did it for 30th/31st of previous month (let's say, 12/31/42),
2) backup your current save file from this turn, eg. 01/01/43,
3) in the old, slow Tracker, backup your regions assignments by going to the File -> Export Base-Region Definitions...,
4) close the Tracker, delete the 4 trackerdb files in it's folder,
5) copy your old (12/31/42) save file to the current SAVE folder, or wherever you set up your Tracker to read it from,
6) run the Tracker and let it initialize the new database, it will automatically read the 12/31/42 turn,
7) restore the regions by going to the File -> Import Base-Region Definitions...,
8) close the Tracker and copy your current save file (01/01/43) to the SAVE folder, or wherever you set up your Tracker to read it from,
9) run Tracker again, and read the new turn. Voila! New, clean, fast database with just last 2 turns loaded and regions defined.
When I delete the trackerdb files, database is purged, Tracker runs much faster, but I also lose all of my regions, since all the bases are now assigned to "Japan".
Also, is there a way to delete all the turns in it, except the last one, so I can still track the changes etc.?
EDIT: nvm, got it sorted chaps.
Here's how I did it (!!! it's CRUCIAL that you follow the 1st two steps carefully, or else you could lose the save files !!!):
1) backup your old save file from previous turn, that should be your first in a new database, eg. I did it for 30th/31st of previous month (let's say, 12/31/42),
2) backup your current save file from this turn, eg. 01/01/43,
3) in the old, slow Tracker, backup your regions assignments by going to the File -> Export Base-Region Definitions...,
4) close the Tracker, delete the 4 trackerdb files in it's folder,
5) copy your old (12/31/42) save file to the current SAVE folder, or wherever you set up your Tracker to read it from,
6) run the Tracker and let it initialize the new database, it will automatically read the 12/31/42 turn,
7) restore the regions by going to the File -> Import Base-Region Definitions...,
8) close the Tracker and copy your current save file (01/01/43) to the SAVE folder, or wherever you set up your Tracker to read it from,
9) run Tracker again, and read the new turn. Voila! New, clean, fast database with just last 2 turns loaded and regions defined.
But when the blast of war blows in our ears,
Then imitate the action of the tiger;
Stiffen the sinews, summon up the blood,
Disguise fair nature with hard-favour'd rage.
Then imitate the action of the tiger;
Stiffen the sinews, summon up the blood,
Disguise fair nature with hard-favour'd rage.
-
- Posts: 7485
- Joined: Thu Jan 17, 2002 10:00 am
- Location: Cottesmore, Rutland
RE: WitPTracker AE Release 1.10 Available!
Just found a bug in tracker. Search but can't find it as being reported.
If you turn production off for a R&D a/c it does not show up in AirFrames, R&D nor B+R&D filters. In this example the H8K2 Emily is in research but I've turn Prod off. I've tested it by turning the Tojo off and Emily on. This time there's no Tojo but an Emily.

If you turn production off for a R&D a/c it does not show up in AirFrames, R&D nor B+R&D filters. In this example the H8K2 Emily is in research but I've turn Prod off. I've tested it by turning the Tojo off and Emily on. This time there's no Tojo but an Emily.

- Attachments
-
- Capture.jpg (53.32 KiB) Viewed 658 times
-
- Posts: 134
- Joined: Fri Dec 07, 2007 5:14 pm
RE: WitPTracker AE Release 1.10 Available!
I am getting the following error when I try to set up tracker
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -55
at java.lang.String.substring(Unknown Source)
at witptracker.TextFileHandler.LoadOperationsFile(TextFileHandler.java:954)
at witptracker.Main.main(Main.java:259)