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

Search results

  1. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    Another quality-of-life question. Everytime I start wildbuddy, it seems to default to CombatBot (which co-incidentally then throws a not yet implemented exception). Do you know how I can persist that my bot (CombatBotEx) was the last Bot across wildbuddy restarts?
  2. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    Seems easy enough. Too late to test it tonight. public void OnButtonClicked(object sender) { Log.Info("Opening Configuration Dialog"); MetroNavigationWindow configWindow = new MetroNavigationWindow() { Title = "CombatBotEx Settings"...
  3. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    what does base.Save() do? Config seems to get persisted when Wildbuddy exits.
  4. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    Shared my latest derived version of CombatBot below. Contains some of the code snippets we shared in this topic. https://www.thebuddyforum.com/wildbuddy-forum/botbases/215814-combatbot-2.html#post2003563
  5. S

    CombatBot

    CombatBotEx v1.0.0.4 - derived from CombatBot All credits to original author. Supports auto-attacking selected targets for "lazy-mode" leveling. Supports auto-looting and auto-collecting settler resources. Configurable. Installation - Unzip contents to WildBuddy\Bots\ - Select...
  6. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    I had some success with Wildbuddy settings, WPF checkboxes and two-way binding (I think). Example of my configuration class and how it persists the config in the right wildbuddy directory using GetSettingsFilePath()... namespace CombatBotEx { class CombatBotExConfig : JsonSettings {...
  7. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    Thanks. Looking at persisting settings now and binding them to GUI controls.
  8. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    ...old way seems to work. Managed to pull up a window with a button inside. public void OnButtonClicked(object sender) { Log.Info("Opening Configuration"); using (var fs = new FileStream(@"Bots\CombatBotEx\CombatBotExGui.xaml", FileMode.Open)) {...
  9. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    I look forward to the first snippet of code & deploy that works. Most contributions have configuration data hardcoded. There is one combat routine with a config dialog but it's not using WPF...
  10. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    Thanks. this was useful. It wasn't clear to me how to embed the defined WPF content. MetroNavigationWindow settings = new MetroNavigationWindow() { Title = "Agility Settings", Content = new AgilitySettings() }; settings.ShowDialog(); I'm still...
  11. S

    Example of "How to Use Code-Behind/XAML for your WPF GUIs"

    Hi, does anyone have a simple example of a WPF-based configuration control that is displayed when button is pressed from OnButtonClicked? public interface IUIButtonProvider { string ButtonText { get; } void OnButtonClicked(object sender); } I have followed the...
  12. S

    CombatBot

    I'm attaching my derived work, in case it is useful to anyone. It's essentially CombatBot but it auto-VacuumLoots and auto-Collects collectibles which is useful for my Settler. Both can co-exist if you place this file in \WildBuddy\Bots\CombatBotEx.
  13. S

    Pec

    I'm going to cry if that works. I've been experimenting so much already!
  14. S

    Pec

    Hi, I have a question about the Python Execute Console. I can do single line Python-type commands. I'm struggling with anything more complex that spans multiple lines. e.g. Simple multi-line constructs such as... for item in items: print item I've read about IronPython...
Back
Top