Jump to content

Droidz

Administrators
  • Posts

    12519
  • Joined

  • Last visited

Everything posted by Droidz

  1. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  2. Droidz

    relogger issue

    Hello, try to reinstall WRobot in new folder and disable your antivirus
  3. Hello, try to restart you computer, if problem is not resolved try to disable your antivirus
  4. Hello try to download another client
  5. Try to disable your antivirus and useless programs ( https://www.google.com/search?q=System.ComponentModel.Win32Exception+(0x80004005) )
  6. Hello, try to disable your addons, can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  7. Hello, can you read this: https://wrobot.eu/forums/topic/1381-repairinstall-wrobot/#comment-966 (step 14)
  8. Hello, can you read this: https://wrobot.eu/forums/topic/1381-repairinstall-wrobot/#comment-966 install slimdx
  9. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  10. Bonjour, Dans "Advanced general settings" vous pouvez utiliser "My Macros"
  11. Droidz

    SellItem error

    Hello, wait next update
  12. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  13. Hello, I don't sell and don't use your personal informations, I request these because I am obliged to have invoices of my sales (for my company, I need to keep these informations 5 years, it's the laws of my country).
  14. Hello, Me.IsSitting is not in WRobot api, you cannot detect if your character is sit or not. Correct plugin code seem more like (not work) : using System.Threading; using wManager.Plugin; using wManager.Wow.Helpers; public class Main : IPlugin { public void Initialize() { while (Conditions.ProductIsStarted) { if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause) { if (robotManager.Helpful.Logging.Status == "Regeneration") { if (!wManager.Wow.ObjectManager.ObjectManager.Me.IsSitting) { wManager.Wow.Helpers.Move.SitStandOrDescend(); Thread.Sleep(1000); } } } Thread.Sleep(500); } } public void Dispose() { } public void Settings() { } } Try this: using System.ComponentModel; using System.Threading; using robotManager.FiniteStateMachine; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.FiniteStateMachineEvents.OnRunState += delegate(Engine engine, State state, CancelEventArgs cancelable) { if (state.DisplayName == "Regeneration") { Move.SitStandOrDescend(); Thread.Sleep(1000); } }; } public void Dispose() { } public void Settings() { } }
  15. https://wrobot.eu/forums/topic/9777-sitting-during-regeneration/
  16. Hello, it is normally automatic, do you use wow addons? if yes try to disable all.
  17. Hello, https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=13088
  18. Droidz

    Vanila Set Target in code

    Hello, use Me.Target (instead Me.Focus)
  19. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  20. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  21. Droidz

    求帮助

    Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  22. Hello, can you read this: https://wrobot.eu/forums/topic/1381-repairinstall-wrobot/#comment-966 If you problem is not resolved, can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  23. Hello, this is sample code with defaut condition: GoToTask.ToPosition(Vector3.Zero, 3.5f, false, context => Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore);
  24. GetDistance is good it is distance from the center of player to the center of the unit. I use PositionWithoutType to avoid useless step (check if fly or swimming) (for performance, but that does not change the result). I'll add: public float GeHitBoxtDistance { get { try { var d = PositionWithoutType.DistanceTo(ObjectManager.Me.PositionWithoutType) - CombatReach - ObjectManager.Me.CombatReach; if (d < 0) d = 0; return d; } catch (Exception e) { Logging.WriteError("WoWUnit > GeHitBoxtDistance: " + e); return 0; } } } Current, for spell.isgooddistance I use: public bool IsDistanceGood { get { try { if (ObjectManager.ObjectManager.Target.IsValid) { float combatReach = 0; if (wManagerSetting.CurrentSetting.CalcuCombatRange) combatReach = ObjectManager.ObjectManager.Target.CombatReach; if (ObjectManager.ObjectManager.Target.GetDistance <= MaxRange + combatReach && (ObjectManager.ObjectManager.Target.GetDistance >= MinRange - combatReach)) { return true; } } return false; } catch (Exception exception) { Logging.WriteError("Spell > IsDistanceGood: " + exception); return true; } } } And to get player combat range (from fightcalss settings): public static float GetRange { get { try { if (_instanceFromOtherAssembly != null) { float range; if (_instanceFromOtherAssembly.Range < 6.5f) { range = 2.7f; if (wManagerSetting.CurrentSetting.CalcuCombatRange && ObjectManager.ObjectManager.Target.IsValid) { range += ObjectManager.ObjectManager.Target.CombatReach; } if (range < 3.5) range = 3.5f; } else { range = _instanceFromOtherAssembly.Range; if (wManagerSetting.CurrentSetting.CalcuCombatRange && ObjectManager.ObjectManager.Target.IsValid) { range += ObjectManager.ObjectManager.Target.CombatReach - 1; } } return range; } return 4.5f; } catch (Exception exception) { Logging.WriteError("CustomClass > GetRange: " + exception); return 5.0f; } } } I will check that (GetRange and isgooddistance), I take note
  25. Changed Status to Confirmed Changed Version to All
×
×
  • Create New...