Jump to content

Droidz

Administrators
  • Posts

    12581
  • 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. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  3. Droidz

    求帮助

    Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  4. 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/ ).
  5. Hello, this is sample code with defaut condition: GoToTask.ToPosition(Vector3.Zero, 3.5f, false, context => Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore);
  6. 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
  7. Changed Status to Confirmed Changed Version to All
  8. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  9. Hello, you get this problem only with this food item?
  10. Hello, I don"t found problem in your log
  11. Hello, GetDistance retourn "PositionWithoutType.DistanceTo(ObjectManager.Me.PositionWithoutType);" You want than I add method to return "Position.DistanceTo(ObjectManager.Me.Position) - this.CombatReach - ObjectManager.Me.CombatReach"?
  12. Droidz

    [TBC] Memory leak?

    This problem is only in TBC, I ignore if it is server or client bug, and I ignore how to fix that
  13. Droidz

    Relogger pause function

    Hello, you can do this to wait: https://wrobot.eu/forums/topic/9656-cant-run-10-sessions/?do=findComment&amp;comment=45078
  14. Droidz

    Relogger pause function

    Changed Status to Confirmed Changed Version to All
  15. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  16. Try to follow this guide: https://wrobot.eu/forums/topic/1381-repairinstall-wrobot/#comment-966
  17. I found why. Edit file "WRobot\Settings\RobotManagerGlobalSetting.xml" and use same "ArgsEnvironmentVariables" in all WRobot installs
  18. 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/ ).
  19. Hello, Fightclass thread is in pause when you cast spell, remove condition "'Me In Cast = true"
  20. Droidz

    [TBC] Memory leak?

    Change continent (dead? logout?) seem to clean objectmanager. Can you try with the new update and tell me if this change something about CPU usage.
  21. Hello, can you read this: https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ (try to install slimdx) Try to disable all plugins/fightclass and reactivate them one per one
  22. Hello, i need log file (disable your wow addons)
  23. hello, try also to disable your wow addons
  24. Droidz

    [TBC] Memory leak?

    Hello, in tbc all items seems to be keep in memory (in the objectmanager), when you go to big city (with a lot of players and a lot of items (equipped)) or after few hours you can get bigger CPU usages.
  25. Last question, do you use wow addons? if yes you have try without? Normally WRobot detect spells of food items
×
×
  • Create New...