RE: Tracking leader stats (Full Version)

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



Message


JoePirulo -> RE: Tracking leader stats (3/14/2007 11:05:07 PM)

Thank you Woos. Very helpfull tool for playing WitP!!
Max.




Woos -> RE: Tracking leader stats (3/16/2007 10:08:11 PM)


quote:

ORIGINAL: Cpt Sherwood
But I am trying to get it to work on a starting PBEM game using Alaska Warriors senario 196.
...
this senario is derived from CHS so it might not work.


Exactly. V0.3b does not work with several mods for exactly the ShipClasses problem. V0.4 will fix that problem but there is still no guarantee. An I'm pretty sure for example that witpdecoder will not work with RHS.

@Martti
Loading several files at once is on the list. Only problem (at least for 0.4) will be that you will still have to click away all the warnings that pop-up. Or I will have to add some more global variables (Uh Oh).




ctangus -> RE: Tracking leader stats (3/17/2007 2:48:15 AM)

Since you're still working on it, I have a few suggestions that might prove useful. They'd be useful to me at least. [;)]

1. Include a "Supply stored" column in the Industry tab. This would be useful for both the Allies & Japanese: how's my supply situation in China? Am I burning up too much supply in the HI due to my industrial expansion?

2. Leaders tab: Units that can lead an air unit don't show what unit they're currently leading. However, it doesn't look like you're importing the different air units into your database currently so I suspect that would take more effort to implement.

3. Ship updates tab: That tab is not only useful for upgrading ships, but it's also useful for locating ships of similiar class. (I often try to use the same-class ships together.) It would be helpful to show ships that have no more upgrades available.

4. Ship classes tab: cruise speed & capacity are also useful data in figuring out how best to use merchants (particularly in CHS where both sides have 20,000 different merchant classes). Those also appear to be fields you're not importing, though.

Great stuff, as always. [:)]




High Command -> RE: witpDecoder for the Allies (3/29/2007 2:06:03 PM)

Hello


I have a problem?

I play pr Email, and have entered Password in the .BAT file, by replasing the word saying enterpasswordhere...   and it still say i have wrang password?

Can anyone help me in fainding out what the problem is?






Martti -> RE: witpDecoder for the Allies (3/29/2007 5:39:06 PM)


quote:

ORIGINAL: High Command

Hello


I have a problem?

I play pr Email, and have entered Password in the .BAT file, by replasing the word saying enterpasswordhere...   and it still say i have wrang password?

Can anyone help me in fainding out what the problem is?





The "REM java ... password" line is an example - it does not actually do anything. Enter your password at the end of the last line - the line beginning with "java -Djava...".




qgaliana -> RE: witpDecoder for the Allies (3/29/2007 5:59:54 PM)

Woos - one comment on the leader tab.

When I do a search I seem to get some leaders in there that aren't actually available in the game yet.

From the csv files for the scenario it seems your utility is showing leaders once their availability date has arrived (fine so far), but the scenario often has them assigned to a ship that has not yet appeared. So although your utility lists them as available and unassigned they actually aren't.

Any way to filter or fix this?




Javakamp -> RE: witpDecoder for the Allies (3/31/2007 9:39:57 PM)

I just downloaded and installed wiptdecoder. When I try to load a save game file for CHS as the Allies I ght this message.

There is a problem with LCU 2564 (Fort Nepean) as follows:
Couldn't write things to the DB due to

java.sql.SQLException: Integrity constraint violation - no parent PreparationOnlyForExistigTargets table: BaseStatus
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.aW.a(Unknown Source)
at de.retsiemuab.witpDecoder.ag.c(Unknown Source)
at de.retsiemuab.witpDecoder.ag.a(Unknown Source)
at de.retsiemuab.witpDecoder.A.b(Unknown Source)
at de.retsiemuab.witpDecoder.ae.a(Unknown Source)
at de.retsiemuab.witpDecoder.ba.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at de.retsiemuab.witpDecoder.s.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.F.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)



Any help would be appreciated.

Thanks




Cpt Sherwood -> RE: witpDecoder for the Allies (3/31/2007 10:07:56 PM)


quote:

ORIGINAL: Javakamp

I just downloaded and installed wiptdecoder. When I try to load a save game file for CHS as the Allies I ght this message.

There is a problem with LCU 2564 (Fort Nepean) as follows:
Couldn't write things to the DB due to

java.sql.SQLException: Integrity constraint violation - no parent PreparationOnlyForExistigTargets table: BaseStatus
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.aW.a(Unknown Source)
at de.retsiemuab.witpDecoder.ag.c(Unknown Source)
at de.retsiemuab.witpDecoder.ag.a(Unknown Source)
at de.retsiemuab.witpDecoder.A.b(Unknown Source)
at de.retsiemuab.witpDecoder.ae.a(Unknown Source)
at de.retsiemuab.witpDecoder.ba.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at de.retsiemuab.witpDecoder.s.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.F.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)



Any help would be appreciated.

Thanks


As stated above, it does not currently work on CHS or CHS derived senarios.




Charbroiled -> RE: witpDecoder for the Allies (4/2/2007 6:01:44 PM)

Works fine for me using CHS.




Woos -> RE: witpDecoder for the Allies (4/2/2007 8:38:20 PM)

Javakamp,

it's all in the error report
quote:

There is a problem with LCU 2564 (Fort Nepean) as follows:
Couldn't write things to the DB due to

java.sql.SQLException: Integrity constraint violation - no parent PreparationOnlyForExistigTargets table: BaseStatus

Look in game at the "Fort Nepean" unit. It will prepare for a non-existing base. Fix it and save. You will be able to load that new save (unless more problems are in the save file).

Maybe I should remove the exception trace. It seems to confuse people and distract from the important information.

@qgaliana
That could be an explanation for those annoying unfindable leaders. But I vaguely remember other problems before I restricted the "Lead Objects" table to only ready-built LCUs/ships. Will have to look into that.




Cpt Sherwood -> RE: witpDecoder for the Allies (4/3/2007 3:54:49 AM)

Hi Woos, I started using your decoder on a BigB senario and I am getting this error. Can you shed some light on what is happening? The data base initializes and the program seems to run ok, but, there is this error.



[image]local://upfiles/18938/49D17170F8954D3A9F73CAD0ECCED98A.jpg[/image]




kaleun -> RE: witpDecoder for the Allies (4/4/2007 1:18:32 AM)

I am trying to initialize a game on the CHS mod.
I get this.
What should I do?

[image]local://upfiles/6626/074AA3DB0D67418B8F6A6E8114120468.jpg[/image]




Local Yokel -> RE: witpDecoder for the Allies (4/4/2007 3:21:42 AM)

Excellent tool, Woos!  However, I've hit a problem whilst monitoring Japanese in CHS Scenario 158, v2.03.  Tool worked fine from 7 Dec 41 to 2 Mar 42 approximately, but now get following in witpDecoder.log:

java.lang.NullPointerException
at org.hsqldb.persist.DataFileCache.get(Unknown Source)
at org.hsqldb.Table$RowStore.get(Unknown Source)
at org.hsqldb.Table.setIndexRoots(Unknown Source)
at org.hsqldb.Table.setIndexRoots(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.processSet(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.executePart(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.execute(Unknown Source)
at org.hsqldb.Session.sqlExecuteDirectNoPreChecks(Unknown Source)
at org.hsqldb.scriptio.ScriptReaderText.readDDL(Unknown Source)
at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source)
at org.hsqldb.persist.Log.processScript(Unknown Source)
at org.hsqldb.persist.Log.open(Unknown Source)
at org.hsqldb.persist.Logger.openLog(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.DatabaseManager.newSession(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at de.retsiemuab.witpDecoder.aW.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
java.sql.SQLException: error in script file line: 56 S1000 General error java.lang.NullPointerException in statement [SET TABLE "LCUStatus" INDEX'135908488 135763704 135862808 135764288 135783736 135849176 135780048 135873280 135908488 135876680 135874984 135764288 135849176 0']
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at de.retsiemuab.witpDecoder.aW.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Couldn't open DB. Exiting.
Exception in thread "main" java.lang.NullPointerException
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)

Tool attempts to execute, apparently fails to open DB, then aborts execution without displaying screen interface.  Process disappears from process list on XP.  Any thoughts?




kaleun -> RE: witpDecoder for the Allies (4/4/2007 5:09:31 AM)

It's a pity, but this tool seems to require more computer acumen than I have available in my noggin.
Great idea though!




Roger Neilson II -> RE: witpDecoder for the Allies (4/4/2007 8:29:37 AM)

I'm getting a similar message with CHS, runs fine on normal game.

Roger




EnricoR -> RE: witpDecoder for the Allies (4/4/2007 10:32:12 AM)

Hello kaleun,

have you tried what you can read in the error message?
In the second line you can read: java.sql.SQLException: Your Database is only partially initialized. Please delete all witp.* files in the directory and restart.
After you have deleted those files it should work fine.

I hope that helps.

Best regards
Enrico




Roger Neilson II -> RE: witpDecoder for the Allies (4/4/2007 7:12:02 PM)


quote:

ORIGINAL: EnricoR

Hello kaleun,

have you tried what you can read in the error message?
In the second line you can read: java.sql.SQLException: Your Database is only partially initialized. Please delete all witp.* files in the directory and restart.
After you have deleted those files it should work fine.

I hope that helps.

Best regards
Enrico

It doesn't...... and therin lies the problem I feel.




kaleun -> RE: witpDecoder for the Allies (4/5/2007 9:50:35 PM)

In what directory would I find those files?
I can't find them anywhere.




siRkid -> RE: WitpDecoder; Now also for allies (4/6/2007 2:44:22 AM)

Ok I'm going to jump in and give this a try.




siRkid -> RE: WitpDecoder; Now also for allies (4/6/2007 2:49:59 AM)

Is the link on the first post up to date?




seydlitz_slith -> RE: WitpDecoder; Now also for allies (4/8/2007 7:10:02 PM)

Hello,
I am having a problem getting the program to initialise, and it seems slightly different than the problems seen on the bulleting board. Hopefully this is very simple and someone will be able to help send me on my way.
Everything is installed per the instructions. When I try to run the witpdecoder.bat file, I was getting the dosbox that opened and closed faster than I could read it. So, I went and did a cmd line run so I could read the box.
It appears that my PC (running XP home with the required java run time installed) is not recognising the JAVA command in the batch file and therefore refuses to run the batch. Here is a screen print:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


Directory of C:\Matrix Games\War in the Pacific\SAVE\decoder

04/08/2007 10:43 AM <DIR> .
04/08/2007 10:43 AM <DIR> ..
04/08/2007 10:16 AM 382,331 BigMainMap.jpg
11/19/2006 03:10 AM 3,956 clusterbases-example.csv
11/19/2006 03:10 AM 343 clusters-example.csv
11/12/2006 12:19 PM 641,570 hsqldb.jar
11/14/2006 09:52 PM 3,447 hsqldb_license.txt
04/08/2007 10:16 AM 117,050 MainMap.jpg
11/11/2006 11:01 PM 64 ships4history.csv
11/12/2006 12:28 PM 32,768 swt-awt-win32-3235.dll
11/12/2006 12:28 PM 73,728 swt-gdip-win32-3235.dll
11/14/2006 09:56 PM 4,725 SWT-license.html
11/12/2006 12:28 PM 40,960 swt-wgl-win32-3235.dll
11/12/2006 12:28 PM 323,584 swt-win32-3235.dll
09/21/2006 12:18 PM 1,490,613 swt.jar
04/08/2007 10:43 AM 16 witp.lck
04/08/2007 10:43 AM 0 witp.log
04/08/2007 10:43 AM 428 witp.properties
04/08/2007 10:43 AM 105 witp.script
12/11/2006 12:12 AM 499,700 witpDecoder-docs.pdf
04/08/2007 10:45 AM 141 witpdecoder.bat
04/08/2007 10:43 AM 0 witpDecoder.log
12/12/2006 01:28 AM 130,529 witpDecoder2.jar
21 File(s) 3,746,058 bytes
2 Dir(s) 191,144,714,240 bytes free

C:\Matrix Games\War in the Pacific\SAVE\decoder>witpdecoder.bat

C:\Matrix Games\War in the Pacific\SAVE\decoder>echo off
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\Matrix Games\War in the Pacific\SAVE\decoder>

So, my problem is that I can not get the bat file to run, so I can not initialize the database.
Is there something in windows security or mcafee security settings that would be causing this?
I have the same problem with Andrews map switcher bat file on this PC.
FWIW the widpdecoder2.jar opens ok, but without an initialised database, I have no info.




Cpt Sherwood -> RE: WitpDecoder; Now also for allies (4/8/2007 9:35:53 PM)

It is too bad. This is a promising program, but without some support it will fall by the wayside.




Roger Neilson II -> RE: witpDecoder for the Allies (4/8/2007 10:50:41 PM)

Ok guys, a longshot. If anyone can run witpload on Scenario 158 and send me the generated files I will try to get this to work with my CHS game.

It works fine with my standard games, but CHS is causing a problem and soem people say it won't work with CHS and others say it will.

Cheers

Roger

didactylos at bigfoot dot com




Cpt Sherwood -> RE: witpDecoder for the Allies (4/9/2007 12:48:42 AM)


quote:

ORIGINAL: Roger Neilson II

Ok guys, a longshot. If anyone can run witpload on Scenario 158 and send me the generated files I will try to get this to work with my CHS game.

It works fine with my standard games, but CHS is causing a problem and soem people say it won't work with CHS and others say it will.

Cheers

Roger

didactylos at bigfoot dot com



You have mail Roger.

I did figure out my problem. Most likely I screwed up the update or install. I removed decoder and reinstalled from scratch and it worked fine on BigBs senario files. I still can not get Alaska Warriors French Gambit to initialize. I think I got CHS 158 to initialize.




Cpt Sherwood -> RE: WitpDecoder; Now also for allies (4/9/2007 12:50:27 AM)


quote:

ORIGINAL: seydlitz

Hello,
I am having a problem getting the program to initialise, and it seems slightly different than the problems seen on the bulleting board. Hopefully this is very simple and someone will be able to help send me on my way.
Everything is installed per the instructions. When I try to run the witpdecoder.bat file, I was getting the dosbox that opened and closed faster than I could read it. So, I went and did a cmd line run so I could read the box.
It appears that my PC (running XP home with the required java run time installed) is not recognising the JAVA command in the batch file and therefore refuses to run the batch. Here is a screen print:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


Directory of C:\Matrix Games\War in the Pacific\SAVE\decoder

04/08/2007 10:43 AM <DIR> .
04/08/2007 10:43 AM <DIR> ..
04/08/2007 10:16 AM 382,331 BigMainMap.jpg
11/19/2006 03:10 AM 3,956 clusterbases-example.csv
11/19/2006 03:10 AM 343 clusters-example.csv
11/12/2006 12:19 PM 641,570 hsqldb.jar
11/14/2006 09:52 PM 3,447 hsqldb_license.txt
04/08/2007 10:16 AM 117,050 MainMap.jpg
11/11/2006 11:01 PM 64 ships4history.csv
11/12/2006 12:28 PM 32,768 swt-awt-win32-3235.dll
11/12/2006 12:28 PM 73,728 swt-gdip-win32-3235.dll
11/14/2006 09:56 PM 4,725 SWT-license.html
11/12/2006 12:28 PM 40,960 swt-wgl-win32-3235.dll
11/12/2006 12:28 PM 323,584 swt-win32-3235.dll
09/21/2006 12:18 PM 1,490,613 swt.jar
04/08/2007 10:43 AM 16 witp.lck
04/08/2007 10:43 AM 0 witp.log
04/08/2007 10:43 AM 428 witp.properties
04/08/2007 10:43 AM 105 witp.script
12/11/2006 12:12 AM 499,700 witpDecoder-docs.pdf
04/08/2007 10:45 AM 141 witpdecoder.bat
04/08/2007 10:43 AM 0 witpDecoder.log
12/12/2006 01:28 AM 130,529 witpDecoder2.jar
21 File(s) 3,746,058 bytes
2 Dir(s) 191,144,714,240 bytes free

C:\Matrix Games\War in the Pacific\SAVE\decoder>witpdecoder.bat

C:\Matrix Games\War in the Pacific\SAVE\decoder>echo off
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\Matrix Games\War in the Pacific\SAVE\decoder>

So, my problem is that I can not get the bat file to run, so I can not initialize the database.
Is there something in windows security or mcafee security settings that would be causing this?
I have the same problem with Andrews map switcher bat file on this PC.
FWIW the widpdecoder2.jar opens ok, but without an initialised database, I have no info.


You need to make sure you have Java installed. Check the read me file.




Cpt Sherwood -> RE: WitpDecoder; Now also for allies (4/9/2007 1:02:07 AM)

Roger Neilson II, I did get CHS 158 to run properly( Did you know that Kondo is in charge of two things( 2nd Fleet and TF 5 )?




siRkid -> RE: New tool: WitpDecoder; No more spreadsheets! (4/9/2007 1:25:01 AM)

Ok I give up back to paper and pencile.




Cpt Sherwood -> RE: New tool: WitpDecoder; No more spreadsheets! (4/9/2007 1:37:22 AM)


quote:

ORIGINAL: Kid

Ok I give up back to paper and pencile.


What senario are you trying to use it with Kid? Maybe I can help. I have it running with stock, CHS 158 and BigBs senario.




siRkid -> RE: New tool: WitpDecoder; No more spreadsheets! (4/9/2007 1:41:03 AM)

Stock Scenario 15 PBEM me as allies. I'm going to check and make sure I have the right version of Java then I'll get back to you.




siRkid -> RE: Tracking leader stats (4/9/2007 2:08:37 AM)

Steps I’ve done to Load WitpDecoder for a Stock Scenario 15 PBEM ame

1. Downloaded the witpdecoder.zip
2. Created a Subfolder for my PBEM game in the C:\Matrix Games\War In The Pacific\SAVE folder
3. Extracted the files into this folder
4. Opened up the batch file and edited “echo off REM java -Djava.library.path=%CD% -jar witpdecoder2.jar PasswordHere java -Djava.library.path=. -jar witpdecoder2.jar” replacing the “PasswordHere” with my password. Which does not match the instructions given in the witpDecoder-docs.pdf.
6. Installed latest Version of Java
7. Executed batch file
8. Selected File> Initialize Database
9. Entered the following information
· Scenario – 15
· Nationally – Allies
· Checked the PBEM box
10. Selected Initialize
11. Received error


[image]local://upfiles/5534/C0C3F5575B18414ABD70EF42A9C5F25A.jpg[/image]




Page: <<   < prev  10 11 [12] 13 14   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.388672