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

[Plugin]If not pick up Gold for 300 seconds, leave the game and reload the profile

righttang

New Member
Joined
Sep 9, 2012
Messages
78
Reaction score
3
Simple as it is

If not pick up Gold for 300 seconds, leave the game and reload the last profile or you pre-set start profile

Works perfectly for around 72 hours so far and tested by many forum buddy. Save me a lot of trouble to monitor the bot. Unless DB or D3 crash, network outage, session invalid, power failure, etc;) , bot will never stop.



Updated on 11/17/2012 :Release v0.1
Initial Release, tested by two people on 10 bots and it works well.
Updated on 18/11/2012: Release v0.2.
Added configuration file under Demonbuddy/Settings/GoldInactivityTimer.cfg.
Fixed Log Timer, to show full log history on every 25 seconds hop.
Support Start Profile Configuration
Updated on 18/11/2012: Release v0.3.
Add a reset timer on new Game Joined, so if you define a long waiting time between games, it should work properly.


Instructions:

1. Download the zip
2. Unzip the plugin into DB plugin folder
3. Restart DB and enable the plugin. (You are ready to go at this point)
4. Modify the configuration, disable and re-enable the plugin

If you are willing to put some configuration, open Demonbuddy/Settings/GoldInactivityTimer.cfg file by your notepad.
And you will see something like that.

Code:
ForceStartProfile=true    
expireSeconds=225        
startProfile=C:\Profile\A3\START.xml
ForceStartProfile: # true/ false, set to true if you want to force a start profile when inactivity time triggered
expireSeconds: # int, It tells the plugin that if bot hasn't pick up gold for how many seconds, Plugin will try to reset game. Recommend from 150-300.
startProfile: # this field will only take effect if ForceStartProfile set to true. And full profile path is required. If file does not exist, there will be warning when you enable the plugin.

Change them based on your needs. Then re-enable the plugin or restart DB. Monitor the log when DB started, you will either see

Code:
[20:42:48.870 N] [GoldInactivityTimer]:  Config is now loaded.
[20:42:48.870 N] [GoldInactivityTimer]:  Gold Inactivity Expire Timer is set to 100 seconds
[20:42:48.870 N] [GoldInactivityTimer]:  Gold Inactivity Force Start Profile [B]Disabled[/B].

or
Code:
[20:43:46.689 N] [GoldInactivityTimer]:  Config is now loaded.
[20:43:46.689 N] [GoldInactivityTimer]:  Gold Inactivity Expire Timer is set to 225 seconds
[20:43:46.690 N] [GoldInactivityTimer]:  Gold Inactivity Force Start Profile [B]Enabled[/B].
[20:43:46.690 N] [GoldInactivityTimer]:  Gold Inactivity Start Profile will be C:\Profile\A3\START.xml

Which can tell you whether force start profile is enabled or not. And if there is any error message, let me know and I can help you troubleshoot.

Enjoy

View attachment GoldInactivityTimer.zip :Initial Release V0.1
View attachment GoldInactivityTimer_v0.2.zip :Release v0.2
View attachment GoldInactivityTimer_v0.3.zip :Release v0.3

If you are happy with my plugin, I am happy with that too. Thanks
btn_donateCC_LG.gif


The Plugin is tested that it can perfectly handle following common bot situation.
[table="width: 500, class: outer_border, align: left"]
[tr]
[td]Stuck in one place and nothing happened[/td]
[td]yes[/td]
[/tr]
[tr]
[td]Keep running back and force in Azmodan stairs[/td]
[td]yes[/td]
[/tr]
[tr]
[td]Stuck in a single spot and can not attack or move, even manual control[/td]
[td]yes[/td]
[/tr]
[tr]
[td]Keep trying town portal but there is no blue bar show up[/td]
[td]yes[/td]
[/tr]
[tr]
[td]Keep circling in the random dungon and can not find the exit.[/td]
[td]yes[/td]
[/tr]
[/table]
 
Last edited:
This is suppose to replace DB inactivity timer right? I have issues of bots getting stuck at menu when I use it, and RADSATOM causes crashes so I don't use that one either.
 
No, I didn't replace DB inactivity timer. And if you are using Giles Plugin, it does replace the db default inactivity timer.
In most cases, Giles Unstucker or Unstuck me can handle the unstuck and inactivity situation. But none of them detect the inactivity based on Gold Pickup.

This would cause that bot will go back and forwards in some map for around several hours and none of the unstuck or inactivity plugin can detect that.

My plugin is designed to fill in this blank hole to make the whole DB more robust and worry-free.

If you enabled my plugin, other unstucker will be still working anyway. just different judgement conditions.
 
Last edited:
No, I didn't replace DB inactivity timer. And if you are using Giles Plugin, it does replace the db default inactivity timer.
In most cases, Giles Unstucker or Unstuck me can handle the unstuck and inactivity situation. But none of them detect the inactivity based on Gold Pickup.

This would cause that bot will go back and forwards in some map for around several hours and none of the unstuck or inactivity plugin can detect that.

My plugin is designed to fill in this blank whole to make the whole db more robust and worry-free.

If you enabled my plugin, other unstucker will still working anyway. just different judgement conditions.

But I can use this to replace the current inactivity timer right? Like I said, RADSATOM causes more crashes on the way it leaves game, so I have inactivity timer and death leaving disabled. I never get crashes after this is set across my 10 bots.
 
Em...Personally I didn't use radsatom.
And yes, you can use this to handle the inactivity timer.
 
i've read that ppl wanted this kind of plug before, glad someone made it, i'll give it a go if my bot gives me trouble with the inactivity
 
anyone can.tell me ,why my thread move from plugin subform to outside?


how can i move it back in ?
 
I will test it overnight, and a healthy donation is coming towards you if it works the way it's supposed to.

Thanks, mate!
 
I will test it overnight, and a healthy donation is coming towards you if it works the way it's supposed to.

Thanks, mate!

same

I've been seeking and asking this function for some time

Too bad I can't write it myself :(
 
Great initiative.

I'm having a bit of an issue though: Say I'm running BigRed act3 profile starting DamnedTower then DamnedHeart then CursedTower. During DamnedHeart lets say the inactivity kicks in, the plugin forces the log-out and starts a new game. The new game, however, is loading CursedTower (next in sequence) instead of say BigRed_Start_Here. Is this meant to be or is it possible to force a load of a "start_here" after an inactivity log-out?
 
understand what you mean. I will add a option to allow a user to set a resrart point rather than current profile.
 
thank-you thank-you thank-you, a simple solution to a problem that DB and any other plugin will never fix. Nothing can detect when your bot runs back and forth on the spot for hours on end, hopefully this is quick and simple, giving it a whirl now.

G
 
Back
Top