anonymous123 1 Posted December 12, 2017 Share Posted December 12, 2017 I am trying to get WRotation to work in Arena on a TBC server. I'm using DevelopmentTools with the input below inside a skirmish arena. Logging.Write(ObjectManager.GetObjectWoWUnit().ToList().Count().ToString()); And I'm getting 0 as output in wRobot. This leads me to believe that ObjectManager isn't getting updated properly. Am I doing something wrong or is it a bug? Link to comment https://wrobot.eu/forums/topic/7978-wrotation-doesnt-work-in-duels-or-against-players-of-the-same-faction-in-arena/ Share on other sites More sharing options...
Droidz 2740 Posted December 13, 2017 Share Posted December 13, 2017 Hello, when you click on "Dump all informations" button (in dev tools), list is empty? Link to comment https://wrobot.eu/forums/topic/7978-wrotation-doesnt-work-in-duels-or-against-players-of-the-same-faction-in-arena/#findComment-36583 Share on other sites More sharing options...
anonymous123 1 Posted December 21, 2017 Author Share Posted December 21, 2017 No the list is populated :/ Link to comment https://wrobot.eu/forums/topic/7978-wrotation-doesnt-work-in-duels-or-against-players-of-the-same-faction-in-arena/#findComment-36898 Share on other sites More sharing options...
anonymous123 1 Posted December 27, 2017 Author Share Posted December 27, 2017 I am doing this in development tools inside a started 2v2 skirmish arena Logging.Write(ObjectManager.GetObjectWoWPlayer().Where(u => u.IsAlive).ToList().Count().ToString()); and it is returning 0. But in "Dump all Informations" there are 4 players? Nevermind the filter u.IsAlive (I am trying at the start of arena when all players are alive.) Link to comment https://wrobot.eu/forums/topic/7978-wrotation-doesnt-work-in-duels-or-against-players-of-the-same-faction-in-arena/#findComment-37118 Share on other sites More sharing options...
anonymous123 1 Posted December 28, 2017 Author Share Posted December 28, 2017 Ok some updates. It seems like WRotation works as intended if I play against players of the enemy faction but not against players of the same faction in skirmish arena. I have tried Reaction.Hostile || Reaction.Neutral || IsAttackable and putting Attack all selected targets (friends also) but nothing works. Any help would be much appreciated. :) Link to comment https://wrobot.eu/forums/topic/7978-wrotation-doesnt-work-in-duels-or-against-players-of-the-same-faction-in-arena/#findComment-37155 Share on other sites More sharing options...
anonymous123 1 Posted December 29, 2017 Author Share Posted December 29, 2017 I ended up using lua. canAttack = UnitCanAttack(attacker, attacked); If anyone have this problem you can read more about the lua I used here. http://wowwiki.wikia.com/wiki/API_UnitCanAttack Link to comment https://wrobot.eu/forums/topic/7978-wrotation-doesnt-work-in-duels-or-against-players-of-the-same-faction-in-arena/#findComment-37172 Share on other sites More sharing options...
PierreDeRosette 13 Posted January 2, 2018 Share Posted January 2, 2018 A Topic of the same problem was opened in this link (french) A workaround was found to solve this. I use this Mix to be almost sure to fight with another player of my faction. if (Lua.LuaDoString<bool>("return UnitCanAttack('player', 'target')") || (ObjectManager.Me.InCombatFlagOnly) || ObjectManager.Me.InCombat) Combat = true; Avvi 1 Link to comment https://wrobot.eu/forums/topic/7978-wrotation-doesnt-work-in-duels-or-against-players-of-the-same-faction-in-arena/#findComment-37289 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now