Page 279 of 325
RE: WitPTracker AE Release 1.10 Available!
Posted: Mon Jan 22, 2018 4:11 pm
by SparkleyTits
Hi guys I seem to be having trouble to get the tracker loaded with the map the cmd prompt says "Table loaded in 15 seconds etc" fine but no alerts come up and there is no map I can only look at devices etc
The alearts seem to work fine if I load the version of the tracker without the map though
Anybody know what likely very silly thing I am doing wrong?
Thanks
S-T
RE: WitPTracker AE Release 1.10 Available!
Posted: Mon Jan 22, 2018 7:31 pm
by floydg
ORIGINAL: SparkleyTits
Hi guys I seem to be having trouble to get the tracker loaded with the map the cmd prompt says "Table loaded in 15 seconds etc" fine but no alerts come up and there is no map I can only look at devices etc
The alearts seem to work fine if I load the version of the tracker without the map though
Anybody know what likely very silly thing I am doing wrong?
Thanks
S-T
Alerts are based on changes between turns loaded, so nothing appears until you load a second turn.
The map shows based on settings in the witptracker.properties file. Check the web site for instructions on how to set things.
Floyd
RE: WitPTracker AE Release 1.10 Available!
Posted: Tue Jan 23, 2018 12:08 am
by scout1
ORIGINAL: floydg
ORIGINAL: jgs
ORIGINAL: jgs
BINGO! The turn file was incorrect!
I am just starting a game as Allies and have some orders given. When is the first time I will run WitPTracker? I don't know if you start a baseline or just run after each turn is resolved and saved. Thanks
Doh! Spoke to soon. Corrected the turn file:
# WitPTracker AE properties file
# Directory of the game
Dir=[C:\Games\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=[abc123]
# Name of the base save file
SaveFile=[wpae002.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=[Tracker game Vs AI]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]
But still throws the error:
C:\Games\Matrix Games\WitPTracker>cd "C:\Games\Matrix Games\WitPTracker"
C:\Games\Matrix Games\WitPTracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
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)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at witptracker.Database.<init>(Database.java:31)
at witptracker.Main.main(Main.java:59)
C:\Games\Matrix Games\WitPTracker>pause
Press any key to continue . . .
What else can I check please? Thanks.
How did you unpack the program? There are files in a "lib" folder that it needs. If these aren't in the proper path, it won't work.
This is why I hate technology ...... It's no longer "close enough" ..... It's either a 100%/A+ or a 0%/F- .....
Just doesn't seem fair
RE: WitPTracker AE Release 1.10 Available!
Posted: Tue Jan 23, 2018 3:33 am
by SparkleyTits
ORIGINAL: floydg
ORIGINAL: SparkleyTits
Hi guys I seem to be having trouble to get the tracker loaded with the map the cmd prompt says "Table loaded in 15 seconds etc" fine but no alerts come up and there is no map I can only look at devices etc
The alearts seem to work fine if I load the version of the tracker without the map though
Anybody know what likely very silly thing I am doing wrong?
Thanks
S-T
Alerts are based on changes between turns loaded, so nothing appears until you load a second turn.
The map shows based on settings in the witptracker.properties file. Check the web site for instructions on how to set things.
Floyd
Yes I have tested with multiple turns and no luck with the map tracker unfortunately
I can get the alerts working but it only seems to work in small scenarios and never with the map tracker
Sometimes an error shows saying that there isn't enough memory is there a file I can tweak, as that might be a case at a guess?
Thanks
S-T
RE: WitPTracker AE Release 1.10 Available!
Posted: Tue Jan 23, 2018 9:44 am
by floydg
ORIGINAL: SparkleyTits
ORIGINAL: floydg
ORIGINAL: SparkleyTits
Hi guys I seem to be having trouble to get the tracker loaded with the map the cmd prompt says "Table loaded in 15 seconds etc" fine but no alerts come up and there is no map I can only look at devices etc
The alearts seem to work fine if I load the version of the tracker without the map though
Anybody know what likely very silly thing I am doing wrong?
Thanks
S-T
Alerts are based on changes between turns loaded, so nothing appears until you load a second turn.
The map shows based on settings in the witptracker.properties file. Check the web site for instructions on how to set things.
Floyd
Yes I have tested with multiple turns and no luck with the map tracker unfortunately
I can get the alerts working but it only seems to work in small scenarios and never with the map tracker
Sometimes an error shows saying that there isn't enough memory is there a file I can tweak, as that might be a case at a guess?
Thanks
S-T
You can increase the memory allocated or turn off the map. Check out towards the end of this page:
https://sites.google.com/site/witptracker/support
RE: WitPTracker AE Release 1.10 Available!
Posted: Tue Jan 23, 2018 5:18 pm
by SparkleyTits
This is the best I can get
https://imgur.com/HI3qT9u
I just cannot get alerts or the map to load for some reason
RE: WitPTracker AE Release 1.10 Available!
Posted: Tue Jan 23, 2018 8:34 pm
by floydg
Alerts are derived from the difference between two turns. They should appear once you load a second turn.
RE: WitPTracker AE Release 1.10 Available!
Posted: Tue Jan 23, 2018 9:19 pm
by SparkleyTits
The pictured I linked had 3 turns done to test if it needed a couple of turn to load [:(]
RE: WitPTracker AE Release 1.10 Available!
Posted: Tue Jan 23, 2018 10:42 pm
by btd64
Post a picture of your WITP Tracker AE properties file....GP
RE: WitPTracker AE Release 1.10 Available!
Posted: Wed Jan 24, 2018 12:17 am
by floydg
ORIGINAL: SparkleyTits
The pictured I linked had 3 turns done to test if it needed a couple of turn to load [:(]
But did you load three turns or did you just load turn 3?
RE: WitPTracker AE Release 1.10 Available!
Posted: Wed Jan 24, 2018 4:57 pm
by SparkleyTits
The picture I showed was me doing three turns then loading the tracker
I just started from turn 1 with the tracker up and running then did three turns it on and it is still the same empty view
My settings are
https://imgur.com/a/V9Uz7
RE: WitPTracker AE Release 1.10 Available!
Posted: Wed Jan 24, 2018 11:37 pm
by floydg
ORIGINAL: SparkleyTits
The picture I showed was me doing three turns then loading the tracker
I just started from turn 1 with the tracker up and running then did three turns it on and it is still the same empty view
My settings are
https://imgur.com/a/V9Uz7
It's been a while since I've look at the code; could be because you're using 2-day turns. I'm not sure.
RE: WitPTracker AE Release 1.10 Available!
Posted: Thu Jan 25, 2018 2:03 am
by BillBrown
Please post a picture of your turn list. In Tracker, click on the "turn" tab, and then select turn list, it should look something like this.

RE: WitPTracker AE Release 1.10 Available!
Posted: Fri Jan 26, 2018 5:17 pm
by Mundy
Hi Guys,
I've been having Tracker issues for some time now.
When I hit the "Read Turn" functions, basically nothing happens. It just sits there.
I've been dinking with the memory settings on the .bat files, but no success:
java -Xms960m -Xmx1152m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 16 seconds
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Matrix Games\War in the Pacific Admiral's Edition - Bottleneck\tools\Tracker\pwsdll7.dll: Not enough storage is available to process this command
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:148)
at witptracker.GUIMain.actionPerformed(GUIMain.java:527)
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)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class JNIpws.JNIpws
at witptracker.SaveFileReader.ReadScenarioTurnNumber(SaveFileReader.java:339)
at witptracker.GUIMain.ReadNewTurn(GUIMain.java:148)
at witptracker.GUIMain.actionPerformed(GUIMain.java:527)
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)
Thanks
RE: WitPTracker AE Release 1.10 Available!
Posted: Sat Jan 27, 2018 10:46 pm
by floydg
It looks like some kind of memory issue. I'm not sure what it is. Does it do the same with the default memory settings?
RE: WitPTracker AE Release 1.10 Available!
Posted: Sun Jan 28, 2018 2:57 am
by Mundy
Yep. I started there and increased the settings.
I've killed the data files for a fresh start, but no joy.
I've got 16 G of RAM, so I'm not short on my machine.
RE: WitPTracker AE Release 1.10 Available!
Posted: Sun Jan 28, 2018 1:33 pm
by floydg
ORIGINAL: Mundy
Yep. I started there and increased the settings.
I've killed the data files for a fresh start, but no joy.
I've got 16 G of RAM, so I'm not short on my machine.
It has to be something with the DLL or your PC environment. What version of Java JRE do you have?
RE: WitPTracker AE Release 1.10 Available!
Posted: Sun Jan 28, 2018 2:54 pm
by BillBrown
I have had a number of problems with the out of memory error. Many times it seems that memory just gets fragmented or blocked in some way.
The first thing that I do is to save and close everything and reboot, that often will take care of the problem.
I have found that if my machine is waiting for a restart to finish its upgrades that will cause it, the above reboot
will also fix that.
That said, I have also had problems with Java updating and causing problems. I now have a separate 32-bit version installed on my long term data
disk and so it never gets deleted or updated. That has solved some problems also.
Note that as far as I can tell, the size of the database is not actually a factor. You get that error message when you try to load a new turn.
I have found that the best set of memory size switches seems to be -Xms384m -Xmx1024m the -Xms switch is the starting size of the memory pool and
the -Xmx switch is the maximum size that the memory pool will grow to. As far as I can tell, Java will use disk space if needed, but the dll seems
to need enough contiguous memory to load a new turn.
RE: WitPTracker AE Release 1.10 Available!
Posted: Sun Jan 28, 2018 5:11 pm
by Mundy
Thanks Bill,
I gave that setting a try, but no luck. I hit the get turn function and nothing happens. The bar at the bottom doesn't budge.
I did try a re-install of Java too.
Before, I'd get about a month of play before things happened. I upped the memory settings which helped...for awhile. Now nothing -- ever.
RE: WitPTracker AE Release 1.10 Available!
Posted: Sun Jan 28, 2018 7:09 pm
by BillBrown
Make sure you are using a 32-bit version of Java.