Brian
-
Posts
92 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by Brian
-
-
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.
-
"_, _, _, _, _, 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)
-
9 hours ago, iMod said:
Get player object by name:
WoWPlayer player = ObjectManager.GetObjectWoWPlayer().Where(p => p.IsValid && p.Name == "PlayerName").FirstOrDefault();
Target player:
Interact.InteractGameObject(player.GetBaseAddress, true);
Cast spell at the specified target:
string targetName = "blubb"; int spellID = 999; Lua.LuaDoString($"CastSpellByID({spellID}, \"{targetName}\")");
Hope it helps.
Thanks it does. Does
p.IsValid
check if online? Also, CastSpellByID is protected, you are able to call protected LUA functions through wrobot?
-
2 minutes ago, saleh said:
i am playing for funn
with group 20 Toon in same time (20 Account)
Is this on retail or what server version?
-
14 minutes ago, saleh said:
i play with 20 toon in same time
and using 4 healers
all the Fight class are working good
http://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/
http://wrobot.eu/forums/topic/316-fight-class-conditions/#comment-2137
http://wrobot.eu/forums/topic/1689-useful-scripts/#comment-8447
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
-
6 minutes ago, saleh said:
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.
-
4 minutes ago, saleh said:
is That for party
No. I have a string with a player name. I need to target that player, not in the party.
-
21 minutes ago, saleh said:
Can you please explain what you need to do ?
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?
-
-
50 minutes ago, Droidz said:
Hello, I tried and seem works fine, the problem is probably caused by your server. You can get list of taget buffs in tab tools > dev... tools > memory info... (this contain owner buff).
EDIT: I think I have found problem, i'll fix it in next updates.
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#
-
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?
-
1 hour ago, Droidz said:
Hello,
You can edit searches radius: in tab "General Settings" > "Advanced ..." > onglet "Looting and Farming options" > "Search Radius"
To add objects at collect: Go to tab "General Settings", button advanced..., in new window go to tab "Looting and farming options" and add id of name of object in textbox "Harvest objects...".
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.
-
12 minutes ago, betterSister said:
If you're at computer could you write the script before i get home?
going to bed right now
-
21 minutes ago, betterSister said:
Last time i tried it didn't detect the buff. I will be home in 9 hours then i can try to debug it more
Just make a quick script to display all buff IDs , find drink id and use it
could be differnt the wowhead one or something maybe? So find it manually
-
Can you do
ObjectManager.Me.HaveBuff(DrinkID);
-
5 minutes ago, wickedprayer said:
Hi, i have the same problem with the grinding bot... I can bot 30 minutes, or 2 hours, then wow Crash...
Use the relogger (in beta) so far so good though!
-
After the most recent update, my default license always resets to trial. Does this happen to anyone else?
Bot Rotation bugging out when gettin stunned
in WRobot for Wow The Burning Crusade - Help and support
Posted
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