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

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

Let me understand your requriement.

1. You have multiple instance DB running in the same folder
2. The multiple bot are running different profiles in different folders.
3. If you set the start file for one of your bot, other bot will be forced to use that start file as well.
4. So you want to more dynamic start profile detection, such as, first profile that db loaded, isn't it?

Well, based on my understanding, copy and paste your db folder to multple instance and run them seperatedly would tempory solved this issue.

I will see whether I can auto-detect the start profile when game joined.
 
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

I'm actually planning on writing a profile soon that will make this stuff easier. I have no real experience with programming, but I've been modifying stuff all of my life, and been shown enough code that the lines I have been seeing here make a bit of sense. Send me a PM, and I'll let you know when I get a chance to make it and put it up. I plan on making it so that it will load a random profile from a list of profiles, and loop back at the end.

The only problem I see is that it will likely require people to do some modification on their own, or I need to find a way to make a plugin that will do this without permanently editing people's profiles.
 
I'm actually planning on writing a profile soon that will make this stuff easier. I have no real experience with programming, but I've been modifying stuff all of my life, and been shown enough code that the lines I have been seeing here make a bit of sense. Send me a PM, and I'll let you know when I get a chance to make it and put it up. I plan on making it so that it will load a random profile from a list of profiles, and loop back at the end.

The only problem I see is that it will likely require people to do some modification on their own, or I need to find a way to make a plugin that will do this without permanently editing people's profiles.

I believe both radsatom and radsprofilemanager support random profile in the same folder, and they do require that profile should be in one single big folder.
If you want to implement your idea, just do small modification on top of these plugins, that will save you a lot of trouble, and fully compatible with current profile.

After that, you can create a single entry START.xml, and next profile could be randomly selected in different folders.

Enjoy your c# programming.:)
 
I believe both radsatom and radsprofilemanager support random profile in the same folder, and they do require that profile should be in one single big folder.
If you want to implement your idea, just do small modification on top of these plugins, that will save you a lot of trouble, and fully compatible with current profile.

After that, you can create a single entry START.xml, and next profile could be randomly selected in different folders.

Enjoy your c# programming.:)

Yeah, I am going to play around with it. I really just want a profile that will randomly choose from a few different start profiles, follow through them, then edit the last .xml in each profile to point back to my custom random profile, so it starts over again with another roll of the dice.

If this is already built into Rads, then great, but I must be missing something, because I couldn't find anything like that.

I would really love to just build a plugin that could do this on its own without editing the profiles, but I think that will be a bit of an undertaking. Regardless, I am going to work on it and see if I can get it sorted out. Will be a fun way to dive into some basic programming :D
 
If there is a way for a plugin to read db's first started profile that'd solve all our troubles, check rad's atom profile manager or any of his plguins, he might have written some lines regarding that. Go ask arround ciggarc forums ? Off to bed now, will see what happens tomorrow.
Ciggarc - Index
 
===== Misc Statistics =====
Total tracking time: 11h 1m 23s
Total deaths: 18 [1.63 per hour]
Total games (approx): 0 [0 per hour]
(a profile manager/death handler is interfering with join/leave game events, attempting to guess total runs based on profile-loops)
Total full profile cycles: 11 [1 per hour]

===== Item DROP Statistics =====
Items:
Total items dropped: 5671 [514.46 per hour]

much better, no stoppages today by the looks of it, thanks heaps, donation coming your way.

G
 
===== Misc Statistics =====
Total tracking time: 11h 1m 23s
Total deaths: 18 [1.63 per hour]
Total games (approx): 0 [0 per hour]
(a profile manager/death handler is interfering with join/leave game events, attempting to guess total runs based on profile-loops)
Total full profile cycles: 11 [1 per hour]

===== Item DROP Statistics =====
Items:
Total items dropped: 5671 [514.46 per hour]

much better, no stoppages today by the looks of it, thanks heaps, donation coming your way.

G

Got it, thanks and this is my own monk status
===== Misc Statistics =====
Total tracking time: 11h 37m 52s
Total deaths: 14 [1.2 per hour]
Total games (approx): 16 [1.38 per hour]

===== Item DROP Statistics =====
Items:
Total items dropped: 5946 [511.21 per hour]
Items dropped by ilvl:
- ilvl54: 12 [1.03 per hour] {0.2 %}

I have another standalone inactivity timer based on item drop detection, once gold inactivity timer plugin put in, that stand alone seems to be retired:cool:
 
Got it, thanks and this is my own monk status
===== Misc Statistics =====
Total tracking time: 11h 37m 52s
Total deaths: 14 [1.2 per hour]
Total games (approx): 16 [1.38 per hour]

===== Item DROP Statistics =====
Items:
Total items dropped: 5946 [511.21 per hour]
Items dropped by ilvl:
- ilvl54: 12 [1.03 per hour] {0.2 %}

I have another standalone inactivity timer based on item drop detection, once gold inactivity timer plugin put in, that stand alone seems to be retired:cool:


MP3 for me, what was yours ?

G
 
Should Atom or DB inactivity timer be disabled for use with this plugin?
 
Should Atom or DB inactivity timer be disabled for use with this plugin?

Well, you don't have to disable other inactivity timer. It is designed to add another judgement condition, not replace the current one.
Personally, I disable them all as I trust my plugin.
 
v0.3 is up. Add a timer reset on Game Join Event.

So if you have a long waiting time defined between games, it should work properly.
 
.
.
.
This plugin is so good that its only 'disadvantage' is that it discourages the plugins with problems to improve. :cool:
.
.
.
 
Last edited by a moderator:
Hi there , first of all thanks for the plugin , badly needed and well done indeed.
I have one request , as i'm currently using a relogger who's taking care of choosing my profiles etc , would it be possible to set an option to make it close diablo instead of just leaving the game ?

This way it will be also useful if the bot get stuck with an error message (in wich case u cannot leave the game if you don't press ok, and it just stands there). With this option it would close everything (just closing diablo will automatically close DB) and relogger would take care of the rest.

Cheers!
 
any reason to use this over radsatom's inactivity timer?

this doesnt have anything to do with it , it checks only gold pickup, not activity , so if you stuck while still casting a buff every 30 sec (example) you wouldnt get inactivity timer triggered but this instead , yes.
 
public static bool bForceStartProfile = true;
public static string startProfile = @"C:\Users\Steve\Desktop\dbbetafix\Routes\alkrun\_Start_Core.xml";
public static int expireSeconds = 100;



For some reason it doesn't expire at 100 seconds. It counts every 25 seconds until it hits 300 seconds :( I want it to leave before defaults DB 2 minute timer(i keep changing DB to 0 but it always forget settings whenever I restart)
 
public static bool bForceStartProfile = true;
public static string startProfile = @"C:\Users\Steve\Desktop\dbbetafix\Routes\alkrun\_Start_Core.xml";
public static int expireSeconds = 100;



For some reason it doesn't expire at 100 seconds. It counts every 25 seconds until it hits 300 seconds :( I want it to leave before defaults DB 2 minute timer(i keep changing DB to 0 but it always forget settings whenever I restart)

Which version are you using?

If you are using version 0.1/0.0, your change might work.
If the plugin version is 0.2 afterwards, any inline change will be overwrite by the configration file located in Demonbuddy/settings/GoldInactivityTimer.cfg file
 
.
.
.
This plugin is so good that its only 'disadvantage' is that it discourages the plugins with problems to improve. :cool:
.
.
.

Like the problems would get fixed anyway, I'd rather run all day than for a couple of hours and get stuck in the same spot, this plugin lets me do that.

G
 
Back
Top