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

[Profile] User settings

Croga

Well-Known Member
Joined
Jun 7, 2010
Messages
1,636
Reaction score
27
Is it possible to have a user set options for a profile?

I'm writing a profile that will run several sets of daily quests in concurrence. Example:
It will currently run TB quests, then Therazane, then Wildhammer.
Some are kinda level-bound and some aren't working all that well yet. So I want the user to be able to select which sets of dailies they want to do and which they want to skip. Example:
My level 83 Mohawk can't do the Wildhammer or TB yet so I want him to do only Therazane.
or
Firelands dailies don't work very well at the moment, there's a bug in the Wildhammer profile so I want to do TB and Therazan only.

Is there a way to do this?
 
There's really no like checkbox you can tick for those quests you want to do. For that you'd have to do some coding in C#. The only way is really just to make a lot of different profiles (one does Therazane and TB, one does only Therazane and one does Therazane and Wildhammer etc...).
 
There's really no like checkbox you can tick for those quests you want to do. For that you'd have to do some coding in C#. The only way is really just to make a lot of different profiles (one does Therazane and TB, one does only Therazane and one does Therazane and Wildhammer etc...).
the challenge with that is that there are 5 sets of dailies. That would mean 15 different profiles to get all the combinations :)
I might need to start dusting off my coding skills and look into the c# coding.....
 
Is it possible to have a user set options for a profile?

I'm writing a profile that will run several sets of daily quests in concurrence. Example:
It will currently run TB quests, then Therazane, then Wildhammer.
Some are kinda level-bound and some aren't working all that well yet. So I want the user to be able to select which sets of dailies they want to do and which they want to skip. Example:
My level 83 Mohawk can't do the Wildhammer or TB yet so I want him to do only Therazane.
or
Firelands dailies don't work very well at the moment, there's a bug in the Wildhammer profile so I want to do TB and Therazan only.

Is there a way to do this?

What you are asking for is called a 'data store', and it would have several useful applications like the one you describe.

Saving information to the data store can easily be accomplished with a Custom Behavior. Retrieving information from the data store would be trivial. Alas, HBcore provides no mechanism for the Custom Behavior to transfer the retrieved information back to the profile for decision making purposes.

Such a facility has been asked for in the past, but no commitment from HBdev has been forthcoming.


cheers,
chinajade
 
China;

But a plugin would be able to write and read the datastore right?

I haven't done anything with C# in HB yet (except write my own priority list for Singular Blood DK but those are easy) so if I get some spare time this week I'll start looking into adding a plugin to the profile to control this stuff.
 
China;

But a plugin would be able to write and read the datastore right?

I haven't done anything with C# in HB yet (except write my own priority list for Singular Blood DK but those are easy) so if I get some spare time this week I'll start looking into adding a plugin to the profile to control this stuff.

Indeed, a plugin could just as easily read/write a data store as a behavior. The question is... How are you going to use that to tell the profile what to do?

There is nothing like:
Code:
<If Condition="Plugin.ReturnValue == 23">
     <!-- whatever -->
</If>

Same problem for Custom Behaviors. The 'Condition' machinery is the missing piece we need from HBcore. If you've a clever solution that solves the problem, 'twould love to hear it!

cheers,
chinajade
 
Hmm... good question China.
Isn't there an option to have a plugin load a profile? Set the plugin to do TB and Wildhammer but not Therazane and firelands, then the plugin loads TB, when it finishes it loads Wildhammer?
 
Could you do something like this?

Code:
 Condition="Me.MapId==(wherever) && IsQuestCompleted(last quest where you are) && Me.Level=whatever"

Code:
		CustomBehavior File="LoadProfile" Profile="(Profile you want depending on condition)"

And have a few different If or While conditions in one file for various quests you want to check for if you have completed them along with level requirements? If i understand right it's something like this you want to achieve or way off?
 
Could you do something like this?

Code:
 Condition="Me.MapId==(wherever) && IsQuestCompleted(last quest where you are) && Me.Level=whatever"

Code:
		CustomBehavior File="LoadProfile" Profile="(Profile you want depending on condition)"

And have a few different If or While conditions in one file for various quests you want to check for if you have completed them along with level requirements? If i understand right it's something like this you want to achieve or way off?

Yes, you can put the LoadProfile in conditions.
 
Could you do something like this?

Code:
 Condition="Me.MapId==(wherever) && IsQuestCompleted(last quest where you are) && Me.Level=whatever"

Code:
		CustomBehavior File="LoadProfile" Profile="(Profile you want depending on condition)"

And have a few different If or While conditions in one file for various quests you want to check for if you have completed them along with level requirements? If i understand right it's something like this you want to achieve or way off?

That machinery is available today just as you describe...
Code:
<If Condition="(Me.MapId == 123) && IsQuestCompleted(54321) && (Me.Level == 85)">
     <CustomBehavior File="LoadProfile" Profile="ProfileThatDoesQuest54321AndFriends" />
</If>

This should solve the problem you present. However, it doesn't solve the general problem.


cheers,
chinajade
 
And have a few different If or While conditions in one file for various quests you want to check for if you have completed them along with level requirements? If i understand right it's something like this you want to achieve or way off?
Crowley,
Thanks for the input. It's not what I'm looking for though...

I'm trying to script a profile that will execute daily quests. I want to be able to configure which sets of daily quests to do. So for example:
- TB works great
- Therazane works great
- Firelands not so much

I want to be able to configure the profile to run TB and Therazan but skip Firelands.

I'm already using MapID (or actually ZoneId) and IsQuestCompleted to make sure the profile doesn't start a set of dailies it has already finished..
 
You could also use ProfessionBuddy for such things. ProfessionBuddy is a great tool, not only for Professions ;)
 
Back
Top