RE: witpdecoder 0.3c (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945



Message


jcjordan -> RE: witpdecoder 0.3c (4/12/2007 9:27:29 PM)

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!!




USSAmerica -> RE: witpdecoder 0.3c (4/13/2007 9:38:03 PM)

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.




Woos -> RE: witpdecoder 0.3c (4/14/2007 1:13:57 AM)

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.





USSAmerica -> RE: witpdecoder 0.3c (4/14/2007 2:43:24 AM)

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!![&o][8D]




USSAmerica -> RE: witpdecoder 0.3c (4/14/2007 3:34:23 AM)

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....  [8|]




WhoCares -> RE: witpdecoder 0.3c (4/14/2007 11:12:24 AM)

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....




USSAmerica -> RE: witpdecoder 0.3c (4/14/2007 2:03:58 PM)

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. [:D] 13 political points to change the leader of 2 planes???[X(] Small price to pay to be able to use the Decoder. [8D]

Thanks, WhoCares![:)]




Roger Neilson II -> RE: witpdecoder 0.3c (4/15/2007 4:04:18 PM)

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

[&:]




Martti -> RE: witpdecoder 0.3c (4/15/2007 4:56:23 PM)

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.




Roger Neilson II -> RE: witpdecoder 0.3c (4/15/2007 9:13:59 PM)

Thanks, sorted.

Roger




Knavey -> RE: witpdecoder 0.3c (4/16/2007 2:54:43 AM)

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




foliveti -> wrong password error (4/17/2007 4:23:14 AM)

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"




Cpt Sherwood -> RE: wrong password error (4/17/2007 4:32:13 AM)


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.




foliveti -> RE: wrong password error (4/18/2007 1:46:18 PM)

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.




alaviner -> RE: witpdecoder 0.3c (4/24/2007 8:38:26 PM)

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




eloso -> RE: witpdecoder 0.3c (4/25/2007 1:28:18 AM)

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.




alaviner -> RE: witpdecoder 0.3c (4/25/2007 7:21:11 AM)


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.




WhoCares -> RE: witpdecoder 0.3c (4/25/2007 10:40:03 AM)


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...




eloso -> RE: witpdecoder 0.3c (4/26/2007 1:13:29 AM)

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.




Woos -> witpdecoder 0.4 (4/29/2007 10:44:56 PM)

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.




Cpt Sherwood -> RE: witpdecoder 0.4 (4/29/2007 11:24:52 PM)

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.

[image]local://upfiles/18938/44392B4E628847CF9A7F86B4C4A892A7.jpg[/image]




saj42 -> RE: witpdecoder 0.4 (4/29/2007 11:30:29 PM)

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:



[image]local://upfiles/16324/422D4A1724124ADB9EDE89B8D4B6EDAD.jpg[/image]




Woos -> RE: witpdecoder 0.4 (4/30/2007 12:01:08 AM)

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.





Cpt Sherwood -> RE: witpdecoder 0.4 (4/30/2007 12:05:31 AM)

Too late I think. [X(] I'll see if I can find the old files and replace them.




Woos -> RE: witpdecoder 0.4 (4/30/2007 1:03:30 AM)

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.




saj42 -> RE: witpdecoder 0.4 (4/30/2007 1:22:19 AM)

GREAT IT WORKS - thankyou Woos [&o][&o][&o]

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 [:D]

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




Cpt Sherwood -> RE: witpdecoder 0.4 (4/30/2007 4:41:37 AM)

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.




USSAmerica -> RE: witpdecoder 0.4 (4/30/2007 5:06:34 AM)

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.  [8D]




Admiral DadMan -> RE: witpdecoder 0.4 (4/30/2007 6:13:26 AM)

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

[image]local://upfiles/5778/E3E3FF42094A43C8BCB34D313F15F9A4.jpg[/image]




Cpt Sherwood -> RE: witpdecoder 0.4 (4/30/2007 7:05:17 AM)

Just checking, do you have a copy of WitpLoad.exe in the Scen folder?




Page: <<   < prev  12 13 [14] 15 16   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.984375