MillerFeed π°
Version: 1.0.0
A lightweight addon for Runes of Magic that automates feeding Miller's Special Cake to your pets. This is a simple but effective method to level up your pets quickly through overfeeding. MillerFeed follows the philosophy of UNIX command line tools: Do one job and do it well! No graphical user interface, no settings, no overhead. Just the slash command on your fingertips. The addon implements support for both semi-automatic and fully automated buy-and-feed modes. No more clicking until death.
π§βπ» Why not just using a macro?
That was exactly what i thought too until i found out that it is not possible to use /wait inside of the lua code of a macro, so you cannot use it inside loops. This addon uses the OnUpdate frame callback to check how much time was being elapsed. But if you really only want to use a macro, this is the most effective approach i could figure out:
/script P=2;function F()f=TEXT("Sys204791_name");for i=1,GetPetFeedItem(-1)do SetPetFeedItem(i);if GetPetFeedFoodItem()==f then FeedPet(P)return end end end
/script F()
/wait 0.1
/script F()
/wait 0.1
/script F()
/wait 0.1
/script F()
/wait 0.1
It is not fully automatic, because you still have to spam click the macro icon but at least it is more effective than clicking in the PetMenu. With this macro you can feed up to 8 cakes per second.
π MillerFeed Features
π° Feeding System
- Fast feeding - 0.1 second delay (10 cakes/second)
- Overfeed support - Works even when pets are 100% feed.
- Progress tracking - Updates every 100 cakes to reduce chat spam
- Clean cancellation - Stop at any time with
/mf cancel
π Auto-Buy Mode
- Smart purchasing - Automatically buys cakes in stacks of 99
- Money-based limit -
/mf auto money [gold] [petslot] - Buy up to specified gold amount and feed them
- Amount-based limit -
/mf auto amount [number] [petslot] - Buy exact number of cakes and feed them
- Continuous feeding - Buys more when inventory drops to 50 cakes
- Safety checks - Validates Pet Hunter shop, verifies player's gold, handles shop closure
π¨ User Experience
- Colored output - Green addon prefix, gold info, red errors, white commands
- Message suppression - Filters out repetitive "Pet is full" system messages
- Short alias - Use
/mf instead of /millerfeed
- Passive design - No performance impact until you run a command
- Inventory tracking - Manual cake counting to avoid game lag issues
π¬ Commands
/mf or /millerfeed Show help
Manual Mode:
/mf start [petslot] Feed all cakes in inventory to pet
/mf cancel Stop feeding
Auto Mode (at Pet Hunter):
/mf auto money [gold] [petslot] Buy & feed cakes worth X gold
/mf auto amount [num] [petslot] Buy & feed X number of cakes
/mf cancel Stop auto-buy/feed process
Utilities:
/mf count Show Miller's Cakes in inventory
/mf help Display all commands
Command Examples
/mf start 1 Feed all cakes to pet slot 1
/mf auto money 1000000 2 Buy cakes worth 1kk gold, feed to pet 2
/mf auto amount 500 1 Buy 500 cakes, feed to pet 1
/mf count Check cake inventory
/mf cancel Stop current process
π How Auto Mode Works
Requirements:
- Be at a Pet Hunter NPC (sells Miller's Special Cake - ID 204791)
- Have the shop window open
- Have enough gold in your inventory
Process:
- Validates you're at the correct shop with sufficient gold
- Buys 99 cakes (or less if limit/gold is lower)
- Feeds cakes to your pet continuously
- When inventory drops to 50 cakes, buys another batch of 99
- Continues until limit reached or out of gold
- Feeds all remaining cakes before completing
Stopping Conditions:
/mf cancel - Manual stop, shows summary
- Shop closes - Auto-stops with STORE_CLOSE event
- Limit reached - Buys stop, feeds remaining cakes
- Out of gold - Buys stop, feeds remaining cakes
βοΈ Technical Details
Feeding Mechanism:
- Uses
OnUpdate frame callback with time accumulation
- Feeds one cake every 0.1 seconds (10 cakes/second)
- Based on ZZMyPet's over-feeding implementation
Inventory Management:
- Manual cake counter (
ExpectedCakes) to overcome game inventory lag
- Real-time tracking of buys and feeds
- Prevents premature stopping due to UI update delays
Message Suppression:
- Hooks
WarningFrame.AddMessage and DEFAULT_CHAT_FRAME.AddMessage
- Filters
SYS_GAMEMSSEVENT_900 ("Pet is already full")
- Filters
SYS_PET_FEED_SUCCEED and SYS_PET_FEED_FAILED
- Only active during feeding or shortly after canceling
Event Handling:
- Registers
STORE_CLOSE event only during auto mode
- Passive design - no hooks/events until command is issued
- Clean event unregistration on completion
π¦ Installation
- Extract the
MillerFeed folder to Interface/Addons/
- Restart game or reload UI (
/reloadui)
- You'll see:
[MillerFeed] Loaded! Type /mf help for commands.
- Type
/mf help to see all available commands
π Files Included
MillerFeed.lua - Main addon code
MillerFeed.xml - Frame definition (OnUpdate loop)
MillerFeed.toc - Addon metadata
README.txt - Detailed documentation
β οΈ Important Notes
- Pet slot numbering - Pets are numbered 1-6 in your pet list (not 0-5)
- Shop requirement - Auto mode ONLY works at Pet Hunter NPCs
- Gold validation - Checks your gold before starting, aborts if insufficient
- No refunds - Make sure you have the right pet selected before starting
- Message colors -
[MillerFeed] in green, info in gold, errors in red, commands in white
π Known Issues
It is happening very rarely that the addon encounters an off-by-one-error in counting down the fed cakes. What can happen then are minor issues like that the information in the chat log is wrong by one cake, that one cake leaves in the inventory, or that the last system message is not captured.
π Credits
Created for automating Miller's Special Cake feeding in Runes of Magic.
- Feeding mechanism based on ZZMyPet
- Shop detection inspired by PetAutoCraft
π¬ Support
For bug reports, feature requests, or questions, please use the comments section on this project page.
Type /mf help in-game for quick command reference.
βοΈ License
MIT <-- do whatever you want but just don't sue me