Home | Webstore
Latest News: OOTP 25 Available - FHM 10 Available - OOTP Go! Available

Out of the Park Baseball 25 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 25 > OOTP Mods > OOTP Mods - Database Tools
Register Blogs FAQ Calendar Today's Posts Search

OOTP Mods - Database Tools Do you need to take a dump? SQL gurus welcome

Reply
 
Thread Tools
Old 05-17-2011, 07:04 AM   #301
Cooleyvol
Hall Of Famer
 
Cooleyvol's Avatar
 
Join Date: Dec 2001
Location: Union City, TN
Posts: 6,383
Quote:
Originally Posted by Chicagofan76 View Post
Ok I probably should read all the pages before asking this

1. Cqn i use this in solo leagues?
2. I am not the commish of my online league, is it a crime to use this and what benefits can i see for both?

You can.

As for #2..............you can only create the files needed to use statslab if you have commish access.
Cooleyvol is offline   Reply With Quote
Old 05-18-2011, 09:45 AM   #302
BleedingCubbyBlue
All Star Reserve
 
BleedingCubbyBlue's Avatar
 
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 601
SO has anyone come across any issues with MySQL files created on a Mac? We recently installed StatsLab for the HBL and get an error with the file below if it's created on a Mac. If I create it in my PC, but the guy who runs most of the sims uses a Mac. Any ideas?

Code:
Loading team_history_pitching_stats.mysql.sql
... 1000 queries executed
... 2000 queries executed
insert into `team_history_pitching_stats` VALUES (1, 2001, 100, 0, 1, 0, 0, 5869, 1452, 6587, 0, 1511, 1027, 0, 718, 909, 851, 0, 0, 0, 2, 162, 0, 0, 0, 41, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 4, 0, 0, 0, 13.8098, 0.2575, 0.3384, 0.3510, 0.6894, 9.3614, 6.3628, 1.1338, 4.4484, 0.0000,'', 0.0000, 0.0000, 0.0000, 1.0000, nan, 0.0000, 5.2724, 0.0000, 0.0000, 1.5344, 0.0000, 1.4304, 0.2850, 0.0000); -> Unknown column 'nan' in 'field list'
__________________

BleedingCubbyBlue is offline   Reply With Quote
Old 05-18-2011, 11:58 AM   #303
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
You'll need to manaully replace "nan" with 0 in that file and reload it. I had caught many of these, but clearly this one got missed. It's a bug in the SQL dump and has been reported now.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Old 05-18-2011, 12:02 PM   #304
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
Quote:
Originally Posted by Chicagofan76 View Post
Ok I probably should read all the pages before asking this

1. Can i use this in solo leagues?
You can use this in a solo league if you set up a web server with php and mysql installed. You can actually do this on your own PC, but I've only ever heard of one person actually doing that. It's not designed to be a standalone utility. For that, you'd want to look at OOTP Companion.

Your other question has been answered well enough. Thanks, guys!
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Old 05-18-2011, 03:40 PM   #305
Chicagofan76
Banned
 
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
my commish said that statslab isnt set up for the league.
Chicagofan76 is offline   Reply With Quote
Old 05-19-2011, 11:41 AM   #306
BleedingCubbyBlue
All Star Reserve
 
BleedingCubbyBlue's Avatar
 
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 601
Quote:
Originally Posted by fhomess View Post
You'll need to manaully replace "nan" with 0 in that file and reload it. I had caught many of these, but clearly this one got missed. It's a bug in the SQL dump and has been reported now.
Thanks Frank. There's a bug when he exports HTML from his Mac too. Where can I report the bug?
__________________

BleedingCubbyBlue is offline   Reply With Quote
Old 05-24-2011, 03:03 PM   #307
PotatoPeeler
Hall Of Famer
 
PotatoPeeler's Avatar
 
Join Date: Aug 2002
Location: Rapid City, SD
Posts: 3,639
Which game generated SQL files handle the data for the General Manager of the Year category for awards voting? Anyone know?

Thanks.
__________________
培傑西

I have never taken a lesson on how to talk on TV in my life.
- Tim McCarver

Guns have only two enemies; rust and liberals.

The world is a comedy to those that think; a tragedy to those that feel.
PotatoPeeler is offline   Reply With Quote
Old 05-24-2011, 05:02 PM   #308
BleedingCubbyBlue
All Star Reserve
 
BleedingCubbyBlue's Avatar
 
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 601
Quote:
Originally Posted by PotatoPeeler View Post
Which game generated SQL files handle the data for the General Manager of the Year category for awards voting? Anyone know?

Thanks.
I would assume human_managers.mysql.sql or players_awards.mysql.sql.
__________________

BleedingCubbyBlue is offline   Reply With Quote
Old 05-24-2011, 05:13 PM   #309
BleedingCubbyBlue
All Star Reserve
 
BleedingCubbyBlue's Avatar
 
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 601
It looks like something is wrong with the draft timer in the Beta. My settings have the timer starting at 0700 Eastern and stopping at 2200. The next pick should be at 2045 today, but it's not showing until 1006 tomorrow. Makes no sense to me...
Attached Images
Image Image 
__________________

BleedingCubbyBlue is offline   Reply With Quote
Old 05-24-2011, 07:29 PM   #310
PotatoPeeler
Hall Of Famer
 
PotatoPeeler's Avatar
 
Join Date: Aug 2002
Location: Rapid City, SD
Posts: 3,639
Quote:
Originally Posted by BleedingCubbyBlue View Post
I would assume human_managers.mysql.sql or players_awards.mysql.sql.
Well, the problem is that the manager records are not accurate for the GM of the Year award. I've added all the manager SQL files and that doesn't seem to be resolving it.
__________________
培傑西

I have never taken a lesson on how to talk on TV in my life.
- Tim McCarver

Guns have only two enemies; rust and liberals.

The world is a comedy to those that think; a tragedy to those that feel.
PotatoPeeler is offline   Reply With Quote
Old 05-25-2011, 08:21 AM   #311
cody8200
Hall Of Famer
 
cody8200's Avatar
 
Join Date: Jan 2003
Location: Indianapolis
Posts: 2,431
Frank,

Can you take a look at the Hall of Fame standards on my league? It seems messed up as a bunch of players who have never played in the league have 50+ HOF standards. Anything I can do to fix this?

Players Leaderboards - StatsLab for OOTP11
__________________
Web Design and Digital Marketing Agency - Sharp Guys Web Design -
Twitter: @sharpguysweb
cody8200 is offline   Reply With Quote
Old 05-25-2011, 09:41 AM   #312
BleedingCubbyBlue
All Star Reserve
 
BleedingCubbyBlue's Avatar
 
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 601
Quote:
Originally Posted by PotatoPeeler View Post
Well, the problem is that the manager records are not accurate for the GM of the Year award. I've added all the manager SQL files and that doesn't seem to be resolving it.
Are they accurate in-game?
__________________

BleedingCubbyBlue is offline   Reply With Quote
Old 05-25-2011, 11:12 AM   #313
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
Quote:
Originally Posted by PotatoPeeler View Post
Which game generated SQL files handle the data for the General Manager of the Year category for awards voting? Anyone know?
human_managers, teams, and team_record are the files used to generate the ballot.
Quote:
Originally Posted by cody8200 View Post
Can you take a look at the Hall of Fame standards on my league? It seems messed up as a bunch of players who have never played in the league have 50+ HOF standards. Anything I can do to fix this?

Players Leaderboards - StatsLab for OOTP11
This certainly is odd. HOF Standards get calculated when you run the Career Metrics tool. You probably need to increase the Similarity Scores minimum PT settings on the Metrics Admin page. This is also what's used to determine minimum PT for the rate stat additions in HOF Standards.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Old 05-25-2011, 11:27 AM   #314
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
Quote:
Originally Posted by BleedingCubbyBlue View Post
It looks like something is wrong with the draft timer in the Beta. My settings have the timer starting at 0700 Eastern and stopping at 2200. The next pick should be at 2045 today, but it's not showing until 1006 tomorrow. Makes no sense to me...
That's definitely wrong. Are you using the 2.2.0 beta or 2.1.3?
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Old 05-25-2011, 12:10 PM   #315
BleedingCubbyBlue
All Star Reserve
 
BleedingCubbyBlue's Avatar
 
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 601
Quote:
Originally Posted by fhomess View Post
That's definitely wrong. Are you using the 2.2.0 beta or 2.1.3?
Beta with Live Draft Room disabled.
__________________

BleedingCubbyBlue is offline   Reply With Quote
Old 05-25-2011, 12:38 PM   #316
cody8200
Hall Of Famer
 
cody8200's Avatar
 
Join Date: Jan 2003
Location: Indianapolis
Posts: 2,431
Quote:
Originally Posted by fhomess View Post
This certainly is odd. HOF Standards get calculated when you run the Career Metrics tool. You probably need to increase the Similarity Scores minimum PT settings on the Metrics Admin page. This is also what's used to determine minimum PT for the rate stat additions in HOF Standards.
Hmm. I tried increasing that info but it still isn't working. In fact, none of the filters are working at all on the leaderboard page for the HOF standards. Picking western or eastern results in the same numbers...
__________________
Web Design and Digital Marketing Agency - Sharp Guys Web Design -
Twitter: @sharpguysweb
cody8200 is offline   Reply With Quote
Old 05-26-2011, 08:36 PM   #317
BleedingCubbyBlue
All Star Reserve
 
BleedingCubbyBlue's Avatar
 
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 601
nm
__________________


Last edited by BleedingCubbyBlue; 05-26-2011 at 08:39 PM.
BleedingCubbyBlue is offline   Reply With Quote
Old 05-31-2011, 10:59 PM   #318
BleedingCubbyBlue
All Star Reserve
 
BleedingCubbyBlue's Avatar
 
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 601
Quote:
Originally Posted by BleedingCubbyBlue View Post
Frank, I came across a couple bugs on the Awards Voting page. Page is OTBA - Hank Aaron Award (BOY) - StatsLab for OOTP11.

Errors are:

Warning: asort() expects parameter 1 to be array, null given in ../ootpsqlou/eos_ballot.php on line 1190

Warning: Invalid argument supplied for foreach() in ../ootpsqlou/eos_ballot.php on line 1192

We don't have sub-leagues, just one league with 3 divisions. Could that be the issue?
Quote:
Originally Posted by fhomess View Post
This probably means you don't have your qualifications set to identify any eligible candidates.
I'm seeing this in the HBL too, using the latest Beta. Settings are below.

http://www.hblbaseball.com/statslab
Attached Images
Image 
__________________

BleedingCubbyBlue is offline   Reply With Quote
Old 06-01-2011, 02:55 PM   #319
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
Yep, those settings will not work. You need to specify innings requirements per team game, not over the course of the season.

So the minimum PA requirement should be something like 3.1, not 400. There are suggested settings in the readme, which are as follows:
Min PA: 3.1
Min IP: 1.0
Min Def. Inn: 5.0
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Old 06-01-2011, 02:58 PM   #320
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
There is a performance issue that can be addressed by updating the career position tool. Download the following file into your StatsLab directory to take this fix.
career_position.zip
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.
fhomess is offline   Reply With Quote
Reply

Bookmarks


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 08:51 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

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 © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

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