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

Out of the Park Baseball 26 Buy Now!

  

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

OOTP 25 - General Discussions Everything about the brand new 25th Anniversary Edition of Out of the Park Baseball - officially licensed by MLB, the MLBPA, KBO and the Baseball Hall of Fame.

Reply
 
Thread Tools
Old 04-23-2024, 10:43 PM   #1
Hoolix
Minors (Rookie Ball)
 
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
Importing Schedule

Ok so I've created my own schedule for a 32 team 156 game schedule and have followed this thread from 9 years ago. I have everything exactly like I want it, but when I go to import it I get a parse error and it will not load. Is there anyone that can help me out. Either by walking me through it step by step or that I could share the file with and do it themself?
Hoolix is offline   Reply With Quote
Old 04-24-2024, 12:17 AM   #2
bwburke94
Hall Of Famer
 
bwburke94's Avatar
 
Join Date: Jun 2008
Location: Belchertown, MA, USA
Posts: 4,504
Upload the file as an attachment, and I'll take a look through it to see what went wrong.
bwburke94 is offline   Reply With Quote
Old 04-24-2024, 06:37 AM   #3
Hoolix
Minors (Rookie Ball)
 
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
I can't even open it in Open Office now, so I'm not sure what happened between last night and this morning.
Attached Files
File Type: lsdl ILY_BGN_G156_SL1_D4_T4_T4_T4_T4_SL2_D4_T4_T4_T4_T4.lsdl (174.3 KB, 116 views)
Hoolix is offline   Reply With Quote
Old 04-24-2024, 07:27 AM   #4
Hoolix
Minors (Rookie Ball)
 
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
Here is my google sheet file that I'm making everything on, but I can't get Open Office to open the files that are already in the game.
Attached Files
File Type: csv EnterGames4ScheduleTemplate.xlsx - Sheet1.csv (190.2 KB, 104 views)
Hoolix is offline   Reply With Quote
Old 04-24-2024, 09:50 AM   #5
JudgeGio
Minors (Double A)
 
Join Date: Aug 2019
Location: New Jersey
Posts: 129
When I get a parse error on a schedule file, I like to import small sections of the file at a time to localize the error. Of course you first back up the original file, then take the original file and import, say, just the first 40 days of the schedule. If you don’t get an error, then you know the problem isn’t in the first forty days. Then I’ll import days 41-80, and if I get an error, I know the problem is in days 41-80. So then I’ll try to pinpoint further. I’ll import days 41-50, and if I get an error there, I know the problem will be in those ten days. Usually by the time I pinpoint the error to ten days, that’s simple enough where I can spot the missing /> or the extra quotation mark. Once I find the error in day 44, for example, I go back to my full backup schedule, correct day 44, then the schedule should import correctly.
JudgeGio is offline   Reply With Quote
Old 04-24-2024, 11:47 AM   #6
Hoolix
Minors (Rookie Ball)
 
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
Quote:
Originally Posted by JudgeGio View Post
When I get a parse error on a schedule file, I like to import small sections of the file at a time to localize the error. Of course you first back up the original file, then take the original file and import, say, just the first 40 days of the schedule. If you don’t get an error, then you know the problem isn’t in the first forty days. Then I’ll import days 41-80, and if I get an error, I know the problem is in days 41-80. So then I’ll try to pinpoint further. I’ll import days 41-50, and if I get an error there, I know the problem will be in those ten days. Usually by the time I pinpoint the error to ten days, that’s simple enough where I can spot the missing /> or the extra quotation mark. Once I find the error in day 44, for example, I go back to my full backup schedule, correct day 44, then the schedule should import correctly.


I'll try this out. It said it was in line 2, but not sure if that actually correlates to the problem.
Hoolix is offline   Reply With Quote
Old 04-24-2024, 12:43 PM   #7
snepp
All Star Starter
 
Join Date: Jan 2008
Posts: 1,459
In the schedule line there's no space before the games_per_team. Is that a problem? I'm not sure how picky the import is on things like that.
snepp is offline   Reply With Quote
Old 04-24-2024, 02:16 PM   #8
JudgeGio
Minors (Double A)
 
Join Date: Aug 2019
Location: New Jersey
Posts: 129
This is the format for how the entries in an .lsdl file should look:

<?xml version="1.0" encoding="ISO-8859-1"?>

<SCHEDULE type="ILY_BGN_G120_SL1D2T5T5SL2D2T5T5" inter_league="1" balanced_games="0" games_per_team="120" preferred_start_day="2">
<GAMES>
<GAME day="1" time="1405" away="17" home="16" />
<GAME day="1" time="1605" away="11" home="13" />
<GAME day="1" time="1705" away="9" home="10" />
<GAME day="1" time="1805" away="18" home="19" />

The syntax in your file is wrong for each line. Too many blank spaces, and at the end of every line you should have an endquote, space, />. You have space, endquote, />. Also, at the end of your file you have about 700 entries of <GAME day=" " time=" " away=" " home=" "/>. Get rid of those. A blank day, time, home team and away team serves no purpose.
JudgeGio is offline   Reply With Quote
Old 04-24-2024, 02:22 PM   #9
bwburke94
Hall Of Famer
 
bwburke94's Avatar
 
Join Date: Jun 2008
Location: Belchertown, MA, USA
Posts: 4,504
Fixed. Line 2 wasn't the only issue; there was extra spacing on most lines (as seen in the post above) and games with no teams at the bottom, which I did my best to correct.

Keep in mind that all the other issues on the schedule (such as oddly placed off days) still exist, as I didn't touch the games themselves except to correct obvious errors.
Attached Files
File Type: lsdl ILY_BGN_G156_SL1_D4_T4_T4_T4_T4_SL2_D4_T4_T4_T4_T4.lsdl (124.2 KB, 103 views)
bwburke94 is offline   Reply With Quote
Old 04-24-2024, 03:27 PM   #10
Hoolix
Minors (Rookie Ball)
 
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
Not sure what happened to the schedule days. Was supposed to be Tues-Sun with every Mon off.

I'll have to go back and fix that in my spreadsheet. Thanks for the info and the work that y'all put in to help me.
Hoolix is offline   Reply With Quote
Old 04-24-2024, 08:31 PM   #11
Le Grande Orange
Hall Of Famer
 
Le Grande Orange's Avatar
 
Join Date: Feb 2002
Location: Up There
Posts: 15,644
Quote:
Originally Posted by Hoolix View Post
Not sure what happened to the schedule days. Was supposed to be Tues-Sun with every Mon off.

I'll have to go back and fix that in my spreadsheet. Thanks for the info and the work that y'all put in to help me.
You may want to check out the Schedules section of the OOTP online manual for information about schedules which be of help to your efforts.
Le Grande Orange is offline   Reply With Quote
Reply

Bookmarks

Tags
schedule


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