Jump to content

Droidz

Administrators
  • Posts

    12510
  • Joined

  • Last visited

Everything posted by Droidz

  1. Hello, you need to use lua, look this sample https://wrobot.eu/files/file/453-dungeon-the-temple-of-atalhakkar/
  2. Hello, try to use another figthclass.
  3. Hello, the more easy way is to dispose fightclass: wManager.Wow.Helpers.CustomClass.DisposeCustomClass(); wManager.Wow.Helpers.CustomClass.LoadCustomClass(); You can also try to cancel spell state (but this will works only with xml fightclasses): robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += delegate (robotManager.FiniteStateMachine.Engine engine, robotManager.FiniteStateMachine.State state, System.ComponentModel.CancelEventArgs cancelable) { try { var s = state as wManager.Wow.Bot.States.SpellState; if (s != null) { if (s.Spell.Name.StartsWith("Call Pet")) cancelable.Cancel = true; } } catch { } };
  4. https://wrobot.eu/forums/topic/8959-botstates/
  5. You can try bool added = false; robotManager.FiniteStateMachine.State myState = null; // ... robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += delegate (robotManager.FiniteStateMachine.Engine engine, robotManager.FiniteStateMachine.State state, System.ComponentModel.CancelEventArgs cancelable) { if (added) return; if (state.DisplayName == "Quester") { added = true; state.NextStates.Add(myState); //engine.AddState(myState); //state.BeforeStates.Add(myState); } }; (replace "null" line 2 by your state instance)
  6. try string stepName = "MyStepName"; var p = wManager.Wow.Helpers.Quest.QuesterCurrentContext.Profile as Quester.Profile.QuesterProfile; if (p != null) { for (int i = 0; i < p.QuestsSorted.Count; i++) { if (p.QuestsSorted[i].Action == wManager.Wow.Class.QuestAction.StepName && p.QuestsSorted[i].NameClass == stepName) { wManager.Wow.Helpers.Quest.QuesterCurrentContext.CurrentStep = i; break; } } }
  7. 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/ ).
  8. Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  9. CombatReach is calculed by server and he is in relation to the mob size ( https://github.com/mangoszero/server/blob/52454825c7e1435ff53f32f9edf9fe7dca10ec08/src/game/Object/Unit.cpp#L8842 ). I think than server send bad value (or when you cast spell he don't check distance like Wow).
  10. Hello, do you use wow addons? wrobot plugins? can you share you log (and tell when you get this error)
  11. Hello, wManager.Wow.ObjectManager.ObjectManager.Me.IsMovingForward But this detect if player move forward (not only if togglerun is active)
  12. Ok, else you can also create wrapper product (to get full access to "quester" product and override product settings tab) (create your own product and load yourself Quester)
  13. Hello, try to close proxy, firewall and antivirus
  14. ????? Reinstall WRobot in new folder to make clean install will probably resolve your problem
  15. Hello, if you play in legion, you can: wManager.Wow.Helpers.Interact.InteractGameObject(address, true, true, true); bool InteractGameObject(Ptr baseAddress, bool stopMove = false, bool skipWaitTime = false, bool leftClick = false)
  16. 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/ ).
  17. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  18. Hello, spell.IsDistanceGood (and distance check option in fightclasses editor) test only max distance (not min spell distance). I tested this code and he seem to works: float min = 8, max = 35; var cMin = ObjectManager.Target.GetDistance - ObjectManager.Target.CombatReach - ObjectManager.Me.CombatReach; var cMax = ObjectManager.Target.GetDistance + ObjectManager.Target.CombatReach + ObjectManager.Me.CombatReach; bool inRange = cMin >= min && cMax <= max; Logging.Write("cMin = " + cMin + " - cMax" + cMax + " - inRange= " + inRange); One line (for xml fightclass): ((ObjectManager.Target.GetDistance - ObjectManager.Target.CombatReach - ObjectManager.Me.CombatReach) >= 8 && (ObjectManager.Target.GetDistance + ObjectManager.Target.CombatReach + ObjectManager.Me.CombatReach) <= 35)
  19. Hello, bool added = false; robotManager.FiniteStateMachine.State myState = null; // ... robotManager.Events.FiniteStateMachineEvents.OnAddState += delegate (robotManager.FiniteStateMachine.Engine engine, robotManager.FiniteStateMachine.State state, System.ComponentModel.CancelEventArgs cancelable) { if (added) return; if (state.DisplayName == "Quester") { added = true; state.NextStates.Add(myState); //engine.AddState(myState); //state.BeforeStates.Add(myState); } };
  20. Do you have try to redownload and reinstall WRobot in new folder?
  21. Hello, try to run this c# code (in steps) before to pulse your quest: wManager.wManagerSetting.CurrentSetting.ListHarvest.Add(192518);
  22. What is resolve when you run command tracert wrobot.eu in command prompt?
×
×
  • Create New...