Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<LotroInterface.WindowInfo> windowList = mainInterface.GetWindowList();
- LotroInterface.WindowInfo window = null;
- logHandler.Invoke("Game version supported.. Initializing the game");
- if (windowList.Count > 0) {
- window = windowList[0];
- }
- if (mainInterface.Initialize("BOT","BOT",window) != LotroInterface.InterfaceError.SUCCESS) {
- logHandler.Invoke("Failed to initialize the bot");
- }
- else {
- logHandler.Invoke("Successfully initialized the bot");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement