OOTP Developments Forums

OOTP Developments Forums (https://forums.ootpdevelopments.com//index.php)
-   OOTP Mods (https://forums.ootpdevelopments.com//forumdisplay.php?f=3693)
-   -   ScoutingTracker Now Available! (https://forums.ootpdevelopments.com//showthread.php?t=188068)

Neags23 09-03-2009 05:44 PM

ScoutingTracker Now Available!
 
4 Attachment(s)
Introducing ScoutingTracker, the development tracker for leagues that use scouting!

All of the great features devTracker has, plus a few extra goodies.

This can be used for solo leagues and online leagues.

This utility does not need your csv files. It reads OOTP's .dat files directly. Any time you run the utility, it looks at the .dat files to see if there are new scouting reports available, and writes a new baseline file accordingly.

The reading of the OOTP .dat files was made possible by Tony M.! So thanks to him for helping me out so much there.

There is a catch to using this utility, however. To ensure that you aren't trying to cheat in online leagues, I had to implement a system that verified you are only looking at ratings from your scout. So the first time you run this utility, you will have to go through a verification process. There's no way around this. It is a pain, and due to unexplained rounding that OOTP sometimes does, sometimes even valid answers are wrong. But you only have to do it once. Then a file is saved on your PC that lets you skip the setup process. Of course, if you delete that file, you'll have to run setup again next time you use the utility.

There are graphs, a new player card with some pictures and logos, the ability to choose multiple teams and/or players, and what I think is an improved interface.

The only other requirement is that you need the .NET Framework 3.5.

This has only been used by me, so I'm quite confident there are bugs to work out. In fact, some of the program is still being tweaked and worked on, but I figured I would get this out there so people can start using it and getting baselines created. Also, any bug fixes or feedback, I can start working on while I'm still working on other parts of the project. That way I don't have to go back into a project later that I thought was wrapped up with a bow.

So bugs and feedback are, as always, welcome!

Enjoy!

Raidergoo 09-04-2009 03:42 PM

I may go insane waiting for my league to convert to OOTP X.

endgame 09-04-2009 06:03 PM

Neags. What can I say? Excellent, just excellent. You've outdone yourself, here. Kudos.

Afino 09-04-2009 09:54 PM

Holy. Crap.



I'm downloading this RIGHT NOW.

Afino 09-04-2009 10:06 PM

Okay, I'm hitting "verify" after I input all of the ratings, but nothing happens.


edit: I guess that just means I'm wrong due to the odd rounding issue you noted, Neags. I tried different players and it was fine.

It says "right!".....and stays on the verification page. I can't get past it.

Neags23 09-04-2009 10:14 PM

Quote:

Originally Posted by Afino (Post 2814027)
Okay, I'm hitting "verify" after I input all of the ratings, but nothing happens.


edit: I guess that just means I'm wrong due to the odd rounding issue you noted, Neags. I tried different players and it was fine.

It says "right!".....and stays on the verification page. I can't get past it.

If you got a "right!", then check your devTracker2_baselines folder for a couple of new files. One that's a .key file, another that says ScoutingTracker.dat or something like that.

Kill the program and restart, see if it lets you in.

I apologize in advance for any issues, no one has used this except me, yet.

Still ironing out some kinks.

Afino 09-04-2009 10:17 PM

Yep, I have both files.

Encrypted.key and ScoutSettingsTracker.dat.



Killed program, restarted, got this error:

Quote:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: C:\Users\Matt\Documents\Out of the Park Developments\OOTP Baseball 10\saved_games\The One.lg\news\html\images\St._Louis_Blues_25.png
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at ScoutingTracker.UI.FormMain..ctor(String[] leagueInfoArray)
at ScoutingTracker.UI.FormWelcome.backgroundWorker1_R unWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
ScoutingTracker.UI
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Matt/Documents/ScoutingTracker/ScoutingTracker.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ScoutingTracker.BLL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Matt/Documents/ScoutingTracker/ScoutingTracker.BLL.DLL
----------------------------------------
ScoutingTracker.COMMON
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Matt/Documents/ScoutingTracker/ScoutingTracker.COMMON.DLL
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
ScoutingTracker.DLL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Matt/Documents/ScoutingTracker/ScoutingTracker.DLL.DLL
----------------------------------------
FileHelpers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Users/Matt/Documents/ScoutingTracker/FileHelpers.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
OOTP10
Assembly Version: 1.0.1.30120
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Matt/Documents/ScoutingTracker/OOTP10.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Looks like it tried to find my team logo and failed?

Neags23 09-04-2009 10:22 PM

Quote:

Originally Posted by Afino (Post 2814037)
Yep, I have both files.

Encrypted.key and ScoutSettingsTracker.dat.



Killed program, restarted, got this error:




Looks like it tried to find my team logo and failed?

Yep. I was kind of worried about the player picture and logos business. I didn't do a lot of testing with leagues with custom logos or no player pics. I'll have to put error handling around that, and if it can't find the pic, just ignore that and have a blank spot. In the future, I'll have it display a default, or have the user show the program where the appropriate images are.

For now, I'll have a new download up in a few minutes.

Neags23 09-04-2009 11:45 PM

Okay, new build is up in original post.

Sorry for the trouble and for the wait! My dog is a much bigger pain tonight than usual.

Afino 09-05-2009 11:01 AM

Alright, so I have it up and running.

Is this just like the DevTracker where you have to have more than one baseline to get results?

And I'd assume to "create a baseline" for this, you have to run a rescout? Or does it take the periodic rescout?

Neags23 09-05-2009 11:07 AM

Quote:

Originally Posted by Afino (Post 2814183)
Alright, so I have it up and running.

Is this just like the DevTracker where you have to have more than one baseline to get results?

And I'd assume to "create a baseline" for this, you have to run a rescout? Or does it take the periodic rescout?

Yep, that's exactly right. Not much to look at if there are no changes.

This one is a little different, though, in that you have to wait for your scout to release new ratings. Which I think happens once a month (unless you request a report on a particular player, right?). You can't just export .csv files and then get a new baseline. It's up to the scout on this one.

Afino 09-05-2009 11:09 AM

Quote:

Originally Posted by Neags23 (Post 2814186)
Yep, that's exactly right. Not much to look at if there are no changes.

This one is a little different, though, in that you have to wait for your scout to release new ratings. Which I think happens once a month (unless you request a report on a particular player, right?). You can't just export .csv files and then get a new baseline. It's up to the scout on this one.

Okay, that's what I thought.

But again, you can always hit the "run OSA and human scout rescout" button in a solo league to get updated changes immediately, I would think.

I wouldn't run it more than once per month though - so if it does it once per month (I thought it did), then I will just let it go automatically.

dcpcarmona 09-05-2009 11:13 AM

ok, that's it...I am naming my first born after you!

dcc

Neags23 09-05-2009 03:24 PM

Quote:

Originally Posted by Afino (Post 2814189)
But again, you can always hit the "run OSA and human scout rescout" button in a solo league to get updated changes immediately, I would think.

I was thinking about this... you would need to sim at least one day and then run rescout. The program checks the latest date on your baseline and compares it to the date of the current scouting report. If the scouting report date is the same as the one in the baseline, it's not going to write a new one.

Neags23 09-05-2009 03:29 PM

Quote:

Originally Posted by dcpcarmona (Post 2814192)
ok, that's it...I am naming my first born after you!

dcc

Thanks, as long as it's not a girl. Probably don't want a Neags-ette running around! :laugh:

Kemp 09-06-2009 05:35 AM

1 Attachment(s)
This utility didn't work for me.

When I double clicked on the executable I got a popup that said, "Couldn't find your OOTP 10 saved_games directory. Try browsing..."

I browsed and pointed to the saved_games directory and got another popup box. I've attached a screen print of that popup.

Any help would be appreciated. Thanks.

Neags23 09-06-2009 09:14 AM

Quote:

Originally Posted by Kemp (Post 2814733)
This utility didn't work for me.

When I double clicked on the executable I got a popup that said, "Couldn't find your OOTP 10 saved_games directory. Try browsing..."

I browsed and pointed to the saved_games directory and got another popup box. I've attached a screen print of that popup.

Any help would be appreciated. Thanks.

Your saved games directory is not in the default path, then?

It looks like your security settings don't allow programs to write files to the c:\.

I would think you could hit continue and get around that. All that file does is tell the program where to look first the next time you hit browse.

Are you able to just skip that error?

Kemp 09-06-2009 09:26 AM

Correct, it's not the default path.

I did hit "Continue" but then nothing happens. The mod just sits at that first screen.

Neags23 09-06-2009 09:43 AM

Okay, try link in original post. Just overwrite your existing files.

Kemp 09-06-2009 10:14 AM

Ugh it looks like Windows is not allowing the application to run. The error is: "Access to the path 'c:\defaultpath.ini' is denied"

Question - which path should I be pointing to when I browse? Is it the Saved Games directory or the actual leauge.lg folder?


All times are GMT -4. The time now is 10:22 AM.

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments