Jump to content

Pudge

WRobot user
  • Posts

    348
  • Joined

  • Last visited

Everything posted by Pudge

  1. Hi! The function Usefuls.IsLoadingOrConnecting returns false when reloading UI (when character already entered the world). @Droidz Please fix it. Thanks a lot in advance.
  2. Hello! Is it possible to detect this state? When character is in game but UI is currently reloading. Boolean Usefuls.IsLoadingOrConnecting doesn't detect the loading screen from reload UI when character already entered the world and it returns false, it returns true only on the loading screen when character enters the world from selection menu. Also Usefuls.InGame and Conditions.InGameAndConnected returns false when UI is reloading, this is weird. Maybe some elements from interface can be catched by method IsVisible/IsShown ?
  3. Hi, I want to know about the function wManager.wManagerSetting.CurrentSetting.SpellRotationSpeed I would like to know how it works, how it determines which spells can be skipped and which ones should be used. Turning it on I really noticed some acceleration of the battle. I would like to know in which situations it can be included and in which to refrain from it. Thank's
  4. The fact is that the coordinate of the body is Z = 22.7034, and the entrance to the dungeon is at a height of Z = -101.049f and the bot goes and stands above the cave at the entrance when reaching the position of the body goes to the bottom, it is necessary that the path is generated from the respawn to the portal, it is possible 11 Jun 2020 17H32.log.html
  5. Hi everyone, I'm trying to do my best after dying in a dungeon. I found little information about this on the forum. That's all. I made a plugin using your @Droidz code. But it doesn’t want to work, although the condition for executing the code works. using System.ComponentModel; using System.Windows.Forms; using robotManager.Helpful; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : wManager.Plugin.IPlugin { public void Initialize() { Logging.Write("[EnterCorpse] Started."); wManager.Events.OthersEvents.OnPathFinderFindPath += delegate (Vector3 from, Vector3 to, string mpq, CancelEventArgs cancelable) { try { if (to != null && (ObjectManager.Me.PositionCorpse.Z == to.Z) && to.DistanceTo2D(new Vector3(-3362.286f, 4665.728f, -22.70619f)) < 30) { to = new Vector3(-3362.163f, 4636.226f, -101.049f, "None"); // dungeon entrance point Logging.Write("Path changed to " + to.ToString() + ""); //cancelable.Cancel = true; //Thread.Sleep(10000); //MovementManager.StopMove(); //PathFinder.FindPath(to); //MovementManager.Go(PathFinder.FindPath(to)); //cancelable.Cancel = true; } } catch { } }; } public void Dispose() { Logging.Write("[EnterCorpse] Disposed."); } public void Settings() { MessageBox.Show("??"); } } The log shows that the code works, but the path changes instantly and the bot runs to the corpse position: 11 Jun 2020 16H00.log.html Any ideas why this does not work as it should?
  6. I used the code from his plugin, it works awesome, I redid it for myself and set up the display of the necessary information, but Logging.Status is not what I need, need the name of the currently running step.
  7. Hello! Is there any API/code for displaying the current step name that is currently being executed? Something like a Quest.QuesterCurrentContext.StepName. Need this for debugging.
  8. Code like this should help // train skills by name // if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new robotManager.Helpful.Vector3(5813.14f, 475.205f, 658.7826f), 31238)) { wManager.Wow.Helpers.Usefuls.SelectGossipOption(wManager.Wow.Enums.GossipOptionsType.trainer); Thread.Sleep(1000); // spell 1 // if (!Lua.LuaDoString<bool>("if IsSpellKnown(54197) then return true end") && Lua.LuaDoString<bool>("for i=1,GetNumTrainerServices() do serviceName,_,serviceType,_=GetTrainerServiceInfo(i) if serviceName == 'Cold Weather Flying' and serviceType == 'available' then return true end end")) { Lua.LuaDoString("for i=1,GetNumTrainerServices() do serviceName,_,_,_=GetTrainerServiceInfo(i) if serviceName == 'Cold Weather Flying' then BuyTrainerService(i) end end"); Thread.Sleep(1000); } // spell 2 // if (!Lua.LuaDoString<bool>("if IsSpellKnown(33391) then return true end") && Lua.LuaDoString<bool>("for i=1,GetNumTrainerServices() do serviceName,_,serviceType,_=GetTrainerServiceInfo(i) if serviceName == 'Journeyman Riding' and serviceType == 'available' then return true end end")) { Lua.LuaDoString("for i=1,GetNumTrainerServices() do serviceName,_,_,_=GetTrainerServiceInfo(i) if serviceName == 'Journeyman Riding' then BuyTrainerService(i) end end"); Thread.Sleep(1000); } }
  9. Hi, I need help, I tried to get the minimum value from Auction Page List<AuctionHelpers.AuctionItem> auklist = new List<AuctionHelpers.AuctionItem>(); foreach (var item in AuctionHelpers.GetBrowsePageItems()) { if(item.IsValid()) auklist.Add(item); } var ChepestItemauklist = auklist.Where(x => x.Name == "Frostweave Bag").OrderBy(x => x.BuyoutPricePerUnit).Min();//error code but I get an error if I try to use such code I need to know the minimum price on the page to use it for comparison. Does anyone know which method to use to get the minimum buyout price from the AuctionItem array? I know what you can extract into a separate BuyoutPrice list<int> and then everything seems to work as it should, but I would like to know if you can get the minimum value from multidimensional arrays of the wrobot? 5 Jun 2020 05H15.log.html
  10. Hi! I know that there is a GetText() API but I don’t know how to find the name of the text element I need, framestack shows only the names of the buttons, not the text itself. Is there a way to “extract” text from text elements of the wow interface, like a StaticPopup frame or error frame ? Thanks in advance to everyone who answers
  11. Hello! wManager.wManagerSetting.CurrentSetting.IgnoreServerRoadsWater - how does this option work? If anyone knows, please explain in more detail, I still can’t understand why the bot goes across the sea to the vendor/repair instead of going on the ground. Maybe this will help somehow...
  12. thanks, really this code was in profile
  13. Hi. I create this topic in the quaiter assist, because I don’t know what the problem is, but I see it only when used on this quest profile. The video shows that after each kill of the mob, the bot, instead of fighting with others, loots the killed mob, despite the fact that LootInCombat = false. This is very bad, because if the bot is in a battle with 4-5 mobs, they quickly kill it. I don’t use any plugins when recording. What is noteworthy, the bug appears only after repeated farming of the dungeon, after rebooting the bot the bug disappears briefly. Who has faced anything like this? It may be a function of the wrobot that I don’t know about? I do not post the profile of the farm itself, I can send it in PM if someone want help and thinks that the matter is in the profile. 27 May 2020 20H49 - uWmQNfQ.log.html Quester-Galilei.WoW Circle 3.3.5a x5.xml General-Galilei.WoW Circle 3.3.5a x5.xml
  14. thanks for the help, this solved the problem var text = ""+System.Environment.NewLine+"1"+System.Environment.NewLine+"2"+System.Environment.NewLine+"3"+System.Environment.NewLine+"4"+ System.Environment.NewLine+"5"+System.Environment.NewLine+"6"; In dev tools: in game
  15. var name = "qq"; var subject = 123; var text = "1\n2\n3\n4\n5\n6"; //Lua.LuaDoString(@"SendMail('qq', '123', '1\n2\n3\n4\n5\n6')"); //without Lua.LuaDoString(@"SendMail('"+name+"', '"+subject+"', '"+text+"')"); //Lua.LuaDoString(@"SendMail('"+name+"', '"+subject+"', '1\2\3\4\5\6')"); // with the introduction of variables
  16. Hi. Working on a project to send invitation letters and faced the problem. I don’t understand what kind of garbage happens when I try to send an mail using the line break character "/" in the message. I just want to send a message with separated lines, I don’t understand why when using variables in Lua.DoString an error appears, and if not then everything is fine ok. I will be glad to know if someone helps. Can i use wManager.Wow.Helpers.MailMail.SendMessage() to send letters without items? I already tried and nothing went...
  17. Works, thanks var corpse = ObjectManager.GetObjectWoWCorpse().FirstOrDefault(); if (corpse.IsValid) { Lua.LuaDoString("print('corpse exists, name: ["+corpse.Name+"], guid: ["+corpse.Guid+"], baseadress: ["+corpse.GetBaseAddress+"]')"); SpellManager.CastSpellByNameLUA("Revive"); Interact.InteractGameObject(corpse.GetBaseAddress); }
  18. I mean revive player by his empty corpse
  19. Hey, does anyone know how to revive a player who has already released spirit?
  20. Hey! Little issue: after stopping the bot and launching again with button I got the error after which finite state machine bugs and the bot stops work. What could it be? [E] 17:12:14 - Compilator Error : q:\WRobotKach\Data\temp\srbdboqg.0.cs(16,7) : error CS0246: The type or namespace name 'yohBOpJvyyxWMLDBMJOJSYVHFdCRrPMrsigAihBA' could not be found (are you missing a using directive or an assembly reference?) 17 May 2020 16H07.log.html 17 May 2020 16H45.log.html 17 May 2020 17H06.log.html
×
×
  • Create New...