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

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?

I haven't tested it yet but it should just move onto the next profile in sequence, going back to the start_here ones will just having you clear an empty map again and come across the same stuck spot again(unless there is a rest involved). you may miss some loot but will still have 5 stacks of NV to keep on going.

It just deals with the inadequacies of DB to see you running back on forth on the same spot for hours.

G
 
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?

While I am developing the start profile configuration function.

I have a workaround for you if you are confident to modify the code by yourself.

Use a notepad to open the GoldInactivityTimer.cs

Find the following line
Code:
			//Zeta.CommonBot.ProfileManager.Load(@"C:\Profile\A3\START.xml");
			Zeta.CommonBot.ProfileManager.Load(GlobalSettings.Instance.LastProfile);

Change it to
Code:
			Zeta.CommonBot.ProfileManager.Load(@"C:\Profile\A3\START.xml");
			//Zeta.CommonBot.ProfileManager.Load(GlobalSettings.Instance.LastProfile);

Be aware that you need to modify "C:\Profile\A3\START.xml" to your own start profile.
 
I haven't tested it yet but it should just move onto the next profile in sequence, going back to the start_here ones will just having you clear an empty map again and come across the same stuck spot again(unless there is a rest involved). you may miss some loot but will still have 5 stacks of NV to keep on going.

It just deals with the inadequacies of DB to see you running back on forth on the same spot for hours.

G

To be honest, My all bot are configured to use start profile(not reload current profile) in Inactivity Time triggered.
Because once the inactivity time triggered, bot will leave the game, and lost NV buff, it would be better to start over than using current or next profile.

This plugin is based on an assumption, that your profile is not always stuck. If you always get stuck in a spot, this is the profile problem, not the something else.

The plugin is used to resolve random stuck in a working profile. And once you leave the game and rejoined, monster will be refreshed, map seed will be new as well. Should not be the empty map.

So, start over will not get you to the same stuck point, am I right?:o
 
Last edited:
Generally works like a charm (tested for 10h). One of my barb stucked in town (teled and stayed) - and your plugin fixed it (usually I got disconnect here, because i think atom dies so inactivity timer wont trig).

[05:56:23.559 N] [GilesTrinity] Berserk being used!
[05:59:55.100 N] Using town portal
[06:00:01.902 N] ========== Grid segmentation resetting!!! ============
[06:00:08.776 N] [GoldInactivityTimer]: Not Picking Up Gold For 25 Seconds
[06:00:33.826 N] [GoldInactivityTimer]: Not Picking Up Gold For 50 Seconds
[06:00:58.879 N] [GoldInactivityTimer]: Not Picking Up Gold For 75 Seconds
[06:04:45.467 N] [GoldInactivityTimer]: Sent Restart Request
 
Last edited:
V0.2 is up.
Add setting for you to specify the start profile for each reset.
And the timer is also configurable
 
It is working very well. Maybe can change it to work together with XP detection. If no xp and gold increase. then force log out. wouldn't that be better?
 
yup because there is a very very small possibility that u are slaying enemies and you have 0 pick up radius and after that ur on to a town run so u might get forced restart. havent yet happened to me. but just in case. =D
 
I'm having a problem when using high game wait timers.

Let's say I'm using a wait timer of 400 seconds. When I start the first game, it's no problem, but when the first game is over and the game wait starts the problem arrives. It appears that the gold inactivity timer is running simultaneously with the game wait timer so that as soon as the next game starts, the gold inactivity timer kicks in (log says that no gold has been picked for ~430 seconds) and leaves right away.
 
Just sitting in game lobby. Won't create the new game.

[20:39:14.963 N] [GoldInactivityTimer]: Not Picking Up Gold For 275 Seconds
[20:39:40.027 N] [GoldInactivityTimer]: Not Picking Up Gold For 300 Seconds
[20:39:40.027 N] [GoldInactivityTimer]: Sent Restart Request
[20:39:40.227 N] Loaded profile [A3 - Inferno]CIGGARC Donator Profile 1.05 - Tower of the Damned Level 1 and 2[A]
[20:39:40.227 N] [GoldInactivityTimer]: Profile [C:\Users\*****\Desktop\Demonbuddy 1.0.1117.282\Profile\Btestversion 1.05(Atom 2.0.10)\BigRed_DamnedTowerA.xml] has been loaded!
 
Is the config button on the plugins suppose to work? cuz it doesn't work for me some how.
 
Just sitting in game lobby. Won't create the new game.

[20:39:14.963 N] [GoldInactivityTimer]: Not Picking Up Gold For 275 Seconds
[20:39:40.027 N] [GoldInactivityTimer]: Not Picking Up Gold For 300 Seconds
[20:39:40.027 N] [GoldInactivityTimer]: Sent Restart Request
[20:39:40.227 N] Loaded profile [A3 - Inferno]CIGGARC Donator Profile 1.05 - Tower of the Damned Level 1 and 2[A]
[20:39:40.227 N] [GoldInactivityTimer]: Profile [C:\Users\*****\Desktop\Demonbuddy 1.0.1117.282\Profile\Btestversion 1.05(Atom 2.0.10)\BigRed_DamnedTowerA.xml] has been loaded!

I guess it might be the problem of your profile.
As you can see the logs, the profile has been loaded, and that's end of inactivity timer job. After that, it is DB+profile job to start the new game.

May I ask you a few question so I can help you to trouble shoot.

1. Is this happens on everytime that GoldInactivityTimer triggered? On every bot you have?
2. If yes, does all your bot use same profile, which is "BigRed_DamnedTowerA.xml" as the start profile? (If you don't mind, can you PM me your profile? (Just first 50 line would be OK))
3. While it stuck in the lobby, is DB running or not? Can you see "Bot Paused" message in the DB status bar? What's the start button shows("Start" or "Stop"), What's the pause button shows("Pause" or "Unpause")
4. if you use other start profile, would that work?
5. if you set the ForceStartProfile=false, would that work?

Thanks in advance.
 
Is the config button on the plugins suppose to work? cuz it doesn't work for me some how.

Config button is NOT suppose to work for the moment, you need to got to demonbuddy/settings/GoldInactivityTimer.cfg to change your config settings. And reenable plugin or restart db to take effect
In Later version, I will add UI for these switches.
 
Just sitting in game lobby. Won't create the new game.

[20:39:14.963 N] [GoldInactivityTimer]: Not Picking Up Gold For 275 Seconds
[20:39:40.027 N] [GoldInactivityTimer]: Not Picking Up Gold For 300 Seconds
[20:39:40.027 N] [GoldInactivityTimer]: Sent Restart Request
[20:39:40.227 N] Loaded profile [A3 - Inferno]CIGGARC Donator Profile 1.05 - Tower of the Damned Level 1 and 2[A]
[20:39:40.227 N] [GoldInactivityTimer]: Profile [C:\Users\*****\Desktop\Demonbuddy 1.0.1117.282\Profile\Btestversion 1.05(Atom 2.0.10)\BigRed_DamnedTowerA.xml] has been loaded!

You need to edit the config file to point to the BigRed_START_HERE.xml

I believe that is the only profile there that is going to force a start without the RadAtom inactivity timer being tripped. I could be wrong, and even that profile may not force a start in this case, but change it and see if that works. I am running this now, and waiting to see if my bot gets stuck in a loop...though, it has not done that in quite so time, so I may be waiting for a long time unless I force it myself.
 
I just manually forced it by running around town until the gold timer tripped. It reloaded from BigRed_START_HERE.xml and started a new game 10 seconds later.

Edit: Thank you Righttang. I haven't noticed my bot getting stuck in loops using this current profile, but it used to do it all the time when I was running my leveling profile. This will be a great help when I decide to get more running.
 
Last edited:
I just manually forced it by running around town until the gold timer tripped. It reloaded from BigRed_START_HERE.xml and started a new game 10 seconds later.

Edit: Thank you Righttang. I haven't noticed my bot getting stuck in loops using this current profile, but it used to do it all the time when I was running my leveling profile. This will be a great help when I decide to get more running.

Thanks for your testing feedback and I am glad that my plugin can help:D
 
Oh man what a great plugin, it just needs one more thing !
Reloading current profile can cause certain problems, such as azmodan profile or cydea. What it needs to do is start the first profile that db started. This will solve two problems:
The first is the one i mentioned above, while the second is as follows: Some ppl have different folders for different set of profiles. I too like to randomize profile usage on all of my bots and i always choose a set of proiles from different folder each time i start db coz each folder have differently scheduled profiles. Now, if i am to set a starting profile in this plugin i.e. c/user/folder/db/profiles/set1/starthere.xml a problem will occur coz then it will set all of my bots on that set of profiles (in folder set1) after each bot gets stucked. Is there any way it can read the pforile that db first started with and continue from there ? This way we can have each restart to be in its respective folder.
Do this and you have solved the world water crisis... no w8, you just solved the stucks behind walls in underbridge/barracks, still awesome though :D
 
Back
Top