Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
3a53c64
Let CoreBots compile and run on macOS Skua
noelrohi Sep 27, 2026
2d0d5c1
Automatic commit by GitHub Actions
noelrohi Sep 27, 2026
52b3781
Merge auqw/Scripts@Skua into Skua daily, keeping the macOS patches
noelrohi Sep 27, 2026
b3ac344
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Sep 27, 2026
48fce50
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Sep 28, 2026
55f9e9b
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Sep 29, 2026
d3a310a
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Sep 30, 2026
fa79c4c
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 1, 2026
2afd278
CoreLynaria: Wandering Light (10238) hunts Undead Garde first, matchi…
noelrohi Oct 1, 2026
495ab92
Automatic commit by GitHub Actions
noelrohi Oct 1, 2026
037f480
Revert "CoreLynaria: fix King's Echo stuck on Wandering Light (10238)…
noelrohi Oct 1, 2026
67190bd
Automatic commit by GitHub Actions
noelrohi Oct 1, 2026
25f4474
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 2, 2026
a45d7ab
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 3, 2026
c02053e
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 4, 2026
ae8c9b9
Butlerv4: stop rejecting every drop; add PickupDrops and PickupAllDrops
noelrohi Oct 4, 2026
483b5ee
Merge pull request #3 from noelrohi/fix/butlerv4-drops
noelrohi Oct 4, 2026
d636100
Automatic commit by GitHub Actions
noelrohi Oct 4, 2026
76bde41
Butlerv4: add Quests and AttackFirst options
noelrohi Oct 4, 2026
d1fbfe9
Tyndarius v3: fixed roles from one class sync
noelrohi Oct 4, 2026
bf43908
Merge pull request #4 from noelrohi/feat/butlerv4-quests
noelrohi Oct 4, 2026
c40dd09
Merge pull request #5 from noelrohi/feat/tyndarius-v3-roles
noelrohi Oct 4, 2026
a0fb5ff
Automatic commit by GitHub Actions
noelrohi Oct 4, 2026
2874c63
Ultras v3: party layouts, Nulgath party roles, turn-in-aware DoAllUltras
noelrohi Oct 4, 2026
31cc261
UltraPartyLayout: public parameterless constructor so Skua can load i…
noelrohi Oct 4, 2026
aa7a855
Tyndarius v3: the left-orb Legion Revenant gets a Penitence cape and …
noelrohi Oct 4, 2026
195cfe3
GLOSSARY.md: the words for Ultra strategies and testing them (Comp, P…
noelrohi Oct 5, 2026
094a453
Merge pull request #6 from noelrohi/feat/ultras-party-layout
noelrohi Oct 5, 2026
d6bb1ed
Automatic commit by GitHub Actions
noelrohi Oct 5, 2026
de979b4
GLOSSARY.md: a Comp includes when each class taunts; Taunt Rule is no…
noelrohi Oct 5, 2026
deaa8a6
Merge pull request #7 from noelrohi/docs/glossary-comp-block
noelrohi Oct 5, 2026
2c08e53
UltraPotions: buy and drink a given list of potions
noelrohi Oct 5, 2026
cac4f79
UltraComp: a Comp is 4 classes, each with its Role, Loadout and taunt…
noelrohi Oct 5, 2026
062dab1
UltraAttempt: report each Attempt as an ultra.attempt Script Report
noelrohi Oct 5, 2026
5a87eea
Nulgath v3: the default and dot-lr-ap-loo Comps; every Attempt is rep…
noelrohi Oct 5, 2026
edc8e34
Ultras v3 Playbook: picking a Comp, Nulgath's Comps and a results table
noelrohi Oct 5, 2026
a8c96a0
Merge #209: Nulgath Comps end to end
noelrohi Oct 5, 2026
ee2326c
Tyndarius v3: the fixed roles become the default Comp; every Attempt …
noelrohi Oct 5, 2026
88c723a
Speaker v3: the chat-driven roles become the default Comp; every Atte…
noelrohi Oct 5, 2026
37ee408
Ultras v3 Playbook: Tyndarius's and Speaker's Comps and results tables
noelrohi Oct 5, 2026
64b5773
Merge #210: Tyndarius and Speaker Comps
noelrohi Oct 5, 2026
bd2b591
UltraAttempt: a closed set of outcomes, and the boss's HP while dead
noelrohi Oct 5, 2026
b31b2fe
Nulgath v3: dot-lr-ap-loo's Dragon of Time drinks its potions before …
noelrohi Oct 5, 2026
17e5c64
Speaker v3: the TruthTaunter3 Role casts Decay, not the Verus DoomKni…
noelrohi Oct 5, 2026
ef554df
Ultras v3: say Attempt and Wipe where comments and the playbook said …
noelrohi Oct 5, 2026
909f3ff
Ultras v3 Comps: small cleanups
noelrohi Oct 5, 2026
4e4f1a3
UltraComp: the three Comp bosses share their Prep and the steps befor…
noelrohi Oct 5, 2026
3edc004
Merge code review fixes for #207
noelrohi Oct 5, 2026
c67cad5
Nulgath v3: the loo-lr-sc-dot Comp, with chat-cued taunts
noelrohi Oct 5, 2026
8ef5c0f
Ultras v3 Playbook: Nulgath's loo-lr-sc-dot Comp
noelrohi Oct 5, 2026
550b5b5
scripts.json: list UltraComp and UltraAttempt, and the Ultras v3 scri…
noelrohi Oct 5, 2026
5c341dd
Ultras v3 Playbook: loo-lr-sc-dot killed Nulgath in 63 s on its first…
noelrohi Oct 5, 2026
07d6192
Ezrajal v3: the default Comp and loo-lr-ap-csh; every Attempt is repo…
noelrohi Oct 5, 2026
343a664
Warden v3: the default Comp and loo-lr-sc-csh, with berserk-cued Roles
noelrohi Oct 5, 2026
ff277f3
Engineer v3: the default Comp and loo-lr-sc-csh; every Attempt is rep…
noelrohi Oct 5, 2026
fc96622
DoAllUltras: comp options for Ultra Ezrajal, Warden and Engineer
noelrohi Oct 5, 2026
9afc21f
Ultras v3 Playbook: Ezrajal's, Warden's and Engineer's Comps and resu…
noelrohi Oct 5, 2026
7e0a56f
scripts.json: the Time Inn Ultras v3 scripts' and DoAllUltras's new h…
noelrohi Oct 5, 2026
995306a
Ultras v3 Playbook: loo-lr-sc-csh killed Warden, but the berserk cost…
noelrohi Oct 5, 2026
3ba3a90
Ultras v3 Playbook: loo-lr-sc-csh never got past Engineer's drones
noelrohi Oct 5, 2026
ecc8560
CoreEnginev3: a boss script can hold Lord of Order's Order
noelrohi Oct 5, 2026
59d915a
Warden v3: loo-lr-vdk-ke, holding Order for the berserk
noelrohi Oct 5, 2026
1ffcf9e
Engineer v3: loo-lr-sc-ke, fighting as default does
noelrohi Oct 5, 2026
a08f7d3
Warden v3: ke-lr-ap-loo and ke-lr-sc-loo, with a taunt spammer
noelrohi Oct 5, 2026
5fd6675
UltraComp: an entry's minimum max HP, and a Loadout's bait weapon
noelrohi Oct 5, 2026
5ae7146
Ezrajal v3: ke-lr-ap-loo, playing the guide's lock trick
noelrohi Oct 5, 2026
87f32f9
Ultras v3 Playbook: Ezrajal's, Warden's and Engineer's new Comps
noelrohi Oct 5, 2026
9c9a231
scripts.json: the new Comps' scripts' and their dependencies' new hashes
noelrohi Oct 5, 2026
26d23bb
UltraComp: raise max HP to an entry's MinMaxHealth, sparing Vainglory…
noelrohi Oct 5, 2026
06cfb65
Ezrajal v3: a bait weapon never overwrites another weapon's enhancement
noelrohi Oct 5, 2026
6d37840
Ezrajal v3: ke-lr-ap-loo's Legion Revenant spares Vainglory and Pneuma
noelrohi Oct 5, 2026
9a2901d
scripts.json: UltraComp's and Ezrajal v3's new hashes
noelrohi Oct 5, 2026
01a0ec8
Ultras v3 Comps: enhance an unenhanced spare before equipping it
noelrohi Oct 5, 2026
6b5389a
Ultras v3 Playbook: ke-lr-ap-loo killed Ezrajal twice, the lock trick…
noelrohi Oct 5, 2026
c48931b
Ultras v3: only King's Echo drinks potions in Tyndarius default and E…
noelrohi Oct 5, 2026
ff0d96a
Ultras v3 Playbook: loo-lr-sc-ke killed Engineer in 17 s
noelrohi Oct 5, 2026
41777d5
Ultras v3 Playbook: Tyndarius default wiped five times with potions o…
noelrohi Oct 5, 2026
4d22e51
Tyndarius v3: the ArchPaladin seals before each taunt and never casts…
noelrohi Oct 5, 2026
fa7cf58
Tyndarius v3: ke-lr-ap-loo-loop, default with a loop taunt and no pot…
noelrohi Oct 5, 2026
3c94941
Tyndarius v3: ke-lr-ap-loo-orbs, King's Echo taunts the right orb
noelrohi Oct 5, 2026
c988edc
Tyndarius v3: ke-lr-ap-loo-orbpairs, two taunters per orb
noelrohi Oct 5, 2026
05c5c38
Tyndarius v3: ke-lr-ap-loo-burst, Lord of Order on the right orb betw…
noelrohi Oct 5, 2026
b249292
Tyndarius v3: ke-lr-ap-loo-burst puts King's Echo in its damage gear
noelrohi Oct 5, 2026
801cbbb
Ultras v3 Playbook: ke-lr-ap-loo-burst's last two Tyndarius Attempts
noelrohi Oct 5, 2026
64be70b
Tyndarius v3: King's Echo on Lucky / Ravenous / Examen / Vainglory in…
noelrohi Oct 5, 2026
ed75ceb
Ultras v3 Playbook: ke-lr-ap-loo-loop with King's Echo on Ravenous, t…
noelrohi Oct 5, 2026
a3a510e
Tyndarius v3: the guide's group gear and King's Echo's potions in eve…
noelrohi Oct 5, 2026
bec94a4
Ultras v3 Playbook: Tyndarius with the guide's gear, one Wipe
noelrohi Oct 5, 2026
c2724e4
Tyndarius v3: loo-sc-ap-ke, the guide's Recommended Group
noelrohi Oct 5, 2026
bcc7bb4
Ultras v3 Playbook: loo-sc-ap-ke killed Tyndarius, now its recommende…
noelrohi Oct 5, 2026
edd610d
Tyndarius v3: drop the four test Comps, keep default and loo-sc-ap-ke
noelrohi Oct 5, 2026
14418a1
UltraPotions: restock at 2 left, and never farm gold for potions
noelrohi Oct 5, 2026
726989b
Drago v3: only the DPS drink potions
noelrohi Oct 5, 2026
bbdfe2a
Ultras v3 Playbook: Drago killed on the first try
noelrohi Oct 5, 2026
30aa903
Merge pull request #8 from noelrohi/spec/207-ultra-comps
noelrohi Oct 5, 2026
b9b3db7
Automatic commit by GitHub Actions
noelrohi Oct 5, 2026
65aa73a
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 5, 2026
d7b080f
CoreNation: detect Crag & Bamboozle by item ID
noelrohi Oct 6, 2026
1b05d51
scripts.json: the Crag fix's scripts' new hashes
noelrohi Oct 6, 2026
c97d020
CoreNation: keep 800 Uni 10, and top Diamonds up with The Assistant
noelrohi Oct 6, 2026
b961489
CoreNation: Swindle's Return Policy and Bonus Deal take 70 Diamonds f…
noelrohi Oct 6, 2026
490cb49
scripts.json stays in sync: a pre-commit hook, a CI check, and AGENTS.md
noelrohi Oct 6, 2026
f9f1db2
0MaxBags: farm Totems before Blood Gems
noelrohi Oct 6, 2026
c01fbc6
scripts.json hook: git commit <path> leaves the index in step too
noelrohi Oct 6, 2026
8bc5465
Merge pull request #11 from noelrohi/chore/10-scripts-json-sync
noelrohi Oct 6, 2026
1e8496f
Merge pull request #9 from noelrohi/fix/nation-crag-pets
noelrohi Oct 6, 2026
c9d74b6
CoreNation: FarmVoucher buys the non-mem Voucher at Swindle's when it…
noelrohi Oct 6, 2026
b28dea9
Merge pull request #12 from noelrohi/fix/nation-voucher-merge
noelrohi Oct 6, 2026
fd36b65
CoreNation: Tainted Gems and Dark Crystal Shards from The Poisonous Deal
noelrohi Oct 6, 2026
664d82c
Merge pull request #13 from noelrohi/feat/nation-poisonous-deal
noelrohi Oct 6, 2026
90c9ba5
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 7, 2026
2ad64ed
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 9, 2026
32d500d
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 10, 2026
a299a22
scripts.json: entries for the merged Scripts
github-actions[bot] Oct 10, 2026
4103ef0
Keep Boosted Gear out of make-room banking unless BankBoostedGear
noelrohi Oct 10, 2026
1d4c9fc
Merge s3/16-boosted-gear into feat/omg-5 (#16)
noelrohi Oct 10, 2026
0f1663b
Delete Bank All Classes: AQW client 5.0 can't bank classes
noelrohi Oct 10, 2026
7955ae8
Core: look for classes only in the inventory; TrashCan skips classes
noelrohi Oct 10, 2026
3d66a76
Scripts: stop banking classes and looking for them in the bank
noelrohi Oct 10, 2026
6301ee3
Merge remote-tracking branch 'origin/feat/omg-5' into s4/17-class-ban…
noelrohi Oct 10, 2026
b0eefc3
Merge branch 's4/17-class-banking' into feat/omg-5
noelrohi Oct 10, 2026
c498fa7
Core: don't sell or trash a Favorite through raw packets
noelrohi Oct 10, 2026
afe37d4
Keep Favorites out of bulk and make-room banking
noelrohi Oct 10, 2026
e465ef6
Merge s2/15-favorites into feat/omg-5 (#15)
noelrohi Oct 10, 2026
d192c8c
Core: ask Skua which Space an item needs instead of a temporary copy
noelrohi Oct 10, 2026
fe9ee3b
KillKitsune: read the aura command's last character
noelrohi Oct 10, 2026
e47618f
Merge s7/19-skua-hasspacefor: use Skua Bot.Inventory space API (#19)
noelrohi Oct 10, 2026
cbe7c73
Ultra engines: read aura stacks from Skua's HUD stack count
noelrohi Oct 10, 2026
4e0703f
KillWithAura: match auras in the packet's auras list
noelrohi Oct 10, 2026
1f89424
Merge remote-tracking branch 'origin/feat/omg-5' into s5/18-aura-stacks
noelrohi Oct 10, 2026
5655f98
Merge s5/18-aura-stacks (#18)
noelrohi Oct 10, 2026
6788a27
Ultra engines: compare stacking auras by HUD stack count
noelrohi Oct 10, 2026
f775bed
KillWithAura: react only to an aura arriving
noelrohi Oct 10, 2026
6fbe1a7
Adv.BuyItem: check the Space the item goes to
noelrohi Oct 10, 2026
588622b
Core: one Favorite check for banking and the trash helper
noelrohi Oct 10, 2026
46975f3
Core: name the full Space in log lines
noelrohi Oct 10, 2026
0e59bae
Merge branch 'review/omg-5-fixes' into feat/omg-5
noelrohi Oct 10, 2026
8e212f4
Merge pull request #22 from noelrohi/feat/omg-5
noelrohi Oct 10, 2026
d191db5
Automatic commit by GitHub Actions
noelrohi Oct 10, 2026
27c51c7
Merge upstream auqw/Scripts Skua into the fork
noelrohi Oct 10, 2026
8f8ea87
Merge pull request #23 from noelrohi/chore/sync-upstream-2026-10-11
noelrohi Oct 10, 2026
9662c6a
Automatic commit by GitHub Actions
noelrohi Oct 10, 2026
2ffeb48
Speaker v3: a loo-luck Comp, and fight only once the whole party is i…
noelrohi Oct 11, 2026
4be6ba2
Speaker v3: hold the rotation so Decay lands before Revitalization heals
noelrohi Oct 11, 2026
11b4f03
Ultra Loadout: with auto enhance off, wear matching gear and restore …
noelrohi Oct 11, 2026
f807e53
Ultras v3 Playbook: the Speaker's loo-luck Comp, Decay hold, gear res…
noelrohi Oct 11, 2026
fe02492
scripts.json: the Speaker branch's Scripts
noelrohi Oct 11, 2026
b934842
Merge pull request #24 from noelrohi/feat/speaker-loo-luck
noelrohi Oct 11, 2026
00da039
Automatic commit by GitHub Actions
noelrohi Oct 11, 2026
61dc16d
Ultras v3: every boss with a Party Layout checks the party is in one …
noelrohi Oct 11, 2026
f618410
ultra.attempt: report the Loadout each account actually wore
noelrohi Oct 11, 2026
3461bc7
ultra.attempt: a death no longer blocks completion, and a retreat aft…
noelrohi Oct 11, 2026
cc72d2a
ultra.attempt: skip a refight's Attempt by the kill this run reported…
noelrohi Oct 11, 2026
4a7d860
UltraLoadout: note only shortfalls, one Pick, and named weapon-specia…
noelrohi Oct 11, 2026
eb056c0
Merge pull request #28 from noelrohi/fix/ultra-retro-attempts
noelrohi Oct 11, 2026
f5971a1
Warn when scripts_json.py sync hashes a Script's old staged version
noelrohi Oct 11, 2026
cafbd33
Match core.hooksPath by directory, skip ignored files, test hooks sta…
noelrohi Oct 11, 2026
3c47bfb
Merge pull request #30 from noelrohi/fix/scripts-json-unstaged-warning
noelrohi Oct 11, 2026
9b9396e
DoAllUltras: skip bosses every account turned in this period
noelrohi Oct 11, 2026
727cf41
Shared boss queue: decide from this pass's statuses only
noelrohi Oct 11, 2026
1c5ea63
Merge pull request #32 from noelrohi/fix/31-period-done-field
noelrohi Oct 11, 2026
36a22b0
Nulgath v3: a loo-lrpen-sc-dot Comp, Legion Revenant on Penitence and…
noelrohi Oct 11, 2026
217b365
Merge pull request #34 from noelrohi/feat/nulgath-lr-penitence
noelrohi Oct 11, 2026
4a81faa
Ultras v3: a kill counts for the whole party
noelrohi Oct 11, 2026
372ab81
Ultras v3: only an item got in this fight counts as the party's kill
noelrohi Oct 11, 2026
acbf342
Ultras v3: leaving without a fight isn't a kill
noelrohi Oct 11, 2026
563d295
Merge pull request #36 from noelrohi/fix/35-party-kill
noelrohi Oct 11, 2026
dae4ede
Merge upstream auqw/Scripts Skua (67 commits) (#38)
noelrohi Oct 18, 2026
99364af
Automatic commit by GitHub Actions
noelrohi Oct 18, 2026
5d8e794
SeaVoiceMerge: stop Voice in the Sea once the inventory holds the item
noelrohi Oct 19, 2026
90b8613
Merge pull request #39 from noelrohi/fix/seavoice-bioluminessence-inv…
noelrohi Oct 19, 2026
aedcf22
Merge upstream auqw/Scripts Skua (27 commits)
noelrohi Oct 22, 2026
cce6ca3
Merge pull request #40 from noelrohi/sync/upstream-2026-10-22
noelrohi Oct 22, 2026
84396aa
Automatic commit by GitHub Actions
noelrohi Oct 22, 2026
da87b21
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 23, 2026
bacd2fc
scripts.json: entries for the merged Scripts
github-actions[bot] Oct 23, 2026
b19de5d
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 24, 2026
fbf883c
scripts.json: entries for the merged Scripts
github-actions[bot] Oct 24, 2026
1c893ca
Merge remote-tracking branch 'upstream/Skua' into Skua
noelrohi Oct 24, 2026
62bc060
Automatic commit by GitHub Actions
noelrohi Oct 24, 2026
8ccd576
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 25, 2026
55db026
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 26, 2026
2602321
scripts.json: entries for the merged Scripts
github-actions[bot] Oct 26, 2026
49118bc
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 27, 2026
c311258
scripts.json: entries for the merged Scripts
github-actions[bot] Oct 27, 2026
a02c8f8
Butlerv4: per-account options and a Leader option
noelrohi Oct 27, 2026
6063289
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 28, 2026
cf7916a
scripts.json: entries for the merged Scripts
github-actions[bot] Oct 28, 2026
2b0ff24
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 29, 2026
edfa3c7
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 30, 2026
2fa75a5
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Oct 31, 2026
5cedc70
scripts.json: entries for the merged Scripts
github-actions[bot] Oct 31, 2026
21b0458
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 1, 2026
4d54f3e
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 3, 2026
71a4b37
Merge upstream auqw/Scripts Skua (45 commits)
noelrohi Nov 6, 2026
2df7c26
Merge pull request #42 from noelrohi/sync/upstream-2026-11-06
noelrohi Nov 6, 2026
6f7eab6
Automatic commit by GitHub Actions
noelrohi Nov 6, 2026
f50f88f
Merge remote-tracking branch 'origin/Skua' into feat/butlerv4-per-leader
noelrohi Nov 6, 2026
f65522d
scripts.json: sync Butlerv4's size and sha256
noelrohi Nov 6, 2026
66eca0d
Merge pull request #41 from noelrohi/feat/butlerv4-per-leader
noelrohi Nov 7, 2026
0b9abeb
Merge upstream auqw/Scripts Skua (74 commits)
noelrohi Nov 9, 2026
86c41dc
Merge pull request #43 from noelrohi/sync/upstream-2026-11-09
noelrohi Nov 9, 2026
8075d99
Automatic commit by GitHub Actions
noelrohi Nov 9, 2026
bcddfbb
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 10, 2026
dd484f2
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 10, 2026
6e6ec05
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 11, 2026
b3a1d93
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 11, 2026
18958ff
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 12, 2026
2e43e49
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 12, 2026
b431600
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 13, 2026
fb6dc8d
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 13, 2026
b1fc74f
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 14, 2026
e692339
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 14, 2026
3209993
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 15, 2026
0cb17d1
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 15, 2026
9a25776
Merge upstream auqw/Scripts Skua (5 commits)
noelrohi Nov 16, 2026
7a73acd
Merge pull request #44 from noelrohi/sync/upstream-2026-11-16
noelrohi Nov 16, 2026
4de0e53
Automatic commit by GitHub Actions
noelrohi Nov 16, 2026
216bd55
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 16, 2026
49e967a
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 16, 2026
8f8936a
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 17, 2026
c596c55
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 17, 2026
f6ea329
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 18, 2026
ed1646e
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 18, 2026
10d22c0
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 19, 2026
fd2c1b4
Merge remote-tracking branch 'upstream/Skua' into Skua
github-actions[bot] Nov 22, 2026
3949d8e
scripts.json: entries for the merged Scripts
github-actions[bot] Nov 22, 2026
a9323ee
Merge remote-tracking branch 'upstream/Skua' into Skua
noelrohi Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .githooks/post-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
# After `git commit <path>`, syncs the entries pre-commit synced in the commit into the real index.

synced=$(git rev-parse --git-path scripts-json-synced)
[ -f "$synced" ] || exit 0
xargs -0 python3 Tools/ForDevelopers/scripts_json.py sync < "$synced"
rm "$synced"
16 changes: 16 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
# Rewrites the scripts.json entries of the staged .cs files, so Skua serves the committed versions.
# Install once per clone: git config core.hooksPath .githooks

synced=$(git rev-parse --git-path scripts-json-synced)
rm -f "$synced"
git diff --cached --quiet -- '*.cs' && exit 0
git diff --cached --name-only --no-renames -z -- '*.cs' > "$synced"
xargs -0 python3 Tools/ForDevelopers/scripts_json.py sync < "$synced" || exit 1

# `git commit <path>` commits a temporary index and leaves the real one, locked until then, with
# the old scripts.json; post-commit repeats the sync there. Other commits commit the real index.
index=$(unset GIT_INDEX_FILE; git rev-parse --git-path index)
if [ "$GIT_INDEX_FILE" -ef "$index" ] || [ "$GIT_INDEX_FILE" -ef "$index.lock" ]; then
rm "$synced"
fi
16 changes: 16 additions & 0 deletions .github/workflows/scripts-json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Fails when a scripts.json entry's size, hash or header fields don't match its Script,
# or a Script with a /* header has no entry; the failure prints the fix.
name: scripts.json

on:
pull_request:
push:
branches: [Skua]

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: python3 Tools/ForDevelopers/scripts_json.py check
- run: sh Tools/ForDevelopers/scripts_json_test.sh
114 changes: 114 additions & 0 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Merges auqw/Scripts@Skua into this fork's Skua daily, keeping the macOS patches
# (the `// skua-macos:` lines in CoreBots.cs). It never rebases or force-pushes:
# anything it can't merge cleanly becomes an issue for the maintainer.
name: Sync upstream

on:
schedule:
- cron: '17 6 * * *'
workflow_dispatch:

permissions:
contents: write
issues: write

concurrency:
group: sync-upstream

jobs:
sync:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
ISSUE_TITLE: 'Upstream sync failed: auqw/Scripts@Skua'
steps:
- uses: actions/checkout@v4
with:
ref: Skua
fetch-depth: 0

- name: Merge auqw/Scripts@Skua
run: |
body="$RUNNER_TEMP/issue.md"
report() { printf '%s\n\n%s\n' "$1" "$2" > "$body"; exit 1; }

git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git remote add upstream https://github.com/auqw/Scripts.git
git fetch --no-tags upstream Skua
upstream=$(git rev-parse upstream/Skua)

if git merge-base --is-ancestor "$upstream" HEAD; then
echo "Already up to date with auqw/Scripts@$upstream"
exit 0
fi

if ! git merge --no-edit upstream/Skua; then
conflicts=$(git diff --name-only --diff-filter=U)
# scripts.json is generated on every push, and upstream's CoreBots entry
# conflicts with ours whenever upstream edits CoreBots.cs. Take upstream's; the sync below fixes it.
if [ "$conflicts" = scripts.json ]; then
git checkout --theirs scripts.json
git add scripts.json
git commit --no-edit
else
git merge --abort
report "Merging auqw/Scripts@$upstream conflicts in:" "$(printf '%s\n' "$conflicts" | sed 's/.*/- `&`/')"
fi
fi

# Both patches mark their lines with `// skua-macos:`; three lines in all.
if [ "$(grep -c '// skua-macos:' CoreBots.cs)" -ne 3 ] \
|| ! grep -B1 '^using System.Windows.Forms;' CoreBots.cs | grep -q '^#if !MACOS' \
|| ! grep -q 'if (!OperatingSystem.IsWindows())' CoreBots.cs; then
report "Merging auqw/Scripts@$upstream succeeded, but the macOS patches in CoreBots.cs are no longer intact, so nothing was pushed." \
"Expected three \`// skua-macos:\` lines, \`#if !MACOS\` right above \`using System.Windows.Forms;\`, and the \`OperatingSystem.IsWindows()\` early return."
fi

# Upstream's entries hash upstream's CoreBots.cs, and a GITHUB_TOKEN push starts no
# workflow to regenerate scripts.json, so the merge brings its own entries up to date.
python3 Tools/ForDevelopers/scripts_json.py sync --all \
|| report "Merging auqw/Scripts@$upstream succeeded, but resyncing scripts.json failed, so nothing was pushed; see the run log." ""
git diff --cached --quiet || git commit -m 'scripts.json: entries for the merged Scripts'

# GitHub refuses a GITHUB_TOKEN push that changes workflow files.
if ! git diff --quiet ORIG_HEAD HEAD -- .github/workflows; then
report "Merging auqw/Scripts@$upstream changes workflow files, which this job's token may not push:" \
"$(git diff --name-only ORIG_HEAD HEAD -- .github/workflows | sed 's/.*/- `&`/')"
fi

git push origin HEAD:Skua \
|| report "Merging auqw/Scripts@$upstream succeeded, but \`git push origin HEAD:Skua\` was refused; see the run log." ""

- name: Open or update the sync issue
if: failure()
run: |
body="$RUNNER_TEMP/issue.md"
[ -f "$body" ] || echo "The sync job failed before merging; see the run log." > "$body"
cat >> "$body" <<EOF

Run: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID

To resolve by hand:

\`\`\`sh
git clone -b Skua https://github.com/$GITHUB_REPOSITORY.git && cd Scripts
git remote add upstream https://github.com/auqw/Scripts.git
git fetch upstream Skua
git merge upstream/Skua
# Resolve, keeping the macOS patches: \`git grep skua-macos\` shows three lines in CoreBots.cs.
# For scripts.json, take upstream's: git checkout --theirs scripts.json
# After the merge commit, commit the fix that \`python3 Tools/ForDevelopers/scripts_json.py check\` prints.
git push origin Skua # a plain push, never --force
\`\`\`

Then close this issue.
EOF

number=$(gh issue list -R "$GITHUB_REPOSITORY" --state open --search "$ISSUE_TITLE in:title" \
--json number,title --jq 'map(select(.title == env.ISSUE_TITLE))[0].number // empty')
if [ -n "$number" ]; then
gh issue comment "$number" -R "$GITHUB_REPOSITORY" --body-file "$body"
else
gh issue create -R "$GITHUB_REPOSITORY" --title "$ISSUE_TITLE" --body-file "$body"
fi
22 changes: 22 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# AGENTS.md

## scripts.json

Skua decides which Scripts are outdated from each `scripts.json` entry's size and SHA-256, so a commit that changes a `.cs` file carries its updated entry. Install the hooks once per clone and they do this for every committed `.cs` file:

```sh
git config core.hooksPath .githooks
```

CI runs `Tools/ForDevelopers/scripts_json.py check` on every pull request; its docstring and its failure message give the repair command.

## Testing a branch on a Skua Engine

Push the branch, then point the Engine's Script Source at it and sync:

```sh
skua scripts source noelrohi/Scripts@<branch>
skua scripts update
```

Set it back with `skua scripts source --default` (`noelrohi/Scripts@Skua`) when done. [noelrohi/Skua#215](https://github.com/noelrohi/Skua/issues/215) adds `skua scripts check <path>` and hash-verified updates.
61 changes: 31 additions & 30 deletions CoreAdvanced.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@ public void BuyItem(string map, int shopID, int itemID, int quant = 1, int shopQ
if (Core.CheckInventory(itemID, quant))
return;

// Inventory space check
// TEMPORARY Game4000 inventory change. Remove after the client inventory fix.
if (Core.InventoryBagFreeSlots <= 0 && !Bot.Inventory.Contains(itemID))
{
if (Log) Core.Logger("❌ Inventory full, cannot buy items.");
return;
}

Core.Join(map);
Bot.Wait.ForMapLoad(map);
Core.JumpWait();
Expand All @@ -117,6 +109,8 @@ public void BuyItem(string map, int shopID, int itemID, int quant = 1, int shopQ
return;
}

int effectiveShopQuant = item.Quantity > 0 ? item.Quantity : shopQuant;

// House space check if item is a house-storable category
if (!string.IsNullOrEmpty(item.CategoryString) && Core.CategoryStrings.Contains(item.CategoryString))
{
Expand All @@ -132,8 +126,13 @@ public void BuyItem(string map, int shopID, int itemID, int quant = 1, int shopQ
return;
}
}

int effectiveShopQuant = item.Quantity > 0 ? item.Quantity : shopQuant;
// Check the Space the item goes to, so a full Bag Space doesn't block a misc item.
else if (!Core.HasSpaceFor(item, effectiveShopQuant))
{
if (Log)
Core.Logger($"❌ Your {Core.SpaceName(item)} is full, cannot buy \"{item.Name}\".");
return;
}

_BuyItem(map, shopID, item, quant, effectiveShopQuant, shopItemID, index, Log);
}
Expand Down Expand Up @@ -1547,8 +1546,23 @@ void AuraListener(dynamic packet)

foreach (dynamic a in data.a)
{
string? auraName = a?.aura?["nam"]?.ToString();
if (string.IsNullOrEmpty(auraName) || !auraNames.Contains(auraName))
// React only to arrivals (aura+, aura++); aura- and aura-- report an aura leaving.
string? auraCmd = a?.cmd?.ToString();
if (auraCmd != "aura+" && auraCmd != "aura++")
continue;

// Arrivals list their auras in "auras"; some carry a single "aura".
string? auraName = null;
foreach (dynamic aura in a?.auras ?? (a?.aura != null ? new[] { a.aura } : Array.Empty<dynamic>()))
{
string? name = aura?["nam"]?.ToString();
if (!string.IsNullOrEmpty(name) && auraNames.Contains(name))
{
auraName = name;
break;
}
}
if (auraName == null)
continue;

// Throttle cooldown
Expand Down Expand Up @@ -1812,7 +1826,6 @@ bool classMatch(InventoryItem i) =>
: i.Name.Equals(className!, StringComparison.OrdinalIgnoreCase));

ItemBase? itemInv = Bot.Inventory.Items
.Concat(Bot.Bank.Items)
.FirstOrDefault(i => i != null && classMatch(i));

if (itemInv == null)
Expand All @@ -1825,19 +1838,6 @@ bool classMatch(InventoryItem i) =>
return;
}

if (Bot.Bank.Contains(itemInv.ID) && !Bot.Inventory.Contains(itemInv.ID))
{
Core.Unbank(itemInv.ID);
Core.Sleep();

itemInv = Bot.Inventory.Items.FirstOrDefault(i => i != null && classMatch(i));
if (itemInv == null)
{
Core.Logger("Failed to unbank class item.");
return;
}
}

if (itemInv.Upgrade && !Bot.Player.IsMember)
{
Core.Logger($"\"{itemInv.Name}\" requires membership to rank up.");
Expand Down Expand Up @@ -2142,11 +2142,12 @@ public void EnhanceItem(
HelmSpecial hSpecial = HelmSpecial.None,
WeaponSpecial wSpecial = WeaponSpecial.None,
bool logging = false
)
{
EnhanceItem(item, type, cSpecial, hSpecial, wSpecial, logging, false);
}
) => EnhanceItem(item, type, cSpecial, hSpecial, wSpecial, logging, bypassDisableAutoEnhance: false);

/// <summary>
/// Enhances <paramref name="item"/>; with <paramref name="bypassDisableAutoEnhance"/>, even when the CoreBots
/// option DisableAutoEnhance is on, for a caller that puts the old enhancement back itself.
/// </summary>
public void EnhanceItem(
string item,
EnhancementType type,
Expand Down
Loading