Home | Webstore
Latest News: FHM 5 Available - Update OOTP 19.8 is online - OOTP 19 Available! - MLB Manager 2018 Available Now

Perfect Team Open Beta Available Now!

  

Go Back   OOTP Developments Forums > Franchise Hockey Manager 5 > FHM 5 - Mods

FHM 5 - Mods This is the place to check for mods for both FHM 5 and previous versions.

Reply
 
Thread Tools
Old 10-04-2015, 11:01 PM   #1
breich90
Minors (Double A)
 
Join Date: Mar 2007
Posts: 109
Thanks: 5
Thanked 13x in 7 posts
FHM2Reports - OOTP-Style Web Reports

Hey everyone,

Thought I would announce FHM2Reports, an online league web report backbone. I've got the bases of the web module covered, including the django-backed database setup and ready to go.

Feature List (to be released as I develop):
Team Page (w/ team stats, player roster)
Player Pages (w/ ratings, stats)
Team Schedule
League Schedule Grid
Draft Module (w/ log-in and draft results output)

My intent is to get player pages followed by team pages live as the first release. I will begin work on the draft module after I create the basic reports framework.

There's a plethora of other features I could (and intend) to add-on to this project, but I'm going to keep it simple to start. Feel free to chalk up any other modules/reports/etc. you'd like to see in subsequent releases and I'll throw them up on a proposed feature list.

Attached is my hello world: displaying the LW rating for player 1. Yes, there's absolutely zero formatting, but from a programming perspective, formatting/UI is much easier than getting the LW rating to display =)


Brett
Attached Images
Image 
breich90 is offline   Reply With Quote
4 thanks for this post:
Cole (10-05-2015), highheat42 (03-24-2018), landru22 (10-05-2015), spear (10-12-2015)
Old 10-04-2015, 11:02 PM   #2
Rizzo
Minors (Triple A)
 
Rizzo's Avatar
 
Join Date: Feb 2008
Posts: 223
Thanks: 58
Thanked 81x in 57 posts
As a prospective programmer I'll be very interested to see how your project develops. Good luck!
Rizzo is offline   Reply With Quote
Old 10-04-2015, 11:46 PM   #3
checkyoursixx
Minors (Triple A)
 
Join Date: Jun 2009
Location: Toronto, Ontario
Posts: 280
Thanks: 5
Thanked 121x in 66 posts
This would be very useful for any online league!

I definately look forward to this! Good luck!
checkyoursixx is offline   Reply With Quote
Old 10-05-2015, 06:25 PM   #4
breich90
Minors (Double A)
 
Join Date: Mar 2007
Posts: 109
Thanks: 5
Thanked 13x in 7 posts
Quote:
Originally Posted by Rizzo View Post
As a prospective programmer I'll be very interested to see how your project develops. Good luck!
Quote:
Originally Posted by checkyoursixx View Post
This would be very useful for any online league!

I definately look forward to this! Good luck!

Thanks for the support guys.


I'm just about finished with my player page template (skaters only so far). I'll be rolling that out tonight for my online league, will post link/pictures.


If there's anybody interested in the project that has a good understanding of CSS styling and would like to help work on the CSS-side of the project, please PM me. My CSS is stuck in 2007 so the styling will be basic/not sexy for a while.
breich90 is offline   Reply With Quote
Old 10-05-2015, 10:26 PM   #5
breich90
Minors (Double A)
 
Join Date: Mar 2007
Posts: 109
Thanks: 5
Thanked 13x in 7 posts
Update: Basic player page created. Still need to work through CSS (obviously), along with what ratings to display. I'm not sure that all the ratings dumped from the CSV match what's in the game--I actually haven't even played the game yet, other than to create the initial league file for our online league, and to run a couple test sims for the purposes of testing this project.
Attached Images
Image 
breich90 is offline   Reply With Quote
Old 10-05-2015, 10:52 PM   #6
checkyoursixx
Minors (Triple A)
 
Join Date: Jun 2009
Location: Toronto, Ontario
Posts: 280
Thanks: 5
Thanked 121x in 66 posts
Quote:
Originally Posted by breich90 View Post
Update: Basic player page created. Still need to work through CSS (obviously), along with what ratings to display. I'm not sure that all the ratings dumped from the CSV match what's in the game--I actually haven't even played the game yet, other than to create the initial league file for our online league, and to run a couple test sims for the purposes of testing this project.
This is pretty cool. I was hoping we would see something like this as html is kind of a big deal to me.

I wish I could help in some way, but I am not qualified.

Would this integrate with a league that has already started?
checkyoursixx is offline   Reply With Quote
Old 10-05-2015, 11:35 PM   #7
breich90
Minors (Double A)
 
Join Date: Mar 2007
Posts: 109
Thanks: 5
Thanked 13x in 7 posts
Quote:
Originally Posted by checkyoursixx View Post
This is pretty cool. I was hoping we would see something like this as html is kind of a big deal to me.

I wish I could help in some way, but I am not qualified.

Would this integrate with a league that has already started?
So long as you can click the 'generate csv' in the manage online league menu (the one where you create/download team files) then yes. As of right now, the CSV doesn't generate a table of historical stats, so the player stats would only be from that season and forward. Once I get the base league/team/player pages set, I'll be creating my own historical stats module until they get around to generating more tables from the game's database.
breich90 is offline   Reply With Quote
Old 10-09-2015, 11:52 AM   #8
Mike Lowe
All Star Starter
 
Mike Lowe's Avatar
 
Join Date: Dec 2001
Posts: 1,975
Thanks: 399
Thanked 151x in 89 posts
Very excited for this project! Subscribing!
__________________
be fulfilled. be magnanimous. be grateful.
www.simsportsgaming.com
@MikeLowe47
Mike Lowe is offline   Reply With Quote
Old 10-12-2015, 09:42 AM   #9
tward13
All Star Starter
 
Join Date: Jan 2003
Posts: 1,656
Thanks: 148
Thanked 325x in 181 posts
How is this project going? There are some leagues starting up than might be able to make use of web reports.

Appreciate the efforts!
tward13 is offline   Reply With Quote
Old 10-12-2015, 10:51 AM   #10
landru22
Major Leagues
 
Join Date: Jul 2010
Posts: 306
Thanks: 384
Thanked 80x in 37 posts
I am very interested in this project. Was wondering if I take the csv the game creates and add to it previous stats from previous seasons, would your utility still be able to create the html pages?
landru22 is offline   Reply With Quote
Old 10-12-2015, 07:31 PM   #11
spear
Minors (Rookie Ball)
 
Join Date: May 2009
Location: Toronto, ON
Posts: 44
Thanks: 21
Thanked 5x in 3 posts
Definitely interested to learn more!
spear is offline   Reply With Quote
Old 10-13-2015, 04:58 PM   #12
Breich
Minors (Rookie Ball)
 
Join Date: Oct 2015
Posts: 29
Thanks: 2
Thanked 29x in 13 posts
Oddly enough my original account lost it's posting permissions (and there's a support ticket that's been pending another response for a few days now). Here's where I'm at thus far: a little bit of styling.


CodePen - Crisp table
Breich is offline   Reply With Quote
Old 10-13-2015, 05:01 PM   #13
Breich
Minors (Rookie Ball)
 
Join Date: Oct 2015
Posts: 29
Thanks: 2
Thanked 29x in 13 posts
Quote:
Originally Posted by Mike Lowe View Post
Very excited for this project! Subscribing!

Thanks!

Quote:
Originally Posted by tward13 View Post
How is this project going? There are some leagues starting up than might be able to make use of web reports.

Appreciate the efforts!

I've only got the basic team and league pages to create, and I'll probably make a rudimentary player search function for the first release. I've got to make a script to convert some data that's dumped, however, because the current format of the CSV dumps is bugged.

Quote:
Originally Posted by landru22 View Post
I am very interested in this project. Was wondering if I take the csv the game creates and add to it previous stats from previous seasons, would your utility still be able to create the html pages?

The endstate of the utility would be to save the yearly stats as they're updated. If you have previous years' CSV dumps of the stats table, then we could get that inserted into the table, I'd just have to figure out a way to make it user friendly and automated. i.e. the process is easy, but not if you don't know jack about MySQL. =)

Quote:
Originally Posted by spear View Post
Definitely interested to learn more!

Thanks!
Breich is offline   Reply With Quote
Thank you for this post:
spear (10-14-2015)
Old 10-13-2015, 05:03 PM   #14
Breich
Minors (Rookie Ball)
 
Join Date: Oct 2015
Posts: 29
Thanks: 2
Thanked 29x in 13 posts
Not sure why it didn't post, but here's a link to the styling sheet I've been working on for most parts of the page (only the player page portion is shown).

CodePen - Crisp table

Also, my original account doesn't have posting privileges anymore, and I haven't a clue as to why. I've been back and forth on a support ticket for a few days, and nobody seems to understand what the problem is.

Last edited by Breich; 10-13-2015 at 05:05 PM.
Breich is offline   Reply With Quote
5 thanks for this post:
Cole (10-14-2015), Duranium (10-14-2015), Germaniac (10-14-2015), Isedelyod (10-13-2015), spear (10-14-2015)
Old 10-13-2015, 11:36 PM   #15
Rizzo
Minors (Triple A)
 
Rizzo's Avatar
 
Join Date: Feb 2008
Posts: 223
Thanks: 58
Thanked 81x in 57 posts
That's a very clean looking page. Love it!
Rizzo is offline   Reply With Quote
Old 10-14-2015, 06:08 AM   #16
Germaniac
All Star Starter
 
Germaniac's Avatar
 
Join Date: Apr 2011
Location: Frankenthal, Germany
Posts: 1,266
Thanks: 2,292
Thanked 896x in 484 posts
Looks great !!
__________________


I'm going to have to meet my Maker some day.
And if He asks me why I didn't let this boy play,
and I say it's because he's black,
that might not be a satisfactory answer.


Happy Chandler, 1947
Germaniac is offline   Reply With Quote
Old 10-28-2015, 08:54 PM   #17
spear
Minors (Rookie Ball)
 
Join Date: May 2009
Location: Toronto, ON
Posts: 44
Thanks: 21
Thanked 5x in 3 posts
How's this coming along? Would we be able to use a no frills version of this? The last update with the styling looked great!
spear is offline   Reply With Quote
Old 11-01-2015, 05:00 AM   #18
Forward
Bat Boy
 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0x in 0 posts
Great project, but i'm just curious....how can you read those dat files....

I'm a programmer and i just wonder how people outside the development team ca 'easily' read their database data and create in-game editors or something like you do.

Lovely project, but if you can tell me how for curiosity i'll be glad :P
Forward is offline   Reply With Quote
Old 11-01-2015, 09:56 PM   #19
Breich
Minors (Rookie Ball)
 
Join Date: Oct 2015
Posts: 29
Thanks: 2
Thanked 29x in 13 posts
Quote:
Originally Posted by Forward View Post
Great project, but i'm just curious....how can you read those dat files....

I'm a programmer and i just wonder how people outside the development team ca 'easily' read their database data and create in-game editors or something like you do.

Lovely project, but if you can tell me how for curiosity i'll be glad :P
The csv dumps that are generated are merely tables from the internal database tables (or at least, a subset of what the developers want us to see). Reverse-engineering the schema of the database is pretty easy to do, and from there, mods like my own simply produce different views that manipulate the same core set of data--player ratings, player biographical information, team data, etc.
Breich is offline   Reply With Quote
Old 11-02-2015, 09:55 AM   #20
Forward
Bat Boy
 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0x in 0 posts
You mean reverse-engineer to the exported csv files right?
Yeah i didn't remember to see the option to export csv data and what it do. :X
Forward is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:58 AM.

 

Major League Baseball trademarks and copyrights are used with permission of MLB Advanced Media, L.P. Minor League Baseball trademarks and copyrights are used with the permission of Minor League Baseball. All rights reserved.

The Major League Baseball Players Association (www.MLBPLAYERS.com ) is the collective bargaining representative for all professional baseball players of the thirty Major League Baseball teams and serves as the exclusive group licensing agent for commercial and licensing activities involving active Major League baseball players. On behalf of its members, it operates the Players Choice licensing program and the Players Choice Awards, which benefit the needy through the Major League Baseball Players Trust, a charitable foundation established and run entirely by Major League baseball players. Follow: @MLB_Players; @MLBPAClubhouse; @MLBPlayersTrust

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2017 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

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