Welcome to the Achaea Forums! Please be sure to read the Forum Rules.
Queueing Framework [Nexus]

Chubbs
Member Posts: 120 ✭✭✭ - Distinguished
Pretty basic framework for queueing on Nexus using in game aliases.
Comes with 4 functions:
queue.do() - sets an IG alias and queues it to the eqbal queue (use with bal/eq consuming actions i.e your bashing attack or set of pvp attacks)
queue.doFree() - sets an IG alias and prepends it to the eqbal queue (use with balanceless actions i.e. get gold or get body)
queue.dor() - sets an IG alias and attempts to add it to the eqbal queue every .25 seconds (effectively making you repeat something on balance)
queue.dor_stop() - stops attempts at adding the alias set by queue.dor() to the eqbal queue
The framework should respect the current 20 actions per IG alias limit.
do(), doFree(), and dor() all keep track what the most recently set alias was and if the alias is currently queued, so aliases are only updated when the contents are different and are only added to the eqbal queue if not already there.
This means you won't be spamming a million 'setalias x' or 'queue add eqbal' commands when you're spamming enter. (Though those are gagged!)
Some usage examples:
do() and doFree() take comma separated strings as parameters so they can count how many actions you're placing in the alias. They then build and set the alias.
queue.do('ent', 'group', 'wield eyesigil', 'throw eyesigil at ground');
queue.doFree('get sovereigns', 'put sovereigns in pack');
dor() takes an already constructed alias string
queue.dor('construct concussionbomb');
queue.dor('prepare #####');
queue.dor('wield shield/wield sword/jab denizen');
queue.dor('prepare #####');
queue.dor('wield shield/wield sword/jab denizen');
If you want to have variable actions, you can also pass do() and doFree() arrays of strings like so:
let commands = ['ent', 'group', 'wield eyesigil', 'throw eyesigil at ground'];
queue.do.apply(queue, command);
ETA: Forum code block formatting is hell.
2
Sign In to Comment.
Hail, Stranger!
Categories
- 6K All Categories
- 3K Everything Achaea
- 1.5K North of Thera
- 21 Archives of the Terraformer
- 246 The Matsuhama Arena
- 873 The Golden Dais of Creation
- 283 The Scarlattan Theatre
- 145 The Blank Canvas
- 1.9K Getting Help
- 392 General Questions
- 251 Quick Class Questions
- 1.3K Tech Support
- 299 Client Help
- 459 Curing Systems and Scripts
- 829 Off-Topic
- 250 The Wander Inn
- 579 The Universal Membrane
- 286 Class Discussions
- 286 Individual Class Sections
- 20 Alchemist
- 9 Apostate
- 29 Blademaster
- 9 Depthswalker
- 12 Druid
- 4 Infernal
- 20 Jester
- 19 Magi
- 31 Monk
- 10 Occultist
- 7 Paladin
- 7 Priest
- 28 Runewarden
- 18 Sentinel
- 26 Serpent
- 19 Shaman
- 9 Sylvan