Skip to content

Commit

Permalink
Better BufferBind checking and error detection / notification; bugfix…
Browse files Browse the repository at this point in the history
…es and tweaks

BufferBinds: better error checking and UI feedback
BufferBinds: Add CheckIfKeySelected and checkIfWellFormed, and use them
BufferBinds: PowerPicker is ErrorControl;  use that in BufferBindPane
PowerBinder: Bind string inside rearrange list;  update bind string on load
Bugfix: don't crash because we didn't initialize DefaultToolTip
ErrorControls: set DefaultToolTip at init time and restore it when no errors
  • Loading branch information
emersonrp committed Jun 18, 2024
1 parent dad6a20 commit cfe062d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,17 @@ Features
* Select pets by power level: all, minions, lieutenants, and boss
* Orders for aggressive / defensive / passive stances; attack, follow, go to, and stay
* Pets can give feedback on each order; chattiness can be toggled via keybind
* "Bodyguard mode" shortcuts -- define which pets should be treated as bodyguards, and toggle Bodyguard Mode on and off for them, <strike>with attack/follow/stance/etc orders then applying to the remaining pets.</strike> (<i>Not working as intended</i>)
* "Bodyguard mode" shortcuts -- you can define which pets should be treated as bodyguards, and turn Bodyguard Mode on for them with a single keypress
* By-name pet selection
* Next-pet / previous-pet binds

TODO
----

* Attempt to make every slash command in the game available in some way, typically via PowerBinder.
* Better management of the actual generated bindfiles, including cleaning up old unused ones.
* Access to MacOS for testing is via a MacOS VM several OS versions old. I don't want to buy an actual Mac just for this wee vanity project, so mileage may vary on how it acts in an actual recent Mac environment.
* Bodyguard mode, as implemented in citybinder, doesn't work as intended, and might not be able to due to game restrictions.
* Investigate improvements to Mastermind binds to clarify and expand the behavior.
* Attempt to make every slash command in the game available in some way, typically via PowerBinder
* Access to MacOS for testing is via a MacOS VM several OS versions old. I don't want to buy an actual Mac just for this wee vanity project, so mileage may vary on how it acts in an actual recent Mac environment
* Bodyguard mode, as implemented in citybinder, doesn't work as intended, and might not be able to due to game restrictions
* Investigate improvements to Mastermind binds to clarify and expand the behavior
* More error detection and handling
* Temporary powers in speed-on-demand
* Roll standalone binaries for Windows, MacOS, Linux - partially implemented
Expand Down
2 changes: 2 additions & 0 deletions UI/PowerBinderDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ def MakeBindString(self):
return bindstring

def ShowEditDialogFor(self, command, chosenName):
if not command.UI: return

self.EditDialog.mainSizer.Show(command.UI)

self.EditDialog.Layout()
Expand Down

0 comments on commit cfe062d

Please sign in to comment.