Repository navigation
Gambit 0.96.0-beta2
·
72 commits
to releases/0.96.0
since this release
Gambit
Gambit is a Windower 4 addon that allows you to easily define data-driven, customizable, scripted action sequences for use in FFXI. It is used to automate all manner of operations within the game. You can get started on our wiki.
What's new?
This update is mostly about performance improvements, enabled via the new miss_frequency gambit property mentioned below.
- Adding an optional
miss_frequencyproperty to gambits.- This is how often Gambit will wait before re-evaluating a rule if it does not meet the execution requirements defined by its
whenconditions. I call this a miss. - Previously, any missed gambit would be re-evaluated as often as possible as long as no gambit above it fired.
- The
miss_frequencyvalue can be any non-negative number or the equivalent stringsinfinityorinf. - Many expensive stock gambits (common-consumables, use-xp-cp-rings, and ensure-trusts) have been refined to leverage this so that they don't run amok on your CPU cycles.
- Just like
frequency, yourmiss_frequencyscheduling will adhere to the gambit's own scope (currently eitherbattleorzone). - This is really just a semantic wrapper and simplification around use of the
postponefunction, but it's significantly easier to use because the system will handle the scheduling for you. - Omitting a
miss_frequencyvalue from your gambits will have them function exactly as they did before this update.
- This is how often Gambit will wait before re-evaluating a rule if it does not meet the execution requirements defined by its
- I've added a level of retries to the packet-based target acquisition code path before we fall back to facing/tabbing. It's much more reliable to use packets, and my hope is that packet loss will not strike three times in a row (that's the current retry count).
- Added a
sub_jobsfilter option for use in your gambits, to go along with the existingmain_jobsfilter.- Note that filters are evaluated with "OR" rather than "AND" logic. This means that any matching filter will cause the gambit to be loaded.