Jump to content

Matenia

Elite user
  • Posts

    2226
  • Joined

  • Last visited

Everything posted by Matenia

  1. No, because you already exit the function, before you get that far.
  2. Should probably also have some smart way of checking whether the spell is off the GCD - like any interrupt.
  3. If you changed the code to not check for name but debuffType, sure. But your table has to contain the debuffTypes then. You can use the History function on WoWWiki to read the old TBC API.
  4. You just add the debuffname, like such: local buffNames = { ["Toxic Saliva"] = true, ["Shadow Word: Pain"] = true, };
  5. UnitBuff looks like this in TBC local name, rank, iconTexture, count, duration, timeLeft = UnitBuff(unit, buffIndex[, castable]); UnitDebuff looked like this: local name, rank, iconTexture, count, debuffType, duration, timeLeft = UnitDebuff(unitID, debuffIndex [, removable]); local buffNames = { ["Toxic Saliva"] = true, }; for i=1,40 do local name, rank, iconTexture, count, debuffType, duration, timeLeft = UnitDebuff("player", i) if (buffNames[name]) then result=1 return; end end
  6. It was added in patch 2.4. Events in Vanilla are as follows: SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_BUFF") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_BUFFS") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_BUFFS") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_COMBAT_HOSTILE_DEATH") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_CREATURE_VS_CREATURE_BUFF") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_BREAK_AURA") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_AURA_GONE_OTHER") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_BUFFS") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_FRIENDLYPLAYER_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_FRIENDLYPLAYER_BUFF") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PARTY_DAMAGE") SpellTimer_EnemyMain:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_PARTY_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_BUFF") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_BUFFS") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_BUFFS") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_COMBAT_HOSTILE_DEATH") SpellTimer_EnemyMain:UnregisterEvent("PLAYER_REGEN_ENABLED") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_CREATURE_VS_CREATURE_BUFF") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_FRIENDLYPLAYER_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_FRIENDLYPLAYER_BUFF") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_BUFFS") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PARTY_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_PERIODIC_PARTY_DAMAGE") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_BREAK_AURA") SpellTimer_EnemyMain:UnregisterEvent("CHAT_MSG_SPELL_AURA_GONE_OTHER")
  7. Products.ProductStop(); Products.LoadProducts(name); For changing between Quester and others. If you look at available functions in the .dll files, you'll find how to load a certain quester profile too, I'm sure. As for stopping combat: wManager.Wow.Helpers.Fight.StopFight();
  8. You can try making it execute the following Lua code: CastSpellByName("Mangle (Cat)") RunMacroText("/cast Mangle (Cat)") Or C# as follows: Lua.RunMacroText("/cast Mangle (Cat)");
  9. Hey, I am currently building a 1-70 MoP 5.4.8 questing profile and large parts are already working. However, while I had to create some workarounds for a few quests, I am stuck with one that doesn't seem to work at all. Items just aren't recognized by the quest profile builder (and if I add them manually, the bot does not find and gather them). Ingame view: This happens only with the items "Informational Pamphlet" and "Secret Journal". As I was trying to fix the quest, the bot actually randomly looted Secret Journal once. I almost suspect this is a bug, but if anyone can point me towards a work around, or @Droidz could fix it, that would be awesome. Edit: It seems to be a problem with "units near target" setting. Does anyone have a workaround (set it to 7+ if HasQuest(x))?
  10. If you create your grinder profile as a quest profile, you can set up a custom condition (C# or Lua) to check your bag space, and if it's true, you can jump to the "step" in your quester, that is a manual path to your vendor. Yeah, unfortunately it's quite a bit of effort, but it's possible.
  11. These realms are generally dead. Nobody plays on them and they're not the kind that anyone takes seriously. As such, you won't find any fightclasses for those realms. Especially since all of them work differently. If you know how your class works, you'll find that without any coding skills, it's extremely easy to use the FightClass Editor to make your character do what you want it to.
  12. It's COMBAT_LOG_EVENT_UNFILTERED. The args are varargs, because they vary depending on the event happening. The first 6 or so are always the same (documentation on WoWWiki is pretty clear). It should work like any other event, I suspected capitalization is your problem.
  13. Some of these are regular problems with fightclasses, I believe. Or maybe non-intuitive design. I've found that settings spells for ANY of your timers will just bug out and you'll have a large wait time between spells for some reason. When blacklisting, you don't need to blacklist a single target, but rather open your blacklist and add the mob type, otherwise it specifically only avoids those with the GUID your target had.
  14. Due to the MoP client continously breaking, I am looking for ways to reliably do a ReloadUI() to fix it, as a work around. Unfortunately, when this occurs, sometimes my pet is enough to kill my targets, and the bot never dies. So a simple reload after dying isn't enough. Therefore I'm looking for a more reliable way. One idea is to execute the Lua code, if combat has been going on for 5+ seconds, and no spell has been cast by the bot. I wish there was a more reliable way, but I haven't really noticed anything, except that when I restart the bot without reloading the UI, it will say that all movement keys are unbound. Any help (like code examples) is appreciated.
  15. Version 1.1

    278 downloads

    This profile can be used from level 1 to 90. I've personally used it up to level 60. It's very efficient. For your talents, you should use Presence of Mind, Ice Barrier, Frostjaw and Cauterize. - Uses pet spell "Freeze" - Uses Frost Nova and Frostjaw - Ice Lance most effectively, tries to Shatter (Bolt+Lance) whenever it can - Ice Block your Cauterize off - Uses Frostfire Bolt if you get kicked on Frostbolt - Uses Icy Veins early on - Does not automate food/drink
  16. Is there any easy way, using the Fightclass Editor use crowd control on a second target, should I be pulling 2 or 3 by accident? Without doing this programmatically in C#? I do know C#, but I am admittedly a bit too lazy to learn the API. Instead I'd just like to create a few simple fightclasses for MoP leveling, as the ones I've found are rather bad.
  17. Version 1.0.0

    120 downloads

    Fixes the bug where wRobot breaks its combat rotation in MoP clients by reloading the UI after dying and rezzing.
  18. That bugs it entirely, so the bot only keeps working if I turn it on/off (for one fight, but it doesn't run unless I turn it on, and doesn't fight unless I turn it off). Probably a multithreading issue. But it's okay, I'll use this to write a custom plugin instead.
  19. Is there any way in my fight class to execute Lua code, whenever I die, once? I want it to call ReloadUI() to prevent the combat rotation from stopping randomly on a MoP client. I tried some custom scripts, but the bot never executed them (and there is that issue of only doing it ONCE too).
  20. @k4njin there's a bug in the nightelf profile, because "to27" isn't defined in the list of "points" to go to. Just open it with Notepad and add it after "to25" in the same pattern.
×
×
  • Create New...