Jump to content

Pudge

WRobot user
  • Posts

    347
  • Joined

  • Last visited

Everything posted by Pudge

  1. @Droidz, you have something trouble with the PathFinder servers.Log writes that the server is down, and does not change to another, instead, writes next: "[E] 09:48:29 - PathFinder server seem down, use offline pathfinder." - and runs into the wall.
  2. Hello everybody, i need some help with my code.... I use this method to load quest profile from plugin or in Runcode: public static void LoadProfile(string file) { System.Threading.Tasks.Task.Factory.StartNew(() => { Logging.Write("[QuestHelper]: loading profile " + file); Quester.Bot.QuesterSetting.CurrentSetting.ProfileName = file; Quester.Bot.QuesterSetting.CurrentSetting.Save(); Thread.Sleep(2000); robotManager.Products.Products.ProductRestart(); }); } But i always get next error after executing code: [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it. [D] 21:45:05 - [FSM] State   already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.ProspectingState already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.MillingState already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Farming already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Looting already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Regeneration already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.FarmingRange already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.LootingRange already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.BattlePetState already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.IsAttacked already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.MyMacro already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Resurrect already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Pause already launched, ignore it. [D] 21:45:05 - [FSM] State wManager.Wow.Bot.States.Relogger already launched, ignore it. Аfter these lines in the log, the bot stops working and just stay. I cant understand what is wrong with this code and how to make it work as it should, I will be glad of any help.
  3. Healing spell used as food is used on the target if it is valid instead of the player
  4. for (int i = 0; i < Relogger.Classes.ReloggerGeneralSettings.CurrentSetting.Profiles.Count; i++) { var p = Relogger.Classes.ReloggerGeneralSettings.CurrentSetting.Profiles[i]; if (p.Status == Relogger.Classes.Status.Running) { if (p.CurrentWowAccount.Server == "server name") { if (p.ExistWowProcess()) { p.KillWowProcess(); robotManager.Helpful.Logging.Write(Name + ": Kill wow for " + p.Name); } if (p.ExistWRobotProcess()) { p.ExistWRobotProcess(); robotManager.Helpful.Logging.Write(Name + ": Kill Bot for " + p.Name); } p.Stop(); Thread.Sleep(Others.Random(5000, 10000)); } } } It works, thanks.
  5. I changed to p.CurrentWowAccount.Server == "myserver" and got an error:
  6. Hi, I have a need to stop all bots on separate servers, how can I do this using the reloger plugin? I wrote a small plugin using robotManager.Helpful; using System; using System.Threading; using System.Windows.Forms; namespace Killer { public class MyPlugin : Relogger.ReloggerPlugin { public override string Name { get { return "Killer"; } } bool IsRunning { get; set; } public override void OnStart() { } public override void OnStop() { IsRunning = false; } public override void OnButtonPress() { System.Threading.Tasks.Task.Factory.StartNew(() => { Logging.WriteDebug("Kill all tasks started"); for (int i = 15; i > 0; i--) { Logging.WriteDebug(i + " seconds until start end"); Thread.Sleep(1000); } try { for (int i = 0; i < Relogger.Classes.ReloggerGeneralSettings.CurrentSetting.Profiles.Count; i++) { var p = Relogger.Classes.ReloggerGeneralSettings.CurrentSetting.Profiles[i]; if (p.Status == Relogger.Classes.Status.Running) { if (p.ExistWowProcess()) { p.KillWowProcess(); robotManager.Helpful.Logging.Write(Name + ": Kill wow for " + p.Name); } if (p.ExistWRobotProcess()) { p.ExistWRobotProcess(); robotManager.Helpful.Logging.Write(Name + ": Kill Bot for " + p.Name); } p.Stop(); Thread.Sleep(Others.Random(5000, 10000)); } } } catch (Exception e) { robotManager.Helpful.Logging.WriteError(Name + " > " + e); } }); //System.Threading.Thread.Sleep(500); base.OnButtonPress(); } } } that turns off all running bots. Is it possible to implement this through the ReloggerPlugin or some other way? @Droidz would not want to add the ability to use multiple RelogerGeneralSettings.xml instead of copying the bot folder.But I would like to be able to stop bots on specific servers without stopping everyone.
  7. Hello. I have this bug very often. Bot just stucks at one fly point near which there are no obstacles. If necessary I can send log and video in pm. [N] 01:16:13 - [MovementManager] Long Move distance: 4.988173 [N] 01:16:15 - [MovementManager] Long Move distance: 4.821046 [N] 01:16:18 - [MovementManager] Long Move distance: 4.49853 [N] 01:16:20 - [MovementManager] Long Move distance: 5.361514 [N] 01:16:22 - [MovementManager] Long Move distance: 6.72049 [N] 01:16:25 - [MovementManager] Long Move distance: 6.314182 [N] 01:16:28 - [MovementManager] Long Move distance: 6.802619 [N] 01:16:31 - [MovementManager] Long Move distance: 10.39222 [N] 01:16:33 - [MovementManager] Long Move distance: 7.15834 [N] 01:19:56 - [MovementManager] Long Move distance: 108.7237 [N] 01:20:02 - [MovementManager] Long Move distance: 6.71558 [N] 01:20:05 - [MovementManager] Long Move distance: 4.723788 [N] 01:20:07 - [MovementManager] Long Move distance: 6.703122 [N] 01:20:10 - [MovementManager] Long Move distance: 4.405176 [N] 01:20:13 - [MovementManager] Long Move distance: 4.716866 [N] 01:20:15 - [MovementManager] Long Move distance: 4.538973 [N] 01:20:18 - [MovementManager] Long Move distance: 6.65615 [N] 01:20:20 - [MovementManager] Long Move distance: 4.588148 [N] 01:20:23 - [MovementManager] Long Move distance: 6.524607 [N] 01:20:26 - [MovementManager] Long Move distance: 4.619357 [N] 01:20:28 - [MovementManager] Long Move distance: 6.616521 [N] 01:20:31 - [MovementManager] Long Move distance: 4.693025 [N] 01:20:34 - [MovementManager] Long Move distance: 6.520239 [N] 01:20:37 - [MovementManager] Long Move distance: 4.439559 [N] 01:20:40 - [MovementManager] Long Move distance: 6.551129 [N] 01:20:43 - [MovementManager] Long Move distance: 4.718534 [N] 01:20:45 - [MovementManager] Long Move distance: 6.492306 [N] 01:20:48 - [MovementManager] Long Move distance: 4.485656 [N] 01:20:51 - [MovementManager] Long Move distance: 4.608229
  8. How can I find error like this? When I have about 1000+ steps in profile? [E] 11:13:17 - Compilator Error (steps cache) : q:\WRobot\Data\temp\l1r0zg2v.0.cs(3488,2) : error CS1026: ) expected
  9. Var.GetVar("RND5451") == 2 How could I have missed it! Thank you so much!...
  10. @Droidz I have no idea how to fix this, I'm trying to find error in the one profile for about 2 hours but still got them ........ please help
  11. How can I find a problematic 'step' if I have hundreds and thousands of them in the one profile? Now I have a major headache because of this errors... [E] 15:00:57 - Compilator Error (steps cache) : q:\WRobot_gatherer1\Data\temp\agsvn3p3.0.cs(1111,12) : error CS0411: The type arguments for method 'robotManager.Helpful.Var.GetVar(string)' cannot be inferred from the usage. Try specifying the type arguments explicitly. q:\WRobot_gatherer1\Data\temp\agsvn3p3.0.cs(1115,12) : error CS0411: The type arguments for method 'robotManager.Helpful.Var.GetVar(string)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
  12. Hi everyone, I have a question, how better to change the fight class... When I use the next code if(ObjectManager.Me.WowClass == WoWClass.Paladin) { wManager.wManagerSetting.CurrentSetting.CustomClass = "ret_pal.cs"; } CustomClass.DisposeCustomClass(); Thread.Sleep(2000); CustomClass.LoadCustomClass(); Sometimes the fiteclass for some reason does not load, can someone tell me another way without bugs? And I would also like to understand what the CustomClass.ResetCustomClass() method does?
  13. Thanks a lot. But now before loading steps the error appears (doesn't seem to affect the work of the bot): [E] 14:23:18 - Compilator Error (steps cache) : q:\WRobot_gatherer1\Data\temp\3dkmob2h.0.cs(778,51) : error CS1002: ; expected q:\WRobot_gatherer1\Data\temp\3dkmob2h.0.cs(3407,2) : error CS1026: ) expected
  14. I disabled "Hardware Cursor" and the problem was partially resolved.
  15. My english is bad and I cant edit the first post, I mean this function replaces mouse cursor in a random position on the screen
  16. Hi, this function is replacing mouse cursor to a random part of the screen. This also happens when this function called and the bot tries to get to its corpse in a ghost while on the surface of the water ( [Resurrect] Try to go under water ) Is it possible to fix or avoid that? It is very annoying...
  17. Hello. I dont know is this a bug or not. Each time one profile is loaded from another profile using the "LoadProfile" action => the profile steps are loading more and more and more slowly. I just got tired of killing the bot process to load profile steps faster. Is it possible to fix that? Thanks in advance.
  18. Hi @Droidz, would be very, very grateful if you could add such an important function to quick mass change the vector Z (global plus or minus the current value) to grinder or gatherer or quest editor, doesn't matter. This is a button sample from other bot route editor: Best regards, thank you very much in advance.
  19. [E] 17:41:02 - Compilator Error : error CS0009: Не удалось открыть файл метаданных "c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" -- "Процесс не может получить доступ к файлу, так как этот файл занят другим процессом." Hi, recently this error started appearing when starting the bot while loading plugins. I don't understand where it can be from..
  20. public class MyCustomScript { static MyCustomScript() { robotManager.Events.ProductEvents.OnProductStopping += OnProductStopping;//subscribe } public static void OnProductStopping(string str) { //code when product stopping Logging.Write("Stopping " + str); robotManager.Events.ProductEvents.OnProductStopping -= OnProductStopping; //unsubscribe } }
  21. Hi guys, does anyone know if there is a way to use a method like Dispose () as in the plugin, only in the quester, namely in a custom script, when the product stops, I need to reset some custom settings that I write in an xml file. In general, i just need a method that will be triggered before the Quester stops.
  22. Hey! have an error spam while using it on warlock level 11 I haven't touched any skills on the action bar
  23. Hey there, have a quick question, blacklists are always work in 2d mode? Not in 3d? Until this moment, I did not notice this, but it seems that this is how it works. I'm blacklisting area on Z = 87 with a radius = 5 polyarea_bigdanger, and npc which is at Z = 101 gets blacklisted (IsBlacklisted = True)
  24. Hi @Droidz, it would be really cool to add a map point display in the wrobot interface when recording routes in quest types such as Gatherer, KillandLoot, followpath and Grinder&Gather. It is very unpleasant to record long circular routes without visualization on the map, now you have to open the route editor Grinder in addition, this is not convenient. Btw would be a plus to add the ability to automatically record the route in Gatherer, KillandLoot, Grinder and Collect like in FollowPath.
×
×
  • Create New...