Jump to content
  • wotlk Cath zepp


    lsabakal
    • Version: All Product: Quester Type: Bug Status: Not a Bug

    User Feedback

    Recommended Comments

    // Sample of how to use Zeppelin/Ship
    // In this sample, WRobot catch Zeppelin from Kalimdor (Ogrimmard) to Northrend (Borean Tundra (Warsong Hold))

    /* Quest settings:
        * Can condition: "return Usefuls.ContinentId == (int) ContinentId.Kalimdor;"
        * Is complete condition: "return Usefuls.ContinentId == (int) ContinentId.Northrend && !ObjectManager.Me.InTransport;"
        * Not required in quest log: "True"
        * Quest type: "OverridePulseCSharpCode"
    */

    // You can get zeppelin/ship/player positions and entry ID in tab "Tools" > "Development Tools" > "Dump all informations" (or "Memory information").

    // Settings:
    var zeppelinEntryId = 195459; // Zeppelin/Ship EntryId
    // From
    var fromZeppelinWaitPosition = new Vector3(2068.04f, 354.245f, 85.71f); // Position where Zeppelin/Ship waits players (from)
    var fromPlayerWaitPosition = new Vector3(2061.373f, 363.7445f, 82.51044f); // Position where the player waits Zeppelin/Ship (from)
    var fromPlayerInZeppelinPosition = new Vector3(2058.634f, 371.8631f, 82.52946f); // Position where the player waits in the Zeppelin/Ship (from)
    // To
    var toZeppelinWaitPosition = new Vector3(2843.724, 6190.662, 122.3225); // Position where Zeppelin/Ship waits players (to)  (this one is old from orgrimmar, but its doesnt matter cause the bot can't step in zepp
    var toPlayerLeavePosition = new Vector3(2832.571, 6181.265, 121.9834); // Position to go out the Zeppelin/Ship (to)

    // Change WRobot settings:
    wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = false;

    // Code:
    if (!Conditions.InGameAndConnectedAndProductStartedNotInPause)
        return true;

    if (Usefuls.ContinentId == (int)ContinentId.Azeroth)
    {
        if (!ObjectManager.Me.InTransport)
        {
            if (GoToTask.ToPosition(fromPlayerWaitPosition))
            {
                var zeppelin = ObjectManager.GetWoWGameObjectByEntry(zeppelinEntryId).OrderBy(o => o.GetDistance).FirstOrDefault();
                if (zeppelin != null && zeppelin.Position.DistanceTo(fromZeppelinWaitPosition) < 1)
                {
                    GoToTask.ToPosition(fromPlayerInZeppelinPosition);
                }
            }
        }
    }
    else if (Usefuls.ContinentId == (int)ContinentId.Northrend)
    {
        if (ObjectManager.Me.InTransport)
        {
            var zeppelin = ObjectManager.GetWoWGameObjectByEntry(zeppelinEntryId).OrderBy(o => o.GetDistance).FirstOrDefault();
            if (zeppelin != null && zeppelin.Position.DistanceTo(toZeppelinWaitPosition) < 1)
            {
                GoToTask.ToPosition(toPlayerLeavePosition);
            }
        }
    }
    return true;
     

    Link to comment
    Share on other sites

    Hello,

    Check the positions and ID, add lines of logs to help you debug, it will be difficult to help you. Optionally disable game addons to make sure it doesn't interfere with the bot.

    Link to comment
    Share on other sites

    20 hours ago, Droidz said:

    Hello,

    Check the positions and ID, add lines of logs to help you debug, it will be difficult to help you. Optionally disable game addons to make sure it doesn't interfere with the bot.

    [Quester] New step (280): ZeppToNorthrend>Pulse

    [Path-Finding] FindPath from 2023,456 ; 283,0157 ; 52,73145 ; "None" to 2063,781 ; 360,1398 ; 82,47793 ; "None" (Azeroth)

    [Path-Finding] Path Count: 27 (158,8257y, 408ms)
     

    And its waiting for eternity, dont move at all. All addons is dissabled. 

    With id's and coordinates everythins is ok

    this zepp is from Undercity should try from Orgrimmar

    Link to comment
    Share on other sites

    RunState(State state): > State Quester - System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
       в  .Run()
       в robotManager.FiniteStateMachine.Engine.(State )
    this error in Orgrimmar

    Link to comment
    Share on other sites

    // Sample of how to use Zeppelin/Ship
    // In this sample, WRobot catch Zeppelin from Kalimdor (Ogrimmard) to Northrend (Borean Tundra (Warsong Hold))

    /* Quest settings:
        * Can condition: "return Usefuls.ContinentId == (int) ContinentId.Kalimdor;"
        * Is complete condition: "return Usefuls.ContinentId == (int) ContinentId.Northrend && !ObjectManager.Me.InTransport;"
        * Not required in quest log: "True"
        * Quest type: "OverridePulseCSharpCode"
    */

    // You can get zeppelin/ship/player positions and entry ID in tab "Tools" > "Development Tools" > "Dump all informations" (or "Memory information").

    // Settings:
    var zeppelinEntryId = 186238; // Zeppelin/Ship EntryId
    // From
    var fromZeppelinWaitPosition = new Vector3(1185,022, -4144,208, 70,62553); // Position where Zeppelin/Ship waits players (from)
    var fromPlayerWaitPosition = new Vector3(1180.346, -4147.858, 51.92951); // Position where the player waits Zeppelin/Ship (from)
    var fromPlayerInZeppelinPosition = new Vector3(1192.21, -4142.54, 52.74133); // Position where the player waits in the Zeppelin/Ship (from)
    // To
    var toZeppelinWaitPosition = new Vector3(2837.908, 6187.443, 140.1648); // Position where Zeppelin/Ship waits players (to)
    var toPlayerLeavePosition = new Vector3(2836.5, 6184.367, 121.9332); // Position to go out the Zeppelin/Ship (to)

    // Change WRobot settings:
    wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = false;

    // Code:
    if (!Conditions.InGameAndConnectedAndProductStartedNotInPause)
        return true;

    if (Usefuls.ContinentId == (int)ContinentId.Kalimdor)
    {
        if (!ObjectManager.Me.InTransport)
        {
            if (GoToTask.ToPosition(fromPlayerWaitPosition))
            {
                var zeppelin = ObjectManager.GetWoWGameObjectByEntry(zeppelinEntryId).OrderBy(o => o.GetDistance).FirstOrDefault();
                if (zeppelin != null && zeppelin.Position.DistanceTo(fromZeppelinWaitPosition) < 1)
                {
                    GoToTask.ToPosition(fromPlayerInZeppelinPosition);
                }
            }
        }
    }
    else if (Usefuls.ContinentId == (int)ContinentId.Northrend)
    {
        if (ObjectManager.Me.InTransport)
        {
            var zeppelin = ObjectManager.GetWoWGameObjectByEntry(zeppelinEntryId).OrderBy(o => o.GetDistance).FirstOrDefault();
            if (zeppelin != null && zeppelin.Position.DistanceTo(toZeppelinWaitPosition) < 1)
            {
                GoToTask.ToPosition(toPlayerLeavePosition);
            }
        }
    }
    return true;

    Link to comment
    Share on other sites

    Hello,

    Replace 

    var fromZeppelinWaitPosition = new Vector3(1185,022, -4144,208, 70,62553); // Position where Zeppelin/Ship waits players (from)

    by

    var fromZeppelinWaitPosition = new Vector3(1185.022, -4144.208, 70.62553); // Position where Zeppelin/Ship waits players (from)

     

    Link to comment
    Share on other sites

    yes i were didnt see the comas, there need dots..

    at the moment the bugg is still owerhere, the bot keep waiting the zepp... everything is clear this time, right cordinates, everything ok

     

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...