Jump to content

reapler

Elite user
  • Posts

    288
  • Joined

  • Last visited

Everything posted by reapler

  1. @pookasmight you can try this: StealthOnNearbyPlayers.xml I'm not sure if this also might work on vanilla, but as long the api works you won't have a problem. There's just one annoying thing to mention: I noticed Wrobot now also logs c# conditions so your log could probably be spammed. Personally i would log the spells on initialization but i can't :)
  2. Welcome @Findeh to WRobot, you can find details & templates about fightclasses here. To get a detailed documentation, you can decompile WRobot's libraries here explained. For this task you could use "wManager.Events.FightEvents.OnFightEnd" A plugin already exists here "wManager.Wow.ObjectManager.ObjectManager.Me.TargetObject.Health" for futures requests you may search in your decompiler by looking for "health" for example Unfortunately no event exists. But you can check it on a loop: "wManager.Wow.Bot.States.ToTown.GoToTownInProgress"
  3. reapler

    SlimDx Draw

    Hello, i would like to suggest to also include text drawing on SlimDx overlay for Radar3D class. It can be on certain situations very useful. For example a tooltip for it's WoWGameobject. If it would take too much time or effort, a workaround like: Vector3 position => actual window position would also do it's job. kind regards
  4. Hello @tonycali it's designed to use on party product.
  5. @Seminko It's because the events are different from vanilla to wotlk. I had assumed you are using some higher client since you post your plugin here. For vanilla you might look in your decompiler under LuaEventsId. "SPELLCAST_START" looks fine for your goal for finished cast dunno. if (id == wManager.Wow.Enums.LuaEventsId.SPELLCAST_START && args[0] == "player" && args[1] == "Hearthstone") The "args[]" should be also fine (i don't think they have changed something as it was replaced by "UNIT_SPELLCAST_START" in 2.4). Otherwise you can test & lookup what's in the arguments or use other LuaEventsId: wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaWithArgs += (id, args) => { if (id == wManager.Wow.Enums.LuaEventsId.SPELLCAST_START) { for (var i = 0; i < args.Count; i++) { robotManager.Helpful.Logging.Write("args["+i+"] contains: "+args[i]); } } };
  6. oh haven't looked there, it doesn't matter.
  7. @Seminko I haven't currently the binaries for vanilla, but you can try this instead float minutesLeft = 29.5f; //define this above loop if patch is wotlk or above else use 59.5f for vanilla and tbc if (wManager.Wow.Helpers.SpellManager.GetSpellCooldownTimeLeft(8690) / 1000 / 60 > minutesLeft) // if HS is used, wait 15 seconds, write into log file and shutdown the computer { Logging.Write("Shutdown in 15 seconds"); Thread.Sleep(15000); Process.Start("shutdown", "/s /t 0"); } I'm pretty sure someone can provide you the event because this is bogus to check in loop ;)
  8. Hello @arkhan, i've re-created it: public void ShowConfiguration() { CustomClass_ShamanSettings.Load(); CustomClass_ShamanSettings.CurrentSetting.ToForm(); CustomClass_ShamanSettings.CurrentSetting.Save(); } public class CustomClass_ShamanSettings : Settings { public static CustomClass_ShamanSettings CurrentSetting { get; set; } public bool Save() { try { return Save(AdviserFilePathAndName("CustomClass_Shaman", ObjectManager.Me.Name + "." + Usefuls.RealmName)); } catch (Exception e) { Logging.WriteError("CustomClass_ShamanSettings > Save(): " + e); return false; } } public static bool Load() { try { if (File.Exists(AdviserFilePathAndName("CustomClass_Shaman", ObjectManager.Me.Name + "." + Usefuls.RealmName))) { CurrentSetting = Load<CustomClass_ShamanSettings>(AdviserFilePathAndName("CustomClass_Shaman", ObjectManager.Me.Name + "." + Usefuls.RealmName)); return true; } CurrentSetting = new CustomClass_ShamanSettings { UGW = true, TGW = 4, MGW = 50 }; } catch (Exception e) { Logging.WriteError("CustomClass_ShamanSettings > Load(): " + e); } return false; } [Setting] [Category("GHOST WOLF SETTINGS")] [DisplayName("Ghost Wolf")] [Description("Use Ghost Wolf")] public bool UGW { get; set; } [Setting] [Category("GHOST WOLF SETTINGS")] [DisplayName("Use after X secondes")] [Description("Use Ghost Wolf after X secondes out of combat")] public int TGW { get; set; } [Setting] [Category("GHOST WOLF SETTINGS")] [DisplayName("Mana required")] [Description("Use Ghost Wolf only if mana is superior or equal")] public int MGW { get; set; } }
  9. @Seminko nice to have the plugin. I'd recommend to check the duration off your hearthstone rather to just check if it's on cooldown or using events for it: wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaWithArgs += (id, args) => { if (id == wManager.Wow.Enums.LuaEventsId.UNIT_SPELLCAST_SUCCEEDED && args[0] == "player" && args[1] == "Hearthstone") { robotManager.Helpful.Logging.Write("Player casted hearthstone\n=>Start Shutdown in 3 seconds"); var t = System.Threading.Tasks.Task.Run(async delegate { await System.Threading.Tasks.Task.Delay(3000); robotManager.Helpful.Logging.Write("Shutdown..."); Thread.Sleep(100) Process.Start("shutdown", "/s /t 0"); }); } }; It needs no loop.
  10. @Matenia does the "Real cast detection" based on events?
  11. @Zickefoose I guess you are playing on vanilla so have you tried it with ".xml" Fightclass or used custom? Edit: a log would be also helpful
  12. @Seminko it's "wManager.Wow.Helpers.Bag.GetContainerNumFreeSlots" & "wManager.Wow.ObjectManager.ObjectManager.Me.IsCast" If you are looking for more functions you can search in a decompiler(https://wrobot.eu/forums/topic/6103-frost-dk-rotation-help-needed/#comment-27890). It's easy to search something for example, searched "cast" as keyword: Edit: This may differ from expansion to expansion
  13. @shhume Thank you for your feedback
  14. @Nowii you can try my new plugin: Edit link: PartyTagger.dll
  15. @karap1234 you can try my new plugin:
  16. Hello, you can try my new plugin:
  17. Version 18.06.1

    510 downloads

    What is it? A plugin to attack npcs which are tagged by the follow target without to be in a party. Why the file exist? User request Good to know: -It is recommend to set the follow distance a bit higher if your character is a caster to avoid stuttering -Configurable minimum Health setting -To install it just copy it to: \WRobot\Plugins\ -It's tested on 3.3.5a client since methods / classes should be the same it should working also on other clients -Please send/post any errors, suggestions or wanted features in the comments or private message -This is a side project so new features / versions will not be added so fast
  18. @Seminko It crashes because you are looping the Dispose method(you call Dispose from Gui and this method calls itself again & again). Just remove Dispose(); in method "public void Dispose()".
  19. Next question, at Quests Order Editor it's possible to add a Step with an Action Type "StepName". What can i do with it?
  20. @iMod I'm glad to hear that you would like to help :) The sql related stuff would be very interesting since i tried it for another project to iterate merchants with its offered items, but i also lost the focus on it to figure it out ;)
  21. @Droidz may i ask you, whether it could maybe dangerous to read offset on official server?(i'm not so familiar with warden) I'm having offsets to read questid/questname/mouseclick position for 3.3.5a but i have my doubts if it could be detected on official server by memory reading or using cheat engine for example to get offsets.
  22. @JasabiYes, i had also this idea. Sadly i have no clue about Sql in general ;) I belive it will be added not so fast (maybe next release).
  23. Next question, at option "PickUp quest on item id" means explicit the item in bag or does it it also include the gameobject to take the quest from(like a wooden box)?
  24. @tje1991 You can add this in quests order editor > Actiontype: RunCode > Actionparameter: this code
  25. @arkhan Thank you for your response. I have thought already about this option(was also a reason why i started creating it). But it needs a few offsets for each expansion which couldn't be received via lua but it wouldn't be a big problem except for legion.
×
×
  • Create New...