Jump to content

Droidz

Administrators
  • Posts

    12419
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

133809 profile views
  1. Hello, By defaut, WRobot attack player, check settings. Can you share your log file please https://wrobot.eu/forums/topic/15429-plugin-for-robotsresponse-to-player-attack/?do=findComment&comment=69230&_rid=1
  2. Hello, Your code is wrong, the code would look more like this (not tested): using System.Linq; using System.Windows.Forms; using robotManager.Helpful; using wManager.Wow.Bot.States; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) => { if (state is IsAttacked && Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause) { var enemies = ObjectManager .GetObjectWoWPlayer() .Where(u => u.IsValid && u.IsAlive && u.PlayerFaction != ObjectManager.Me.PlayerFaction && u.IsTargetingMe && u.InCombatFlagOnly ); if (enemies.Any()) { var enemy = enemies.First(); Logging.Write($"Attacking player {enemy.Name} in response to being attacked."); Fight.StartFight(enemy.Guid); } } }; } public void Dispose() { Logging.Write("Disposed."); } public void Settings() { MessageBox.Show("No settings for this plugin."); } }
  3. Is the “Sit / Stand” shortcut assigned to an accessible key for the bot? (by default the 'X' key).
  4. Generally, zone problems are caused by game cache or game client.
  5. Hello, try to download game client in new website (the original version of the game).
  6. Hi, I'm sorry, but this cannot be implemented securely with a plugin. By default, WRobot should change the machine name (wotlk) (provided that the game is always launched from the Relogger if you want to hide all time the name of your machine).
  7. Hello, Have you tried disabling the plugins/fightclass one by one (or replacing them) to see if one of them might be the cause? Also consider WoW addons, the game cache, or even trying with a new client. Using the Relogger could be a temporary solution (it will restart the game and the bot in case of a crash). But I don't see any errors in the log file.
  8. Hello, you can replace new line by space, or use multiline c# string: return Lua.LuaDoString<bool>("local id = 6673; local nSearch = GetSpellInfo(id); if nSearch then local i = 1 while true do local spellName, spellRank = GetSpellName(i, BOOKTYPE_SPELL) if not spellName then break end if nSearch == spellName then return true; end i = i + 1 end end return false;");
  9. Hello, the problem should solved in the new update.
  10. Hello, Do you use an unmodified game client? Without addon? You can try to run this C# code when the dialogue is open : wManager.Wow.Helpers.Trainer.TrainingSpell();
  11. Hello, try https://wrobot.eu/files/file/1468-auto-bandage/ ( https://www.google.com/search?q=site%3Awrobot.eu+use+bandage )
  12. The error says you write 'Azeroch', I think you meant to write 'Azeroth'
  13. Hello, I'm sorry but WRobot does not support custom game clients. You can try to change the behavior with a plugin, but it might be complicated, here is an example of code (not tested): using System.Linq; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) => { if (state is wManager.Wow.Bot.States.Regeneration) { var units = wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit(); units.AddRange(wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWPlayerTargetMe()); foreach (var unit in units.OrderBy(u => u.GetDistance)) { if (unit.IsValid && unit.IsAlive && unit.GetDistance < 40 && unit.Reaction <= wManager.Wow.Enums.Reaction.Neutral && //unit.InCombatFlagOnly && unit.IsTargetingMe) { var failGuid = wManager.Wow.Helpers.Fight.StartFight(unit.Guid); if (failGuid != 0) { wManager.wManagerSetting.AddBlackList(failGuid, 30*1000); } return; } } } }; } public void Dispose() { } public void Settings() { } }
  14. Hello, To do this it is best to create a quest profile. You can use c# or Lua code with this type of profile. 1. https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/ 2. You can use quest type InteractWith (if it is a portal where you have to pass through, and not click on it, moving the character in the TP area). 3. https://wrobot.eu/forums/topic/5855-simple-hearthstone/
  15. Hello, In the development tool (which you can find in the 'Tools' tab), extract the player's buffs and see if he doesn't have a passive buff with the same name (The Art of War). If so, use the buff id rather than the name.
×
×
  • Create New...