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
Recommended Comments
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 accountSign in
Already have an account? Sign in here.
Sign In Now