This commit is contained in:
max bittker committed 2026-01-28 19:36:15 -05:00
1 parent 347ea327aa
commit caafd63ab5
3 files changed
+8 -1

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
[install]
auto = true
+4
View File
@@ -73,6 +73,8 @@ export interface NearbyNpc {
animId: number;
spotanimId: number;
optionsWithIndex: NpcOption[];
/** Convenience array of option text strings */
options: string[];
}
export interface NearbyPlayer {
@@ -105,6 +107,8 @@ export interface NearbyLoc {
z: number;
distance: number;
optionsWithIndex: LocOption[];
/** Convenience array of option text strings */
options: string[];
}
export interface GameMessage {
+2 -1
View File
@@ -320,9 +320,10 @@ export async function skipTutorial(sdk: BotSDK, maxAttempts: number = 30): Promi
return isOnTutorialIsland(s.player.worldX, s.player.worldZ);
};
const bot = new BotActions(sdk);
let attempts = 0;
while (isInTutorial() && attempts < maxAttempts) {
await sdk.sendSkipTutorial();
await bot.skipTutorial();
await sleep(1000);
attempts++;
}