|
||||
| ||||
|
|||||||
| OOTP 17 - General Discussions Everything about the latest Out of the Park Baseball - officially licensed by MLB.com and the MLBPA. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Minors (Single A)
Join Date: Jun 2015
Posts: 61
|
Schedule XML parsing error
Hi, I've created a custom schedule for my fictional league but every time I try to load it I get the message:
XML parsing error not well formed (invalid token) at line 5 I've attached the schedule, any help would be much appreciated. |
|
|
|
|
|
#2 |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 2,946
|
Try it now.. not tested in game but found multiple errors and fixed them, hopefully. Made it easier to read also.
Last edited by SandMan; 09-13-2016 at 10:47 AM. |
|
|
|
|
|
#3 |
|
Banned
Join Date: Apr 2015
Posts: 7,273
Infractions: 0/1 (3)
|
verify structure is exactly the same... remove things that aren't needed int he header like start day="5".... not needed, control it in game.
Also, make sure you don't have any unusual characters... i typically see the " with the inward/outward slant to them once i save from the schedule generator from mods forum. these funky " are not undestood by ootp... it's as if they aren't there, so it's not in the correct format. you have to search and replace the inward, then the outward slanted quotation marks.... open up an existing schedule and copy the " from that file and paste into the "replace with" box. |
|
|
|
|
|
#4 | |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 2,946
|
Quote:
Again I am stressing to let the schedule control as much as possible to avoid any user error. Most of the errors with schedules being messed up in game is when users change the day of week in the schedule file or delete it or Use force start day of week then load a schedule that does not have the same start day of week. |
|
|
|
|
|
|
#5 |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 2,946
|
The only concern I had about this schedule was that it started in one calenday year and went into the next year. I have never done this so I don't know if it can be done. Just never seen it. It probably works or the user would not have submitted this.
If this does work I may use a short winter league season with this schedule. |
|
|
|
|
|
#6 |
|
Hall Of Famer
Join Date: Jun 2008
Location: Belchertown, MA, USA
Posts: 4,507
|
There's no trouble with crossing across January 1, unless the league starts after Christmas. And I don't see any reason to ever start a season the last week of December.
|
|
|
|
|
|
#7 |
|
Minors (Single A)
Join Date: Jun 2015
Posts: 61
|
Thanks to all for your help, this is the first one I've tried myself so not surprised there were multiple errors. It does work to start in October and go through the new year, that's how all my fictional leagues have run, they're all set in Australia. The schedule is working now so appreciate the help.
Out of interest, were there any obvious errors that I might be able to avoid next time I try this? Thanks again. |
|
|
|
|
|
#8 |
|
Banned
Join Date: Apr 2015
Posts: 7,273
Infractions: 0/1 (3)
|
First, i hadn't read your reply, and it doesn't say you imported it successfully. it just says to try it now. you may or may not have fixed all the mistakes at the time of the reply, but i appologize to a, nick burns, err ahh sandman.
you are referencing start date, not start day.... i'd still recommend leaving both out of the file. why potentially complicate an import process, which is what the OP was having a problem with. if you are choosing a schedule file, it's likely you know what it is you are importing. so, i have faith people would be fine controlling it in game. and i have very little faith in people. Best way to name a file : Export a schedule from your league. Paste over the <GAMES> section with the schedule you wish to import. gauranteed correct header for your league everytime. want the same matchups each year? make a copy of it.. name in a series "_c_S1" and "_c_S2" etc... i think even just a, b, c works too in file name comment. or Name it the same as your league and it will re-use it each year and jumble the matchups. Edit: if they play who they should play and the correct # of H/A, then you did it fine.... tweaking for travel and weather is asthetic only in game and upto you.... then do you want to make it look like a TV-orientated schedule? and things liek that... i just keep it simple, but you can do all sorts of things with it. Last edited by NoOne; 09-12-2016 at 01:20 AM. |
|
|
|
|
|
#9 | |
|
Major Leagues
Join Date: Jun 2011
Posts: 314
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Hall Of Famer
Join Date: May 2009
Posts: 2,430
|
I think I'm going to listen to Sandman on this one. He's forgotten more about schedule making than most of us know.
__________________
Mainline team ![]() SPTT team ![]() Was not a Snag fan...until I saw the fallout once he was gone and realized what a good job he was actually doing. - Ty Cobb |
|
|
|
|
|
#11 | |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 2,946
|
Quote:
This would really not matter with this schedule but say you took one that was created to start on a Monday and it was not marked and a player decided to start their league on Friday. Now that 4 game series on Mon-Thu now runs Fri-Mon and this would happen every week. Kind of destroys the immersion unless you want a weekend series going into the next week or worse yet using a schedule that had all mondays off and your league's start day is Monday. You will never have a Sunday game - so much for having a week end series. I have had people wanting to use a Mon-Sun type schedule want to start on Friday. This is okay just keep the header as is, take the Mon-Thur games move to end of schedule, change the day on those records moved. Keep the day=5 in the data line for the first game day. This way you don't need to change game day in the data line for multiple records just the 4 days you moved to the end and it does not matter what the day=# is in game. Just keep the schedule file start day to "2" For consistency sake, I create all my schedules to start on a Monday. This is so that all users can use the file and not worry about changing their league everytime setupevery time they get a schedule, which may or may not have been created for a certain day. Now for the start date. Again this is to assist the user. A schedule maker knows how many weeks to a schedule and most players wants a real baseball schedule that pretty much mimics real life. If I know I created a schedule that went 196 game days rather than the normal 182 I do. I change the header to reflect the two week difference. Or if the schedule is shorter I create it for the first requester and put it in the comments when the start and end date are created for this schedule to let others know just change the start date if they don't want the one in the schedule. An example would be if you downloaded one of my 100 game schedules, obviously you don't want to start in April. I have them start later. Why leave this out. This is just for convenience for the player. If I have an earlier or later start date it is always put into the comments I put into every schedule I create. I also create all my schedules the way they were created pre-OOTP2006 - I put comments after the header. This is done because because schedule can have the exact line in the header and be completely different schedules. I also name my schedules with the C_ line including the number of div, non-div and il games. This, with the comments can help the player determine if the schedule is what they want. But I will agree that you can keep this out of the schedule - if this schedule is created only for your league and no other user. My post was assuming that others here may want it and some don't want to mess around with schedules. I also look at schedules as being created for all to use if they desire so that is why I stressed have a complete schedule header record. They want the schedule to work for their league out of the box. Sorry this is has become a novel. The header information is important if multiple users are going to use the schedule. I recommend the KISS system for lsdl files. Last edited by SandMan; 09-13-2016 at 09:58 AM. |
|
|
|
|
|
|
#12 | |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 2,946
|
Quote:
Last edited by SandMan; 09-13-2016 at 09:59 AM. |
|
|
|
|
|
|
#13 | |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 2,946
|
Quote:
You seem to be knowledgeable in schedules and OOTP. We need individuals to help with requests on the mods forum. We have some very good people there doing schedules but could use more. I am at home full time now so I have been trying to do as many as possible but would welcome anyone who does schedule to "join the team" and volunteer to help with the requests. |
|
|
|
|
|
|
#14 |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 2,946
|
I went to test this in game with a league I created and the schedule did not load. I did not test it earlier because I had no access to my test machine. (yes I have a test machine just for OOTP matters and schedules)... I had it set up with a balanced schedule to match the header. It gave me a format error. I changed everything to unbalanced and the schedule loaded perfectly.
When I create my schedules I always have the header say balanced =N/0 because I have seen this error many times. So I changed the file to read balanced NO, changed the format in game to unmark the balanced schedule box.. This will not matter in game. The box is checked only when you use OOTP generated schedules. New schedules are posted here but I will not change the link above to the new schedule - some may find the version works. BTW, my test machine is running OOTP14 to test schedules. I have also posted my version with the comments same as OP but with the comments that I add to all schedules I work on and keep in my private collection. I have uploaded 12 team with no interleague that may be fun for some. 12 team is not just a mirror image of the 6 team, it has been created with the 6 team as a base and created using my modification utilities. Last edited by SandMan; 09-13-2016 at 12:14 PM. |
|
|
|
![]() |
| Bookmarks |
|
|