Home | Webstore
Latest News: OOTP Update 20.6 - OOTP 20 Available - FHM 6 Available

FHM 6 Available Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 19 > OOTP 19 - General Discussions

OOTP 19 - General Discussions Everything about the 2018 version of Out of the Park Baseball - officially licensed by MLB.com and the MLBPA.

Reply
 
Thread Tools
Old 04-20-2019, 02:16 PM   #1
bobsayah
Bat Boy
 
Join Date: Nov 2018
Posts: 13
Thanks: 4
Thanked 5x in 2 posts
importing schedules and handling of time zones

From everything I read on these forums, if I want to create and import my own custom schedule, I should put the game times in as "local time". However, it does not seem to be working that way for me. It looks like it is interpreting all of the times in my schedule file to be Eastern time - so all of the games in the other time zones are starting earlier than I intend.

In my schedule file, I currently have all game start times set to "1905". Here is a little piece of what the file looks like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SCHEDULE type="ILN_BGN_G154_SL1D3T6T6T6" inter_league="0" balanced_games="0" games_per_team="154" start_day_of_week="5">
<GAMES>
<GAME day="1" time="1905" away="10" home="7" />
<GAME day="1" time="1905" away="11" home="9" />
<GAME day="1" time="1905" away="4" home="1" />
<GAME day="1" time="1905" away="5" home="3" />
<GAME day="1" time="1905" away="2" home="6" />
<GAME day="2" time="1905" away="8" home="12" />
<GAME day="2" time="1905" away="15" home="13" />
<GAME day="2" time="1905" away="16" home="18" />
<GAME day="2" time="1905" away="17" home="14" />
<GAME day="3" time="1905" away="10" home="7" />
<GAME day="3" time="1905" away="11" home="9" />
<GAME day="3" time="1905" away="8" home="12" />
<GAME day="3" time="1905" away="4" home="1" />
<GAME day="3" time="1905" away="5" home="3" />
<GAME day="3" time="1905" away="2" home="6" />

However, when I import this file, instead of games all starting at 7:05PM local time, they all start at 7:05PM Eastern time.



Am I doing something wrong?

Bob
bobsayah is offline   Reply With Quote
Old 04-20-2019, 02:17 PM   #2
bobsayah
Bat Boy
 
Join Date: Nov 2018
Posts: 13
Thanks: 4
Thanked 5x in 2 posts
Here is a link to an image showing the game times after import:

https://drive.google.com/open?id=1FX...vcDA2erADqRwJ6
bobsayah is offline   Reply With Quote
Old 04-21-2019, 06:47 PM   #3
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 2,707
Thanks: 1,472
Thanked 1,975x in 1,008 posts
Quote:
Originally Posted by bobsayah View Post
Am I doing something wrong?
Well, something's wrong. Without more information, though, I'm not sure what it is. I assume you're using OOTP19 or OOTP20 rather than some earlier version, correct? OOTP used to handle game times by setting them all to eastern time, but that was before the introduction of the world_default.xml file in version 12. And on the game page, it will show times based on your team's local time. But on the league schedule page, it should show local times for each home team.

I note that your schedule header is not properly formatted. That may have something to do with the issue. Can you attach your schedule so that I can take a look?
joefromchicago is offline   Reply With Quote
Old 04-23-2019, 09:23 PM   #4
bobsayah
Bat Boy
 
Join Date: Nov 2018
Posts: 13
Thanks: 4
Thanked 5x in 2 posts
Thanks for the response, Joe. I am using OOTP19. I worked around the problem by adding some code to the program which generated the XML to adjust the start time based on the time zone. I no longer seem to have the original file, but here is a link to my current schedule file:

https://drive.google.com/open?id=1H8..._BfsZj0c4gixxu

Although the times are not all 1905 anymore, it is still the case that when I imported this file, all of the times are imported as Eastern time. But, since the times were adjusted, they now are the times I wanted.

Can you provide more detail about what is wrong with my header? I am willing to play with fixing that if you let me know what my mistake is.

Thanks,

Bob
bobsayah is offline   Reply With Quote
Old 04-28-2019, 07:12 PM   #5
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 2,707
Thanks: 1,472
Thanked 1,975x in 1,008 posts
According to the manual, there should be underscores separating the league information in the header. You have this:
ILN_BGN_G154_SL1D3T6T6T6
The manual says it should look like this:
ILN_BGN_G154_SL1_D3_T6_T6_T6
But the schedule still works, so I guess the formatting is more of a suggestion than a rule. I'm still not sure what happened with the game times.
joefromchicago is offline   Reply With Quote
Reply

Bookmarks

Tags
schedule, timezone

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 06:36 PM.

 

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