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

"We are already somewhere along the path." #201

Closed Cass2186 closed 11 months ago

Cass2186 commented 1 year ago

I'm running into some issues with the walker generating paths from specific spots that seems related to collisions.

Bot Debug every time is along these lines: [15:08:32] [Walker Engine] We are already somewhere along the path. Destination details: PATH_DEBUG[ 3162, 3478, 0) -> FURTHEST_CLICKABLE_TILE -> (3163, 3479, 0) ] • [15:08:32] [Walker Engine] Could not grab destination details. • [15:08:32] [Walker Engine] Failed attempt on action.

Some examples: • [Warn] [PathingUtil] GlobalWalking failed to generate a path from (3330, 3459, 0) to (3361, 3506, 0) • [Warn] [PathingUtil] GlobalWalking failed to generate a path from (3185, 3440, 0) to (2403, 9767, 0) • [Warn] [PathingUtil] GlobalWalking failed to generate a path from (3185, 3438, 0) to (2475, 9798, 0)

Digsite barge to mine • ForegroundColor[255,136,0][22:14:16] [Warn] [PathingUtil] GlobalWalking failed to generate a path from (3362, 3445, 0) to (3360, 3506, 0)

Navigating Digsite to student 1 • [Warn] [PathingUtil] GlobalWalking failed to generate a path from (3356, 3383, 0) to (3347, 3427, 0)

FALSkills commented 1 year ago

Please provide full debugs so that I can see the whole picture of what is happening

Cass2186 commented 1 year ago

[16:10:22] [DaxWalker] Generating path: {"player":{"attack":45,"defence":40,"strength":39,"hitpoints":31,"ranged":1,"prayer":48,"magic":52,"cooking":4,"woodcutting":37,"fletching":19,"fishing":16,"firemaking":25,"crafting":37,"smithing":29,"mining":11,"herblore":9,"agility":37,"thieving":20,"slayer":1,"farming":17,"runecrafting":1,"hunter":1,"construction":1,"setting":[{"key":10,"value":0},{"key":11,"value":0},{"key":17,"value":14},{"key":32,"value":0},{"key":63,"value":0},{"key":68,"value":0},{"key":71,"value":0},{"key":101,"value":54},{"key":111,"value":9},{"key":116,"value":0},{"key":131,"value":0},{"key":144,"value":0},{"key":145,"value":0},{"key":150,"value":160},{"key":165,"value":0},{"key":176,"value":10},{"key":179,"value":0},{"key":212,"value":0},{"key":273,"value":0},{"key":299,"value":0},{"key":302,"value":61},{"key":307,"value":110},{"key":314,"value":0},{"key":335,"value":0},{"key":347,"value":10},{"key":351,"value":0},{"key":365,"value":0},{"key":371,"value":0},{"key":387,"value":0},{"key":399,"value":0},{"key":425,"value":0},{"key":437,"value":0},{"key":440,"value":0},{"key":482,"value":0},{"key":622,"value":0},{"key":655,"value":0},{"key":671,"value":25165914},{"key":705,"value":0},{"key":794,"value":0},{"key":810,"value":51694376},{"key":823,"value":0},{"key":869,"value":0},{"key":896,"value":0},{"key":964,"value":0},{"key":970,"value":0},{"key":1630,"value":0},{"key":1671,"value":0},{"key":1672,"value":16384}],"varbit":[{"key":192,"value":0},{"key":199,"value":0},{"key":357,"value":2},{"key":386,"value":0},{"key":1990,"value":0},{"key":2310,"value":0},{"key":2328,"value":1},{"key":3534,"value":0},{"key":3618,"value":0},{"key":3741,"value":0},{"key":4494,"value":0},{"key":4538,"value":0},{"key":4566,"value":0},{"key":4885,"value":0},{"key":4895,"value":200},{"key":4897,"value":1},{"key":5027,"value":0},{"key":5087,"value":0},{"key":5088,"value":0},{"key":5089,"value":0},{"key":5090,"value":0},{"key":5800,"value":0},{"key":5810,"value":0},{"key":6071,"value":0},{"key":6104,"value":0},{"key":7255,"value":0},{"key":7928,"value":0},{"key":9016,"value":0},{"key":10150,"value":0},{"key":13719,"value":0},{"key":13738,"value":0},{"key":13903,"value":0}],"member":true,"equipment":[{"key":552,"value":1},{"key":772,"value":1},{"key":544,"value":1},{"key":542,"value":1}],"inventory":[{"key":8007,"value":3},{"key":1552,"value":1},{"key":1927,"value":1},{"key":995,"value":500},{"key":12625,"value":1}],"walkerPreferences":[{"key":0,"value":0},{"key":3,"value":0},{"key":5,"value":0},{"key":6,"value":0},{"key":4,"value":0},{"key":9,"value":0},{"key":7,"value":0},{"key":2,"value":0},{"key":8,"value":0},{"key":1,"value":0}]},"requests":[{"start":{"x":3212,"y":3424,"z":0},"end":{"x":3148,"y":3415,"z":0}},{"start":{"x":3223,"y":3218,"z":0},"end":{"x":3148,"y":3415,"z":0}},{"start":{"x":3162,"y":3488,"z":0},"end":{"x":3148,"y":3415,"z":0}}]} [16:10:23] [Walker Engine] Got path: [(3212, 3424, 0), (3211, 3425, 0), (3210, 3425, 0), (3209, 3425, 0), (3208, 3426, 0), (3207, 3427, 0), (3206, 3428, 0), (3205, 3428, 0), (3204, 3428, 0), (3203, 3428, 0), (3202, 3428, 0), (3201, 3428, 0), (3200, 3428, 0), (3199, 3428, 0), (3198, 3428, 0), (3197, 3428, 0), (3196, 3428, 0), (3195, 3428, 0), (3194, 3428, 0), (3193, 3428, 0), (3192, 3428, 0), (3191, 3428, 0), (3190, 3428, 0), (3189, 3428, 0), (3188, 3428, 0), (3187, 3428, 0), (3186, 3428, 0), (3185, 3428, 0), (3184, 3428, 0), (3183, 3428, 0), (3182, 3428, 0), (3181, 3428, 0), (3180, 3428, 0), (3179, 3428, 0), (3178, 3428, 0), (3177, 3428, 0), (3176, 3428, 0), (3175, 3428, 0), (3174, 3428, 0), (3173, 3428, 0), (3172, 3428, 0), (3171, 3428, 0), (3170, 3428, 0), (3169, 3428, 0), (3168, 3428, 0), (3167, 3427, 0), (3166, 3426, 0), (3165, 3426, 0), (3164, 3426, 0), (3163, 3425, 0), (3162, 3424, 0), (3161, 3424, 0), (3160, 3424, 0), (3159, 3424, 0), (3158, 3423, 0), (3157, 3422, 0), (3156, 3421, 0), (3155, 3420, 0), (3154, 3419, 0), (3153, 3418, 0), (3152, 3417, 0), (3151, 3416, 0), (3150, 3416, 0), (3149, 3416, 0), (3148, 3415, 0)] [16:10:23] [Walker Engine] We are already somewhere along the path. Destination details: PATH_DEBUG[ 3175, 3428, 0) -> FURTHEST_CLICKABLE_TILE -> (3174, 3428, 0) ] [16:10:23] [Walker Engine] Could not grab destination details. [16:10:23] [Walker Engine] Failed attempt on action. [16:10:24] [Walker Engine] Could not grab destination details. [16:10:26] [Walker Engine] Failed attempt on action.

Cass2186 commented 1 year ago

Let me know if that helps!

FALSkills commented 1 year ago

I feel like this should already have been fixed back in this commit https://github.com/itsdax/Runescape-Web-Walker-Engine/commit/7cb75390ca8dd23a265f0fb98188bc2f3f358990 I've fine tuned it a little bit further: 1118636110a8119ec8a34063887984505ba5d413

FALSkills commented 11 months ago

Closing as there has been no further comment