best thing you can do is take a look at some of the more simple CC's if your having issues, then ask a CC dev if the functionality you want can be added to their CC.I got a question for you, If i want to make my mage do this
Ice barrier up at all times
casting frostbolt at first pull
then mage freeze and 2 icelances
and if target is not dead frostbolt. I have no idea what to do or how to code this. Or how to make this rotation work. I read your guide several times.
whatever it is, it needs to be reported in that thread not this one.yea sure. btw when i use amplify Mage cc thingy i sometimes get this error when i dc
"System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType)
at Styx.WoWInternals.Lua.GetReturnVal[T](String lua, UInt32 retVal)
"
What is causing this?
guide updated for the settings helper class.
soon to come....
Adding a UI
Is there documentation available what stuff like "Me.CurrentTarget.Distance" and "SpellManager.CanCast" exactly do (Not limited to these 2 examples, but all possible ones in HB)?
Thanks for your awnser, makes it more clear to me. Its a shame that such documentation does not exist. I've been reading through the Wiki and was unable to find anything about that, now I know whyWhatever documentention is available is provided in the Honorbuddy.xml file that ships with Honorbuddy. Visual Studio parses this file, and makes it available to you through Intellisense and its Object Browser.
That's all there is. Most of the information should be self evident. However, there are some glaring omissions. For instance, without testing, there is no way for a developer to know:Of course, the seasoned Community developers know the answers. They have put in a huge amount of time to learn the nuances. But, that's not the point...
- The difference between IsFacing() and IsSafelyFacing()
- Should you prefer ObjectManager.Me, or StyxWoW.Me? Why do both exist?
- Should you get the inventory from LocalPlayer.BagItems or the InventoryManager? Why do both exist?
- What's the difference between the Auras list and the ActiveAuras list?
- tons of other ambiguities like this
A developer 'probing' a method to determine how it works is wrong. Without documentation there is no guarantee the method will continue to operate with that characteristic between releases. A great example of this is somewhere in the 4xxx-5xxx releases of Honorbuddy, some 'facing' methods were broken, or changed how they operated. This caused a number of CCs to break, and is still a problem for the InteractWith behavior. To date, no one has figured out the problem, or what changed.
Also, from an effort standpoint, good documentation is a key element for making a Community 'take off'. Writing proper documentation for a method may take 30mins of a key developer's time. The time saved is...
(2+ hours to write probing functions to figure out how it works) times (50+ Community Developers)
that's a 200+ return on investment
Its a major problem, but it is what it is.
cheers,
chinajade
namespace Jim87
{
class LootStatisticsSettings : Settings
{
public static readonly LootStatisticsSettings Instance = new LootStatisticsSettings();
public LootStatisticsSettings()
: base(Path.Combine(Logging.ApplicationPath, string.Format(@"Settings/LootStatistics/Settings-{0}.xml", StyxWoW.Me.Name)))
{
}
[Setting, DefaultValue("")]
public string undermineJournalLink { get; set; }
[Setting, DefaultValue("<?xml version=\"1.0\" encoding=\"utf-8\"?><page><realm></realm></page>")]
public string auctionHouseData { get; set; }
[Setting, DefaultValue((uint)0)]
public uint undermineJournalLastCheckout { get; set; }
}
}
From what I've seen here, I believe it is MOSTLY valid... meaning some of the files or locations may have changed, but the rest is probably pretty accurate... of course, someone that's actually developing would be able to give a better answer...![]()