Combat Reporter - report monitoring tool

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
bretg80
Posts: 289
Joined: Sun Jun 07, 2009 9:49 pm

Combat Reporter - report monitoring tool

Post by bretg80 »

*** UPDATE **** Nov 2015 - Combat Reporter should now support java 8 and run on 64 bit JVMs. Please download version 1.1.

If you are getting a black map, it is probably a java heap issue, which means you don't have enough memory to load the map.

Some possible solutions are to change the combatreporter.bat file as follows:

java -splash:UV1024.jpg -Xmx768m -jar combatreporter.jar

to

java -splash:UV1024.jpg -Xmx1024m -jar combatreporter.jar

you can increase it to 2048m if you want, but you shouldn't have to.

if that doesn't work, feel free to PM me.


Latest version (1.1) of Combat Reporter is out on 11/28/2015. Link is here:

https://sites.google.com/site/witpaecombatreporter/

Release notes for 1.1

1. Upgraded some dependencies to support Java 8.x and 64 bit JVMs. The version should now reflect 1.1.
2. Fixed some visual issues with the preferences dialog.
3. Removed some print statements that were visually polluting the startup.
4. Removed the -server option from the bat file as it appears that newer versions of java are not distributed with server code anymore.

Release notes for 1.0521

1. added additional logging to diagnose map loading and out of memory issues
2. changed timeout for map load failure to 10 mins to address slow or virtual machines.

Release notes for 1.052

1. Fixed a potential deadlock condition when an error occurs during loading of the map file.
2. Added some logging output to the cmd window to assist in troubleshooting.
3. Fixed the array out of bounds condition found by BigDuke66.

1. Fixed a parse bug for radio transmissions in the Sigint report.

Release notes for 1.05

1. New map scrolling. You can now move the cursor on the map to scroll. Kinda like google maps. The hand icon will change to indicate scroll mode when you push the mouse button. I was really tired of the old clunky way it worked, so I fixed it. :-)

2. Map scrolling should be faster and more fluid. Enjoy !!


Release notes for 1.041

1. When mouse is over the map and you don't move it for a second or so, the hex coordinates for the mouse location will show on the map. They will go away when you move the mouse again.

2. Fixed a bug where some locations were not found in the database and thus the map navigator was not finding the location. If you find anymore of these, please send me a copy of the report file and I will try to figure out what I am missing :-)

3. Added a progress bar to show map load status. You can still open reports while the map is loading, but if you have a slower machine, this will give you an idea of progress. If you have a fast machine, you may not see it. Also, the map should load a lot faster now. Turns out the old version was trying to load it twice. Bummer :-)

4. 1.04 fixes the hex coordinate display. It was erroneously reporting the hex location in some cases.

5. 1.04 fixes a number of parsing bugs. You should be able to find more locations now.

6. 1.041 fixed the hex placement and hex display bug for odd Y coordinates. Should work properly now.




Combat Reporter road map - Nov 2015 update - looking into these again

1. New UI - Calendar will show the air/sea/land summary results - select a day and see details

2. Display sighted ships / planes with speed and direction vectors on the Map.

3. Show combat by location over a period of time to allow historical views. I have some ideas on how to do this using the map. I'll share my concepts later this summer.

4. Enhance the readability of the reports through better organization.

If you would like more information on how to use CombatReporter I have also included a users guide and have incorporated feedback from the community.

Thanks everyone for your support and great ideas.

A few changes to note from the beta.

1. The map is no longer included and you need to tell Combat Reporter where you installed WitPAE so it can find the WitPAE map. You will set this in the preferences when you start the application. This reduces the overall size of the download and the extra handling of a separate map. The only requirement is that you have to be using patch 3 with the enhanced map sizes. I think they were lower res before patch 3. If not, then no issues for earlier releases.

2. The preferences dialog will help you configure Combat reporter to work on your system. Read the user guide for assistance if needed. It should be more intuitive now.

3. Post questions on the forum if you need help. The tool is being used by quite a few people and they should be able to help if I can't get back to you quickly enough.

Enjoy !!!!!!

Bret

P.S. I have run this by the AE team and have their permission to release this tool.

Here is a picture of the main screen. [8D]

Image
Attachments
combatreporter.jpg
combatreporter.jpg (158.89 KiB) Viewed 3623 times
I'll be back
User avatar
khyberbill
Posts: 1941
Joined: Tue Sep 11, 2007 6:29 pm
Location: new milford, ct

RE: Combat Reporter Beta

Post by khyberbill »

Can this handle two day turns?
"Its a dog eat dog world Sammy and I am wearing Milkbone underwear" -Norm.
User avatar
rjopel
Posts: 617
Joined: Tue Dec 18, 2007 11:32 pm
Location: Charlottesville, VA, USA

RE: Combat Reporter Beta

Post by rjopel »

Where's the link?
Ryan Opel
User avatar
sdevault
Posts: 143
Joined: Tue Oct 28, 2008 4:26 pm

RE: Combat Reporter Beta

Post by sdevault »

I think I love you...
bretg80
Posts: 289
Joined: Sun Jun 07, 2009 9:49 pm

RE: Combat Reporter Beta

Post by bretg80 »

I believe two day turns are reported in a single file, and if so, this will work. I haven't tested it it with multi-day turns yet. So if you are a multi-day player, please let me know if you want to test it.

Okay, I went ahead and published the link (see first posting in this thread), but I really want a few grognards to test it first so I know that it will work for others. I don't want too much egg on my face when I release it as I want it to work for most of you and so I need a few good testers first.

A few things I want to double check before releasing it:

1) Does it run on XP? I run it on Win 7.
2) How well does it run on older machines. I have a quad core 8 GB monster machine. How well does it run on a single core XP machine with only 2GB?
3) What kind of things did I miss. Is it reporting everything properly?
4) How easy is it to use?
5) Is it useful? I believe so, but what do you think?
6) Are the docs good enough. What did I miss?


PM me or let me know your interest in testing on this thread. You have the link, so you can download and get started. If you sign up to be a tester - I will support your endeavor to get it installed and running. [8D]

I'm very excited about getting this out to everyone, so sign up and help test it so I can release it to everyone. [:D]

I can't play WITP anymore without this. It is now my crutch [:D][;)]
I'll be back
bretg80
Posts: 289
Joined: Sun Jun 07, 2009 9:49 pm

RE: Combat Reporter Beta

Post by bretg80 »

First tester signed up. Four to go. I'll keep everyone appraised of our progress. He is a win7 dual monitor tester. Any XP testers out there?
I'll be back
RoryAndersonCDT
Posts: 1826
Joined: Mon Jun 15, 2009 11:45 pm

RE: Combat Reporter Beta

Post by RoryAndersonCDT »

This utility is great. 
Command Dev Team
Technical Lead
bretg80
Posts: 289
Joined: Sun Jun 07, 2009 9:49 pm

RE: Combat Reporter Beta

Post by bretg80 »

First bug fixed. When clicking on sigInt reports about moving ships, CombatReporter was confused and could not figure out which keyword "on" in the report string it should use to find the location. B1.01 now corrects this problem.

Thanks for the help on this Baloogan.
I'll be back
Sredni
Posts: 705
Joined: Thu Sep 30, 2004 6:07 am
Location: Canada

RE: Combat Reporter Beta

Post by Sredni »

I wish my computer could handle dual monitors, this mod sounds awesome :D

Good luck with the testing.
Knavey
Posts: 2565
Joined: Thu Sep 12, 2002 4:25 am
Location: Valrico, Florida

RE: Combat Reporter Beta

Post by Knavey »

This looks really good. Similar to Bodhi's utility for WitP which I used extensively.

Keeping an eye out for its release. Will be very helpful.

Thanks for putting the effort into it.

x-Nuc twidget
CVN-71
USN 87-93
"Going slow in the fast direction"
User avatar
aristoteles
Posts: 22
Joined: Tue Jul 26, 2005 6:06 pm

RE: Combat Reporter Beta

Post by aristoteles »

Wow, a really nice utility, thanks a lot for your effort!!
tbridges
Posts: 263
Joined: Sat Jun 25, 2005 5:02 pm
Location: North Carolina

RE: Combat Reporter Beta

Post by tbridges »

Outstanding! This will be a terrific help! [&o][&o][&o]
Tom


The easy way is always mined...
RoryAndersonCDT
Posts: 1826
Joined: Mon Jun 15, 2009 11:45 pm

RE: Combat Reporter Beta

Post by RoryAndersonCDT »

I like playing without combat animations or combat reports on and using this utility to review the combat
Command Dev Team
Technical Lead
User avatar
kaleun
Posts: 5144
Joined: Tue May 28, 2002 10:57 pm
Location: Colorado

RE: Combat Reporter Beta

Post by kaleun »

This sounds great! I never could get WITP tracker to work (too complicated to make it run) If this works as promised it should be fantastic.
Appear at places to which he must hasten; move swiftly where he does not expect you.
Sun Tzu
bretg80
Posts: 289
Joined: Sun Jun 07, 2009 9:49 pm

RE: Combat Reporter Beta

Post by bretg80 »

I'm very pleased to hear that CombatReporter is working well. I only have one tester right now and so far aside from an initial defect,the tool is working as advertised. I plan to make a few more changes this week and if all goes well, I'll release it to the community next week.

Thanks for your support everyone. [:)]
I'll be back
RoryAndersonCDT
Posts: 1826
Joined: Mon Jun 15, 2009 11:45 pm

RE: Combat Reporter Beta

Post by RoryAndersonCDT »

Seriously useful :) I never looked at all the intel available to the allied player.
Command Dev Team
Technical Lead
Lifer
Posts: 385
Joined: Sun Jun 08, 2003 3:37 am
Location: East Coast, USA

RE: Combat Reporter Beta

Post by Lifer »

When you click the About menu choice, the program exits without warning.  Minor I know.  Very useful tool to go back and review reports.  How does this do with multiple games that overlap the dates in both games?

Greg
Man does not enter battle to fight, but for victory. He does everything that he can to avoid the first and obtain the second.
Ardant du Picq
hused84
Posts: 7
Joined: Tue Jul 31, 2007 4:08 pm
Contact:

RE: Combat Reporter Beta

Post by hused84 »

Error:?? only open 1 time, configure, restart, crash


Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\juegos\War in the Pacific Admiral's Edition\tools\Combat report>combat report

"combat" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

D:\juegos\War in the Pacific Admiral's Edition\tools\Combat report>combatreport.
bat

D:\juegos\War in the Pacific Admiral's Edition\tools\Combat report>java -Xmx1024
m -jar combatreport.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:56)
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: start
up failed:
script1272985580625873073245.groovy: 1: unexpected char: '\' @ line 1, column 13
.
watchDir="D:\juegos\War in the Pacific Admiral's Edition\SAVE"
^

1 error

at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollecto
r.java:296)
at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollect
or.java:143)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.ja
va:113)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.ja
va:125)
at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:353)
at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(Antlr
ParserPlugin.java:97)
at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugi
n.java:69)
at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:249)
at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.ja
va:158)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(Compil
ationUnit.java:831)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(Compilat
ionUnit.java:519)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(Co
mpilationUnit.java:495)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.j
ava:472)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:291)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:262)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:206)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:216)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMet
hodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMeta
MethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi
teArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:125)
at groovy.util.ConfigSlurper.parse(ConfigSlurper.groovy:148)
at groovy.util.ConfigSlurper$parse.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi
teArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:125)
at com.bret.witpae.CombatReport.main(CombatReport.groovy:41)
... 5 more
hused84
Posts: 7
Joined: Tue Jul 31, 2007 4:08 pm
Contact:

RE: Combat Reporter Beta

Post by hused84 »

Jeje solution, the instalation game is D:\juegos\War in the Pacific Admiral's Edition\SAVE but the program requerit this path
D:/juegos/War in the Pacific Admiral's Edition/SAVE ,note the diferent \ and /
Mistmatz
Posts: 1399
Joined: Sun Oct 16, 2005 8:56 pm

RE: Combat Reporter Beta

Post by Mistmatz »

Seems to be a nice tool. Is there a way to zoom closer into the map with the next build?
If you gained knowledge through the forum, why not putting it into the AE wiki?

http://witp-ae.wikia.com/wiki/War_in_th ... ition_Wiki

Post Reply

Return to “Scenario Design and Modding”