Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 22 > OOTP 22 - Technical Support > Bug Reports Forum

Bug Reports Forum Have a bug to report? Please post here.

Reply
 
Thread Tools
Old 06-17-2021, 10:49 PM   #1
tehsuigi
All Star Reserve
 
Join Date: Sep 2019
Posts: 788
Draft pool not obeying school frequencies

This is something I've noticed in my latest *** game.
One high school, Akashi Shogyo, represents 86 of my 310 draft prospects in the pool. Another high school, Komatsu, represents 28.


The former has a frequency of 10, the latter a frequency of 5. There are ten high schools with a higher frequency than the former, and the latter is tied with the bulk of the schools. And the supposed most frequent high schools, like Osaka Toin and Nihon Bunri, are sitting at 4 and 2 prospects in my draft pool.



I've already reloaded the schools.txt file once before this draft pool, and nothing's changed.


I did notice that Akashi Shogyo and Komatsu have lat/long specified, and the other schools don't. Would that have a role to play? Please let me know what information you need from my save file to assist in troubleshooting.
__________________

OOTP Streamer Affiliate on Twitch - come get your drops!
tehsuigi is offline   Reply With Quote
Old 06-18-2021, 05:01 AM   #2
Lukas Berger
OOTP Developments
 
Lukas Berger's Avatar
 
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 21,363
Quote:
Originally Posted by tehsuigi View Post
I did notice that Akashi Shogyo and Komatsu have lat/long specified, and the other schools don't. Would that have a role to play? Please let me know what information you need from my save file to assist in troubleshooting.
I would guess this is a possible explanation. It may be that the coordinates are tending to draw all the players who are geographically close to those schools.

I'd recommend adding in the coordinates for some of the other teams, including Osaka Toin and Nihon Bunri and then testing by simming ahead/generating a new class and seeing what the frequencies look like.
__________________

lukas@ootpdevelopments.com

PreOrder Out of the Park Baseball 26!

Need to upload files for us to check out? Instructions can be found here

Last edited by Lukas Berger; 06-18-2021 at 07:29 AM. Reason: typo
Lukas Berger is offline   Reply With Quote
Old 06-18-2021, 10:28 AM   #3
tehsuigi
All Star Reserve
 
Join Date: Sep 2019
Posts: 788
Worth a try, Lukas. I remember we've talked and emailed in the past about how most of those other Japanese schools weren't even in the schools.xml file because of how out of date it was.

Hopefully I don't have a bunch of Google Maps searching to do to make this work...I'll circle back later once I have tested it.
__________________

OOTP Streamer Affiliate on Twitch - come get your drops!
tehsuigi is offline   Reply With Quote
Old 06-18-2021, 10:53 AM   #4
Lukas Berger
OOTP Developments
 
Lukas Berger's Avatar
 
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 21,363
Quote:
Originally Posted by tehsuigi View Post
Worth a try, Lukas. I remember we've talked and emailed in the past about how most of those other Japanese schools weren't even in the schools.xml file because of how out of date it was.

Hopefully I don't have a bunch of Google Maps searching to do to make this work...I'll circle back later once I have tested it.
It's updated now though and has been for a few patches. If you still have the old one, that might also be a part of the problem. Though you should have the updated one if you have a recent patch.

If this is a save started back before it was updated, you'd also need to reload the world/schools db in your save, not from within the save files but from, the default OOTP folders and that should update it.
__________________

lukas@ootpdevelopments.com

PreOrder Out of the Park Baseball 26!

Need to upload files for us to check out? Instructions can be found here

Last edited by Lukas Berger; 06-18-2021 at 10:55 AM.
Lukas Berger is offline   Reply With Quote
Old 06-19-2021, 07:12 PM   #5
tehsuigi
All Star Reserve
 
Join Date: Sep 2019
Posts: 788
Yeah, I see the other schools in my World page and Schools page in my save, I did create after the DB was fixed. Just no lat/long coordinates for most of them.

To make sure, I created a brand-new *** only save, and the problem is present. I added coordinates for Osaka Toin, PL Gakuen, and Nihon Bunri in schools.xml and imported into a fresh *** only save, and compared the two's draft pools.

Akashi Shogyo: from 61 to 5
Komatsu: from 27 to 4
Osaka Toin: from 1 to 45
Nihon Bunri: from 2 to 41
PL Gakuen: from 1 to 9

That seems like we've got a root cause! So I think the logic needs to either avoid adding weight to schools with lat/long values, or the schools.xml needs a few hundred lat/long coordinates added.
__________________

OOTP Streamer Affiliate on Twitch - come get your drops!
tehsuigi is offline   Reply With Quote
Old 06-21-2021, 06:58 AM   #6
Lukas Berger
OOTP Developments
 
Lukas Berger's Avatar
 
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 21,363
The ultimate solution will be to add in the lat/long coordinates for the teams missing them.

I don't think we'd want to change the logic here, because things are actually basically functioning as they 'should' where players are more likely to play for schools (especially high schools) close to their hometown.

Adding in the lat/long for the Japanese High Schools in the db was already on my to do list, but not super high. I'll move it up a bit now. But if you (or anyone) would like to see it happen quicker, then you can take this file and fill in the missing coordinates and send me back the file, then we can import it into the world db and get it updated in game even quicker
__________________

lukas@ootpdevelopments.com

PreOrder Out of the Park Baseball 26!

Need to upload files for us to check out? Instructions can be found here
Lukas Berger is offline   Reply With Quote
Old 06-21-2021, 11:45 AM   #7
tehsuigi
All Star Reserve
 
Join Date: Sep 2019
Posts: 788
I found a Google Sheets function someone coded to pull lat/long coordinates into a Sheet from Google Maps, added in the colleges and JuCos from the complete DB that didn't have coordinates, and voila - I'm close to a finished file. Just need to wait for the Google Maps API to let me finish geocoding the last hundred or so, I hit the limit today in testing.
__________________

OOTP Streamer Affiliate on Twitch - come get your drops!
tehsuigi is offline   Reply With Quote
Old 06-21-2021, 11:57 AM   #8
Lukas Berger
OOTP Developments
 
Lukas Berger's Avatar
 
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 21,363
Quote:
Originally Posted by tehsuigi View Post
I found a Google Sheets function someone coded to pull lat/long coordinates into a Sheet from Google Maps, added in the colleges and JuCos from the complete DB that didn't have coordinates, and voila - I'm close to a finished file. Just need to wait for the Google Maps API to let me finish geocoding the last hundred or so, I hit the limit today in testing.
Oh wow, nice!
__________________

lukas@ootpdevelopments.com

PreOrder Out of the Park Baseball 26!

Need to upload files for us to check out? Instructions can be found here
Lukas Berger is offline   Reply With Quote
Old 06-22-2021, 05:49 PM   #9
tehsuigi
All Star Reserve
 
Join Date: Sep 2019
Posts: 788
Okay, file is ready! I didn't edit any other values than getting rid of the Korean characters (which turned into garbage when saving), so hopefully you don't have to VLOOKUP from this into your XML.

Please post back the completed XML when you're done so I can re-test.
Attached Files
File Type: csv Copy of Japan High Schools & Colleges.csv (71.3 KB, 25 views)
__________________

OOTP Streamer Affiliate on Twitch - come get your drops!
tehsuigi is offline   Reply With Quote
Old 06-24-2021, 10:01 AM   #10
Lukas Berger
OOTP Developments
 
Lukas Berger's Avatar
 
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 21,363
Quote:
Originally Posted by tehsuigi View Post
Okay, file is ready! I didn't edit any other values than getting rid of the Korean characters (which turned into garbage when saving), so hopefully you don't have to VLOOKUP from this into your XML.

Please post back the completed XML when you're done so I can re-test.
Awesome, thanks for this!

I'll get to work on getting it into the game.
__________________

lukas@ootpdevelopments.com

PreOrder Out of the Park Baseball 26!

Need to upload files for us to check out? Instructions can be found here
Lukas Berger 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 03:29 PM.

 

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 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments