diff options
Diffstat (limited to '')
-rw-r--r-- | pCampBot/pCampBot.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pCampBot/pCampBot.cs b/pCampBot/pCampBot.cs index 983eaf0..704a3f5 100644 --- a/pCampBot/pCampBot.cs +++ b/pCampBot/pCampBot.cs | |||
@@ -35,7 +35,6 @@ using Nini.Config; | |||
35 | using System.Threading; | 35 | using System.Threading; |
36 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
37 | 37 | ||
38 | |||
39 | namespace pCampBot | 38 | namespace pCampBot |
40 | { | 39 | { |
41 | /// <summary> | 40 | /// <summary> |
@@ -47,10 +46,9 @@ namespace pCampBot | |||
47 | CONNECTED = 1, | 46 | CONNECTED = 1, |
48 | DISCONNECTED = 2 | 47 | DISCONNECTED = 2 |
49 | } | 48 | } |
49 | |||
50 | public class pCampBot | 50 | public class pCampBot |
51 | { | 51 | { |
52 | |||
53 | |||
54 | [STAThread] | 52 | [STAThread] |
55 | public static void Main(string[] args) | 53 | public static void Main(string[] args) |
56 | { | 54 | { |
@@ -63,7 +61,6 @@ namespace pCampBot | |||
63 | cs.AddSwitch("Startup", "lastname"); | 61 | cs.AddSwitch("Startup", "lastname"); |
64 | cs.AddSwitch("Startup", "password"); | 62 | cs.AddSwitch("Startup", "password"); |
65 | 63 | ||
66 | |||
67 | IConfig ol = cs.Configs["Startup"]; | 64 | IConfig ol = cs.Configs["Startup"]; |
68 | int botcount = ol.GetInt("botcount", 1); | 65 | int botcount = ol.GetInt("botcount", 1); |
69 | BotManager bm = new BotManager(); | 66 | BotManager bm = new BotManager(); |
@@ -72,9 +69,8 @@ namespace pCampBot | |||
72 | bm.dobotStartup(botcount, ol); | 69 | bm.dobotStartup(botcount, ol); |
73 | while (true) | 70 | while (true) |
74 | { | 71 | { |
75 | MainLog.Instance.MainLogPrompt(); | 72 | MainConsole.Instance.Prompt(); |
76 | } | 73 | } |
77 | |||
78 | } | 74 | } |
79 | } | 75 | } |
80 | } | 76 | } |