itsdax / Runescape-Web-Walker-Engine

A navigation engine for OSRS written for TriBot
https://tribot.org/
Apache License 2.0
81 stars 37 forks source link

Revenant cave crevice bug #205

Closed Shardzx closed 11 months ago

Shardzx commented 1 year ago

This bug happens on multiple tribot scripts. If the bot's started near the wildy altar (Jagex update/bot bugs etc usualy requires our bot to restart). The bot tries to path into this crevice and it gets stuck.

AnyDesk_57L3fY2g6t

28] [Walker Engine] We are less than 10 tiles away from the start tile; skipping teleports. [14:15:28] [Walker Engine] PATH_DEBUG[ 2957, 3821, 0) -> OBJECT_BLOCKING -> (2958, 3821, 0) ] [14:15:28] [Walker Engine] Handling Object... [14:15:28] [Object Handler] Detected: Large door Large door [14:15:28] [Object Handler] Sort Order: Large door [Open], Large door [Open], [14:15:29] [Object Handler] Interacting with (Large door) at (2958, 3820, 0) with options: [Open] SUCCESS [14:15:32] [Walker Engine] Randomize(2972,3815,0) -> (2973,3815,0) [14:15:37] [Walker Engine] Randomize(2979,3808,0) -> (2979,3809,0) [14:15:40] [Walker Engine] Randomize(2986,3801,0) -> (2986,3800,0) [14:15:42] [Walker Engine] Randomize(2992,3795,0) -> (2991,3795,0) [14:15:44] [Walker Engine] Randomize(2998,3792,0) -> (2999,3792,0) [14:15:45] [Walker Engine] Randomize(3005,3788,0) -> (3006,3789,0) [14:15:47] [Walker Engine] Randomize(3012,3785,0) -> (3012,3786,0) [14:15:50] [Walker Engine] Randomize(3020,3785,0) -> (3019,3785,0) [14:15:52] [Walker Engine] Randomize(3026,3780,0) -> (3025,3780,0) [14:15:56] [Walker Engine] Randomize(3034,3772,0) -> (3034,3771,0) [14:15:58] [Walker Engine] Randomize(3042,3767,0) -> (3043,3767,0) [14:16:01] [Walker Engine] Randomize(3048,3761,0) -> (3049,3761,0) [14:16:03] [Walker Engine] Randomize(3054,3755,0) -> (3055,3756,0) [14:16:05] [Walker Engine] Randomize(3059,3750,0) -> (3060,3750,0) [14:16:07] [Walker Engine] Randomize(3063,3744,0) -> (3063,3743,0) [14:16:09] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:09] [Walker Engine] Handling Object... [14:16:09] [Object Handler] Detected: Crevice [14:16:09] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:10] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:16:11] [Walker Engine] Failed attempt on action. [14:16:12] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:12] [Walker Engine] Handling Object... [14:16:12] [Object Handler] Detected: Crevice [14:16:12] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:13] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] SUCCESS [14:16:22] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:22] [Walker Engine] Handling Object... [14:16:22] [Object Handler] Detected: Crevice [14:16:22] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:24] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:16:24] [Walker Engine] Failed attempt on action. [14:16:25] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:25] [Walker Engine] Handling Object... [14:16:25] [Object Handler] Detected: Crevice [14:16:25] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:27] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:16:29] [Walker Engine] Failed attempt on action. [14:16:31] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:31] [Walker Engine] Handling Object... [14:16:31] [Object Handler] Detected: Crevice [14:16:31] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:32] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:16:34] [Walker Engine] Failed attempt on action. [14:16:37] [Walker Engine] Too many failed attempts

16:38] [Walker Engine] We are less than 10 tiles away from the start tile; skipping teleports. [14:16:38] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:38] [Walker Engine] Handling Object... [14:16:38] [Object Handler] Detected: Crevice [14:16:38] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:40] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:16:40] [Walker Engine] Failed attempt on action. [14:16:42] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:42] [Walker Engine] Handling Object... [14:16:42] [Object Handler] Detected: Crevice [14:16:42] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:43] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:16:45] [Walker Engine] Failed attempt on action. [14:16:48] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:48] [Walker Engine] Handling Object... [14:16:48] [Object Handler] Detected: Crevice [14:16:48] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:49] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:16:51] [Walker Engine] Failed attempt on action. [14:16:53] [Walker Engine] Too many failed attempts

[14:16:53] [Walker Engine] We are less than 10 tiles away from the start tile; skipping teleports. [14:16:54] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:54] [Walker Engine] Handling Object... [14:16:54] [Object Handler] Detected: Crevice [14:16:54] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:55] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:16:56] [Walker Engine] Failed attempt on action. [14:16:57] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:16:57] [Walker Engine] Handling Object... [14:16:57] [Object Handler] Detected: Crevice [14:16:57] [Object Handler] Sort Order: Crevice [Jump-Down], [14:16:59] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:17:01] [Walker Engine] Failed attempt on action. [14:17:04] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:17:04] [Walker Engine] Handling Object... [14:17:04] [Object Handler] Detected: Crevice [14:17:04] [Object Handler] Sort Order: Crevice [Jump-Down], [14:17:06] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:17:08] [Walker Engine] Failed attempt on action. [14:17:11] [Walker Engine] Too many failed attempts

[14:17:11] [Walker Engine] We are less than 10 tiles away from the start tile; skipping teleports. [14:17:11] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:17:11] [Walker Engine] Handling Object... [14:17:12] [Object Handler] Detected: Crevice [14:17:12] [Object Handler] Sort Order: Crevice [Jump-Down], [14:17:13] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:17:14] [Walker Engine] Failed attempt on action. [14:17:15] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:17:15] [Walker Engine] Handling Object... [14:17:15] [Object Handler] Detected: Crevice [14:17:15] [Object Handler] Sort Order: Crevice [Jump-Down], [14:17:17] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:17:19] [Walker Engine] Failed attempt on action. [14:17:21] [Walker Engine] PATH_DEBUG[ 3066, 3740, 0) -> OBJECT_BLOCKING -> (3067, 3740, 0) ] [14:17:21] [Walker Engine] Handling Object... [14:17:21] [Object Handler] Detected: Crevice [14:17:21] [Object Handler] Sort Order: Crevice [Jump-Down], [14:17:23] [Object Handler] Interacting with (Crevice) at (3067, 3740, 0) with options: [Jump-Down] FAIL [14:17:25] [Walker Engine] Failed attempt on action. [14:17:28] [Walker Engine] Too many failed attempts

BegTribot commented 1 year ago

+1 It can be reproduced by calling walkToBank while on upper levels of wilderness (e.g. Chaos altar / Lava maze)

FALSkills commented 1 year ago

I will fix the issue where it is pathing through rev caves - it is caused because the wilderness has a higher pathing cost, but the Rev caves did not have the same additional pathing cost applied to them. I'm adding the additional cost to the wilderness slayer cave as well.

Can you send me the widget that is up for the rev caves? I will add it to the DoomsToggle class so that the walker engine handles it properly

BegTribot commented 11 months ago

Can you send me the widget that is up for the rev caves? I will add it to the DoomsToggle class so that the walker engine handles it properly

All i'm getting is this image

image

FALSkills commented 11 months ago

Hopefully fixed in this 9055eb7df22b33a04899c557b60914b59831ebb4 added a special object handler for rev cave objects. also added the doomstoggle handler. this will need to be synced to the tribot api