Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: witpdecoder 0.3c

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> RE: witpdecoder 0.3c Page: <<   < prev  12 13 [14] 15 16   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: witpdecoder 0.3c - 4/12/2007 9:27:29 PM   
jcjordan

 

Posts: 1900
Joined: 6/27/2001
Status: offline
Woos

On the tracking ship history part, I've just put the new jar file in & had to delete all the old witp***.dat & the csv files I was using under ver2c, will I have to wait a few days before it starts to show any history? Currently I get the list of ships but when I click on a ship it shows no history of movements. Just wondering & looking good!!

(in reply to Cpt Sherwood)
Post #: 391
RE: witpdecoder 0.3c - 4/13/2007 9:38:03 PM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline
OK, I have been getting exactly the same error as Kid posted above.  I grabbed the 3c.jar, renamed it witpDecoder2.jar, deleted everything in my folder starting with witp.* and tried it again.  I am getting the same error, but with more detail now:

There is a problem with leader Sze S. as follows:
Couldn't write things to the DB due tojava.sql.SQLException: Integrity constraint violation - no parent LeadersRankMustExist table: Ranks
java.sql.SQLException: Integrity constraint violation - no parent LeadersRankMustExist table: Ranks
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 de.retsiemuab.witpDecoder.bi.a(Unknown Source)
at de.retsiemuab.witpDecoder.aA.b(Unknown Source)
at de.retsiemuab.witpDecoder.aA.a(Unknown Source)
at de.retsiemuab.witpDecoder.al.a(Unknown Source)
at de.retsiemuab.witpDecoder.bm.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at de.retsiemuab.witpDecoder.y.a(Unknown Source)
at de.retsiemuab.witpDecoder.b.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at de.retsiemuab.witpDecoder.M.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)

What is my next step to track this error down?  I'm trying to load a PBEM, stock scn 015 game.

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to Cpt Sherwood)
Post #: 392
RE: witpdecoder 0.3c - 4/14/2007 1:13:57 AM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
Actually it is not the same error as Kid had. You have a leader with a corrupt rank (CPT, etc.), Kid had a leader with a corrupt command ability (i.e. whether he can command a HQ, ship, ...). The latter is caught by witpdecoder (since 0.3b I think), the former will only be caught in V0.4.

Up to then there is not much you can do since you can't change the rank of a leader in game. Maybe you should try to get him die on a sinking ship ;-) It is always surprising what kind of corruptions WitP introduces into the save file.



< Message edited by Woos -- 4/14/2007 1:27:30 AM >

(in reply to USSAmerica)
Post #: 393
RE: witpdecoder 0.3c - 4/14/2007 2:43:24 AM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline
Ok, I'll see if I can hunt down Sze S. in my game.  Meanwhile, I'll wait for the V0.4 release.  This tool is fantastic!

Thanks for all your hard work, Woos!!

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to Woos)
Post #: 394
RE: witpdecoder 0.3c - 4/14/2007 3:34:23 AM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline
Anyone have any ideas or suggestions for how I can find the corrupted Sze S. leader?  I have no idea what kind of leader he is, and he doesn't seem to be in the Stock 015 scenario at start.  I can't begin to look for him within the actual game.  The only information I have to go on is listed in my error message above, and Woos' confirmation that he has a corrupted Rank value.... 

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to USSAmerica)
Post #: 395
RE: witpdecoder 0.3c - 4/14/2007 11:12:24 AM   
WhoCares


Posts: 653
Joined: 7/6/2004
Status: offline
There is a CPT. Sze S.  as a pilot in the 3rd CBS based in Chengtu. Might be that it's commanding officer was lost somehow and he took command of the air group. Might be that he was some kind of random replacement pilot, so you might find him in a different chinese air unit. Could also be that he got into a command position when you split an air unit and he took command of a fragment....

< Message edited by WhoCares -- 4/14/2007 12:58:05 PM >

(in reply to USSAmerica)
Post #: 396
RE: witpdecoder 0.3c - 4/14/2007 2:03:58 PM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline
quote:

ORIGINAL: WhoCares

There is a CPT. Sze S.  as a pilot in the 3rd CBS based in Chengtu. Might be that it's commanding officer was lost somehow and he took command of the air group. Might be that he was some kind of random replacement pilot, so you might find him in a different chinese air unit. Could also be that he got into a command position when you split an air unit and he took command of a fragment....



I found him. He's a possible replacement leader for the 5th CBS, currently holding the rank of WO. I have a 2 plane fragment of the 5th at Chungking where I'll put him in command. Time for a 2 plane, unescorted bomb run on the Resource Industry at Wuhan. 13 political points to change the leader of 2 planes??? Small price to pay to be able to use the Decoder.

Thanks, WhoCares!

< Message edited by USS America -- 4/14/2007 2:41:17 PM >


_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to WhoCares)
Post #: 397
RE: witpdecoder 0.3c - 4/15/2007 4:04:18 PM   
Roger Neilson II


Posts: 1517
Joined: 7/16/2006
From: Newcastle upon Tyne. England
Status: offline
ok, I now have this working for both the base game and the CHS game.....

So, has anyone created clusters for these and how do you use them?

Roger



_____________________________


(in reply to USSAmerica)
Post #: 398
RE: witpdecoder 0.3c - 4/15/2007 4:56:23 PM   
Martti

 

Posts: 237
Joined: 4/2/2005
Status: offline
Here are the clusterfiles I made for stock scenario 15:

http://koti.mbnet.fi/~zombie/clusters.csv
http://koti.mbnet.fi/~zombie/clusterbases.csv

Make a clean install of WITPDecoder and place clusterfiles into the same directory. Then read the savegamefiles normally.

(in reply to Roger Neilson II)
Post #: 399
RE: witpdecoder 0.3c - 4/15/2007 9:13:59 PM   
Roger Neilson II


Posts: 1517
Joined: 7/16/2006
From: Newcastle upon Tyne. England
Status: offline
Thanks, sorted.

Roger

_____________________________


(in reply to Martti)
Post #: 400
RE: witpdecoder 0.3c - 4/16/2007 2:54:43 AM   
Knavey

 

Posts: 3052
Joined: 9/12/2002
From: Valrico, Florida
Status: offline
Finally got this working.

I did my scan, and found some problems.  Ran the witpdecoder again to see the list again, and found this in a witp.txt file.

What does it do?

/*C1*/SET SCHEMA PUBLIC
CONNECT USER SA

_____________________________

x-Nuc twidget
CVN-71
USN 87-93
"Going slow in the fast direction"

(in reply to Roger Neilson II)
Post #: 401
wrong password error - 4/17/2007 4:23:14 AM   
foliveti


Posts: 371
Joined: 9/12/2002
From: Buffalo, NY
Status: offline
I keep getting the wrong password error message.  "Ts Ts you cheater"

I edited the batch file to read as follows. 

cho off
REM java -Djava.library.path=%CD% -jar witpdecoder2.jar newpass
java -Djava.library.path=. -jar witpdecoder2.jar

newpass = my password.  What am I missing?  I assumed that my password should substitue for "passwordhere"

_____________________________

Frank

(in reply to Knavey)
Post #: 402
RE: wrong password error - 4/17/2007 4:32:13 AM   
Cpt Sherwood

 

Posts: 837
Joined: 12/1/2005
From: A Very Nice Place in the USA
Status: offline

quote:

ORIGINAL: foliveti

I keep getting the wrong password error message.  "Ts Ts you cheater"

I edited the batch file to read as follows. 

cho off
REM java -Djava.library.path=%CD% -jar witpdecoder2.jar newpass
java -Djava.library.path=. -jar witpdecoder2.jar

newpass = my password.  What am I missing?  I assumed that my password should substitue for "passwordhere"


make it look like this:

echo off
REM java -Djava.library.path=%CD% -jar witpdecoder2.jar
java -Djava.library.path=. -jar witpdecoder2.jar newpass

the REM means remark and is not read by the program.

(in reply to foliveti)
Post #: 403
RE: wrong password error - 4/18/2007 1:46:18 PM   
foliveti


Posts: 371
Joined: 9/12/2002
From: Buffalo, NY
Status: offline
I have been off on a work expedition since I left the message. Thanks for the reply, I will try it when I get home.

_____________________________

Frank

(in reply to Cpt Sherwood)
Post #: 404
RE: witpdecoder 0.3c - 4/24/2007 8:38:26 PM   
alaviner


Posts: 764
Joined: 3/8/2007
From: Blacksburg, Va
Status: offline
I got the decoder to load and it looks great.  Does anyone have clusterfiles for CHS Scen 155.

_____________________________




(in reply to Cpt Sherwood)
Post #: 405
RE: witpdecoder 0.3c - 4/25/2007 1:28:18 AM   
eloso


Posts: 335
Joined: 5/28/2006
From: The Greater Chicagoland Area, USA
Status: offline
quote:

ORIGINAL: NCSUforest

I got the decoder to load and it looks great. Does anyone have clusterfiles for CHS Scen 155.


The cluster files that FeurerKrieg posted should work the same for all of the current CHS 2.08 scenarios. The only difference between them is the air combat model AFAIK.

(in reply to alaviner)
Post #: 406
RE: witpdecoder 0.3c - 4/25/2007 7:21:11 AM   
alaviner


Posts: 764
Joined: 3/8/2007
From: Blacksburg, Va
Status: offline

quote:

ORIGINAL: OSO

quote:

ORIGINAL: NCSUforest

I got the decoder to load and it looks great. Does anyone have clusterfiles for CHS Scen 155.


The cluster files that FeurerKrieg posted should work the same for all of the current CHS 2.08 scenarios. The only difference between them is the air combat model AFAIK.

Those loaded ok but were for stated Japanese - I am playing allied. On the resources, it shows no clusters.

_____________________________




(in reply to eloso)
Post #: 407
RE: witpdecoder 0.3c - 4/25/2007 10:40:03 AM   
WhoCares


Posts: 653
Joined: 7/6/2004
Status: offline

quote:

ORIGINAL: jcjordan

Woos

On the tracking ship history part, I've just put the new jar file in & had to delete all the old witp***.dat & the csv files I was using under ver2c, will I have to wait a few days before it starts to show any history? Currently I get the list of ships but when I click on a ship it shows no history of movements. Just wondering & looking good!!

For me it showed the movement path after a few days.
However, it seems the subs are not included in this feature. Was this an intentional omission?!

I like this tool - too sad the AI seems to have a couple of bad habits like having TFs with nationality '0' and stuff like that...

(in reply to jcjordan)
Post #: 408
RE: witpdecoder 0.3c - 4/26/2007 1:13:29 AM   
eloso


Posts: 335
Joined: 5/28/2006
From: The Greater Chicagoland Area, USA
Status: offline
I don't think anyone has made them for the allies in CHS. It might be nice but it really isn't necessary.

For the allies it is much simpler. Ship as much of the oil in the DEI to India and Oz before the Japanese can secure those sites.

You have oil sitting in Panama. Pick it up and move it somewhere useful.

New Zealand needs oil.
Oz needs oil.
India and Sri Lanka need oil.
Singapore needs oil.
Rangoon could use some but that might be a waste of time depending on your opponent.
Hong Kong needs oil but that is too risky IMO.

Don't dump the oil in Perth. The railway is too long to make it worthwhile to supply the HI of SE Australia.

Personally I leave most of the resources in the DEI as they produce supplies on their own.

(in reply to alaviner)
Post #: 409
witpdecoder 0.4 - 4/29/2007 10:44:56 PM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
OK, finally there is the next full release of witpDecoder. We are now at V0.4 . The zip file at http://extweb.retsiemuab.de/witp/witpDecoder0.4.zip contains the new version with the following updates

  • everything from V0.3c (e.g. ship history, point ratio).
  • USS America's problem with leaders with damaged rank information is now detected and handled.
  • Improved display of leaders in the leader tab. Now leaders which are in principle available but are already assigned to a unit/ship that in turn will only appearing in the future are marked as such. They can not be assigned to any other unit in WitP. Thanks to qgaliana for the tip.
  • First attempt at automatic database updating (from V0.3c only).
  • Updated hsqldb and SWT libraries.
  • Cluster files from Martti and FeurerKrieg included.
  • And of course the documentation is now up to date.


A few notes on how to upgrade:
As always the database format has changed. But this time, if you were using V0.3c(!), you do not have to delete your database. witpDecoder will do the update internally for you (hopefully). But you will have to read in the last savegame file again if you want to see the new leader information for the current turn already. For obvious reasons (like limited number of V0.3c databases I have) the updating routine is not very well tested.

If you are using a version before V0.3c, you MUST delete the witp.* files in the witpdecoder directory.

The zip file contains updated SWT and hsqldb libraries, so please agree to overwriting all *.dll and *.jar files in the witpDecoder directory. You do not have to agree to overwrite witpdecoder.bat (as that would overwrite your password).

@WhoCares:
>However, it seems the subs are not included in this feature.
>Was this an intentional omission?!
Yes, but it can be changed at database initialization time. Read the updated documentation or simply change the ships4history.csv file.

@Knavey
Your error description is a but difficult to understand. Which scan? What did not work? There is no witp.txt file, so you mean witp.script?

@jcjordan
Yes, you need at least 2 save games (or so I assume) to see any history information.

< Message edited by Woos -- 4/30/2007 2:06:49 AM >

(in reply to eloso)
Post #: 410
RE: witpdecoder 0.4 - 4/29/2007 11:24:52 PM   
Cpt Sherwood

 

Posts: 837
Joined: 12/1/2005
From: A Very Nice Place in the USA
Status: offline
Woos, I installed version 0.4 and got this error when I tried to init the data table

I have version 0.3c running with no problem.

I have the two in separate folders off of the save folder.




Attachment (1)

< Message edited by Cpt Sherwood -- 4/29/2007 11:27:40 PM >

(in reply to Woos)
Post #: 411
RE: witpdecoder 0.4 - 4/29/2007 11:30:29 PM   
saj42


Posts: 1125
Joined: 4/19/2005
From: Somerset, England
Status: offline
Grrr everything was working fine with my current install (done end of March)

I copied my witpdecoder directory for safety
I deleted the witp.xxxx files
I extracted all the files from the 0.4 zip into my existing installation folder, accepted 'yes to all' for overwriting files.
Edited batch file with my password
Ran the batch file to open program
BUT when initializing database (scen 192, allies, pbem=tick) I get this error:






Attachment (1)

_____________________________


Banner by rogueusmc

(in reply to Woos)
Post #: 412
RE: witpdecoder 0.4 - 4/30/2007 12:01:08 AM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
OK, that happens if one never tests the normal DB initialization routine because DB update seems to work nicely.

Until this is fixed please DO NOT UPDATE TO V0.4 from any other version than V0.3c. And if you update from V0.3c use the automatic database upgrade and DO NOT delete all the witp.* files.



< Message edited by Woos -- 4/30/2007 12:03:56 AM >

(in reply to Cpt Sherwood)
Post #: 413
RE: witpdecoder 0.4 - 4/30/2007 12:05:31 AM   
Cpt Sherwood

 

Posts: 837
Joined: 12/1/2005
From: A Very Nice Place in the USA
Status: offline
Too late I think. I'll see if I can find the old files and replace them.

(in reply to Woos)
Post #: 414
RE: witpdecoder 0.4 - 4/30/2007 1:03:30 AM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
Bug is solved, witpDecoder0.4.zip file is updated (you can recognize it from witpDecoder2.jar being created at 23:43 (unless of course zip even does timezone conversions)). You can again update from any version. Just redownload.

Also solved some problems the new ship database setup created with the reaction of witpDecoder to the leader bug. If you still get strange exceptions with the new V0.4 (i.e. 23:43 update time, see above) with save files that worked with V0.3c, let me know.

@jcjordan
I have to correct my statement above. Ship history works already with only one turn read in. But in V0.3c and before, you had to quite witpDecoder at least once before it started working ;-). Now fixed.

< Message edited by Woos -- 4/30/2007 1:07:17 AM >

(in reply to Cpt Sherwood)
Post #: 415
RE: witpdecoder 0.4 - 4/30/2007 1:22:19 AM   
saj42


Posts: 1125
Joined: 4/19/2005
From: Somerset, England
Status: offline
GREAT IT WORKS - thankyou Woos

I wasn't using the 0.3c version before so deleting the witp.xxxx was correct action for me.
The history is not so important for the Allied player anyway, and I now get the ship history functionality as well

P.S.
I did find Lt Hamamoto in command of SWPAC HQ - don't know how that happened but MacArthur has disappeared - no real loss there then

_____________________________


Banner by rogueusmc

(in reply to Woos)
Post #: 416
RE: witpdecoder 0.4 - 4/30/2007 4:41:37 AM   
Cpt Sherwood

 

Posts: 837
Joined: 12/1/2005
From: A Very Nice Place in the USA
Status: offline
Thanks Woos, got it back up and running.

Has anyone else noticed that the CHS data Ship Class upgrades doesn't work for all ship classes? Akagi is supposed to upgrade 8/42, but it does not show up on the 8/42 upgrade tab.

(in reply to saj42)
Post #: 417
RE: witpdecoder 0.4 - 4/30/2007 5:06:34 AM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline
Thanks, Woos!  I had found my wayward leader with the corrupted rank in charge of a Dutch PT boat and he was on his way to a banzi charge at some Japanese cruisers.  Maybe that would have cleared him from the save file, but it turns out I have another bugger somewhere with a corrupted rank.  The updated Decoder flagged both of them and works great for everything else. 

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to saj42)
Post #: 418
RE: witpdecoder 0.4 - 4/30/2007 6:13:26 AM   
Admiral DadMan


Posts: 3627
Joined: 2/22/2002
From: A Lion uses all its might to catch a Rabbit
Status: offline
Ok, this is my first attempt to install and use this at all, so I'm either tired or can't follow instructions...

any ideas why I'm getting this screen?

attempted on NikMod 9.0b




Attachment (1)

< Message edited by Admiral DadMan -- 4/30/2007 6:15:37 AM >


_____________________________

Scenario 127: "Scraps of Paper"
(\../)
(O.o)
(> <)

CVB Langley:

(in reply to USSAmerica)
Post #: 419
RE: witpdecoder 0.4 - 4/30/2007 7:05:17 AM   
Cpt Sherwood

 

Posts: 837
Joined: 12/1/2005
From: A Very Nice Place in the USA
Status: offline
Just checking, do you have a copy of WitpLoad.exe in the Scen folder?

(in reply to Admiral DadMan)
Post #: 420
Page:   <<   < prev  12 13 [14] 15 16   next >   >>
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> RE: witpdecoder 0.3c Page: <<   < prev  12 13 [14] 15 16   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.078