Advertisement
imk0tter

Untitled

Jul 14th, 2011
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1.                         List<LotroInterface.WindowInfo> windowList = mainInterface.GetWindowList();
  2.                         LotroInterface.WindowInfo window = null;
  3.                         logHandler.Invoke("Game version supported.. Initializing the game");
  4.                         if (windowList.Count > 0) {
  5.                             window = windowList[0];
  6.                         }
  7.                         if (mainInterface.Initialize("BOT","BOT",window) != LotroInterface.InterfaceError.SUCCESS) {
  8.                             logHandler.Invoke("Failed to initialize the bot");
  9.                         }
  10.                         else {
  11.                             logHandler.Invoke("Successfully initialized the bot");
  12.                         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement