Jump to content

Brian

Members
  • Posts

    92
  • Joined

  • Last visited

Everything posted by Brian

  1. A proc is a player buff, so check player for buff nightfall, also you could check the cast time of shadow bolt, but the first way is better.
  2. It should keep attempting to apply the second dot, because it should check if the dot is applied and if not, apply it. Are you using timers? If so, don't. You should never use a timer in a combat rotation.
  3. I'm fairly certain it's a bug. Like after you are stunned the bot doesn't think you are in combat anymore. So a timer wouldn't do anything
  4. This has been a long standing issue with the bot. If you get stunned / sleeped / disabled in anyway the rotation will not work unless you switch targets then back to your original target.
  5. "_, _, _, _, _, duration = UnitDebuff('target', 'Corruption',nil,'PLAYER'); print(duration); return duration; Didn't think duration of UnitDebuff was the full duration ;s
  6. Is it possible to get actual haste dot information through LUA? I am playing 3.3.5, and with haste snapshotting, I want to know what I snapshotted. Also, please do not say to just check when you cast, because it can come down to milliseconds so sometimes that messes up. I want to know if it's possible to check my debuffs on boss, for example lets say Debuff ID 1234, and get the haste associated with that dot, or ticks per second, or something similiar. Pseudo code: if (BossHasDebuffA) { if(DebuffATicks >= ThreshHold){ DoNothing; } else{ if(PlayerHasNeededHasteBuffs){ Cast DebuffA; } } } else{ Cast DebuffA; } In this pseudo code, how would I get DebuffATicks without assuming it snapshotted correctly(IE, checking buffs when cast because that is extremely unreliable) Also, how would you get the total time on a debuff rather than time remaining? (Again, I would prefer not checking this when applied and being able to check this whenever)
  7. Thanks it does. Does p.IsValid check if online? Also, CastSpellByID is protected, you are able to call protected LUA functions through wrobot?
  8. Do you play retail? Because I messed around with Party.GetPartyHomeAndInstance(); and it didn't work for me. I got the playername of who I need to heal, just need to know how to target him or get the WoWPlayer object with just a playername
  9. The player needing to be targeted is constantly changing and isn't known initially, so I can't make a macro for it. Can you cast a spell on a specific player with LUA? That would work as well. I am trying to make a healing fightclass that supports raids, since raids are not supported by the bot, atleast in WOTLK, I can get the correct players name that needs to be healed via LUA, but I just need to cast a spell on him.
  10. No. I have a string with a player name. I need to target that player, not in the party.
  11. The end goal is to get the player address so I can interact with it, I was planning to get the player object then get the address from that
  12. How do I create a player object from just a player name?
  13. if (Corruption.IsSpellUsable && Corruption.IsDistanceGood && Corruption.KnownSpell) { if (CorrAura.SpellId == ) { Logging.Write("herea"); Corruption.Launch(); return; }else if(corr20 == false && corr60 == false && ObjectManager.Me.HaveBuff("Eradication") && !ObjectManager.Me.HaveBuff("Bloodlust") && !ObjectManager.Me.HaveBuff("Heroism")) { Logging.Write("hereb"); Corruption.Launch(); corr0 = false; corr20 = true; corr60 = false; return; }else if(corr60 == false && ObjectManager.Me.HaveBuff("Eradication")) { if(ObjectManager.Me.HaveBuff("Bloodlust") || ObjectManager.Me.HaveBuff("Heroism")) { Logging.Write("herec"); Corruption.Launch(); corr0 = false; corr20 = false; corr60 = true; return; } } } So, my issue is that it changes the variables (corr0/corr20/corr60) without actually Launching the spell. Because it loops through this while casting previous spell / on GCD. Is it possible to do something like Corruption.Launch(); //pseudo code if(launch is successful){ corr0 = false; corr20 = false; corr60 = true; } How would I check if the launch is successful? Its an instant spell, so I cant check current spell casting. Also, I don't want to do something like if(Not ON GCD || Not Casting) { } I do not want to do this because I will slow down the routine script way to much. How else to fix issue?
  14. So, I know you can do this string name = Lua.LuaDoString<string>("name = UnitAura('player', 'BUFF_NAME'); return name; "); string rank = Lua.LuaDoString<string>("name,rank = UnitAura('player', 'BUFF_NAME'); return rank; "); string icon = Lua.LuaDoString<string>("name,rank,icon = UnitAura('player', 'BUFF_NAME'); return icon; "); //etc.. for all Is there a better way to return all the different properties of UnitAura into c# variables?
  15. Im sure you could do it with LUA code from c#
  16. So, just wondering if this is a server issue, or a bot issue, does this work for people on other servers? (3.3.5) On my server, it doesn't work. For example, I play a lock, if I am the only lock, rotation works fine, but if another lock is using the same dots as I, the rotation breaks, some spells it registers some it doesn't. It's safe to say something is wrong with TargetBuffCastedByMe for my server, is it working flawlessly for anyone on a different server?
  17. ill test with others, I re-target but it won't do anything.
  18. 19:16 is when I get in fight, interrupts after liek 20seconds. And wont attack that mob again with bot. I have been testing this for hours on different mobs. Same result 27 Mar 2016 17H06.log.html
  19. After getting stunned/silenced rotation bot stops working on the mob. It won't attack it
  20. Thanks.. is there anyway to remove the auto blacklisting nodes with enemies near by?
  21. I would like to collect objectX with name "ObjectX" within a radius of 5yard of me. How would I do this?
  22. With all of the upcoming TBC servers in the next couple months, would be nice to get TBC meshes+support before hand.
×
×
  • Create New...