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

[Plugin] AntiIdle

Here I am again :) Below is the log for an error I think AntiIdle is throwing. At the end of the log it tries to tp and then an object reference is thrown. This results in D3 and DB to close. I haven't seen the actual D3 screen so I don't know where it tried to tp. Could it be that it tried to tp while already in town?

[07:53:04.329 N] [AntiIdle] We are idling to long
[07:53:04.329 N] [AntiIdle] Safe Restart
[07:53:04.329 N] [AntiIdle] Restarting..
[07:53:04.329 N] [AntiIdle] Stopping bot
[07:53:04.329 N] Stopping the bot.
[07:53:04.329 D] CurrentBot.Stop()
[07:53:04.329 D] Navigator.Clear()
[07:53:04.329 D] Navigator.Clear
[07:53:04.329 D] TreeHooks.Instance.ClearAll()
[07:53:04.329 D] OnStop event
[07:53:04.329 D] OnStop Event Invoking
[07:53:04.329 D] QuestOrderManager.OnBotStop(). Resetting caches.
[07:53:04.329 D] Resetting current behavior.
[07:53:04.329 N] [AntiIdle] Bot stop detected
[07:53:04.347 D] QuestOrderManager.OnBotStop(). Resetting caches.
[07:53:04.347 D] Resetting current behavior.
[07:53:04.347 D] QuestOrderManager.OnBotStop(). Resetting caches.
[07:53:04.347 D] Resetting current behavior.
[07:53:04.348 D] QuestOrderManager.OnBotStop(). Resetting caches.
[07:53:04.348 D] Resetting current behavior.
[07:53:04.348 D] Calling OnDone() on current behavior. MoveToTag: X: 1618,023, Y: 549,5239, Z: 0,1000001, PathPrecision: 0, Position: <1618.023, 549.5239, 0.1000001>, UnsafeRandomDistance: 0, Name: null, IsDone: False, QuestId: 1, StepId: 0, QuestName: Quest Id: 1, IsDoneCache: False, Behavior: Zeta.TreeSharp.PrioritySelector,
[07:53:04.818 N] Bot Thread Ended. Was this requested?
[07:53:05.348 N] [AntiIdle] Reload profile to reset db caches
[07:53:05.597 N] Loaded profile Core
[07:53:05.598 N] [AntiIdle] Take town portal (1/3)
[07:53:11.267 N] [AntiIdle] Failed!
[07:53:11.267 N] [AntiIdle] Error: Object reference not set to an instance of an object.
[07:53:11.295 D] [AntiIdle] Trace: at AntiIdle.Helpers.AntiIdleThread.SafeRestart()
[07:53:11.295 N] [AntiIdle] Force closing D3 + DB
[07:53:11.301 N] [AntiIdle] Closing Diablo III:2652
[07:53:11.301 N] [AntiIdle] Closing DB
[07:53:11.336 N] [AntiIdle] Thread stopped
[07:53:11.404 D] Cannot stop a bot when it is not running.
[07:53:11.404 D] Forcing closed all current windows.
[07:53:11.725 N] [AntiIdle] Diablo with pid: 2652 is not running
 
Anti-idle is the best stuck fixer around but I'm currently using ciggarc profiles which is a series of profiles. And by automatically saving the profile that loaded by DB, my bot runs on a loop of the last profile. Simply put, after finish the profile, it only exit game and load the last one, finish it and load it again.

I seriously need helps here, without anti idle, I cant afk more than few hours.
 
Anti-idle is the best stuck fixer around but I'm currently using ciggarc profiles which is a series of profiles. And by automatically saving the profile that loaded by DB, my bot runs on a loop of the last profile. Simply put, after finish the profile, it only exit game and load the last one, finish it and load it again.

I seriously need helps here, without anti idle, I cant afk more than few hours.
\

Try using my UnstuckMe plugin it is made for radsprofilemanager and profileswitcher
 
well too bad unstuck me cant help me in case of crashing, disconnection or some weird things happen to my d3 client.
 
weird thing is I did tried to disable unstucker and save profile/plugin state but antidle still somehow load the last profile.
 
First off, love your plugin. Excellent work.

If I may, I'd like to request an additional feature be added, though. DemonBuddy has a tendency to break itself on occasion (whether it's nav server issues, memory issues, plugin issues or what have you), and I'd like to have some sort of preventative measure to stop DB from doing anything dangerous like allowing you to hit the input limit. What I suggest specifically is the ability to set an option to "turn off" or close DemonBuddy if X number of games are created within Y minutes.

For example, let's say you're running a champion hunting profile that takes roughly 1 hour to complete. Well, if more than 3 games are created within a 10 minute period, then you know something is up. This is a big red flag that something has gone wrong, such as the bot is creating and exiting games repeatedly. If left unattended, DemonBuddy will do this indefinitely (or until you reach the input limit). Obviously this would be very bad.

What I propose is just a simple dialog configuration of:
Code:
If more than [U] 3 [/U] games are created within [U] 10 [/U] minutes, [stop] / [close] DemonBuddy.

The [stop] and [close] would be a drop-down menu selection, allowing the user to choose the behavior they desire. You could even call the whole thing "Sleep Shield" or something. Anyhow, thanks for reading, and I hope you'll consider making this addition to your already amazing plugin.
 
Last edited:
with the newest version of DB, I'm getting the following error:

[08:26:59.854 N] [AntiIdle] LastState.Check() Failed!
[08:26:59.854 N] [AntiIdle] Error: Object reference not set to an instance of an object.
 
Replace in AntiIdleThread.cs

if (ZetaDia.Me != null && ZetaDia.Me.IsValid)
{
if (portalCount > 0)
Thread.Sleep(4000); // small fix for trying to cast portal when we just finished casting
if (portalCount > 3 || ZetaDia.Me.IsInTown || (ZetaDia.Me.CommonData != null && ZetaDia.Me.CommonData.AnimationState == Zeta.Internals.Actors.AnimationState.Dead))
{
Logger.Log("Leave Game 1");
ZetaDia.Service.Games.LeaveGame();
WaitForleaveGame();
}
else if (!ZetaDia.Me.IsInTown && ZetaDia.Me.CommonData.AnimationState != Zeta.Internals.Actors.AnimationState.Casting)
{
portalCount++;
Logger.Log("Take town portal (" + portalCount + "/3)");
ZetaDia.Me.UseTownPortal();
Thread.Sleep(1000);
}
}
else
{
Logger.Log("Leave Game 2");
ZetaDia.Service.Games.LeaveGame();
WaitForleaveGame();
}

by

if (ZetaDia.Service != null && ZetaDia.Service.IsValid && ZetaDia.Service.Games != null && ZetaDia.Service.Games.IsValid)
{

Logger.Log("I dont crash anymore !!");
ZetaDia.Service.Games.LeaveGame();
WaitForleaveGame();

}

And don't update to DB .247
 
hi, i would like to raise a question. After identify all items, the bot was forced to start a new game, i already change the vendor time to 400, what's going on? And how i can fix this, thx.
 
I see the point in this Plugin, but its pointless unless you can find a relogger that works. In my case this causes the following problems:

Arelog is not able to choose the CombatRoutine by itself.
DBrelogger does not log into the game.
DBrun does not log in either.
 
I see the point in this Plugin, but its pointless unless you can find a relogger that works. In my case this causes the following problems:

Arelog is not able to choose the CombatRoutine by itself.
DBrelogger does not log into the game.
DBrun does not log in either.

The problems you have all sound like user errors..

Using ARelog here and you can select your combat routine

Also note that I did not update this plugin for a while as DB is stable enough to be run without the AntiIdle plugin
 
Well i have alot of issues where DB just stops for no reason. You are totally right about the problem being my fault though, and i made it work now :) But now i have another problem.

For some reason when i am done with the entire profile it just loop the last profile, it does not load the first again. Is the AntiIdle who causes this?

I use RadsProfileManager aswel
 
Well i have alot of issues where DB just stops for no reason. You are totally right about the problem being my fault though, and i made it work now :) But now i have another problem.

For some reason when i am done with the entire profile it just loop the last profile, it does not load the first again. Is the AntiIdle who causes this?

I use RadsProfileManager aswel


hmm no this is more a issue with the profile you are using I guess .. try using latest profiles and radsatom from ciggarc forums
 
hmm no this is more a issue with the profile you are using I guess .. try using latest profiles and radsatom from ciggarc forums

I gonna try out RadsAtom instead of RadsProfileManager and see how it goes.

The thing is, the profile ive used so far has alot more maps that Ciggarc's profiles, and it works perfectly without AntiIdle.

But i really want to keep using AntiIdle as my only problem when running DB is that it always stops for no reason, and AntiIdle helps me overcome this issue, sadly it then generates the problem described earlier.
 
All I wanted was for this plugin to click Resume Game when DB's stuck in the main screen, nothing more, nothing less.

How do I do that?
 
Last edited:
Mine just leaves the game after some time.. Can someone help me? Just at some point (not long time after start havent even gone out of the first zone of a3) it just teleports home and leaves. Have checked if any weird settings were on.. But cant find the problem :(
 
Last edited:
Mine just leaves the game after some time.. Can someone help me? Just at some point (not long time after start havent even gone out of the first zone of a3) it just teleports home and leaves. Have checked if any weird settings were on.. But cant find the problem :(

Started having this problem after the patch. I was unable to fix it so I disabled it for now.
 
Back
Top