Analyse-my-stats-files graphical TOOL for the DUMMIES


(Vaticool) #1

Hi mates,

Are you looking for a tool to analyze your stats file (Stats Dump options).
ETPPI is really easy to install/run (no required mysql or PHP skill) :banana:

You only need Java Runtime Engine 1.4.2 which is already installed on almost every computer.

Take a look at:
ETPPI Home

Greetings. :drink:


(Ifurita) #2

Interesting. However, I cannot get any of the graphs to show. I just installed the JRE from the link you provided and ran your analyzer.

  1. No graphs show
  2. Can I select a set of folders instead of just the .txt files within a folder

(Vaticool) #3

Due to java security, I didn’t find any way to scan folder :???:
That’s why I added the save feature ( first Panel ) which allows you to save a selection of file and to add only new ones next time .

So you HAVE to select files not folder :frowning:
But that s the price to pay for java :smiley:


(Danyboy) #4

Please make some sort of executable file please

I cant be bothered to dload latest Java runtime and compile or whatever

And im guessing these “dummies” you talk about - also wont be able to

Not complaingin here - just suggesting


(Vaticool) #5

I appreciate your suggestion but :

1- I swear there s nothing to compile

2- Many pple have already JRE installed cos they browse the Web and they download the java plug-in (ie JRE) like shockwave or anything else. I am not sure this would NOT work with an older version of JRE (pre 1.4.2)

3- I can not ask pple running an exe ! This is my way of thinking not sure it is the good one but it’s mine :slight_smile:

PS: When I say dummies … I am sure every one understand “dummy = not expert” not more not less :slight_smile:


(Steltek) #6

I also believe that you can choose directories from the JFileChooser object by adding this:

fileChooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);

Of course, you’ll need to test if it’s a file or directory (don’t just look for .txt). File objects have a boolean function for that called isDirectory(). After that, just recurse through and there ya go.

from here

Also, are you familiar with regular expressions? I’ve never used them in Java (mostly in Python) but they could be helpful in testing whether the text file you’ve found is a compatible stats file to read. Just a thought for a future version.

About the JRE, I hate to disappoint a fellow Java dev but not that many people have Java2 compatible JRE’s.

I believe (don’t depend on me for this, I’ve never really cared to read the Java EULA) that you can bundle the JRE with your program specifically for running your application. You can not bundle the JRE in order to allow them to run anything else because gasp, that might be useful.

People wonder why Java never caught. Stupid lawyering at Sun killed it. Maybe they should sue MS again. Yeah that might work. shakes head


(Vaticool) #7

I know you can select directories. But I am convinced that Java won’t allow to scan a directory selected by the end user :D. So IMHO you get a set of Directories but you don’t know what they contain :smiley:

This application is essentially a parser of regular expressions :smiley:

:???:

interesting :clap: I will look at .

:smiley:

Thanks for your feedback, mate.


(Steltek) #8

Nope, there’s no security restrictions on that and it’s possible (remember Swing is entirely written in Java so anything it can do, you can do too). Anything run locally is free to do whatever the OS lets it.

This is a quick program I wrote up just to reassure myself. Just compile and run with java ListDir . and you should see ListDir.java and ListDir.class shown.


import java.io.File;

public class ListDir
{
	public static void main (String[] args)
	{
		File theFile;
		
		if (args.length == 0)
		{
			System.err.println("Must supply a filename");
			System.exit(1);
		}

		theFile = new File(args[0]);

		if (theFile.isDirectory())
		{
			int i;
			String[] listOfFiles;

			listOfFiles = theFile.list();

			for (i = 0; i < listOfFiles.length; i++)
			{
				System.out.println(listOfFiles[i]);
			}
		}
	}
}


(Vaticool) #9

OMG :eek2:
You re right :clap:
I feel like a dummy :bump:
Thanks a lot, mate.

PS: I was stuck in the JFileChooser API :bump:


(Steltek) #10

No problem.

Hmmm, shoulda added more comments to that source :D. Gotta keep up the impression that I can actually write readable code ;).

And on another correctness note, where would a File object throw an exception if I handed that thing a bogus filename? I always miss something :frowning:


(Pamper) #11

Quite true. Even today, Sun doesn’t allow Linux distribution CDs to include JREs in the default install.


(vytal) #12

Suggestions:

Since I have the exact two problems as ifurita, I don’t see too much use with it without being able to see the graphics, also an exe would be much nicer and user friendly.


(Vaticool) #13

vytal & ifurita : :???:
Warning ! no graph is shown when there is no relevant data to display - but Draw Panel is displayed.
Request Graph for “kills with Luger” when you never use Luger will show empty graph !

But if you ask for “Damage Given - Damage received” and nothing is displayed , there s a real pb .

So, what’s your Operating System ?


(Ifurita) #14

I don’t see graphs for anything. I am using Windows 2000 professional. I clicked on a stats folder, selected all the files, clicked on Save and then Parse. I am taken to the UI with all the buttons and I can see the general stats summary, but none of the graphs.


(vytal) #15

i do exact same thing with same result though my os is windows 2003 server

the only thing that worked was i think it was called global stats or somthing… yeah that worked lol the button under graphs…


(Vaticool) #16

Dear Ifurita,

I have no idea why you get no graph ?
I wont ask you if you re sure you have the JRE 1.4.2 installed.
I wont ask you if you re sure you have no older JDK in your PATH.
Dunno. sorry. :blah:

PS: I have win 2000 Pro too and it’s running fine.


(Vaticool) #17

Updated to 1.1

Auto-update feature works fine …

Select file by directory is OK

  • but stay quiet and don t select more than 100 files
    it usually crashes … some work … TODO
    :frowning: :bump:

(Vaticool) #18

Bug that make ETPPI crash
is not related to rounds amount to analyze but player name size

Player name over 15 chars are truncated by stats dump
in the Axis Allies end table.

I am on it. :smiley:

Perhaps that’s why Ifurita and vytal can not make it work :???:


(Vaticool) #19

Hello mates,

New version released (v1.2)
No enhancements :bored:

Just 2 main bugs fixed:

Player Names longer than 15 cars do not longer make ETPPI crash.
Team damage on 5 digits ( ie more than 9999, I did it so it s possible :smiley: ) do not longer make ETPPI crash.

and like swedish pple say… “SHA” (I suppose it s not the real spelling)

Vati.
Download link always download most recent


(Sgt_mac) #20

Heya mate.

Just got it running.

Anyway you could get it to scan the server logs to show all players??
Like systats works??