Running into two repeatable loops during Fairytale I, both inside the missing-item resolver. Posting them together because they appear to be the same root cause (script treating non-buyable or produced items as direct missing items instead of falling back to create/craft steps).
1) Crushed gem loop (IDs 1633 / 1625 / 1755)
The script tries to get 1633 β Crushed gem.
Instead of crushing a gem, it loops between:
1625 β Uncut opal
1755 β Chisel
re-adding items to the multi-missing list
trying to buy a chisel from GE
resetting the list
repeating forever
It never actually performs use chisel on gem.
Relevant log snippet:
We need Crushed gem for the quest
addItemToMultiMissingList (1755, 1)
Pursuing multi-missing list item id 1755 for main item: 1755
pursueMissingItem->1755-1 secondary: true
Buying item off GE (3)
"missing_item_multi_id_list" changed to "1625_1,1755_1,"
(2) We have this item (1625) in our bank
doWithdrawMissingItem 1625
mainWithdraw(uncut opal-1625)
We need Crushed gem for the quest
addItemToMultiMissingList (1755, 1)
...
(repeats indefinitely)
Expected:
Withdraw gem β use chisel β produce 1633 β continue quest.
Actual:
Script treats chisel itself as a βmissing product,β tries to buy it, then loops.
2) Charged druid pouch loop (ID 2958)
Later in the quest, the script gets stuck preparing a charged druid pouch (2958).
Instead of switching to the actual charging logic (Nature Grotto), it:
Treats 2958 as a directly missing item
Adds it to the multi-missing list
Calls pursueMissingItem() again
Re-adds it
Re-pursues it
Infinite loop
Relevant log:
pursueMissingItem->2958-1 secondary: true
Preparing a charged druid pouch for the quest
addItemToMultiMissingList (2958, 1)
Pursuing multi-missing list item id 2958 for main item: 2958
pursueMissingItem->2958-1 secondary: true
Preparing a charged druid pouch for the quest
addItemToMultiMissingList (2958, 1)
...
(repeats indefinitely)
Expected:
If 2958 missing β withdraw 2957 (druid pouch) β go to grotto β charge pouch.
Actual:
Script loops endlessly because 2958 cannot be bought/withdrawn.
Setup details:
Started Fairytale I from the beginning (bot initiated the quest).
Normal teleports/tabs available.
Coins in inventory.
No special modes (AFK/cannon/etc).
Client restart doesnβt change behavior.
Can provide more logs or run in debug mode if helpful.