Jump to content

Improved Statistics

Misc

232 replies to this topic

#21 CmdrPoopyPants

    Member

  • PipPipPipPipPipPip
  • Little Helper
  • Little Helper
  • 376 posts
  • LocationOshkosh, WI

Posted 21 June 2013 - 07:03 PM

Mind if I ask a silly question? How do you locate and determine if the binary for MWO changes resolution to trigger a scrape?

#22 SjurWarEagle

    Member

  • PipPipPipPipPipPip
  • 235 posts

Posted 22 June 2013 - 10:00 AM

Not a silly question at all. I'm using the windows native libraries by calling them by JNA->JNI.

This is the code: http://pastebin.com/NzsCxT30

It was some try&error to geht this running. I'm calling
EnumerateWindows.getSizeByWindowName(Config.MWO_WINDOW_TITLE);
every second, this gives me the size of the window with the given title and then it checks if the size has been changed and so on.

Edited by SjurWarEagle, 22 June 2013 - 10:00 AM.


#23 Wildstreak

    Member

  • PipPipPipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 5,154 posts

Posted 22 June 2013 - 11:07 AM

Is it safe to open? Downloaded through Chrome, when finished it said:


Quote

MechCollect-0.9-build83.zip is not commonly downloaded and could be dangerous.


View PostSjurWarEagle, on 29 March 2013 - 07:31 AM, said:

Can I manually request data from the website?
Yes, please KILL the raven.

Fixed. :D

#24 SjurWarEagle

    Member

  • PipPipPipPipPipPip
  • 235 posts

Posted 22 June 2013 - 11:36 AM

Quote

[color=#959595]MechCollect-0.9-build83.zip is not commonly downloaded and could be dangerous.[/color]

WFT?! Oh Chrome... Can anyone please explain why they did add such a stupid message?
The message HAS to popup, because how many will download the file? 10? 20? Compared with the internet, this is a tiny number.
Omg, btw. how does chrome know this? Are they tracking the download of every file everyy chrome user does?!

Regarding your question: I'm certain the file is save, but I have uploaded it, so please check it with online virus scanners or get a confirmation from another user. Always better to get a second opinion.

#25 Wildstreak

    Member

  • PipPipPipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 5,154 posts

Posted 23 June 2013 - 05:28 AM

Sorry to agitate you, just never had that before.
Since a few others here report no problem, OK then. :P

#26 SjurWarEagle

    Member

  • PipPipPipPipPipPip
  • 235 posts

Posted 23 June 2013 - 07:20 AM

No harm done :P I just cannot understand the motivation of google to implement such a stupid message.

Enjoy the tool, and feel free to ask any question :D

Edited by SjurWarEagle, 23 June 2013 - 07:20 AM.


#27 Wildstreak

    Member

  • PipPipPipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 5,154 posts

Posted 25 June 2013 - 05:47 AM

Think I am missing something.
I open the ZIP file and in the folder are some files and folders, now what?
I moved the MechCollect folder to the HD and tried running MechCollect.jar figuring it would run in a browser but Chrome asked me where to save it and IE asked about unzipping it. I am lost.

#28 Hammerhai

    Member

  • PipPipPipPipPipPipPip
  • Bad Company
  • Bad Company
  • 998 posts

Posted 25 June 2013 - 07:09 AM

1. Extract the zip file with the directory structure in place to a location of your liking.
2. Make sure you have Java Runtime installed. Download it from oracle.com if you do not have it.
3. open the file called config.properties under the Directory called config and put your e mail account name and login password for it to work properly. If you feel this is unsafe, do not use this utility.
4. click on the file called start to actually run this utility.
a. If you wish place a shortcut pointing to start on the desktop.
5. It will then run and collect data after every match automatically.

#29 Wildstreak

    Member

  • PipPipPipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 5,154 posts

Posted 25 June 2013 - 02:23 PM

Thanks.
Does it have to run while playing?
I have it running but it shows no data.

#30 CmdrPoopyPants

    Member

  • PipPipPipPipPipPip
  • Little Helper
  • Little Helper
  • 376 posts
  • LocationOshkosh, WI

Posted 25 June 2013 - 02:32 PM

It works (generally) by getting your stats off the MWO website.. and those only update after each match. So, you have it running while you play and it builds your history after each match. It can't do that with just the one reading from the web, it needs at least 2 data sets (I presume, based on what I've looked at) so you must play at least 1 game (while it's running) to get your second set of data.

#31 CmdrPoopyPants

    Member

  • PipPipPipPipPipPip
  • Little Helper
  • Little Helper
  • 376 posts
  • LocationOshkosh, WI

Posted 26 June 2013 - 08:37 PM

Hey.. what are you using to chart with? I'm having problems with MSChart.. no good examples of using tableadapters so I can't get my data charted..

#32 SjurWarEagle

    Member

  • PipPipPipPipPipPip
  • 235 posts

Posted 27 June 2013 - 01:11 AM

It's http://www.jfree.org/jfreechart/

#33 SjurWarEagle

    Member

  • PipPipPipPipPipPip
  • 235 posts

Posted 29 June 2013 - 09:00 AM

Hi,

and there is a release only containing bugfixes:

1.0
New:
* added comments to the config.properties
* added popup when the login to MWO fails
Bugfixes:
* hide maps in "Kill/Death per Map" when not enough data, this prevents the axis from getting mixed up
* fixed color for FLAME and FANG
* changed infotype when color is missing (it's not really an error, more some info)
* fixed NullPointerException at the right screen when there isn't enough data for calculation
* fixed bug for new users where this tool crashed if there are no modules bought

http://goo.gl/Lg1Fo

#34 SjurWarEagle

    Member

  • PipPipPipPipPipPip
  • 235 posts

Posted 06 July 2013 - 09:00 AM

Hi again,

there is once again a new version, this version removes the problem with all the missing colors because of new mechs/new maps.

1.1
New:
* added color chooser for weapons, maps and mechs not known
* added ability to define own colors in colors_custom.properties, simply create the file, for the fileformat please look into colors.properties
* added earned c-bills to left computer panel


Download:
http://goo.gl/FAIO5

Have fun :)

#35 Hammerhai

    Member

  • PipPipPipPipPipPipPip
  • Bad Company
  • Bad Company
  • 998 posts

Posted 07 July 2013 - 10:27 AM

Found a bug for you: If you start mechcollect after being in the game client, the client does not show games thereafter, but the last game where it was started before going into MWO client. XP gets shown as being aggregated under this, so you can end up with enormous "XP sums" which are wrong.

Workaround
Exit MWO, start mechcollect first, then launch MWO and the games should show correctly.

#36 Brunor

    Rookie

  • Knight Errant
  • 9 posts
  • LocationDunedin

Posted 08 July 2013 - 05:37 PM

I would like to publicly thank SjurWarEagle for doing this (and for being patient with my trouble setting it up).


In case anyone wanting to try this has trouble having "java" recognised as a command (which stops start.cmd working), you can either add the java directory/folder to your system's Path permanently, or simply add (for example)

path = C:\Program Files (x86)\Whatever_My_Java_Directory_Is;%path%

as a line at the beginning of start.cmd. If you are unsure if you need to do this, open a command prompt and type "java" - the system will tell you if it is an unrecognised command.

#37 Hammerhai

    Member

  • PipPipPipPipPipPipPip
  • Bad Company
  • Bad Company
  • 998 posts

Posted 01 August 2013 - 06:07 AM

Just wanted to give a headsup that Terra Therma is not recognised by the program, as it is too new

#38 shotokan5

    Member

  • PipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 550 posts
  • Google+: Link
  • Locationvirginia

Posted 01 August 2013 - 06:32 AM

Stats mean nothing right now. If you could hardly play for months of course the numbers are bad. Don't think are going to clear on opening day. That is when it would mean something. Its like keeping baseball stats from spring training to go into the regular season. A up or down arrow would do the job and not be a big job.

#39 SjurWarEagle

    Member

  • PipPipPipPipPipPip
  • 235 posts

Posted 01 August 2013 - 11:45 PM

Hi Hammerhai,

please drop me some more information what isn't wokring for you. The map should be displayed if you played it 2-3 times.

#40 Corvus Antaka

    Member

  • PipPipPipPipPipPipPipPipPipPip
  • Knight Errant
  • Knight Errant
  • 8,310 posts
  • Twitch: Link
  • LocationInner Sphere

Posted 01 August 2013 - 11:57 PM

View PostGenewen, on 29 March 2013 - 07:52 AM, said:

Looks decent, but fat chance that I'm going to give my login data to a third party program.
this.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users