|
||||
| ||||
|
|||||||
| OOTP 26/PT 26 - Technical Support This forum is for technical support and bug reports. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Minors (Single A)
Join Date: Mar 2016
Posts: 78
|
Plate apperances, at-bats, sacrifice hits, catchers interference
I have been playing around with some custom Python tools for OOTP, and I have discovered a strange discrepancy in how the game is computing at least one of PA, AB, SH, or CI. Normally:
PA = AB + BB + HBP + SH + SF + CI However, the game appears to either (1) not count SH or CI as plate appearances or (2) count SH and CI as at-bats. For example: Player A is listed with 454 PA, 435 AB, 12 BB, 2 HBP, 6 SH, 5 SF, and 0 CI. Since 435 + 12 + 2 + 6 + 5 = 460, we've over by six plate appearances. That perfectly matches with the 6 SH. I have tested this in bulk on data downloaded from the game, and the numbers only match up if you don't include the game's SH and CI figures in the count. Any thoughts on this? |
|
|
|
|
|
#2 |
|
Minors (Single A)
Join Date: Mar 2016
Posts: 78
|
Here's a screenshot for "proof". When SH and CI are included in the count, we get a discrepancy as high as 17, which corresponds to one player-season in my dataset that had 17 SH. When I remove them, the totals match exactly.
|
|
|
|
|
|
#3 |
|
Minors (Single A)
Join Date: Mar 2016
Posts: 78
|
Did some sleuthing through game logs, and it appears that sacrifice bunts are *not* included in a player's plate appearance total!
|
|
|
|
|
|
#4 |
|
Minors (Single A)
Join Date: Mar 2016
Posts: 78
|
Just thought I'd bump this thread! I'd love to hear from a developer on this if possible.
|
|
|
|
|
|
#5 |
|
OOTP Developer
Join Date: Jun 2009
Location: Here and there
Posts: 15,872
|
Thanks, we'll have a look and correct if there are issues.
|
|
|
|
|
|
#6 |
|
Minors (Triple A)
Join Date: Jul 2011
Posts: 271
|
I've run into as well, the game does not include SH in the PA totals. I stumbled upon this when I compared the csv export (which has the correct PA totals) to the figures showing in the game.
|
|
|
|
![]() |
| Bookmarks |
|
|