So was there something wrong with 1.9.2? How come it isn't in the OP?
1.9.2 got some mixed reviews, so I'm keeping 1.7+1.8 up for now. Rewriting the whole thing atm to make it configurable and future proof [with other plugins].
So was there something wrong with 1.9.2? How come it isn't in the OP?
// Maximum amount of times Unstucker should try to unstuck via movement before leaving the game.
private const int MaximumMoveAttempts = 5;
// Time Unstucker will wait in seconds between evaluating the logged positions. Decrease this if you find your character and Unstucker doing nothing a lot.
private const int CheckInterval = 20;
// Minimum distance the character must be moving every CheckInterval for it to not be considered stuck.
private const int MinimumMoveDistance = 10;
Unstucker v2.0.0 ready. Will attempt to move the character first before leaving the game. Have not tested it yet so download it if you want to try it and leave feedback.
v2.0.0 is also configurable through some variables at the top of the file:
Code:// Maximum amount of times Unstucker should try to unstuck via movement before leaving the game. private const int MaximumMoveAttempts = 5; // Time Unstucker will wait in seconds between evaluating the logged positions. Decrease this if you find your character and Unstucker doing nothing a lot. private const int CheckInterval = 20; // Minimum distance the character must be moving every CheckInterval for it to not be considered stuck. private const int MinimumMoveDistance = 10;
Hello sir i was using 1.8 and it was working excellent
2.0 has a problem i will explain
When i go to town, and he go to sell items to the merchant, he goes down to salvage item but get stuck on the fence
i then get error
[14:14:49.156 N] Path generation failed! Start point is not navigable!
[14:14:49.673 N] Path generation failed! Start point is not navigable!
[14:14:50.189 N] Path generation failed! Start point is not navigable!
[14:14:50.706 N] Path generation failed! Start point is not navigable!
and untucker doesnt do anything at all........ but previously after 40 second he would randomly move and this work excellent, as it put him back on the right path! but now nothing happens
Ty
Using 2.0.1 doesn't detect if stuck.
Came back stuck behind a fire pillar in core.
Can you post the logs?
[20:12:28.489 N] Path with 17 hops received (partial: False)
[20:12:49.515 N] Path with 14 hops received (partial: False)
[20:13:43.085 N] Path with 7 hops received (partial: False)
[20:13:59.117 N] Using Waypoint Waypoint-1285 Number:0
[20:14:10.781 N] ###################### REPORT ######################
[20:14:10.782 N] Gold: 3118170
[20:14:10.783 N] Blues: 0
[20:14:10.784 N] Yellows: 0
[20:14:10.785 N] Legendaries: 0
[20:14:10.786 N] Set items: 0
[20:14:10.786 N] ####################################################
[20:14:11.133 N] Path with 18 hops received (partial: False)
[20:15:01.318 N] Path with 8 hops received (partial: False)
[20:15:53.281 N] Path with 7 hops received (partial: False)
[20:15:57.486 D] [Stuck Handler] We're stuck at <801.6367, 690.8763, 0.6229705>
[20:15:57.488 D] Navigator.Clear
[20:15:57.620 D] Generating path to Moving to use waypoint - <1161.723, 686.8927, 0.1>
[20:15:57.620 D] Waiting for path request to finish...
[20:15:57.752 D] Navigator.Clear
[20:15:57.809 N] Path with 7 hops received (partial: False)
[20:15:57.893 D] Generating path to Moving to use waypoint - <1161.723, 686.8927, 0.1>
[20:15:57.893 V] Path with 7 hops received (partial: False)
[20:15:57.893 D] Nav Service path generated.
[20:15:57.893 D] Generated path to <1161.723, 686.8927, 0.1> (Moving to use waypoint) with 7 hops.
[20:16:02.155 D] [Stuck Handler] We're stuck at <801.4555, 690.8683, 0.6046759>
[20:16:02.157 D] Navigator.Clear
[20:16:02.285 D] Generating path to Moving to use waypoint - <1161.723, 686.8927, 0.1>
[20:16:02.285 D] Waiting for path request to finish...
[20:16:02.419 D] Navigator.Clear
[20:16:02.506 N] Path with 7 hops received (partial: False)
[20:16:02.552 D] Generating path to Moving to use waypoint - <1161.723, 686.8927, 0.1>
[20:16:02.552 V] Path with 7 hops received (partial: False)
[20:16:02.552 D] Nav Service path generated.
[20:16:02.552 D] Generated path to <1161.723, 686.8927, 0.1> (Moving to use waypoint) with 7 hops.
[20:16:06.803 D] [Stuck Handler] We're stuck at <801.4551, 690.8629, 0.6039402>
[20:16:06.804 D] Navigator.Clear
[20:16:06.940 D] Generating path to Moving to use waypoint - <1161.723, 686.8927, 0.1>
[20:16:06.940 D] Waiting for path request to finish...
[20:16:07.071 D] Navigator.Clear
[20:16:07.121 N] Path with 7 hops received (partial: False)
[20:16:07.203 D] Generating path to Moving to use waypoint - <1161.723, 686.8927, 0.1>
[20:16:07.203 V] Path with 7 hops received (partial: False)
[20:16:07.203 D] Nav Service path generated.
[20:16:07.203 D] Generated path to <1161.723, 686.8927, 0.1> (Moving to use waypoint) with 7 hops.
[20:16:11.386 D] [Stuck Handler] We're stuck at <801.4543, 690.8574, 0.603153>
[20:16:11.388 D] Navigator.Clear
[20:16:11.521 D] Generating path to Moving to use waypoint - <1161.723, 686.8927, 0.1>
[20:16:11.521 D] Waiting for path request to finish...
[20:16:11.662 D] Navigator.Clear
[20:16:11.708 N] Path with 7 hops received (partial: False)
[20:16:11.787 D] Generating path to Moving to use waypoint - <1161.723, 686.8927, 0.1>
[20:16:11.787 V] Path with 7 hops received (partial: False)
[20:16:11.787 D] Nav Service path generated.
[20:16:11.787 D] Generated path to <1161.723, 686.8927, 0.1> (Moving to use waypoint) with 7 hops.
[02:20:54.841 V] Using power: Wizard_Electrocute
[02:20:56.050 V] Using power: Wizard_ArcaneOrb
[02:20:56.501 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:56.504 V] Path generation failed! Unknown world ID 87707!
[02:20:56.504 D] Could not generate path!
[02:20:56.645 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:56.654 D] Waiting for path request to finish...
[02:20:56.795 D] Navigator.Clear
[02:20:56.954 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:56.954 V] Path generation failed! Unknown world ID 87707!
[02:20:56.954 D] Could not generate path!
[02:20:57.104 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:57.105 D] Waiting for path request to finish...
[02:20:57.254 D] Navigator.Clear
[02:20:57.404 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:57.404 V] Path generation failed! Unknown world ID 87707!
[02:20:57.404 D] Could not generate path!
[02:20:57.554 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:57.554 D] Waiting for path request to finish...
[02:20:57.724 D] Navigator.Clear
[02:20:57.888 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:57.888 V] Path generation failed! Unknown world ID 87707!
[02:20:57.888 D] Could not generate path!
[02:20:58.055 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:58.055 D] Waiting for path request to finish...
[02:20:58.222 D] Navigator.Clear
[02:20:58.389 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:58.389 V] Path generation failed! Unknown world ID 87707!
[02:20:58.389 D] Could not generate path!
[02:20:58.556 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:58.556 D] Waiting for path request to finish...
[02:20:58.722 D] Navigator.Clear
[02:20:58.889 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:58.890 V] Path generation failed! Unknown world ID 87707!
[02:20:58.890 D] Could not generate path!
[02:20:59.039 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:59.040 D] Waiting for path request to finish...
[02:20:59.190 D] Navigator.Clear
[02:20:59.339 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:59.340 V] Path generation failed! Unknown world ID 87707!
[02:20:59.340 D] Could not generate path!
[02:20:59.489 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:59.490 D] Waiting for path request to finish...
[02:20:59.639 D] Navigator.Clear
[02:20:59.790 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:59.790 V] Path generation failed! Unknown world ID 87707!
[02:20:59.790 D] Could not generate path!
[02:20:59.939 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:20:59.940 D] Waiting for path request to finish...
[02:21:00.089 D] Navigator.Clear
[02:21:00.239 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:00.239 V] Path generation failed! Unknown world ID 87707!
[02:21:00.239 D] Could not generate path!
[02:21:00.388 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:00.389 D] Waiting for path request to finish...
[02:21:00.538 D] Navigator.Clear
[02:21:00.689 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:00.689 V] Path generation failed! Unknown world ID 87707!
[02:21:00.689 D] Could not generate path!
[02:21:00.839 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:00.839 D] Waiting for path request to finish...
[02:21:00.989 D] Navigator.Clear
[02:21:01.139 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:01.139 V] Path generation failed! Unknown world ID 87707!
[02:21:01.139 D] Could not generate path!
[02:21:01.288 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:01.289 D] Waiting for path request to finish...
[02:21:01.439 D] Navigator.Clear
[02:21:01.588 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:01.589 V] Path generation failed! Unknown world ID 87707!
[02:21:01.589 D] Could not generate path!
[02:21:01.738 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:01.739 D] Waiting for path request to finish...
[02:21:01.888 D] Navigator.Clear
[02:21:02.038 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:02.039 V] Path generation failed! Unknown world ID 87707!
[02:21:02.039 D] Could not generate path!
[02:21:02.190 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:02.190 D] Waiting for path request to finish...
[02:21:02.338 D] Navigator.Clear
[02:21:02.488 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:02.488 V] Path generation failed! Unknown world ID 87707!
[02:21:02.488 D] Could not generate path!
[02:21:02.638 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:02.638 D] Waiting for path request to finish...
[02:21:02.788 D] Navigator.Clear
[02:21:02.938 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:02.938 V] Path generation failed! Unknown world ID 87707!
[02:21:02.938 D] Could not generate path!
[02:21:03.089 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:03.090 D] Waiting for path request to finish...
[02:21:03.240 D] Navigator.Clear
[02:21:03.389 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:03.389 V] Path generation failed! Unknown world ID 87707!
[02:21:03.389 D] Could not generate path!
[02:21:03.539 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:03.539 D] Waiting for path request to finish...
[02:21:03.689 D] Navigator.Clear
[02:21:03.840 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:03.840 V] Path generation failed! Unknown world ID 87707!
[02:21:03.840 D] Could not generate path!
[02:21:03.989 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:03.990 D] Waiting for path request to finish...
[02:21:04.139 D] Navigator.Clear
[02:21:04.290 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:04.290 V] Path generation failed! Unknown world ID 87707!
[02:21:04.290 D] Could not generate path!
[02:21:04.439 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:04.440 D] Waiting for path request to finish...
[02:21:04.606 D] Navigator.Clear
[02:21:04.870 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:04.871 V] Path generation failed! Unknown world ID 87707!
[02:21:04.871 D] Could not generate path!
[02:21:05.023 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:05.023 D] Waiting for path request to finish...
[02:21:05.172 D] Navigator.Clear
[02:21:05.323 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:05.323 V] Path generation failed! Unknown world ID 87707!
[02:21:05.323 D] Could not generate path!
[02:21:05.472 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:05.473 D] Waiting for path request to finish...
[02:21:05.623 D] Navigator.Clear
[02:21:05.773 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:05.773 V] Path generation failed! Unknown world ID 87707!
[02:21:05.773 D] Could not generate path!
[02:21:05.923 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:05.923 D] Waiting for path request to finish...
[02:21:06.073 D] Navigator.Clear
[02:21:06.222 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:06.223 V] Path generation failed! Unknown world ID 87707!
[02:21:06.223 D] Could not generate path!
[02:21:06.373 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:06.373 D] Waiting for path request to finish...
[02:21:06.523 D] Navigator.Clear
[02:21:06.672 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:06.672 V] Path generation failed! Unknown world ID 87707!
[02:21:06.672 D] Could not generate path!
[02:21:06.822 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:06.823 D] Waiting for path request to finish...
[02:21:06.972 D] Navigator.Clear
[02:21:07.122 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:07.123 V] Path generation failed! Unknown world ID 87707!
[02:21:07.123 D] Could not generate path!
[02:21:07.272 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:07.273 D] Waiting for path request to finish...
[02:21:07.423 D] Navigator.Clear
[02:21:07.572 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:07.572 V] Path generation failed! Unknown world ID 87707!
[02:21:07.572 D] Could not generate path!
[02:21:07.722 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:07.723 D] Waiting for path request to finish...
[02:21:07.872 D] Navigator.Clear
[02:21:08.006 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:08.006 V] Path generation failed! Unknown world ID 87707!
[02:21:08.006 D] Could not generate path!
[02:21:08.156 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:08.156 D] Waiting for path request to finish...
[02:21:08.289 D] Navigator.Clear
[02:21:08.422 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:08.422 V] Path generation failed! Unknown world ID 87707!
[02:21:08.422 D] Could not generate path!
[02:21:08.556 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:08.556 D] Waiting for path request to finish...
[02:21:08.689 D] Navigator.Clear
[02:21:08.822 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:08.822 V] Path generation failed! Unknown world ID 87707!
[02:21:08.822 D] Could not generate path!
[02:21:08.956 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:08.956 D] Waiting for path request to finish...
[02:21:09.090 D] Navigator.Clear
[02:21:09.239 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:09.239 V] Path generation failed! Unknown world ID 87707!
[02:21:09.239 D] Could not generate path!
[02:21:09.372 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:09.373 D] Waiting for path request to finish...
[02:21:09.522 D] Navigator.Clear
[02:21:09.656 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:09.656 V] Path generation failed! Unknown world ID 87707!
[02:21:09.656 D] Could not generate path!
[02:21:09.806 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:09.806 D] Waiting for path request to finish...
[02:21:09.956 D] Navigator.Clear
[02:21:10.089 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:10.089 V] Path generation failed! Unknown world ID 87707!
[02:21:10.089 D] Could not generate path!
[02:21:10.222 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:10.222 D] Waiting for path request to finish...
[02:21:10.355 D] Navigator.Clear
[02:21:10.489 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:10.489 V] Path generation failed! Unknown world ID 87707!
[02:21:10.489 D] Could not generate path!
[02:21:10.623 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:10.624 D] Waiting for path request to finish...
[02:21:10.773 D] Navigator.Clear
[02:21:10.922 D] Generating path to WP_020 - <264.9613, 222.6516, -24.11488>
[02:21:10.922 V] Path generation failed! Unknown world ID 87707!
[02:21:10.922 D] Could not generate path!
..... snip .....
[12:24:10.000 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:24:10.000 N] [Unstucker v1.8.1] (1) Moving Char randomly to: <3440.836, 2416.626, 3821.108>
[12:24:25.218 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:24:25.218 N] [Unstucker v1.8.1] (2) Moving Char randomly to: <6760.36, 1813.772, 6191.378>
[12:24:40.765 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:24:40.765 N] [Unstucker v1.8.1] (3) Moving Char randomly to: <-4803.681, -1347.523, -2578.9>
[12:25:07.953 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:25:07.953 N] [Unstucker v1.8.1] (4) Moving Char randomly to: <-6040.694, -3690.749, -1868.507>
[12:25:10.671 N] [Unstucker v1.8.1] (5) Moving Char randomly to: <-11816.69, -7982.749, -3409.507>
[12:25:13.156 N] [Unstucker v1.8.1] (6) Moving Char randomly to: <-5392.693, -5711.749, 659.4932>
[12:25:15.921 N] [Unstucker v1.8.1] Stuck 6 times - leaving game to restart bot.
[12:25:27.937 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[12:25:42.312 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:25:42.312 N] [Unstucker v1.8.1] (1) Moving Char randomly to: <5557.836, 6486.626, 1164.108>
[12:25:57.578 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:25:57.578 N] [Unstucker v1.8.1] (2) Moving Char randomly to: <5909.494, 6809.539, 2449.236>
[12:26:00.265 N] [Unstucker v1.8.1] (3) Moving Char randomly to: <5061.494, 3636.539, 377.2361>
[12:26:03.187 N] [Unstucker v1.8.1] (4) Moving Char randomly to: <2998.494, -148.4609, -3417.764>
[12:26:18.203 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:26:18.203 N] [Unstucker v1.8.1] (5) Moving Char randomly to: <-3747.588, -3129.707, -4011.9>
[12:26:33.500 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:26:33.500 N] [Unstucker v1.8.1] (6) Moving Char randomly to: <1037.478, 7029.569, 4231.238>
[12:26:36.453 N] [Unstucker v1.8.1] Stuck 6 times - leaving game to restart bot.
[12:26:48.484 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[12:27:02.890 N] [Unstucker v1.8.1] Your character has not moved in the past 10 seconds - unstucker activated.
[12:27:02.890 N] [Unstucker v1.8.1] (1) Moving Char randomly to: <6069.836, 6812.626, 5991.108>