Jump to content

Droidz

Administrators
  • Posts

    12586
  • Joined

  • Last visited

Everything posted by Droidz

  1. using System; using System.Threading; using System.Windows.Forms; using Relogger.Classes; using robotManager.Helpful; namespace MyNamespace { public class MyPlugin : Relogger.ReloggerPlugin { public override string Name { get { return "My test plugin"; } } bool IsRunning { get; set; } public override void OnStart() { robotManager.Helpful.Logging.Write("OnStart"); } public override void OnStop() { robotManager.Helpful.Logging.Write("OnStop"); } public override void OnButtonPress() { AddNewReloggerProfile("AccName", "realmListName", "pass", "charname", "key", "wowpath", "profilename", "1-10"); robotManager.Helpful.Logging.Write("OnButtonPress"); } public void AddNewReloggerProfile(string AccName, string realmListName, string pass, string charname, string key, string wowpath, string profilename, string runtime) { var t = new Thread(o => { try { var newprofile = new Relogger.Classes.ReloggerProfile(); newprofile.Name = AccName + " " + pass + " " + charname; newprofile.Checked = true; //newprofile.Comment = ""; newprofile.Settings.MinimiseWRobotOnStart = true; newprofile.Settings.RelaunchIfWowOrWRobotCrash = true; newprofile.Settings.RunTasksLoop = true; newprofile.Settings.ScheduleResetAtEnd = true; newprofile.Settings.WowAccount.AccountName = AccName; newprofile.Settings.WowAccount.BattleNet = AccName; newprofile.Settings.WowAccount.Password = pass; newprofile.Settings.WowAccount.Character = charname; newprofile.Settings.WowAccount.Server = realmListName; newprofile.Settings.WRobotAccount.WRobotKey = key; //newprofile.Settings.WowWindow = new Rectangle(); //newprofile.Settings.BotWindow = new Rectangle(); //newprofile.Settings.ScheduleFrom = new DateTime(1, 1, 1, 00, 00, 00); //newprofile.Settings.ScheduleTo = new DateTime(1, 1, 1, 23, 59, 59); newprofile.Settings.Tasks.Add(new Relogger.Classes.ReloggerTask { TaskType = Relogger.Classes.TaskType.ChangeWowPath.ToString(), Task = new Relogger.Classes.ChangeWowPathReloggerTask { WowPath = wowpath }, Name = "123" } ); newprofile.Settings.Tasks.Add(new Relogger.Classes.ReloggerTask { TaskType = Relogger.Classes.TaskType.Run.ToString(), Task = new Relogger.Classes.RunReloggerTask { RunTime = runtime, Product = "Quester", Profile = profilename, }, Name = "run" }); Relogger.Classes.ReloggerGeneralSettings.CurrentSetting.Profiles.Add(newprofile); } catch (Exception e) { Logging.WriteError(e.ToString()); } }); t.SetApartmentState(ApartmentState.STA); t.Start(); } } } You still get error when you try to edit task, but tasks are well configured (you can restart to see value)
  2. Thank you, I released new update, I hope that your problem will be resolved. if it is not the case if you can again send me "memory info" result of the new update please.
  3. https://wrobot.eu/forums/topic/13697-sort-de-zone/
  4. Droidz

    Sort de zone

    Bonjour, regarde cette fightclass: https://wrobot.eu/files/file/564-blood-dk-pve-wod-623/ ou encore https://wrobot.eu/files/file/927-ohren-blood-death-knight/
  5. Hello, if you can try to increment your ingame FPS (unlock max FPS in Wow settings), you can also try to disable your antivirus (some wow addons, wrobot plugins or fightclass can cause this problem). But in you case, your profile seem to have position recorded close to each other.
  6. Hey, using System; using System.Threading; using System.Windows.Forms; using Relogger.Classes; using robotManager.Helpful; namespace MyNamespace { public class MyPlugin : Relogger.ReloggerPlugin { public override string Name { get { return "My test plugin"; } } bool IsRunning { get; set; } public override void OnStart() { } public override void OnStop() { } public override void OnButtonPress() { AddNewReloggerProfile("124", "124", "124", "124", "124", "124", "124"); } public void AddNewReloggerProfile(string AccName, string pass, string charname, string key, string wowpath, string profilename, string runtime) { var t = new Thread(o => { try { Logging.Write("1"); var newprofile = new Relogger.Classes.ReloggerProfile(); Logging.Write("2"); //Relogger.Classes.ReloggerProfileSettings. newprofile.Name = AccName + " " + pass + " " + charname; Logging.Write("3"); newprofile.CurrentWowAccount = new ChangeCharacterReloggerTask(); newprofile.CurrentWowAccount.AccountName = AccName; Logging.Write("4"); newprofile.CurrentWowAccount.BattleNet = AccName; Logging.Write("5"); newprofile.CurrentWowAccount.Password = pass; Logging.Write("6"); newprofile.CurrentWowAccount.Character = charname; Logging.Write("7"); newprofile.Checked = true; Logging.Write("8"); newprofile.Settings.MinimiseWRobotOnStart = true; Logging.Write("9"); newprofile.Settings.RelaunchIfWowOrWRobotCrash = true; Logging.Write("10"); newprofile.Settings.RunTasksLoop = true; Logging.Write("11"); newprofile.Settings.ScheduleResetAtEnd = true; Logging.Write("12"); newprofile.Settings.Tasks.Add(new Relogger.Classes.ReloggerTask { TaskType = Relogger.Classes.TaskType.ChangeWowPath.ToString(), Task = new Relogger.Classes.ChangeWowPathReloggerTask { WowPath = wowpath }, Name = "123" }); Logging.Write("13"); newprofile.Settings.Tasks.Add(new Relogger.Classes.ReloggerTask { TaskType = Relogger.Classes.TaskType.Run.ToString(), Task = new Relogger.Classes.RunReloggerTask { RunTime = runtime, Product = "Quester", Profile = profilename, }, Name = "run" }); Relogger.Classes.ReloggerGeneralSettings.CurrentSetting.Profiles.Add(newprofile); } catch (Exception e) { Logging.WriteError(e.ToString()); } }); t.SetApartmentState(ApartmentState.STA); t.Start(); } } } To refresh UI you need to click on profiles list
  7. Hello, can you send me (by private message) result of "All memory info" (in tab tools > dev... tools)
  8. Hi, Is profile already working? is it a recent problem? Without a flying mount you have the same problem?
  9. Hello, if you can try with new update
  10. Hi, it is code: private void ButtonCopyLog(object sender, System.Windows.RoutedEventArgs e) { try { var logFilePath = $@"{Others.GetCurrentDirectory}\Logs\{Logging.NameCurrentLogFile()}"; var logCopyDest = $@"{Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)}\{Logging.NameCurrentLogFile()}"; if (File.Exists(logCopyDest)) File.Delete(logCopyDest); File.Copy(logFilePath, logCopyDest); Logging.Write("[Logging]" + Logging.NameCurrentLogFile() + " copied on your desktop."); } catch { } }
  11. Hello, you can also use WoWUnit.InteractDistanceByEntry[18385] = 3 (maybe you need to change WoWUnit.MinInteractDistance)
  12. Is the problem solved?
  13. Bonjour, Déplacer votre personnage est compliqué (voir très compliqué si vous utilisez une classe de combat XML), regarder ces exemples https://wrobot.eu/forums/topic/2029-going-backward/?do=findComment&comment=10267&_rid=1 Pour la création d'eau regarde ce post: https://wrobot.eu/forums/topic/5015-mage-conjuring-too-many-water/
  14. Hello, try with new update, problem should be solved
  15. Hello, I found the cause of problem (in Vanilla, BC and Wotlk). It should sovled.
  16. It is code used in BFA interface (function seems changed since old game vesions) to change difficulty: https://github.com/tomrus88/BlizzardInterfaceCode/blob/ffbd8a3f993fb455aaff5726a8192b1a6d81f56c/Interface/FrameXML/UnitPopup.lua#L1885 For "DUNGEON_DIFFICULTY": SetDungeonDifficultyID(difficultyID); For "RAID_DIFFICULTY": SetRaidDifficulties(true, difficultyID); For "LEGACY_RAID_DIFFICULTY": SetRaidDifficulties(false, difficultyID); And diffultyID can be found here: https://github.com/tomrus88/BlizzardInterfaceCode/blob/ffbd8a3f993fb455aaff5726a8192b1a6d81f56c/Interface/FrameXML/UnitPopup.lua#L85 ["DUNGEON_DIFFICULTY1"] > difficultyID = 1 ["DUNGEON_DIFFICULTY2"] > difficultyID = 2 ["DUNGEON_DIFFICULTY3"] > difficultyID = 23 ["RAID_DIFFICULTY1"] > difficultyID = 14 ["RAID_DIFFICULTY2"] > difficultyID = 15 ["RAID_DIFFICULTY3"] > difficultyID = 16 ["LEGACY_RAID_DIFFICULTY1"] > difficultyID = 3 ["LEGACY_RAID_DIFFICULTY2"] > difficultyID = 4 IDs seems unchanged, you can use https://wowpedia.fandom.com/wiki/API_SetRaidDifficultyID 3 → 10 Player 4 → 25 Player 5 → 10 Player (Heroic) 6 → 25 Player (Heroic) 14 → Normal 15 → Heroic 16 → Mythic Based on wow UI code you code should look like (to use heroic difficulty): SetRaidDifficulties(true, 15);
  17. Hello, if you can tell me if problem is resolved with the new update
  18. Hello, it is not recommanded to use bot with your main account.
  19. Hello, look https://github.com/tomrus88/BlizzardInterfaceCode/blob/ffbd8a3f993fb455aaff5726a8192b1a6d81f56c/Interface/FrameXML/UnitPopup.lua#L1885 (to get DifficultyID https://github.com/tomrus88/BlizzardInterfaceCode/blob/ffbd8a3f993fb455aaff5726a8192b1a6d81f56c/Interface/FrameXML/UnitPopup.lua#L85 )
  20. Droidz

    Unable to Login

    I have no idea, there is Cloudflare between you and the server, I think the problem may be with it.
  21. Droidz

    Unable to Login

    I don't have the problem. I rebooted auth server, you still get this error? You can access to this address ? https://auth.wrobot.eu/o You can also try to use google or cloudflare DNS (and restard computer).
  22. Droidz

    Unable to Login

    Hello, Does anyone else have this problem? If yes, how often? When you get this problem you can access to the website with your webbrowser?
  23. Hello, try to launch wrobot with the shortcut "WRobot (No Lock Frame)"
×
×
  • Create New...