bot.stayPut( .. ); - The bot will constantly attempt to teleport back to its set position. Good for recovery after region restarts.

This commit is contained in:
Casper Warden
2018-10-09 20:17:32 +01:00
parent da9fe9710c
commit fefdada38e
4 changed files with 33 additions and 1 deletions

View File

@@ -23,6 +23,13 @@ const options = nmv.BotOptionFlags.LiteObjectStore | nmv.BotOptionFlags.StoreMyA
const bot = new nmv.Bot(loginParameters, options);
// This will tell the bot to keep trying to teleport back to the 'stay' location.
// You can specify a region and position, such as:
// bot.stayPut(true, 'Izanagi', new Vector3([128, 128, 21]));
// Note that the 'stay' location will be updated if you request or accept a lure (a teleport).
// If no region is specified, it will be set to the region you log in to.
bot.stayPut(true);
let isConnected = false;
const master = 'd1cd5b71-6209-4595-9bf0-771bf689ce00';