View Single Post
Old 04-15-2007, 10:03 PM   #1
mjj55409
All Star Starter
 
mjj55409's Avatar
 
Join Date: Jun 2002
Posts: 1,166
Loading xml schedule switches team

I've started a 19th c. sim, and I have an Excel sheet that helps in converting the Retrosheet game logs into xml schedules. Using this, I've created an xml schedule file for 1872. I'm running into a problem when I load the schedule. The team id numbers seem to be swapping upon loading. I'll give you an example.

The first game of the season should be on 4/18/1872 with the Baltimore club visiting the Olympics of Washington. The first line of the GAMES section of my xml schedule reads:

GAME day="1" time="1300" away="7" home="4" /

When I load the schedule and look at the games for 4/18, I see that New York is scheduled to play Brooklyn. So, I go to the schedule editor, export the schedule to another xml file. In this exported file, the first line of the GAMES section reads:

GAME day="1" time="1300" away="3" home="9" /

How is it that 7 becomes 3 and 4 becomes 9? This is a problem across the board, resulting in teams have an inaccurate number of games.

Anyone have any clues? The alternative is to create the schedule by hand in game, which is not so appetizing.

Regards,
Michael

Last edited by mjj55409; 04-15-2007 at 10:07 PM.
mjj55409 is offline