June Release: WitPTracker now at 1.6!

Gary Grigsby's strategic level wargame covering the entire War in the Pacific from 1941 to 1945 or beyond.

Moderators: Joel Billings, wdolson, Don Bowen, mogami

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

RE: WitPTracker now at 1.1.1

Post by n01487477 »

So in the example below the Shinano started to be built when its delay was 1800. The value in Delay is reduced by 180 each turn, while start building increase, al-be-it negatively, by 180 each turn. The two should add up to 1800.

No the delay(days) is reduced by 1 day each turn, unless you accelerate the vessel.

So next turn Delay will say 1001 .. And "WHEN IT .." Started Building will increase to -799.

So at present it is showing the CV will arrive in 1002 Days.

Durability and build cost are the same when you are building normally.

If you accelerate, the durability stays the same, but build cost = durability * 3 (540) and the accelerated delay, the delay will be halved to 501 Days.

Is it starting to make sense ?
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker now at 1.1.1

Post by n01487477 »

Can you look at this error log? Anything can be done?
This is CHS 155 game.
I'll let Floyd field that one for now, I have an idea, but Floyd seems to have a better handle on these errors than I.
Another thing is it possible to show para units out of all inf units there for allies?
I saw this before and Floyd and I will discuss it before we start on the next build ... thanks.

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

RE: WitPTracker now at 1.1.1

Post by n01487477 »

Just wanted to confirm in the Production -> Regional Industry Tab, to see the details you must click horizontally to go vertically, sorry ... I'll try to fix it sometime.

So if you're at Japan Oil Fcty Cell, and want to go to Formosa Oil Cell, click horizontally so you are off the Oil cell (like Res Cell) then click Formosa Oil Cell ..



Image
Attachments
Capture1.jpg
Capture1.jpg (35.35 KiB) Viewed 229 times
User avatar
ny59giants
Posts: 9888
Joined: Mon Jan 10, 2005 12:02 pm

RE: WitPTracker now at 1.1.1

Post by ny59giants »

Naval Ship Building - If a ship is Halted, and when you try to use the calculation function to change it back to either Normal or Accelerated, it does not calculate the cost. I just ran into this problem with my EA game. The two columns on the far right don't change values.

Image
Attachments
EAShipProduct.jpg
EAShipProduct.jpg (153.04 KiB) Viewed 229 times
[center]Image[/center]
Chris21wen
Posts: 7486
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker now at 1.1.1

Post by Chris21wen »

ORIGINAL: n01487477
So in the example below the Shinano started to be built when its delay was 1800. The value in Delay is reduced by 180 each turn, while start building increase, al-be-it negatively, by 180 each turn. The two should add up to 1800.

No the delay(days) is reduced by 1 day each turn, unless you accelerate the vessel.

So next turn Delay will say 1001 .. And "WHEN IT .." Started Building will increase to -799.

So at present it is showing the CV will arrive in 1002 Days.

Durability and build cost are the same when you are building normally.

If you accelerate, the durability stays the same, but build cost = durability * 3 (540) and the accelerated delay, the delay will be halved to 501 Days.

Is it starting to make sense ?

In the words of Homer, Simpson that is, Dooh! Yes pefectly, I new I was being thick.
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker now at 1.1.1

Post by Nomad »

ORIGINAL: ny59giants

Naval Ship Building - If a ship is Halted, and when you try to use the calculation function to change it back to either Normal or Accelerated, it does not calculate the cost. I just ran into this problem with my EA game. The two columns on the far right don't change values.

Will it update if you exit to another screen and return?
User avatar
ny59giants
Posts: 9888
Joined: Mon Jan 10, 2005 12:02 pm

RE: WitPTracker now at 1.1.1

Post by ny59giants »

Will it update if you exit to another screen and return?


Damian says its broken and is on his list of things to fix.
[center]Image[/center]
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker now at 1.1.1

Post by n01487477 »

ORIGINAL: ny59giants
Will it update if you exit to another screen and return?


Damian says its broken and is on his list of things to fix.
Everything works perfectly except 3 aspects of the calculator ...

1. halted ships being calculated returning to building.
2. and status change for ships that say queued ...
3. initially the same as the real picture if you are accelerating ships outside the "normal build period"

I think that is it ... And yes, bugs are a priority for me ...
User avatar
drizzt73
Posts: 38
Joined: Thu Sep 15, 2005 1:11 am

RE: WitPTracker 1.0

Post by drizzt73 »

what does this tracker do?
Image
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker 1.0

Post by n01487477 »

In short it looks at the savegamefile, takes information and displays it to the user in a "hopefully" friendly & useful manner ... it works for both Allies and Japanese players .
Here is a list of what is covered... & what it tracks ...
 Alerts
 Devices
 Ship Classes
 Bases
 Aircraft
 Aircraft Comparison
 Ship Upgrades
 Ship Repairs
 Air Production
 Industry
 Leaders
 Resources
 LCUs
 Air Groups and Pilots
 Task Forces
 Ships
 Ship Production
 LCU Production
 Victory Points
 Summary
Or you could just download it and fire it up (make sure you have java installed)/ read the pdf at the same site ...

Welcome aboard, I hope ...

http://witptracker.googlepages.com/
User avatar
drizzt73
Posts: 38
Joined: Thu Sep 15, 2005 1:11 am

RE: WitPTracker 1.0

Post by drizzt73 »

Hi all, hoping someone can help me. I just downloaded the WitpTracker and followed the instructioons but when I double click on the .bat file nothing happens.
One thing I didn't do which may be the casuse is the part about -

"Copy the save game file to the directory.
This step is only temporary - we'll try to make it so you can load the file right from program's folder."

I don't understand what I have to do here. Isn't the save game file already in the directory?
Image
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker 1.0

Post by n01487477 »

Depends where you put Tracker, but usually it is run from a location outside the game ...
Hence you need to copy the save file over to this location ...

Make sure there are none of the files highlighted are there in your folder ... delete them. (If you had a first time error only or if you want to restart the DB afresh)

In the witptracker.properties file enter your details. Follow the instructions to enter...

If you still have a problem, open a dos box and go to the directory you installed Tracker and run the bat file ... eg. c>witptracker.bat

If there is an error message ... let me know



Image
Attachments
Capture1.jpg
Capture1.jpg (45.71 KiB) Viewed 229 times
Chris21wen
Posts: 7486
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker 1.0

Post by Chris21wen »

Tracker works by reading the data from a save game file each turn E.g. witp002.pws. To do this it need the file to be in the same folder that tracker is installed it. Simply copy the save file into the tracker folder and in the tracker.properties file use this name were it says save file. Note that you will have to copy the save file to tracker folder everytime you want to update tracker.
Chris21wen
Posts: 7486
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker 1.0

Post by Chris21wen »

n01487477 supplied pictures, better than a thousand words.
User avatar
drizzt73
Posts: 38
Joined: Thu Sep 15, 2005 1:11 am

RE: WitPTracker 1.0

Post by drizzt73 »

thanks guys. It works now
 
cheers
Image
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker now at 1.1.1

Post by floydg »

ORIGINAL: emek

Can you look at this error log? Anything can be done?
This is CHS 155 game.

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Insert Error code = -104
Table=LeaderLargeDelta Values=(21493,115,8,0)
java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for
column(s) $$: SYS_PK_81
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:56)
at witptracker.Leader.InsertSmallDelta(Leader.java:195)
at witptracker.Leader.UpdateLeaderInDB(Leader.java:259)
at witptracker.InMemoryDB.CompareLeaderLists(InMemoryDB.java:491)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:126)
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=LeaderSmallDelta Values=(21494,115,7,0)

...

Looks like I was updating the assignment status of a leader (to unassigned) twice for the same turn. I don't know why I'm doing that (nothing really stands out staring at the code), but I suppose for now you can ignore the errors, since they are updating something that is already there.

Would it be possible for you to send me turn 114, turn 115 and the witptracker.properties file?

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
skrewball
Posts: 305
Joined: Sun Dec 10, 2000 10:00 am
Location: Belgium

RE: WitPTracker now at 1.1.1

Post by skrewball »

Will there be a function that will allow you to import a large number of turns?
"Some people spend an entire lifetime wondering if they've made a difference. The Marines don't have that problem."
User avatar
Thesix
Posts: 39
Joined: Fri Jan 14, 2005 2:33 am
Location: Paris, France

RE: WitPTracker now at 1.1.1

Post by Thesix »

Bonjour,

Maybe some reminders but I did not find any post on them:
- On the Ships screen: the crew experience shown is the opposite (ie N/D instead of D/N like the header says)
- On the Task Forces screen: I can't see any ASW mission. Instead, they are shown as Surface Combat

I also had a problem in reading a turn (the 4th one). The Progress bar stopped at "Compare Task Forces" for minutes. I decided to stop the application and start again. The Alerts screen confirmed that the turn had been partly read. I decided to read it again and of course I received many error messages in the DOS box.
I can only see the last ones like this one:
 Table=VictoryPoints Values=(10,2513,7674,56,156,330)
java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for
column(s) $$: SYS_PK_109)

But, after a quick check on the screens, I can't see any problem on the DB.
What should I do, should I continue or should I start again a new db from the beginning?
Thanks.
Hervé
Grell
Posts: 1064
Joined: Thu Apr 01, 2004 8:16 pm
Location: Canada

RE: WitPTracker now at 1.1.1

Post by Grell »

That's great Floyd, thanks.

Regards,

Greg
User avatar
Thesix
Posts: 39
Joined: Fri Jan 14, 2005 2:33 am
Location: Paris, France

RE: WitPTracker now at 1.1.1

Post by Thesix »

Finally I can reproduce the problem. The Progress bar stop at "Compares Task Forces". I can change Screens, and I can read again the turn. The second try works with some error messages in the DOS Box. It happens with the 5th turn read (8, 9, 11, 14 and 16th of december 1941)
There is no error message when the progress bar freezes.
If I read again the turn when the progress bar is blocked, then the process goes to the end but the alert screen is not complete. (no leaders and air group alert)
If I stop and restart the application, and I read again the turn, the process goes to the end successfully but at least one Base alert comes twice. The Victory Points are also doubled.
Post Reply

Return to “War In The Pacific - Struggle Against Japan 1941 - 1945”