What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] Unstucker - restarts if your character gets stuck

Ye the bot will automatical create a new game if it's on char / ah select
 
Had the freezing issues. Downloading the new unstucker to see if it fixes.
 
nothing appears @ plugin tab

i have the folder and the file @ my bot folder

DemonBuddy (folder) > Plugin (Folder) > Unstucker (Folder) > Unstucker.cs (File)

If you got that, restart the bot.. And it should show.
 
It worked once. Left the game after bot got stuck. However, shortly after it made D3 crash and it seems to have the same problem as the original plugin.

have exactly "my" plugin running sind 5pm (GMT -1), the bot is running since than without a problem. there have been some "stucks" which the plugin has solved for me.

"my plugin" changes don't stop/start the bot anymore.. so it's really not possible to have the same issues as the origina plugin...
 
I commented this Lines out, and now it works since ~3 hours.

//BotMain.Stop();
//Thread.Sleep(2000);

//BotMain.Start();

would back up this... (re)starting the bot caused a lot of problems on the original script. taking it out made my bot able to work unattended for the last 8 hours...
 
would back up this... (re)starting the bot caused a lot of problems on the original script. taking it out made my bot able to work unattended for the last 8 hours...

Version 1.7 has this change. Glad things have been working fine for 8 hours.
 
Is it possible to choose not to check in town? kinda thinks its stuck when identifying to sell.
 
careful with doing that though as the bot will get stuck in town on occassion. it's particularly fond of endless looping // stopping altogether at the stash if settings aren't just right. if it's an issue for legitimate stash/sell/repair people should just up the poll timer.
 
careful with doing that though as the bot will get stuck in town on occassion. it's particularly fond of endless looping // stopping altogether at the stash if settings aren't just right. if it's an issue for legitimate stash/sell/repair people should just up the poll timer.

Ah did not know it would get stuck in town. In that case...maybe that isn't the best idea.
 
When using Unstucker, whenever it meets a stuck point it will tp to town, leave game and restart. Is there any way it could be modified so that it simply presses STOP then START, without having to tp and leave etc. Often times (always, basically) that's all it takes to get my stuff unstuck. In its current form it delays runs GREATLY and on top of that it can cause weird issues where it tries to join a new game then in the new game also NOT MOVE and then retry - looping a few times over - once it did that for about 60mins before i stopped it and restarted myself.

Maybe after a few tries if stop/start doesnt get it to move then make a ng? :/
 
When using Unstucker, whenever it meets a stuck point it will tp to town, leave game and restart. Is there any way it could be modified so that it simply presses STOP then START, without having to tp and leave etc. Often times (always, basically) that's all it takes to get my stuff unstuck. In its current form it delays runs GREATLY and on top of that it can cause weird issues where it tries to join a new game then in the new game also NOT MOVE and then retry - looping a few times over - once it did that for about 60mins before i stopped it and restarted myself.

Maybe after a few tries if stop/start doesnt get it to move then make a ng? :/

You can modifty.

Edit this Line
if (GetMaxDistanceTraveled(LoggedPositions) < 10f)
{
IsRestarting = true;
Log("Your character has not moved 10 yards for 40 seconds - restarting bot.");
BotMain.Stop();
Thread.Sleep(2000);

while (!ZetaDia.Actors.Me.IsInTown)
{
ZetaDia.Actors.Me.UseTownPortal();
Thread.Sleep(6000);
}

ZetaDia.Service.Games.LeaveGame();

while (ZetaDia.IsInGame)
{
Thread.Sleep(4000);
}

BotMain.Start();
IsRestarting = false;
}


To

if (GetMaxDistanceTraveled(LoggedPositions) < 10f)
{
Log("Your character has not moved 10 yards for 40 seconds - restarting bot.");
BotMain.Stop();
Thread.Sleep(2000);

BotMain.Start();
}
 
Last edited:
Last I heard there were issues with BotMain.Stop() and BotMain.Start() that caused Diablo3 to freeze. You're welcome to try. Let me know if it works out.
 
Doesn't fix the perma-stuck problem. Instead of being perma-stuck, the bot instead just restarts over and over. Looks like I still have to babysit if I want it to work at all.

[22:22:15.060 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:22:55.244 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:23:11.637 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:23:51.852 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:24:08.373 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:24:48.566 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:25:05.020 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:25:45.026 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:26:01.513 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:26:41.716 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:26:58.204 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:27:38.424 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:27:54.868 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:28:34.932 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:28:51.324 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:29:31.371 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:29:47.794 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:30:27.895 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:30:44.361 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:31:24.485 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:31:41.049 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:32:21.131 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:32:37.585 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
[22:33:17.803 N] [Unstucker v1.7] Your character has not moved 10 yards for 40 seconds - restarting bot.
[22:33:34.155 N] Creating new game, Params: <Act:A3 Difficulty:Nightmare Quest:87700 QuestStep:-1 ResumeFromSave:True IsPrivate:True>
 
Last I heard there were issues with BotMain.Stop() and BotMain.Start() that caused Diablo3 to freeze. You're welcome to try. Let me know if it works out.
Yeah, it doesn't work. Doesnt freeze d3 but freezes the bot it just doesnt do anything then if i hit stop and start again manually hte bot freezes.
 
Back
Top