|
|||||||
| OOTP Mods - Database Tools Do you need to take a dump? SQL gurus welcome |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#22 (permalink) | ||
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,010
Thanks: 50
Thanked 472x in 220 posts
|
Quote:
Quote:
__________________
StatsLab13/14- PHP/MySQL based utilities for Online Leagues Other Mods: StatsLab11 19th Century: Schedules, FaceGen BBCards: Full list of known templates - My Cards:1887 Allen & Ginter, T-206 White Border, 1934 Goudey, 1952 Topps, 1988 Score, 1996 fhomess, 2005 fhomess FaceGen: 1960-Pres MLB, 32 Colleges, Backgrounds PEBA - Connecticut Nutmeggers |
||
|
|
|
|
|
#23 (permalink) | |||
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,010
Thanks: 50
Thanked 472x in 220 posts
|
Quote:
Quote:
Quote:
1. Log in as one of your GM's. 2. Go to the team's draft warroom, and add a player to their draft list. 3. Save the draft list. 4. Remove the player from the draft list, and save again. 5. Go to the draft admin page, and click the generate auto draft list button. 6. Try drafting the players manually.
__________________
StatsLab13/14- PHP/MySQL based utilities for Online Leagues Other Mods: StatsLab11 19th Century: Schedules, FaceGen BBCards: Full list of known templates - My Cards:1887 Allen & Ginter, T-206 White Border, 1934 Goudey, 1952 Topps, 1988 Score, 1996 fhomess, 2005 fhomess FaceGen: 1960-Pres MLB, 32 Colleges, Backgrounds PEBA - Connecticut Nutmeggers |
|||
|
|
|
|
|
#24 (permalink) |
|
Hall Of Famer
Join Date: Dec 2001
Location: Union City, TN
Posts: 6,126
Thanks: 59
Thanked 568x in 336 posts
|
Contract Extensions and Game Batting tables are not loading.
Giving: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 |
|
|
|
|
|
#25 (permalink) |
|
Minors (Single A)
Join Date: Apr 2011
Posts: 55
Thanks: 7
Thanked 8x in 4 posts
|
Thanks fhomess. The steps to get the player drafted worked. Question.....what do I put in the Email List in the Email Settings for the draft ultity. It doesn't look like I can put in everyone's email.
|
|
|
|
|
|
#27 (permalink) | ||
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,010
Thanks: 50
Thanked 472x in 220 posts
|
Quote:
Quote:
I haven't as I have been fairly busy with life stuff lately. Please go ahead and submit it.
__________________
StatsLab13/14- PHP/MySQL based utilities for Online Leagues Other Mods: StatsLab11 19th Century: Schedules, FaceGen BBCards: Full list of known templates - My Cards:1887 Allen & Ginter, T-206 White Border, 1934 Goudey, 1952 Topps, 1988 Score, 1996 fhomess, 2005 fhomess FaceGen: 1960-Pres MLB, 32 Colleges, Backgrounds PEBA - Connecticut Nutmeggers |
||
|
|
|
|
|
#29 (permalink) | |
|
Hall Of Famer
Join Date: Dec 2001
Location: Union City, TN
Posts: 6,126
Thanks: 59
Thanked 568x in 336 posts
|
Quote:
Players Game Batting: Code:
DROP TABLE IF EXISTS `players_game_batting`; CREATE TABLE IF NOT EXISTS `players_game_batting` (`player_id` INT, `year` SMALLINT, `team_id` INT, `game_id` INT, `league_id` INT, `level_id` SMALLINT, `split_id` SMALLINT, `position` SMALLINT, `ab` SMALLINT, `h` SMALLINT, `k` SMALLINT, `pa` SMALLINT, `pitches_seen` SMALLINT, `g` SMALLINT, `gs` SMALLINT, `d` SMALLINT, `t` SMALLINT, `hr` SMALLINT, `r` SMALLINT, `rbi` SMALLINT, `sb` SMALLINT, `cs` SMALLINT, `bb` SMALLINT, `ibb` SMALLINT, `gdp` SMALLINT, `sh` SMALLINT, `sf` SMALLINT, `hp` SMALLINT, `ci` SMALLINT, `vorp` DOUBLE); insert into `players_game_batting` VALUES (13, 2011, 32, 2433, 10, 2, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0000); insert into `players_game_batting` VALUES (13, 2011, 32, 2489, 10, 2, 0, 2, 3, 0, 1, 3, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0000); Player Contract Extensions: Code:
DROP TABLE IF EXISTS `players_contract_extension`; CREATE TABLE IF NOT EXISTS `players_contract_extension` (`player_id` INT, `team_id` INT, `league_id` INT, `is_major` TINYINT, `no_trade` TINYINT, `last_year_team_option` TINYINT, `last_year_player_option` TINYINT, `contract_team_id` INT, `contract_league_id` INT, `season_year` INT, `salary0` INT, `salary1` INT, `salary2` INT, `salary3` INT, `salary4` INT, `salary5` INT, `salary6` INT, `salary7` INT, `salary8` INT, `salary9` INT, `years` SMALLINT, `current_year` SMALLINT, `minimum_pa` SMALLINT, `minimum_pa_bonus` INT, `minimum_ip` SMALLINT, `minimum_ip_bonus` INT, `mvp_bonus` INT, `cyyoung_bonus` INT, PRIMARY KEY (`player_id`)); insert into `players_contract_extension` VALUES (1, 0, 0, 1, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); insert into `players_contract_extension` VALUES (2, 0, 0, 1, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); |
|
|
|
|
|
|
#30 (permalink) |
|
Minors (Triple A)
Join Date: Jun 2002
Posts: 292
Thanks: 0
Thanked 2x in 2 posts
|
How big are your files? I'm dealing with some significant issues with huge file sizes I think and getting a lot of server timeouts so I'm curious if something about my league is causing this.
My player_career files are around 20MB each. My game files as big as 35MB. The rest are smaller, but many still into the MB. Has anyone else experienced similar issues? |
|
|
|
|
|
#31 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 7,205
Thanks: 324
Thanked 2,186x in 758 posts
|
The inf, ind and nan codes are exception codes:
IEEE floating point exceptions: NaNs, 1.#INF, 1.#IND, etc I hope I got rid of them now. Please let me know it future builds of OOTP still produce these codes. Thanks!
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
|
|
|
| Thank you for this post: | fhomess (07-26-2011) |
|
|
#32 (permalink) | |
|
Hall Of Famer
Join Date: Dec 2001
Location: Union City, TN
Posts: 6,126
Thanks: 59
Thanked 568x in 336 posts
|
Quote:
|
|
|
|
|
|
|
#33 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 7,205
Thanks: 324
Thanked 2,186x in 758 posts
|
You could use a text editor and let it replace all findings with zero. For example replace "1.#INF" with "0".
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
|
|
|
|
|
#34 (permalink) |
|
Minors (Single A)
Join Date: Apr 2010
Posts: 68
Thanks: 45
Thanked 2x in 2 posts
|
had to reboot league and now managers are all switched around under different profiles. Im commish, but have to login in as a different manager and no admin powers. Any way to reset?
|
|
|
|
|
|
#35 (permalink) | |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,010
Thanks: 50
Thanked 472x in 220 posts
|
Quote:
At the moment, I can't figure out why your two tables aren't loading properly. The code you posted works fine for me when I try to execute those SQL statements in my DB. PM sent.
__________________
StatsLab13/14- PHP/MySQL based utilities for Online Leagues Other Mods: StatsLab11 19th Century: Schedules, FaceGen BBCards: Full list of known templates - My Cards:1887 Allen & Ginter, T-206 White Border, 1934 Goudey, 1952 Topps, 1988 Score, 1996 fhomess, 2005 fhomess FaceGen: 1960-Pres MLB, 32 Colleges, Backgrounds PEBA - Connecticut Nutmeggers |
|
|
|
|
|
|
#36 (permalink) | |
|
Minors (Triple A)
Join Date: Jan 2011
Posts: 266
Thanks: 50
Thanked 67x in 31 posts
|
While updating the player development, I get this error
Quote:
|
|
|
|
|
|
|
#37 (permalink) |
|
All Star Reserve
Join Date: Jun 2003
Location: Gurnee, IL
Posts: 596
Thanks: 5
Thanked 1x in 1 post
|
Are you trying to update all player development at once or league by league? If you're not doing league by league, go to Dev>Admin and then click the individual leagues. I always get a timeout of FAs, but everything else updates.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|