Interact with nearest object keybind for World of Warcraft 1.12.1.5875 - Rust port
A Rust port of the Interact DLL that provides an "interact with nearest object" keybind functionality for the WoW 1.12.1 Vanilla client.
- Interact with the nearest valid object within 5 yards using a single keybind
- Smart priority system for object selection
- Auto-loot support
- Backwards compatible with the C version
When multiple objects are in range, the nearest object is selected using this priority:
- Lootable corpses - Dead units with loot available
- Game objects - Chests, herbs, mining nodes, etc.
- Skinnable corpses - Dead units that can be skinned (but not looted)
- Alive NPCs - Living units for interaction
- Download
interact.dllfrom the Releases page - Place the DLL in your WoW game folder
- Add
interact.dlltodlls.txt(for VanillaFixes loader) - Launch the game
After loading, go to Key Bindings in the game menu. Two new bindings will be available:
- Interact - Standard interaction
- Interact (auto-loot) - Interaction with auto-loot enabled
Finds and interacts with the nearest valid object within 5 yards.
Parameters:
autoloot(number) -0for normal interact, non-zero for auto-loot
Returns:
1if interaction occurred,0otherwise
Example:
-- Normal interact
InteractNearest(0)
-- Interact with auto-loot
InteractNearest(1)- Rust nightly toolchain
- MinGW-w64 (for cross-compilation from Linux)
# Install Rust target
rustup target add i686-pc-windows-gnu
# On Ubuntu/Debian
sudo apt install mingw-w64
# On Arch Linux
sudo pacman -S mingw-w64-gcc# Development build
cargo build
# Release build
cargo build --releaseThe DLL will be at target/i686-pc-windows-gnu/release/interact.dll
Some game objects are blacklisted to prevent issues:
- 179830, 179831, 179785, 179786
Debug logs are written to Logs\interact_debug.log in the WoW directory.
BSD-2-Clause