Jump to content

MrBottie

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by MrBottie

  1. I tested some heroic and LFR healing with it on my resto... First thing I deleted was the efflorescence in the profile as I think it made some weird choices with it. I prefer to cast it manually. Another thing I noticed is that it casts barkskin while everyone is almost at full health... Maybe it's because of this: if (ObjectManager.Me.ManaPercentage <= RestoSettings.CurrentSetting.Barkskin) { SpellManager.CastSpellByNameOn(_barkskin.Name, ObjectManager.Me.Name); Logging.WriteFight(_barkskin.Name + " on " + ObjectManager.Me.Name); return true; } Me.ManaPercentage ?? Think this should be a health check iso mana check, no? I'll keep on testing, thanks for this profile pasterke <3
  2. I just want to know if it's possible to integrate the Time To Die LUA functions above in C# And if so... how? :)
  3. I know you can do this to retrieve a bool or a string or whatever you want but it's a bit more complicated than that
  4. Hey all, Just want to know if it's possible to implement the lua code below into C# fight class and if it's possible, I want to know how to do it. Basically, I want to know the calculated "Time To Die" of my target. Lua Example https://github.com/BadBoy-Ultimate-Raider/BadBoy/blob/39eb9363599d3679bef5500ee5644877f350b9ce/System/engines/ttdTable.lua Thx in advance
  5. if (t.Any()) { int count = 0; int tel = 0; if (getPartyMembers().Count() > 5) tel = 5; if (getPartyMembers().Count() < 6) tel = 3; if (tel >= count) { SpellManager.CastSpellByNameLUA(_essenceOfGhanir.Name); Logging.WriteFight(_essenceOfGhanir.Name); return true; } } @Pasterke don't you always get in the if (tel>=count) condition this way? It seems like tel will always be 3 or 5 and bigger than count which is set to 0? ...Or I'm missing something :-)
  6. API GetCurrentMapContinent continent = GetCurrentMapContinent() -1 - if showing the cosmic map or a Battleground map. Also when showing The Scarlet Enclave, the Death Knights' starting area. 0 - if showing the entire world of Azeroth 1 - if showing Kalimdor, or a zone map within it. 2 - if showing Eastern Kingdoms, or a zone map within it. 3 - if showing Outland, or a zone map within it. 4 - if showing Northrend, or a zone map within it. 5 - if showing the Maelstrom, or a zone map within it (such as Kezan or the Lost Isles.) 6 - if showing Pandaria, or a zone map within it. 7 - if showing Draenor, or a zone map within it. 8 - if showing the Broken Isles, or a zone map within it.
  7. Any news on this one? I had the same problem in Halls of Lightning. Before the last boss you have to talk to some friendly NPC's that become "attackable" afterwards... Bot didn't attack them.
  8. Still busy with it but I only raid Assas at the moment as they nerfed outlaw too much :-)
  9. Not to mention his great google translate copy paste style!
  10. They stealthy changed the travel form mechanics of druids in this patch... Maybe a solution for now? In advanced settings --> Mount Options --> Ignore Fighting if in Ground Mount
  11. For what it's worth, can't you read the combat log each time you cast something and wait for a success/failed log of that specific cast? SPELL_CAST_SUCCESS / SPELL_CAST_FAILED ? What were you thinking of if I can ask?
  12. mmmm... you can't work with Timers or simple bool checks to delay things other than Thread.sleep?
  13. Isn't this solvable with some sleep alike function (global cooldown) or wait for cast function when you return true? Maybe @Droidz can answer this easily?
  14. How do you guys test/tweak the healing class? Proving grounds or just in dungeon/raids? :)
  15. Your UAC settings just warning you for running an executable file. If you don't want those annoying popups (and you know what you're doing) --> http://www.windows10update.com/2015/05/windows-10-tutorials-84-how-to-disable-uac/
  16. private readonly Spell MarkedforDeath = new Spell("Marked for Death"); States = new List<State> { ... new SpellState("Marked for Death", 23, context => testMarkForDeath() == 1, false, true, false, false, false, false, false, false, 0, true, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Yes, "Combopoints Instant (Talent)", "none", true, true, false), ... } public int testMarkForDeath() { int mfd = 0; Logging.WriteFight("MFD TEST"); if (ObjectManager.Me.TargetObject.IsDead && MarkedforDeath.IsSpellUsable && ObjectManager.Me.HaveBuff("Blade Flurry")) { // Settings int range = 10; WoWObjectType objectType = WoWObjectType.Unit; // Get target WoWUnit unit = ObjectManager.GetWoWUnitHostile().OrderBy(o => o.HealthPercent).FirstOrDefault(u => u.Type == objectType && u.IsAlive && (u.GetDistance <= range) && u.IsAttackable); if (unit != null) { Logging.WriteFight("AOE UNIT FOUND"); Interact.InteractGameObject(unit.GetBaseAddress); } mfd = 1; } return mfd; } Can you tell me why it's not doing what I want? :) So when I'm doing AOE damage I want it to target the lowest Health mob of the pack and put MFD on his head when it's available...
  17. Not entirely sure how to add this in my spellstate list in C#... Last time i used Interact.InteractGameObject(unit.GetBaseAddress, true); and this crashed the game :-(
  18. Hi, I'm tweaking my c# rogue class and I want to know how I can target the lowest hostile unit in a 10 yard range and Mark For Death on him when MFD is available. When i use Interact.InteractGameObject(unit.GetBaseAddress, true); after getting the unit, the game crashes :( Thx in advance!
  19. Can this be nominated for douchebag post of the year? It'll get my vote for sure!
  20. Maybe you can deal with vanish based on this api return? inInstance, instanceType = IsInInstance() inInstance Boolean - Whether the player is in an instance; nil otherwise. instanceType String - The instance type: "none" when outside an instance "pvp" when in a battleground "arena" when in an arena "party" when in a 5-man instance "raid" when in a raid instance nil when in an unknown kind of instance, eg. in a scenario
  21. Thanks, seems clear to me now... my journey to create the ultimate outlaw rogue profile continues!
  22. But how to do it in realtime? I want some kind of "debug" result when I target something, I want to write the unitlevel to the log for example :) About the interrupts, it's only possible with LUA code? I'm trying to tweak your Rogue Outlaw profile to get It raid ready (love it)
  23. Hi there, Im currently testing some fight classes and creating/modifiying new/old ones. It's all going fine but I have some questions... Interrupts When I add an interupt condition (enemy is casting or check if it can be interrupted), the wrotation is fast as lightning and sometimes interrupts the cast within half a second. To make it look more "humanized", I want to add a small delay (an extra 0.5 sec for example). Is this possible? Ingame Debug/Test For example, I want to know the current target's level and distance. How can I use the developer tools to see this on the fly? Thanks in advance! Love this piece of software! <3
×
×
  • Create New...