Jump to content
  • UC-> Northrend zepp


    lsabakal
    • Product: Quester Type: Bug Status: Unconfirmed

    return Usefuls.ContinentId == (int) ContinentId.Azeroth;
    return Usefuls.ContinentId == (int) ContinentId.Northrend && !ObjectManager.Me.InTransport;

    // Sample of how to use Zeppelin/Ship

    /* Quest settings:
        * Can condition: "return Usefuls.ContinentId == (int) ContinentId.Azeroth;"
        * 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 = 181689; // Zeppelin/Ship EntryId
    // From
    var fromZeppelinWaitPosition = new Vector3(2056.493, 381.6347, 100.362); // Position where Zeppelin/Ship waits players (from)
    var fromPlayerWaitPosition = new Vector3(2062.561f, 360.3267f, 82.48441f); // Position where the player waits Zeppelin/Ship (from)
    var fromPlayerInZeppelinPosition = new Vector3(2060.485f, 369.5409f, 82.4969f); // Position where the player waits in the Zeppelin/Ship (from)
    // To
    var toZeppelinWaitPosition = new Vector3(1989.353f, -6082.776f, 85.59646f); // Position where Zeppelin/Ship waits players (to)
    var toPlayerLeavePosition = new Vector3(1971.037f, -6102.614f, 67.15821f); // 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) < 2)
                {
                    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) < 2)
            {
                GoToTask.ToPosition(toPlayerLeavePosition);
            }
        }
    }
    return true;

    [D] 09:43:02 - [Quester] New step (784): UcNortrend>PulseAllInOne
    [N] 09:43:02 - [Path-Finding] FindPath from 2066,194 ; 347,5914 ; 82,38099 ; "None" to 2062,561 ; 360,3267 ; 82,48441 ; "None" (Azeroth)
    [N] 09:43:02 - [Path-Finding] Path Count: 2 (13,24361y, 319ms)
    [D] 09:43:02 - [Wholesome Inventory Manager]: Adjusting Light Throwing Knife DPS (1,25) to 0,0625
    [N] 09:43:03 - [Path-Finding] FindPath from 2063,209 ; 358,0473 ; 82,46566 ; "None" to 2060,485 ; 369,5409 ; 82,4969 ; "None" (Azeroth)
    [N] 09:43:03 - [Path-Finding] Path Count: 3 (11,60452y, 0ms)
    [D] 09:44:17 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [D] 09:44:18 - [Info] Continent change, Azeroth to Northrend
    [D] 09:44:18 - [Blacklist] Added, 0 uniques Npcs, 0 Blackspots and 0 Npcs types (Training dummy ignored = True).
    [D] 09:44:18 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [D] 09:44:18 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)

    so, the bot sits down in the zepp at undercity, flying to northrend and cant go out of the zepp there @Droidz

     



    User Feedback

    Recommended Comments

    Am reverse it to Northrend->Azeroth and the bot dont even move, no errors, ids and coords are correct.
    prolly return Usefuls.ContinentId == (int) ContinentId.Northrend doesnt work at all.

    Link to comment
    Share on other sites

    Same for zepp OG->Northrend

    13:15:48 - [Quester] Started
    [D] 13:15:48 - [Spell] Kick (Id found: 1766, Name found: Kick, NameInGame found: Kick, Know = True, IsSpellUsable = True)
    [D] 13:15:48 - [Spell] Eviscerate (Id found: 26865, Name found: Eviscerate, NameInGame found: Eviscerate, Know = True, IsSpellUsable = False)
    13:15:48 - [Wholesome Inventory Manager]: Last update attempts was 26 seconds ago. Exiting updater.
    13:15:48 - [Wholesome Inventory Manager]: Launching version 3.0.8642.38336 on client WOTLK
    [D] 13:15:48 - [Spell] Sprint (Id found: 11305, Name found: Sprint, NameInGame found: Sprint, Know = True, IsSpellUsable = False)
    [D] 13:15:48 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [N] 13:15:49 - [Path-Finding] FindPath from 1158,028 ; -4168,206 ; 51,64634 ; "None" to 1180,797 ; -4147,448 ; 51,93883 ; "None" (Kalimdor)
    [N] 13:15:49 - [Path-Finding] Path Count: 4 (30,92795y, 493ms)
    [D] 13:15:50 - [Wholesome Inventory Manager]: Adjusting Light Throwing Knife DPS (1,25) to 0,0625
    [D] 13:17:19 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [D] 13:17:19 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [F] 13:17:21 - [Spell] Cast Sprint (Sprint)
    [N] 13:17:26 - [Path-Finding] FindPath from 1178,831 ; -4149,542 ; 51,88995 ; "None" to 1187,585 ; -4144,96 ; 52,78218 ; "None" (Kalimdor)
    [N] 13:17:26 - [Path-Finding] Path Count: 3 (10,00746y, 266ms)
    [D] 13:19:06 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [D] 13:19:06 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [D] 13:19:06 - [Info] Continent change, Kalimdor to Northrend
    [D] 13:19:06 - [Blacklist] Added, 0 uniques Npcs, 0 Blackspots and 0 Npcs types (Training dummy ignored = True).
    [D] 13:19:06 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    13:20:04 - [DestroyItems] Stop in progress.
    13:20:04 - [Wholesome Inventory Manager]: Disposed
    13:20:04 - [Quester] Stopped

    Link to comment
    Share on other sites

    Hello,

    I think that when the game changes continent, the bot changes quest (step) ('return Usefuls.ContinentId == (int) ContinentId.Azeroth' will return false). Try putting the part where the bot leaves the ship in another 'Quest'.

    Link to comment
    Share on other sites

    1 hour ago, Droidz said:

    Hello,

    I think that when the game changes continent, the bot changes quest (step) ('return Usefuls.ContinentId == (int) ContinentId.Azeroth' will return false). Try putting the part where the bot leaves the ship in another 'Quest'.

    Doesn't working. 

    Link to comment
    Share on other sites

    21:19:36 - [Quester] Started
    21:19:36 - [DestroyItems] Launched
    [F] 21:19:36 - [Spell] Cast Sprint (Sprint)
    21:19:36 - [Wholesome Inventory Manager]: Your version is up to date (3.0.8642.38336 / 3.0.8642.38336)
    21:19:36 - [Wholesome Inventory Manager]: Launching version 3.0.8642.38336 on client WOTLK
    [D] 21:19:36 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [N] 21:19:36 - [Path-Finding] FindPath from 1169,584 ; -4152,734 ; 51,64627 ; "None" to 1180,797 ; -4147,448 ; 51,93883 ; "None" (Kalimdor)
    [N] 21:19:37 - [Path-Finding] Path Count: 2 (12,40014y, 466ms)
    [D] 21:19:37 - [Wholesome Inventory Manager]: Adjusting Light Throwing Knife DPS (1,25) to 0,0625
    [N] 21:19:53 - [Path-Finding] FindPath from 1178,766 ; -4148,409 ; 51,89547 ; "None" to 1187,585 ; -4144,96 ; 52,78218 ; "None" (Kalimdor)
    [N] 21:19:53 - [Path-Finding] Path Count: 3 (9,531476y, 232ms)
    [D] 21:21:32 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [D] 21:21:32 - [Quester] New step (1): OgNorthrend2>PulseAllInOne
    [D] 21:21:33 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [D] 21:21:33 - [Spell] Dual Wield (Id found: 674, Name found: Dual Wield, NameInGame found: Dual Wield, Know = True, IsSpellUsable = True)
    [D] 21:21:33 - [Info] Continent change, Kalimdor to Northrend
    [D] 21:21:33 - [Blacklist] Added, 0 uniques Npcs, 0 Blackspots and 0 Npcs types (Training dummy ignored = True).
    21:22:14 - [DestroyItems] Stop in progress.
    21:22:14 - [Wholesome Inventory Manager]: Disposed
    21:22:14 - [Quester] Stopped
    21:22:14 - [DestroyItems] Stopped

    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...