Jump to content

79135

WRobot user
  • Posts

    336
  • Joined

  • Last visited

Posts posted by 79135

  1. 35 minutes ago, CocoChanel said:

    They have a system that doesn't have anything to do with warden. Sometimes mobs will act weird, and if the bot follows the character fully, you will get caught. I saw this first hand when my warrior was grinding mobs in Feralas, and then all of a sudden my target became a friendly mob and started running around in circles. I stopped the bot right when I saw it, and avoided the ban. 

    I saw it still 5-6 mouth ago

  2. 57 minutes ago, Apexx said:

    You can Subscribe to the events inside the Initialize() Method like the following (be sure to Unsubscribe from the event on Dispose):

    ** Code is not tested **

    
    public void Initialize()
    {
    	wManager.Events.FightEvents.OnFightEnd += FightEventsOnFightEnd;	// Subscribe to the Event
    	_isLaunched = true;
    	// ...
    }
    
    public void Dispose()
    {
     	wManager.Events.FightEvents.OnFightEnd -= FightEventsOnFightEnd;	// Unsubscribe from the Event
    	_isLaunched = false;
    	// ...
    }
    
    private void FightEventsOnFightEnd (ulong guid)
    {
    	Random _rand = new Random();
        Logging.WriteDebug("FightEventsOnFightEnd()");
      	// Wait some random time
      	Thread.Sleep(_rand.Next(2000, 5000));
    }


     

    I need only the event: robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>. I use the plugin for running in ghost.

  3. How to stop the event, event start again and again even the char running.

    using System;
    using System.Threading;
    using robotManager.Helpful;
    using robotManager.Products;
    using wManager.Plugin;
    using wManager.Wow.Helpers;
    using System.Collections.Generic;
    using System.Linq;
    using robotManager.FiniteStateMachine;
    using wManager;
    using wManager.Wow.Bot.States;
    using wManager.Wow.Enums;
    using wManager.Wow.ObjectManager;
    using robotManager;
    using MemoryRobot;
    using Memory = wManager.Wow.Memory;
    using Timer = robotManager.Helpful.Timer;
    using Math = robotManager.Helpful.Math;
    using System.Windows.Forms;


    public class Main : IPlugin
    {
        private bool _isLaunched;

        public void Initialize()
        {
            _isLaunched = true;

            back:

            Thread.Sleep(5000);
            Logging.Write("begin");

            if (!MovementManager.InMovement)
            {
                robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
                {
                    Logging.Write("event still work");

                    robotManager.Products.Products.InPause = true;
                    Thread.Sleep(1000);
                    robotManager.Products.Products.InPause = false;
                };
                goto back;
            }
        }
        public void Dispose()
        { }
        public void Settings()
        { }
    }

  4. How to force bot runaway from evading mob(sometimes the monster runs into some object and the character just looks at the monster trying to attack it) 

    wManager.wManagerSetting.CurrentSetting.DetectEvadingMob = true; dont helped. 

    I want to do it without plugin, use just FC. 

    1.int healthTargetStart =ObjectManager.Target.Health;

    2.Thread.Sleep(20000);

    3.int healthTargetFinish =ObjectManager.Target.Health;

    4.if(healthTargetStart == healthTargetFinish)

    5.Move.Backward(Move.MoveAction.PressKey,5000);  or BlackList the mob and skip it.

    But in FC if i use the code with few CD, bot will be spend a lot of time (every 20 sec) on the action. Explain please how to do it differentle. Thanks.

    UPD. 

    How still put into items the gems with c shape?

  5. 2 hours ago, Matenia said:
    
    u.Type != WoWObjectType.Player

    Keep in mind, this won't actually do anything, players aren't listed in GetUnitAttackPlayer (as far as I know). So just iterate all players and filter for hostile players that are targeting you 

    Thank you). But mb  at the bot have another command for "GetAnotherPlayerAttackPlayer"?

  6. var unit = new WoWUnit(ObjectManager.GetObjectByGuid (17379391364021616671).GetBaseAddress);

    Fight.StopFight();
    ObjectManager.Me.Target = unit.Guid;  
    Fight.StopFight();

    If I use the code:

    var unit = new WoWUnit(ObjectManager.GetObjectByGuid (17379391364021616671).GetBaseAddress);

    wManager.Wow.Bot.Tasks.GoToTask.ToPosition(unit.Position); 
     

    Work good, but don't select target. If use macro for select target after I get to the goal - it not always correctly selects the target

     

  7. 3 minutes ago, Matenia said:

    By itself, it absolutely does not start the fight. It only sets the target.
    You can call Fight.StopFight() before and after. Why do you even need to target a unit? 

    I don't know why it happen, but char begin attack target even if I add Fight.StopFight() before and after.

  8. Just now, Matenia said:

    By itself, it absolutely does not start the fight. It only sets the target.
    You can call Fight.StopFight() before and after. Why do you even need to target a unit? 

    For pickpocketing

×
×
  • Create New...