Diff of /trunk/ModularRex/RexBot/RexBotManager.cs
Parent Directory
|
Revision Log
|
Patch
| revision 88, Thu Mar 5 08:26:06 2009 UTC | revision 98, Tue Mar 17 10:31:22 2009 UTC | |
|---|---|---|
| # | Line 80 | Line 80 |
| 80 | // read bot data from config file and add avatars to scene | // read bot data from config file and add avatars to scene |
| 81 | private void readBotConfig() | private void readBotConfig() |
| 82 | { | { |
| 83 | m_log.Warn("[RexBotManager]: Reading bot config file."); | //No need to warn |
| 84 | //m_log.Warn("[RexBotManager]: Reading bot config file."); | |
| 85 | XmlDocument xml = new XmlDocument(); | XmlDocument xml = new XmlDocument(); |
| 86 | try | try |
| 87 | { | { |
| # | Line 101 | Line 102 |
| 102 | } | } |
| 103 | catch (System.IO.FileNotFoundException) | catch (System.IO.FileNotFoundException) |
| 104 | { | { |
| 105 | m_log.Warn("[RexBotManager]: Failed to find bot config file: " + DEFAULT_CONFIG_FILENAME); | m_log.InfoFormat("[RexBotManager]: Bot config file {0} not present. Bots not loaded.", DEFAULT_CONFIG_FILENAME); |
| 106 | } | } |
| 107 | catch (System.IO.IOException e) | catch (System.IO.IOException e) |
| 108 | { | { |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

