nFighter User Manual
All-in-one combat script for training and money-making with support for cannons, magic, safespotting, and automatic restocking.
Links: TRiBot Store | Forum Thread | Discord
Table of Contents
- Quick Start
- Requirements
- How It Works
- Supported Potions
- Settings Reference
- Advanced Settings
- Troubleshooting
- Getting Help
- Tips
Quick Start
- Position: Stand near the monsters you want to fight
- Gear up: Equip your combat gear and have food/potions in inventory
- Start the script and configure:
- Target Monsters tab: Select your targets from the "Possible Targets" list (auto-populated from nearby NPCs)
- Fighting Area tab: Click "Grab Current Tile" to set your fighting location, adjust radius if needed
- Inventory tab: Click "Load Current Inventory" to capture your current setup
- Optional: Configure looting thresholds, prayers, and restocking
- Click Start - the script will fight, loot, bank, and restock automatically
Script Arguments
Load a saved settings profile by passing the profile name as a script argument:
MyProfile
This loads <tribot-folder>/nScripts/nFighter/settings/MyProfile.ini and starts immediately without showing the GUI. Useful for automation and automatically starting scripts on clients.
Additional options:
last- Load the most recently used settings- Profiles saved to nScripting.com Settings Storage can also be loaded by name
Requirements
Equipment Requirements
- Combat gear appropriate for your chosen monsters
- Weapon and armor matching your attack style (melee/ranged/magic)
- Ammunition if using ranged or thrown weapons
- Runes if using magic
Items/GP Needed
- Food for healing (any standard food works)
- Potions if desired (combat potions, prayer potions, antipoisons, antifire, etc.)
- GP in bank if using Grand Exchange restocking (enabled by default)
- Cannonballs if using a cannon
Optional Requirements
- Cannon: Dwarf Cannon quest completion + cannon parts + cannonballs in inventory
- Slayer Monsters: Appropriate finishing items (ice coolers for desert lizards, rock hammers for gargoyles, etc.)
- Storage Containers: Looting bag or herb sack for extended trips
How It Works
nFighter follows a continuous combat loop:
- Target Selection: Finds and attacks the best available target based on distance and accessibility
- Combat: Fights the target while managing health, prayer, and potions
- Looting: Picks up valuable drops based on your configured thresholds
- Banking: Returns to bank when out of food/supplies
- Restocking: Automatically buys supplies from the Grand Exchange when running low (if enabled)
- Return: Travels back to the fighting area using Dax Walker pathfinding
The script handles:
- Automatic antifire potion maintenance (detects expiration messages)
- Antipoison drinking when poisoned or venomed
- Stat-boosting potion re-dosing at configurable thresholds
- Food consumption at customizable health percentages (ABC2 by default)
- Special attack usage with optional weapon switching
- Cannon placement, firing, refilling, and repair
- Safe spot positioning for ranged/magic users
- Death recovery from Death's Coffer
- Slayer monster finishing (ice coolers, rock hammers, etc.)
- Bones to Bananas/Peaches spell or tablet usage
- High/Low alchemy of loot during combat
- Aggression timer reset for long AFK sessions
Supported Potions
The script automatically handles the following potions when included in your inventory setup:
Stat-Boosting (Combat)
- Attack potion, Strength potion, Defence potion, Combat potion
- Super attack, Super strength, Super defence, Super combat potion
- Ranging potion, Super ranging potion
- Magic potion, Super magic potion
- Battlemage potion, Bastion potion
- Zamorak brew
- All Divine variants (Divine super combat, Divine ranging, etc.)
Prayer
- Prayer potion, Super restore, Sanfew serum
- Moonlight potion, Moonlight moth mix
- Blighted super restore
- Ancient brew, Forgotten brew
Antipoison (auto-drinks when poisoned/venomed)
- Antipoison, Superantipoison
- Antidote+, Antidote++
- Anti-venom, Anti-venom+, Extended anti-venom+
Antifire (auto-drinks on expiration)
- Antifire, Extended antifire
- Super antifire potion, Extended super antifire
Energy
- Energy potion, Super energy potion, Stamina potion
Other
- Saradomin brew (healing)
- Goading potion (auto-drinks when effect expires)
- Prayer regeneration potion (auto-drinks when effect expires)
Note: Stat-boosting potion thresholds are configurable in Advanced Settings > Food/Potions > Potion Ranges. Antifire and antipoison potions are drunk automatically when needed.
Settings Reference
Target Monsters
Possible Targets (left panel)
- Auto-populated list of attackable NPCs near your current location
- Right-click to change display mode:
- Filter by Name (default)
- Filter by Name + Level
- Filter by Name + NPC ID
- Filter by Name + NPC Index
Selected Targets (right panel)
- NPCs you want to attack
- Double-click possible targets to add them
- Right-click for options: Add custom target, Remove selected, Clear all
Note: You can add custom target names by right-clicking the selected targets list. Useful for targets not currently nearby.
Fighting Area
Basic Area
- Fighting Tile: Center point of your combat area. Click "Grab Current Tile" to set.
- Area Radius: How far from the center tile the script will search for targets (0-100 tiles)
Advanced Area
- Create custom polygon areas for irregular shapes
- Click "Configure Area" to draw a custom boundary
- Useful for areas that aren't circular (caves, corridors, etc.)
Inventory
Configure what items the script should maintain:
- Load Current Inventory: Captures your current in-game inventory
- Add Inventory Item: Manually add items by ID and quantity
- Delete Selected Item: Remove items from the setup
Right-click items for additional options:
- Skip item if missing: Won't stop script if this item isn't available
Equipment
Configure what gear the script should equip:
- Load Current Equipment: Captures your currently equipped items
- Add Equipment Item: Manually add items by ID, quantity, and slot
- Unequip unlisted equipment: Removes any equipped items not in your setup
Right-click items for additional options:
- Skip item if missing: Won't stop script if this item isn't available
- Randomize item/alternatives order: Randomly selects between main item and alternatives
Note: Equipment configuration is optional. If not configured, the script uses your currently equipped gear.
Looting
Loot item stacks worth at least (gp)
- Enable value-based looting
- Items with (price x quantity) above this threshold are looted
Custom item names to loot
- Comma-separated list of item names (partial matches work)
- Example:
rune, dragon, clue
Custom item IDs to loot
- Comma-separated list of specific item IDs
- Example:
536, 1149, 4151
Prayer
Prayer List
- Check prayers to activate during combat
- Incompatible prayers are automatically deselected
Only use prayer in combat
- Prayers activate when fighting, deactivate when idle (saves prayer points)
Always keep overheads enabled
- Protection prayers stay on even when not actively fighting
Use quick-prayers
- Uses your configured quick prayers instead of individual prayers
- If prayers are selected in the list, they'll be set as your quick prayers
Safe Spot
Use safe spot
- Stand on a specific tile to avoid melee damage
- Click "Grab Current Tile" to set your safe spot location
Allow leaving safe spot to attack new targets
- If disabled, only attacks targets already in line of sight
Configure cannon (optional)
- Opens cannon settings
Restocking
Enable Grand Exchange restocking
- Automatically buys supplies when running low
- Requires GP in bank
- Disabled for ironman accounts
How GE Restocking Works:
- When supplies run low, the script travels to the Grand Exchange
- Sells looted items (configurable) to generate GP
- Buys missing inventory/equipment items based on your configured setups
- Optionally decants potions and jewelry
- Returns to fighting area (can use teleports)
Decant potions at Grand Exchange
- Combines partial doses into full potions
Decant jewelry at Grand Exchange
- Refills jewelry charges
Advanced Settings
Access via the "Advanced Settings" button or hyperlinks in the GUI.
Combat Settings
Combat > Attack Style
| Setting | Description |
|---|---|
| Use custom attack style index | Set attack style by numeric index (0-3) |
| Use custom attack style type | Set by style type (Accurate, Aggressive, Defensive, Controlled) |
| View current attack style index | Opens helper to see your current weapon's attack style indices |
| Magic spell | Select a spell for magic combat (None = melee/ranged) |
| Use defensive autocasting | Cast spells with defensive XP split |
Combat > Leave Melee Range
| Setting | Description |
|---|---|
| Leave target melee range where applicable | Move away from melee range when ranging/maging (useful for brutal dragons) |
| Avoid looting items in targets melee range | Wait until target dies or moves before looting |
Special Attack
Special Attack
| Setting | Description |
|---|---|
| Use special attack | Enable special attack usage |
| Use minimap orb | Click spec orb instead of opening combat tab |
| Use custom spec attack style index | Change attack style specifically for spec |
Special Attack > Spec Range
- Configure spec energy thresholds for when to use special attack
Special Attack > Spec Idle
- Configure whether to spec when not in combat
Special Attack > Spec Weapon
- Configure weapon to switch to for special attacks
- Useful for DDS specs while training with other weapons
Cannon
Combat > Cannon
| Setting | Description |
|---|---|
| Cannon Location | Specific tile(s) to place cannon (auto-selects optimal if empty) |
| Only use cannon | Don't manually attack, let cannon do all damage |
| Stop script if cannon is lost | Safety stop if cannon decays |
| Bank when out of cannonballs | Return for more balls |
| Pick up cannon before banking | Retrieve cannon for bank trips |
| Pick up cannon on script end | Retrieve cannon when script stops |
Note: To use a cannon, include cannon base and cannonballs in your inventory setup. The script handles placement, firing, refilling, and repair automatically. Cannon support is in BETA - the script may not pick up the cannon when world hopping in some cases, and does not yet retrieve cannons from Nulodion.
Food/Potions
Food/Potions > Eating
| Setting | Description |
|---|---|
| Eat to full | Keep eating until full HP (vs. eat once) |
| Always eat food closest to mouse | Optimization for faster eating |
| Bank when out of food or potions | Return to bank when either runs out (default: bank only when out of food) |
| Use custom eating range | Override ABC2 eating thresholds |
Food/Potions > Potion Ranges
- Configure when to re-dose stat-boosting potions
- Set percentage of remaining boost to trigger drinking
- Potions don't need to be listed here to be used - this is optional customization
Food/Potions > Prayer Potion
- Configure prayer point thresholds for drinking prayer potions
Looting (Advanced)
Looting > Alching
| Setting | Description |
|---|---|
| Alch loot (names) | Alch items matching these names |
| Alch loot (ids) | Alch specific item IDs |
| Smart alch items | Automatically alch items when alch value > GE price |
| Alch loot between GP range | Alch items within a GE price range |
Looting > Loot In Combat
| Setting | Description |
|---|---|
| Finish combat before looting | Wait until current target is dead |
| Leave combat to loot expensive items | Interrupt combat for high-value loot |
| Leave combat to loot if item expires soon | Grab items before they despawn |
Looting > Bones to Food
- Use Bones to Bananas/Peaches spell or tablets when out of food
Looting > Never Loot Items
- Blacklist specific items by name or ID
Looting > Other
| Setting | Description |
|---|---|
| Eat food to make room for loot | Consume food to free inventory space |
| Drop junk to make room for loot | Drop vials/jugs (enabled by default) |
| Only loot our drops | Ignore other players' drops (automatic for ironmen) |
| Use telekinetic grab to loot | Use Telegrab spell for looting |
| Loot manually if not available | Fall back to normal looting if out of runes |
| Bury bones | Automatically bury any bones looted |
| Loot ammo on ground | Periodically loot ammunition based on equipped gear |
| Loot all bones | Loot any item with "bones" in the name |
| Bank when inventory full of loot | Return to bank when full (default: only bank when out of supplies) |
| Bank when inventory loot value is at least | Bank when loot exceeds GP threshold |
Banking
Banking > Bank When Prayer
- Bank when prayer points fall below threshold
Banking > Heal At Bank
- Restore HP/prayer at bank before returning (uses pools if available)
Banking > Bank Location
- Force a specific bank location
- Useful if auto-detection picks a suboptimal bank
Banking > Ammo
- Configure ammo restocking thresholds
Banking > Dynamic Refill
- Adjust item quantities between trips
Teleports
Teleports
| Setting | Description |
|---|---|
| Use teleports to travel to bank | Use Dax Walker teleportation to bank |
| Use teleports to travel to fight location | Use Dax Walker teleportation to fighting area |
Configure which teleports Dax Walker may use in sub-categories.
World Hopping
World Hopping - Standard time-based and player-detection hopping
| Setting | Description |
|---|---|
| Time-based hopping | Hop worlds on a timer |
| Hop when players nearby | Hop if other players enter area |
| Hop when player talks | Hop if someone speaks in chat |
World Hopping (On Crash)
| Setting | Description |
|---|---|
| Hop when other fighters nearby | Hop if players are attacking your targets |
| Number of players nearby | Threshold for hopping |
| Disable further hopping after finding open spot | Stop checking once settled |
World Hopping > Hop Limit
- Stop script after X consecutive hops (avoids infinite hopping)
World Hopping > Cannons in Area
- Hop if too many cannons detected in your area
Death Handling
Combat > Death Handling
| Setting | Description |
|---|---|
| Stop on death | End script if you die |
| Collect death items from coffer | Go to Death's Office and retrieve items |
| Always collect if gravestone is active | Collect items even if script didn't witness the death |
Stopping
Stopping
| Setting | Description |
|---|---|
| Logout on script end | Log out when script stops |
| Move to bank on script end | Travel to bank before stopping |
| Use stuck failsafe | Stop after ~10 minutes of no XP gain |
| Stop after slayer task | Stop when slayer task completes |
Stopping > Stop Conditions
- Configure custom stop conditions (level reached, runtime, kills, etc.)
Passive Mode/Aggro Reset
Combat > Passive Mode/Aggro
| Setting | Description |
|---|---|
| Enable passive mode | Don't auto-attack, wait to be attacked (for aggressive monsters) |
| Attack nearby target after X seconds | Time to wait before attacking if nothing is attacking you |
| Reset aggression if not in combat | Travel to reset tile when aggro timer expires |
| Reset aggression tile | Tile to walk to for resetting aggression |
| Reset after X seconds | Time without combat before resetting |
Restocking (Advanced)
Restocking > Selling
| Setting | Description |
|---|---|
| Don't sell items when restocking | Keep all loot (may run out of GP) |
| Sell all looted items | Automatically sell looted items at GE |
| Don't sell item IDs | Blacklist specific items from being sold |
Restocking > Restock Setup Limits
| Setting | Description |
|---|---|
| Use maximum inventory setup limit | Cap how many supply sets to buy |
| Maximum inventory setups | Default: 20 sets |
| Use maximum gear setup limit | Cap how many gear sets to buy |
| Maximum gear setups | Limited to 1 outside wilderness |
Restocking > Restock Setups Requirements
| Setting | Description |
|---|---|
| Only restock gear if less than X setups | Delay restocking until supplies are low |
| Only restock inventory if less than X setups | Delay restocking until supplies are low |
Restocking > Restock Teleporting
| Setting | Description |
|---|---|
| Keep ring of wealth | Automatic/Always/Never - maintains GE teleport access |
| Teleport after GE method | Use a teleport to return faster after restocking |
| Teleport after GE location | Destination for the teleport |
Restocking > Muling
Transfer gold and items to/from mule accounts for extended sessions.
| Setting | Description |
|---|---|
| Check muling after buying items | Mule off excess GP after purchases (vs. before) |
| Request coins from mule if required | Get GP from mule for gear/inventory purchases |
Restocking > Muling > Connection
- Configure mule account name and communication settings
Restocking > Muling > Threshold
- Set GP thresholds for when to mule off gold
Progression
Progression - Chain multiple configurations together
Create progression entries to automatically switch setups when conditions are met:
- Change attack styles at certain levels
- Switch gear as you level up
- Move to different monsters
- Update inventory/potions
Ez-Add: Use attack style until level
- Quick way to add attack style progression entries
- Automatically switches styles as you level combat stats
Troubleshooting
"No targets configured. Please configure targets to fight."
Cause: No target monsters were selected in the GUI.
Fix: Go to the Target Monsters tab and add monsters to the Selected Targets list.
"Fighting area does not contain safe spot. Make sure your safe spot is within your fighting area."
Cause: The safe spot tile is outside your configured fighting area.
Fix: Expand your fighting area radius, use advanced area to include the safe spot, or move the safe spot inside the area.
"We have run out of ammo in our quiver."
Cause: All ammunition has been used and none remains in inventory or bank.
Fix: Add more ammunition to your bank, or enable Grand Exchange restocking with GP available.
"We have run out of runes."
Cause: Insufficient runes to cast your configured spell.
Fix: Add runes to your inventory setup and bank, or enable Grand Exchange restocking.
"We have run out of thrown ammunition."
Cause: All thrown weapons (darts, knives, etc.) have been used.
Fix: Add more thrown weapons to your equipment setup and bank.
"Our blowpipe is out of charges or darts."
Cause: Toxic blowpipe has no scales or darts remaining.
Fix: Manually recharge your blowpipe with scales and darts before starting.
"We are out of supplies and Grand Exchange restocking is not enabled."
Cause: Ran out of food/potions and can't restock.
Fix: Enable Grand Exchange restocking in the Restocking tab with GP in bank, or manually restock supplies.
"We have hopped too many times"
Cause: Script couldn't find a suitable world after many hop attempts.
Fix: Try at a different time, adjust world hopping criteria, or disable hop limit.
"Failed to set attack style after many attempts"
Cause: Script couldn't switch to the configured attack style.
Fix: Verify your attack style index is valid for your equipped weapon using "View current attack style index".
"Unable to set up a cannon in this location"
Cause: The cannon tile is invalid or blocked.
Fix: Move to a valid cannon location or let the script auto-select by leaving cannon location empty.
"Not enough inventory space to pick up cannon"
Cause: Inventory too full to retrieve cannon parts.
Fix: Ensure at least 4 inventory spaces are available.
"We have lost our cannon."
Cause: Cannon decayed due to inactivity.
Fix: Disable "Stop script if cannon is lost" if you want to continue without cannon, or retrieve a new cannon from Nulodion manually.
"Cant use ammo" / "You can't use that ammo with..."
Cause: Your equipped ammunition is incompatible with your weapon.
Fix: Ensure your arrows/bolts match your bow/crossbow requirements (e.g., don't use dragon arrows with a magic shortbow).
Getting Help
If you run into issues not covered in Troubleshooting:
- Generate a bug report - In TRiBot: Dev Tab → Generate Bug Report (includes logs, settings, and screenshot)
- Post on Discord - Share the zip and describe what happened vs. what you expected at discord.gg/BFtypSSbjp
For issues that are hard to capture in a screenshot, a short screen recording helps.
Tips
- Load Current Inventory/Equipment buttons save significant setup time - configure your character in-game first, then capture the setup
- For ranging/maging, enable safe spotting to avoid melee damage entirely
- For brutal dragons, enable Leave target melee range in Combat > Leave Melee Range
- The progression system can train all combat stats automatically - add entries for each attack style with level conditions
- Use looting bags and herb sacks to extend trips and increase profit
- Enable Only loot our drops in busy areas to avoid picking up other players' loot
- Use partial matches for looting - "clue" catches all clue scroll tiers
- Smart alch automatically alchs items where alch value exceeds GE price (within 10%)
- Passive mode is useful for aggressive monsters like sand crabs - let them attack you first
- Aggression reset automatically walks to a tile to reset the 10-minute aggro timer