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

[Trinity] Do you prefer "global" settings or per-battletag settings?

Do you prefer "global" settings or per-battletag settings?

  • BattleTag specific Settings - different settings for each bot

    Votes: 0 0.0%
  • Global settings - all the bots should use the same settings file

    Votes: 0 0.0%
  • User definable - but default to battletag specific

    Votes: 0 0.0%

  • Total voters
    0
  • Poll closed .

rrrix

New Member
Joined
Jul 11, 2010
Messages
3,449
Reaction score
61
Doing some refactoring/rebuilding, one thing I see a lot of users doing is setting up a GilesTrinity.xml in one bot, and copying it to all the other battletags.

Should we have a single Trinity.xml settings file, like it used to be a long time ago?
 
A choice between global or individual would probably be the best, but how would you pull that one off?
 
I dont have any issue with this apart from the misc combat page, my wizards and monks use different setups (barb has avoid aoe permanently off etc)

also the mobile notifications page uses different emails per bot, though i suppose this isnt actually necessary
 
A choice between global or individual would probably be the best, but how would you pull that one off?

Currently, it will always load the individual settings, unless that file doesn't exist, then it will just load the "global" settings (e.g. in Demonbuddy\Settings\GilesTrinity.xml)

It will currently always save to Demonbuddy\Settings\<battletag>\GilesTrinity.xml - a simple configuration option could change this location to be the "global" location.

The question is - in what order do we load? Check global first and then individual, or individual first or then global? :)

I suppose it would also need to monitor for settings file changes and reload them when it sees there was an update from another bot.
 
Currently, it will always load the individual settings, unless that file doesn't exist, then it will just load the "global" settings (e.g. in Demonbuddy\Settings\GilesTrinity.xml)

It will currently always save to Demonbuddy\Settings\<battletag>\GilesTrinity.xml - a simple configuration option could change this location to be the "global" location.

The question is - in what order do we load? Check global first and then individual, or individual first or then global? :)

I suppose it would also need to monitor for settings file changes and reload them when it sees there was an update from another bot.

I suppose you could do it either way, though I only do simple things when I code.

Option 1 could be to check a global setting. If global settings were disabled, load the settings for that battletag.
Option 2 could check the settings for that specific battletag. If global settings are enabled, have it load the global settings.

Maybe something like what notepad++ does to update files. If trinity could detect if the global settings are changed, reload them.
 
both.

my leader bots use different trinity settings than my followers (leader has higher attack range, trash radius etc, followers ignore shrines and some other shit i cant remember off the top of my head)
 
Per-battletag settings please
 
Last edited:
Back
Top