Made a plugin to handle flying to the vendor when QuestBot decides to do a repair/vendor run. It will fly to the vendor, repair and sell, then fly back and give QuestBot back control. Please report any errors/bugs here, and be advised that it might not work for all vendors (indoors, weird places, phasing, etc). v1.2 BETA: Updated with some methods to handle vendors/locations that are considered "indoors" (meaning Flightor can't navigate there natively). This isn't the quickest of code (calculating can take a few seconds or more), and there might be bugs, but it worked with the few tests I did. So use the BETA if you want to try it out and give feedback on bugs/errors, or use the non-beta for safe workings but no indoor-vendor-support. v1.1: Updated to handle Grind Bot too.
No, it only does vendoring and repairing. I never use the mailing feature while leveling, so didn't think about adding it. It might be included in FieldRepair, when I finish that. Or if it's easy to fix, I'll see about putting it in here too.
I would just read the CS, but, I'm ingame on CS:S (Dead) and the browser doesn't allow downloads. May I ask what it does if you don't have a flying mount yet? (Like you enable it on a level 55 for when it hits 60)
I changed your code a little bit to add Grind Bot. It works like a charm. Thanks so much for this! PS: The only issue this plugin really has if the repair dude isnt located under open skies but inside a house. it will fail to decent before the house and walk to the repairdude.. Just a hint.
Updated to support Grind Bot. I know about the indoor-issue, trying to find a smart and effective way to handle it. Not really sure how, as I've seen the problem arise several times with Flightor.
Awesome! Thanks! Been leveling a few toons and this would be great! I would love to see mailing support as well.
Working on a plugin that implements mammoth, jeeves etc too, will be mailingsupport there. Sent from a mobile device, please disregard any and all stupid mistakes.
[9:49:41 AM:262] Spell_C::CastSpell(30482, 0, 0x180000003D0F25E, 0) [35] [9:49:41 AM:660] Updating repair cost for current equipped items. New value: [28g78s22c] [9:49:41 AM:661] Changed POI to:Type: Repair, Name: Blacksmith Abasi [9:49:41 AM:729] [Singular-DEBUG] Successfully cast Molten Armor [9:49:41 AM:903] Cleared POI [9:49:42 AM:150] Spell_C::CastSpell(32240, 0, 0x0, 0) [36] [9:50:47 AM:398] Activity: Loading Tile/s [9:50:47 AM:534] Plugin RepairFly threw an exception in 'Pulse'! Exception: [9:50:47 AM:536] System.NullReferenceException: Object reference not set to an instance of an object. at RepairFly.RepairFly.Pulse() in d:\Programs\LittleBee\Plugins\RepairFly BETA.cs:line 53 at Styx.Plugins.PluginWrapper.Pulse() [9:50:47 AM:537] Changed POI to:Type: Repair, Name: Blacksmith Abasi [9:50:49 AM:431] Cleared POI [9:51:54 AM:994] Stop called! [9:51:55 AM:045] Activity: Honorbuddy Stopped Got this i dont know what it means
Help please! When my bot get level up, he goes to City by taxy, but after that he goes back to questing location by mount! It takes a lot of time!!
It wasn't working at all for me so I made my own version. It uses a completely different method to find a landing spot etc... I've been using it for a few days and only had problems with HB getting stuck while flying.
I am using the beta in the first post with grindbot and the toon flies to repair but then doesn't get back, it just sits by the vendor till afk/logout. Same thing with papaours' version. Any fix possible? This is an excerpt from the log since the plugin takes over. Maybe it will help. Code: [6:20:17 PM:451] Changed POI to:Type: Repair, Name: Blacksmith Abasi [6:20:17 PM:758] Cleared POI [6:20:17 PM:758] [RepairFly]: Vendor/repair run discovered, attempting to fly [6:20:17 PM:761] Activity: Loading Tile/s [6:20:17 PM:761] Loading Kalimdor_33_49 [6:20:17 PM:927] Spell_C::CastSpell(32245, 0, 0x0, 0) [4486] [6:21:08 PM:052] [Flightor]: Unstuck attempt 3 [6:21:29 PM:504] [Flightor]: Unstuck attempt 4 [6:51:51 PM:981] Unloading tiles! [6:51:51 PM:982] Loading Kalimdor_32_32 [6:51:52 PM:114] Loading Kalimdor_33_49 [6:51:52 PM:209] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [6:53:18 PM:233] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 1 milliseconds) @ FindStartPoly [6:53:18 PM:233] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [6:56:51 PM:981] Unloading tiles! [6:56:51 PM:982] Loading Kalimdor_32_32 [6:56:52 PM:109] Loading Kalimdor_33_49 [6:56:52 PM:205] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [7:01:51 PM:981] Unloading tiles! [7:01:51 PM:982] Loading Kalimdor_32_32 [7:01:52 PM:105] Loading Kalimdor_33_49 [7:01:52 PM:197] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [7:03:10 PM:472] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 3 milliseconds) @ FindStartPoly [7:03:10 PM:472] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [7:06:03 PM:561] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 3 milliseconds) @ FindStartPoly [7:06:03 PM:561] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [7:06:51 PM:981] Unloading tiles! [7:06:51 PM:982] Loading Kalimdor_32_32 [7:06:52 PM:105] Loading Kalimdor_33_49 [7:06:52 PM:197] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [7:10:14 PM:282] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 2 milliseconds) @ FindStartPoly [7:10:14 PM:283] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [7:11:51 PM:982] Unloading tiles! [7:11:51 PM:983] Loading Kalimdor_32_32 [7:11:52 PM:107] Loading Kalimdor_33_49 [7:11:52 PM:197] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [7:16:51 PM:983] Unloading tiles! [7:16:51 PM:984] Loading Kalimdor_32_32 [7:16:52 PM:109] Loading Kalimdor_33_49 [7:16:52 PM:200] Could not generate path from {0, 0, 0} to {-9404.68, -906.438, 112.5407} (time used: 0 milliseconds) @ FindStartPoly [7:20:43 PM:268] Stopping the bot! [7:20:43 PM:269] Stop called! [7:20:43 PM:292] [7:20:43 PM:292] >>> STOPPING ShamWOW v4.5.17 by Bobby53 [7:20:43 PM:293] Activity: Honorbuddy Stopped [7:20:44 PM:310] System.Threading.ThreadAbortException: Thread was being aborted. at BlueMagic.Native.Imports.ReadProcessMemory(IntPtr hProcess, UInt32 lpBaseAddress, Byte[] lpBuffer, Int32 dwSize, Int32& lpNumberOfBytesRead) at BlueMagic.Memory.ReadBytes(UInt32 address, Int32 count) at BlueMagic.Memory.#KTc[T](UInt32 address) at BlueMagic.Memory.Read[T](UInt32[] addresses) at Styx.WoWInternals.WoWObjects.WoWMovementInfo.#fve() at Styx.WoWInternals.WoWObjects.WoWMovementInfo.get_TransportGuid() at Styx.WoWInternals.WoWObjects.WoWUnit.get_TransportGuid() at Styx.WoWInternals.WoWObjects.WoWUnit.get_IsOnTransport() at Styx.WoWInternals.WoWObjects.WoWUnit.get_Location() at Styx.Logic.Pathing.MeshNavigator.MoveTo(WoWPoint location) at Styx.Logic.Pathing.Navigator.MoveTo(WoWPoint location) at RepairFly.RepairFly.flyTo(WoWPoint loc) in e:\Portable Apps\Honorbuddy\Plugins\RepairFly BETA.cs:line 95 at RepairFly.RepairFly.Pulse() in e:\Portable Apps\Honorbuddy\Plugins\RepairFly BETA.cs:line 50 at Styx.Plugins.PluginWrapper.Pulse() at Styx.Plugins.PluginManager.Pulse() at Styx.WoWPulsator.Pulse(PulseFlags flags) at Styx.Logic.BehaviorTree.TreeRoot.Tick() at Styx.Logic.BehaviorTree.TreeRoot.Run() [7:20:44 PM:310] System.Threading.ThreadAbortException: Thread was being aborted. at Styx.Logic.BehaviorTree.TreeRoot.Run()
@OP you should give credits to the original author of this plugin. I could see some interesting changes from you, but the core and some functions are taken from FieldRepair plugin