
Brian
Members-
Posts
92 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Brian
-
Question Fightclass
Brian replied to Amazing Snake's topic in WRobot for Wow Wrath of the Lich King - Help and support
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. -
Global Cooldown
Brian replied to Amazing Snake's topic in WRobot for Wow Wrath of the Lich King - Help and support
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. -
"_, _, _, _, _, duration = UnitDebuff('target', 'Corruption',nil,'PLAYER'); print(duration); return duration; Didn't think duration of UnitDebuff was the full duration ;s
-
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)
-
how to create a player object from player name
Brian replied to Brian's topic in Developers assistance
Thanks it does. Does p.IsValid check if online? Also, CastSpellByID is protected, you are able to call protected LUA functions through wrobot? -
how to create a player object from player name
Brian replied to Brian's topic in Developers assistance
Is this on retail or what server version? -
how to create a player object from player name
Brian replied to Brian's topic in Developers assistance
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 -
how to create a player object from player name
Brian replied to Brian's topic in Developers assistance
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. -
how to create a player object from player name
Brian replied to Brian's topic in Developers assistance
No. I have a string with a player name. I need to target that player, not in the party. -
how to create a player object from player name
Brian replied to Brian's topic in Developers assistance
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 -
How do I create a player object from just a player name?
-
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?
-
TargetBuffCastedByMe 3.3.5 Servers (Anyone who uses this please look at)
Brian replied to Brian's topic in General discussion
Thanks! -
TargetBuffCastedByMe 3.3.5 Servers (Anyone who uses this please look at)
Brian replied to Brian's topic in General discussion
Thanks -
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?
-
Im sure you could do it with LUA code from c#
- 7 replies
-
- fightclass
- c#
-
(and 1 more)
Tagged with:
-
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?
-
ill test with others, I re-target but it won't do anything.
-
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
-
After getting stunned/silenced rotation bot stops working on the mob. It won't attack it
-
Thanks.. is there anyway to remove the auto blacklisting nodes with enemies near by?
-
I would like to collect objectX with name "ObjectX" within a radius of 5yard of me. How would I do this?
-
With all of the upcoming TBC servers in the next couple months, would be nice to get TBC meshes+support before hand.