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
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: problems with tracker

Post by n01487477 »

ORIGINAL: Theages

I am using V1.6 of WitpTracker (with latest version of java) und the latest version of WitpAE. I started a new game as Japan. I initialized the database with the first daily autosave. Then I used multiturn read for the next 6 autosave files. Java showed the following error. WitpTracker seems to work regardless. There is 1 "Kawai R." in the pilot list.

java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for
column(s) $$: SYS_PK_103
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.Pilots.InsertInTable(Pilots.java:157)
at witptracker.InMemoryDB.ComparePilotLists(InMemoryDB.java:2979)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:194)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Insert Error code = -104
Table=Pilots Values=(8411,'Kawai R.',1,4)
Yeah,
sometimes happens with multi reads ... no worries unless it keeps giving the same message and hangs
User avatar
Kwik E Mart
Posts: 2447
Joined: Wed Jul 21, 2004 10:42 pm

RE: problems with tracker

Post by Kwik E Mart »

i've searched this folder, but can't find an answer to why tracker looks for intel reports from the day before the loaded turn. i had to change the date on the first sigint report of the game (dec 7th) to dec 6th before it would show the report...is this WAD?

thanks

edit: found my answer, but still having issues (operator error, i'm sure!)...see my post below
Kirk Lazarus: I know who I am. I'm the dude playin' the dude, disguised as another dude!
Ron Swanson: Clear alcohols are for rich women on diets.

Image
User avatar
Bliztk
Posts: 777
Joined: Wed Apr 24, 2002 10:37 am
Location: Electronic City

RE: problems with tracker

Post by Bliztk »

Rebuilt all my savegames plus combat reports.

Using multiple turn load starting from turn 1, got the same error as Theages but it worked.

Total turns read 58

Then I use the version with map and I get this error:


WitP Tracker AE tables loaded in 13 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
       at java.awt.image.DataBufferInt.<init>(Unknown Source)
       at java.awt.image.Raster.createPackedRaster(Unknown Source)
       at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
       at java.awt.image.BufferedImage.<init>(Unknown Source)
       at witptracker.MapPanel$Map.<init>(MapPanel.java:354)
       at witptracker.MapPanel.<init>(MapPanel.java:193)
       at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:883)
       at witptracker.GUIMain$5.run(GUIMain.java:997)
       at java.awt.event.InvocationEvent.dispatch(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)

BUT, if I run the version with no map it works. Got a Quad Core with 6GB of RAM and 1 TB of HD, so I guess that this is a problem with the code, not the machine [;)]
Image
User avatar
Kwik E Mart
Posts: 2447
Joined: Wed Jul 21, 2004 10:42 pm

RE: WitPTracker AE Release 1.3.1 Available

Post by Kwik E Mart »

ORIGINAL: floydg

Okay, I now have release 1.3.1 available.

This is an incremental fix for loading the signal intelligence files. The program will now also look for a file called "[font="Courier New"]asigint.txt[/font]" or "[font="Courier New"]jsigint.txt[/font]" if it can't find a file with a date on in the name. Also, it will look for the file for the date previous to the turn being loaded. That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), [font="Courier New"]jsigint_411206.txt[/font], which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named [font="Courier New"]jsigint_411207.txt [/font] or [font="Courier New"]jsigint.txt [/font] which should exist for December 7th.

Also added a tooltip to the Turn column in the Intel panel that shows the date associated with the turn number.

Release is available here.


ok, this answers my previous question...but i can't seem to get Tracker to load the asigint.txt file on the first turn...perhaps this has changed since 1.3.1?
Kirk Lazarus: I know who I am. I'm the dude playin' the dude, disguised as another dude!
Ron Swanson: Clear alcohols are for rich women on diets.

Image
User avatar
Kwik E Mart
Posts: 2447
Joined: Wed Jul 21, 2004 10:42 pm

RE: WitPTracker AE Release 1.3.1 Available

Post by Kwik E Mart »

anybody home?
Kirk Lazarus: I know who I am. I'm the dude playin' the dude, disguised as another dude!
Ron Swanson: Clear alcohols are for rich women on diets.

Image
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker AE Release 1.3.1 Available

Post by n01487477 »

ORIGINAL: Kwik E Mart

anybody home?
Yep ... just thought you'd solved the problem on your own. If you do a pre-turn load before the game has executed the 7 Dec turn, there will always be this error recorded. It is normal & as quoted
That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), jsigint_411206.txt, which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named jsigint_411207.txt or jsigint.txt which should exist for December 7th.

And everything from then on will work as indicated.
User avatar
Kwik E Mart
Posts: 2447
Joined: Wed Jul 21, 2004 10:42 pm

RE: WitPTracker AE Release 1.3.1 Available

Post by Kwik E Mart »

ORIGINAL: n01487477

ORIGINAL: Kwik E Mart

anybody home?
Yep ... just thought you'd solved the problem on your own. If you do a pre-turn load before the game has executed the 7 Dec turn, there will always be this error recorded. It is normal & as quoted
That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), jsigint_411206.txt, which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named jsigint_411207.txt or jsigint.txt which should exist for December 7th.

And everything from then on will work as indicated.

ok, thanks for response...i just thought that in my previous post it had been stated that if the program can't find the current date, it would default to the generic asigint.txt...as long as what I descibe is WAD, then I'm cool....thanks again

Kirk Lazarus: I know who I am. I'm the dude playin' the dude, disguised as another dude!
Ron Swanson: Clear alcohols are for rich women on diets.

Image
Amoral
Posts: 377
Joined: Wed Jul 28, 2010 1:17 am

RE: WitPTracker AE Release 1.6 Available!

Post by Amoral »

I keep getting a Java.Lang.UnsatisfiedLinkError (see screenshot)

Image


WitpStaff launches without an error
I'm using windows xp professional - Service Pack 3(32bit)on an intel core2 Dup CPU
I made sure I had every windows update available from update.microsoft.com
I went through and uninstalled Java, .net framework 4.0 and Microsoft Visusal Studio C++ 2008 Redist.
Then I went back and reinstalled them in that order. I still get the same error.

I downloaded the attachment at the end of the tracker support page and ran it as well. You can see that screenshot as well.

Image

Any idea what could be wrong?

User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker AE Release 1.6 Available!

Post by n01487477 »

ORIGINAL: Amoral
I keep getting a Java.Lang.UnsatisfiedLinkError (see screenshot)
WitpStaff launches without an error

A little strange as both use the same *.dll to access the save game file.
I'm using windows xp professional - Service Pack 3(32bit)on an intel core2 Dup CPU
I made sure I had every windows update available from update.microsoft.com
I went through and uninstalled Java, .net framework 4.0 and Microsoft Visusal Studio C++ 2008 Redist.

Any idea what could be wrong?
Sounds like you've done all required, but as with many Microsoft products, they don't always work as intended.[;)]
The 2008 C++ redist. can usually do the job, but I recommend trying the 2005 C++
http://www.microsoft.com/downloads/deta ... laylang=en

Use the vcredist_x86.exe version, even if you have an AMD processor.

Lastly, I'm sorry but I've had people have to uninstall and reinstall this & even go back to the original (not the SP) and then apply ... before it worked. This is not a Tracker bug, rather a configuration problem...

Good Luck and let me know how you go...
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker AE Release 1.6 Available!

Post by n01487477 »

This is what I have installed ... I doubt you need all of these

Image
Attachments
capture.jpg
capture.jpg (26.21 KiB) Viewed 149 times
Amoral
Posts: 377
Joined: Wed Jul 28, 2010 1:17 am

RE: WitPTracker AE Release 1.6 Available!

Post by Amoral »

Damian,

I though I had all the c++ redistrutables, but the link in your post (Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update) has fixed my problem.

Thanks very much.
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker AE Release 1.6 Available!

Post by n01487477 »

ORIGINAL: Amoral

Damian,

I though I had all the c++ redistrutables, but the link in your post (Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update) has fixed my problem.

Thanks very much.
Glad to get it resolved for you ... Welcome to Tracker, hope you enjoy using it and if you have any suggestions/problems let us know [8D]
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.3.1 Available

Post by floydg »

ORIGINAL: Kwik E Mart

ORIGINAL: n01487477

ORIGINAL: Kwik E Mart

anybody home?
Yep ... just thought you'd solved the problem on your own. If you do a pre-turn load before the game has executed the 7 Dec turn, there will always be this error recorded. It is normal & as quoted
That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), jsigint_411206.txt, which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named jsigint_411207.txt or jsigint.txt which should exist for December 7th.

And everything from then on will work as indicated.

ok, thanks for response...i just thought that in my previous post it had been stated that if the program can't find the current date, it would default to the generic asigint.txt...as long as what I descibe is WAD, then I'm cool....thanks again


Yes, it will look in the generic asigint.txt, but it has to be for the date it's looking for (derived from the first line of the file).
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: problems with tracker

Post by floydg »

ORIGINAL: Bliztk

Rebuilt all my savegames plus combat reports.

Using multiple turn load starting from turn 1, got the same error as Theages but it worked.

Total turns read 58

Then I use the version with map and I get this error:


WitP Tracker AE tables loaded in 13 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
       at java.awt.image.DataBufferInt.<init>(Unknown Source)
       at java.awt.image.Raster.createPackedRaster(Unknown Source)
       at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
       at java.awt.image.BufferedImage.<init>(Unknown Source)
       at witptracker.MapPanel$Map.<init>(MapPanel.java:354)
       at witptracker.MapPanel.<init>(MapPanel.java:193)
       at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:883)
       at witptracker.GUIMain$5.run(GUIMain.java:997)
       at java.awt.event.InvocationEvent.dispatch(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)

BUT, if I run the version with no map it works. Got a Quad Core with 6GB of RAM and 1 TB of HD, so I guess that this is a problem with the code, not the machine [;)]

Well, before we go blaming the hapless programmer, what's the command line you're running this with?

Floyd
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
User avatar
invernomuto
Posts: 942
Joined: Fri Oct 08, 2004 4:29 pm
Location: Turin, Italy

RE: problems with tracker

Post by invernomuto »

Tracker stopped working in my PBEM game as allied.
I have no clue why.
I upgraded some days ago to the latest version and everything went ok (tracker loaded normally). Yesterday it gives this error:
D:\Download\WITP AE\WitPTracker AE PBEM Ste>java -Xms384m -Xmx512m -jar "WitPTra
cker.jar"
WitP Tracker AE tables loaded in 57 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.image.DataBufferInt.<init>(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.image.Raster.createPackedRaster(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.image.BufferedImage.<init>(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.MapPanel$Map.<init>(MapPanel.java:354)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.MapPanel.<init>(MapPanel.java:193)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:883)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.GUIMain$5.run(GUIMain.java:997)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.event.InvocationEvent.dispatch(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventQueue.dispatchEvent(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.run(Unknown Source)

D:\Download\WITP AE\WitPTracker AE PBEM Ste>pause
Premere un tasto per continuare . . .
User avatar
invernomuto
Posts: 942
Joined: Fri Oct 08, 2004 4:29 pm
Location: Turin, Italy

RE: problems with tracker

Post by invernomuto »

Ok, sorry Floydg, it was just a memory issue like Bliztk one's.
Solution found: I changed memory values in the WitpTracker.bat file and everything is running fine now.

mine working WitpTracker.bat:
java -Xms512m -Xmx1024m -jar "WitPTracker.jar"
pause
User avatar
invernomuto
Posts: 942
Joined: Fri Oct 08, 2004 4:29 pm
Location: Turin, Italy

RE: problems with tracker

Post by invernomuto »

ORIGINAL: Bliztk

Rebuilt all my savegames plus combat reports.

Using multiple turn load starting from turn 1, got the same error as Theages but it worked.

Total turns read 58

Then I use the version with map and I get this error:


WitP Tracker AE tables loaded in 13 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce

       at java.awt.image.DataBufferInt.<init>(Unknown Source)
       at java.awt.image.Raster.createPackedRaster(Unknown Source)
       at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
       at java.awt.image.BufferedImage.<init>(Unknown Source)
       at witptracker.MapPanel$Map.<init>(MapPanel.java:354)
       at witptracker.MapPanel.<init>(MapPanel.java:193)
       at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:883)
       at witptracker.GUIMain$5.run(GUIMain.java:997)
       at java.awt.event.InvocationEvent.dispatch(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)

BUT, if I run the version with no map it works. Got a Quad Core with 6GB of RAM and 1 TB of HD, so I guess that this is a problem with the code, not the machine [;)]

Hi, you need to change the value in your WitpTracker.bat file.
Change the numbers to bigger values. Increase by 128.
Here is mine:

java -Xms512m -Xmx1024m -jar "WitPTracker.jar"
pause
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: problems with tracker

Post by n01487477 »

Glad you figured it Invernomuto,

Just so everyone knows ... the support page now has a few more tips for common probs including these memory issues.

http://sites.google.com/site/witptracker/support

User avatar
Roger Neilson II
Posts: 1419
Joined: Sun Jul 16, 2006 11:16 am
Location: Newcastle upon Tyne. England

RE: problems with tracker

Post by Roger Neilson II »

A request, in the Alerts Data set could there be a filter for type of Alert in the same way s there is for the Object name? Would be v useful....

Roger
Image
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: problems with tracker

Post by floydg »

ORIGINAL: Roger Neilson II

A request, in the Alerts Data set could there be a filter for type of Alert in the same way s there is for the Object name? Would be v useful....

Roger

Yeah, that certainly would be useful. Just tricky to do because it could have conflicts with the other control (Object Type).
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
Post Reply

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