Bitburner

Bitburner

评价数不足
Bitburner Automation Scripts - Complete Guide
由 R3c0n75 制作
Transform your Bitburner experience with automated scripts that make you 490x more money!

This comprehensive automation suite will take you from your first $1 million to late-game optimization. Whether you're a complete beginner or a seasoned player, these scripts scale with your progress.
   
奖励
收藏
已收藏
取消收藏
Introduction
Bitburner Automation Scripts - Complete Guide

Transform your Bitburner experience with automated scripts that make you 490x more money!

This comprehensive automation suite will take you from your first $1 million to late-game optimization. Whether you're a complete beginner or a seasoned player, these scripts scale with your progress.




🚀 What You'll Get

  • 490x faster money generation - Revolutionary smart batcher technology
  • Intelligent target selection - Finds the best servers automatically
  • Automated stock trading - 7 different strategies for passive income
  • Formula-enhanced scripts - Perfect accuracy for late-game decisions
  • 28 documentation files - Guides for every skill level

⚡ Real Results: Players report going from $34k/second to $3.41M/second using smart-batcher on the same target!


💡 Why These Scripts Are Powerful
Smart Batcher Technology (490x Faster!)

Traditional hacking uses inefficient thread ratios that waste your computing power:
  • Traditional: 25% hack / 45% grow / 30% weaken (Inefficient!)
  • ✅ Smart Approach: 4% hack / 87% grow / 9% weaken (Optimal!)

The smart-batcher calculates optimal ratios based on operation timing. You don't need to understand the math - just run the script and it handles everything automatically!

💡 Pro Tip: Use batch-manager.js for the ultimate experience - it uses smart-batcher technology PLUS auto-rooting, instant RAM detection, and automatic redeployment. Set it and forget it!

Intelligent Target Selection

The
profit-scan-flex.js
script uses a Fleet Potential Score algorithm that:
  • Finds servers with BOTH high efficiency AND high capacity
  • Prevents rookie mistakes (like attacking targets with tiny money pools)
  • Shows you which servers will improve dramatically after preparation

Bottom line: Instead of manually hacking for hours, these scripts automate everything and make you 100-490x more money.


📥 Installation (Start Here!)
Step 1: Download the Updater Script

Open your Bitburner terminal and paste this command:


Step 2: Download Essential Scripts

run bitburner-update.js --essential

Alternative: Download Everything

run bitburner-update.js --all

Or Download by Category:
  • run bitburner-update.js --batch
    - Batch automation scripts
  • run bitburner-update.js --stocks
    - Stock trading suite
  • run bitburner-update.js --analysis
    - Profit analysis tools

✅ Version Compatibility: Works on both Bitburner v2.8.1 (Steam) and v3.0.0 (Web) - fully tested!


💾 RAM Requirements (Important!)
Your home server starts with limited RAM (typically 8GB). Here's what you need to know:

Script RAM Requirements

Script
RAM
Best For
global-kill.js
3.05 GB
Stop all scripts (always works)
profit-scan-flex.js
4.40 GB
Target finding
home-batcher.js
4.90 GB
✅ EARLY GAME - Best for 8GB home
batch-manager.js
5.50 GB
⭐⭐⭐ BEST CHOICE - Fully automated with smart-batcher!
smart-batcher.js
6.35 GB
Manual version - Same 490x performance, no automation

🎯 Important: batch-manager.js uses smart-batcher.js internally! It has the same 490x performance PLUS auto-rooting, instant RAM detection, and automatic redeployment. It's the ultimate choice once you have 16GB+ home RAM!

Quick RAM Check

Run this command to see your available RAM:
free

What to look for:
  • Total: 8GB - Use home-batcher.js (fits perfectly)
  • Total: 16GB+ - Use batch-manager.js (fully automated!)
  • Total: 32GB+ - Use batch-manager.js with ease (plenty of room for monitoring)

How to Get More RAM

Purchase RAM Upgrades (Fastest Method):
  1. Click City in the main navigation menu
  2. Visit any location with computer upgrades (like Alpha Enterprises)
  3. Look for "Upgrade 'home' RAM"
  4. Cost: ~$1M for 16GB, ~$10M+ for 32GB (scales exponentially)

💡 Pro Tip: Getting to 16GB should be your first major purchase after making $1-5M. This dramatically improves your quality of life!


👶 For New Players - Your First $1 Million
Start here if you're new to Bitburner or just started a fresh game!

Step 1: Find a Target

run analysis/profit-scan.js

What you'll see: A ranked list of servers showing their profit potential.

What to do: Look for "joesguns" or "n00dles" near the top - they're easy early targets.




Step 2: Deploy Your First Batch System

run batch/smart-batcher.js joesguns

What happens: The script automatically:
  • Finds all servers you have access to
  • Deploys hacking scripts across your network
  • Starts continuously hacking "joesguns"
  • Prepares the target server for optimal income

⏱️ Important: Wait 6-8 minutes for the "prep phase" to complete. The server needs to be weakened first!

You'll know it's working when:
  • ✅ You see "✓ Started attack-weaken.js..." messages
  • ✅ You see "✓ Started attack-grow.js..." messages
  • ✅ You see "✓ Started attack-hack.js..." messages
  • ✅ Your money starts increasing (check top-right corner)




Step 3: Watch the Money Roll In

run analysis/production-monitor.js 60

What you'll see: Real-time income tracking showing $/second

Success indicators:
  • 💰 Early game (joesguns): $10k-100k/second
  • 💰 After prep phase: Income increases steadily
  • 💰 Optimal state: Consistent high income rate

If income is low: Wait longer! The prep phase can take 6-8 minutes. Security needs to reach minimum first.

🎉 That's it! You're now making passive income while you explore other parts of the game.


🎯 Mid-Game Progression - Your Next $100 Million
You've made your first $1-10 million - excellent! Here's how to scale up:

Phase 1: Upgrade Your Infrastructure ($1M-10M)

Priority 1: Upgrade Home RAM to 16GB
  • Why: Enables comfortable smart-batcher usage with room for utilities
  • Cost: ~$1-5M (varies by game state)
  • How: Visit City → Purchase RAM upgrades
  • Benefit: 5x more working space, run multiple scripts simultaneously

Priority 2: Level Up Your Skills
  • Hack skill to 100+: Faster operations, better success rates
  • Raise money: Keep running your batch scripts (passive income!)
  • Focus: Take any jobs, complete contracts, work on reputation




Phase 2: Find Better Targets ($10M-50M)

Use the optimal mode for target discovery:

run analysis/profit-scan-flex.js --optimal

What to look for:
  • 💎 High "Fleet Score" - These are hidden gems!
  • 💎 Servers marked "NEEDS PREP" - Will improve dramatically
  • 💎 Money pools $100M+ - More capacity = more income

How to switch targets:
run utils/global-kill.js # Stop everything run batch/smart-batcher.js [new-target] # Deploy to better target run analysis/production-monitor.js 60 # Verify improved income

Expected income progression:
  • 💰 joesguns (starter): $10k-100k/second
  • 💰 silver-helix (mid): $1m-5m/second
  • 💰 Top-tier servers (late): $10m+/second




Phase 3: Expand Your Fleet ($50M-100M+)

Buy Purchased Servers:

run deploy/purchase-server-8gb.js

Benefits:
  • Each server adds 8GB+ of dedicated hacking power
  • They don't need rooting - you own them!
  • Can buy up to 25 servers (massive scaling)

Strategy:
  1. Buy 1-2 servers when you have $20M+ saved
  2. Deploy smart-batcher to utilize the new capacity
  3. Income increases significantly
  4. Repeat: Buy more → Make more → Buy more

Automation (16GB+ home RAM):

run batch/batch-manager.js omega-net --quiet

This automatically manages your entire fleet with:
  • Instant RAM detection - Detects upgrades within ~85 seconds
  • 🔄 Auto-rooting - Finds and roots new servers automatically
  • 📊 Smart redeployment - Only when changes detected
  • 📋 Full visibility - Click "LOG" button to see all activity


Quick Progress Checklist
$1M → $10M:
  • ✅ Upgrade home RAM to 16GB
  • ✅ Switch to better targets as you level up
  • ✅ Upgrade to batch-manager.js for full automation (490x performance!)

$10M → $50M:
  • ✅ Use profit-scan-flex.js --optimal to find hidden gems
  • ✅ Buy your first purchased server ($20M+)
  • ✅ Level hack skill to 100+

$50M → $100M+:
  • ✅ Buy 5-10 purchased servers for massive scaling
  • ✅ Target top-tier servers (silver-helix, omega-net, etc.)
  • ✅ Consider automation with batch-manager.js

$100M+:
  • 🎓 You're ready for advanced features like stock trading!

$1B+ (Late Game):
  • ✅ Establish passive stock trading income
  • ✅ Join factions and start earning reputation
  • ✅ Deploy RAM sharing with
    run deploy/deploy-share-all.js
  • ✅ Purchase and install augmentations for massive permanent bonuses!


📖 Common Daily Tasks
Once you're set up, these are the commands you'll use most:

Check What's Running
run utils/list-procs.js # See all your active scripts

Stop Everything (before changing targets)
run utils/global-kill.js # Kills all scripts safely

Find Better Targets (as you level up)
run analysis/profit-scan-flex.js --optimal # Shows improvement potential

Check Server Info
run utils/server-info.js joesguns # Detailed server stats

Emergency Restart
run utils/global-kill.js # Stop everything run batch/smart-batcher.js [better-target] # Start fresh

Switch to RAM Sharing (Late Game)
run utils/global-kill.js # Stop hacking run deploy/deploy-share-all.js # Start generating faction reputation

Switch Back to Hacking
run utils/global-kill.js # Stop RAM sharing run batch/batch-manager.js [target] --quiet # Resume automated hacking


💎 Stock Market Trading
Stock Market Trading ($25-31 Billion Required)

Once you have $25 billion saved, you can buy the TIX API from Alpha Enterprises in City. This unlocks automated stock trading! There are three trading strategies, from beginner to expert level.

Three Trading Strategies (Choose Your Level):




Level 1: Momentum Trading (Easiest Entry - $25b TIX API + $5-10m capital)

Best for: Getting started with stock trading without expensive 4S Market Data
Strategy: Buys stocks on dips (contrarian approach), sells on profit targets

# Analyze market first (optional) run stocks/stock-momentum-analyzer.js 10 # Start trading: 5 stocks, $1b capital, 5% profit target, 5% stop loss run stocks/stock-trader-momentum.js 5 1000000000 0.05 0.05 6000 # Monitor your positions run stocks/stock-monitor.js

Expected Returns: 10-40% per trade
Why use this: Cheapest entry into stock trading, no forecast data needed




Level 2: Forecast Trading (⭐ Recommended - $26b total + $10-50m capital)

Best for: Consistent profits with forecast intelligence
Requirements: TIX API ($25b) + 4S Market Data ($1b)
Strategy: Buys stocks with >55% forecast, sells when forecast drops below 50%

# View market intelligence run stocks/stock-info.js # Start trading: 10 stocks, $1 billion capital, 6 second refresh run stocks/stock-trader-basic.js 10 1000000000 6000 # Monitor portfolio with real-time P/L tracking run stocks/stock-monitor.js

Expected Returns: 20-50% per trade
Why use this: Uses actual forecast data for smarter decisions, much more reliable than momentum trading

💡 Pro Tip: This is the sweet spot for most players! The forecast data is worth every penny - you'll make your $1b investment back quickly with accurate market intelligence.




Level 3: Advanced Trading (Expert - $31b total + $20-50m+ capital)

Best for: Maximum profits with professional risk management
Requirements: TIX API ($25b) + 4S Market Data ($1b) + Short Position Access ($25b)
Strategy: Long/short positions, dynamic sizing, profit targets, stop-loss protection

# Advanced trading: 10 stocks, $50b capital, 25% profit target, 15% stop loss run stocks/stock-trader-advanced.js 10 50000000000 0.25 0.15 6000 # Real-time portfolio monitoring run stocks/stock-monitor.js

Expected Returns: 50-150% daily with optimal capital
Features:
  • Long AND short positions (profit from both rises and falls)
  • Dynamic position sizing based on forecast confidence
  • Automatic profit-taking at your target percentage
  • Stop-loss protection to limit losses
  • Professional portfolio rebalancing
  • Win rate tracking and performance metrics

Why use this: Enterprise-grade trading with maximum profit potential and risk management




Close All Positions (Any Level)

run stocks/stock-close-all.js # Preview mode (safe) run stocks/stock-close-all.js --confirm # Actually close positions




Trading Strategy Comparison

Strategy
Cost to Start
Expected Returns
Difficulty
Momentum Trading
$25b + $5-10m
10-40% per trade
⭐ Easy
Forecast Trading
$26b + $10-50m
20-50% per trade
⭐⭐ Medium
Advanced Trading
$31b + $20-50m+
50-150% daily
⭐⭐⭐ Expert

💰 Recommended Progression: Start with Momentum Trading to learn the basics → Upgrade to Forecast Trading for better returns → Master Advanced Trading for maximum profits!


Formulas.exe Enhancement ($5 Billion)
What is Formulas.exe? An in-game program that gives your scripts perfect accuracy - no more guessing!

How to get it:
  1. Visit any City location with programs for sale
  2. Purchase "Formulas.exe" for $5 billion (one-time permanent)
  3. Your scripts automatically detect it and provide exact calculations

Enhanced Scripts Available:

# EXACT target rankings (zero estimation error) run analysis/f-profit-scan-flex.js --optimal # EXACT production predictions (100% accurate) run utils/f-estimate-production.js silver-helix

Why buy it? No more switching targets only to find they're worse. Perfect information = confident decisions.


🎓 Late-Game Progression: Augmentations & Factions
Once you have reliable passive income from stock trading and automated hacking, it's time to unlock the game's most powerful upgrades: Augmentations!

What Are Augmentations?

Augmentations are permanent upgrades that massively boost your abilities:
  • 🧠 Hacking power - Faster operations, better success rates
  • 💪 Combat stats - Strength, defense, dexterity, agility
  • 💰 Faction reputation - Earn reputation faster
  • 📊 Charisma - Better company/faction work results
  • Experience multipliers - Level up skills faster

The catch? Installing augmentations resets your game progress (soft reset), but you keep the permanent bonuses. This is how you break through to exponentially higher income!




How to Unlock Augmentations

Step 1: Join a Faction

Factions have different requirements. Common early factions:
  • CyberSec - Hack CSEC server (requires hacking 50+)
  • Tian Di Hui - $1 million + hacking 50+ in any city
  • Netburners - Hacking 80+ and total hacknet levels 100+
  • Sector-12 - Be in Sector-12 with $15 million

Step 2: Earn Reputation

Work for the faction to earn reputation points:
  • 💻 Hacking Contracts - Best for hacking-focused players (you!)
  • 🛡️ Field Work - Requires combat stats
  • 🔒 Security Work - Lower requirements, slower reputation gain

Step 3: Purchase Augmentations

Each augmentation requires:
  • ✅ Enough faction reputation (varies: 10k to 1 million+)
  • ✅ Enough money ($1 million to $1 billion+)

💡 Important: The more augmentations you buy, the more expensive the next one becomes (exponential price multiplier). Plan your purchases carefully!




The Reputation Challenge

High-tier augmentations require massive reputation:
  • Basic augmentations: 10,000 - 50,000 reputation
  • Advanced augmentations: 100,000 - 500,000 reputation
  • Elite augmentations: 1,000,000+ reputation

The problem: Earning reputation through manual hacking contracts takes forever.

The solution: RAM sharing! 🚀




RAM Sharing for Maximum Reputation

RAM sharing lets you dedicate your entire server fleet to passively generating reputation while you're away!

Prerequisites:
  • ✅ Stable passive income from stock trading (you won't be hacking for money)
  • ✅ A large fleet of servers (purchased servers highly recommended)
  • ✅ Already joined a faction

How to Deploy RAM Sharing:

# Stop all current hacking operations run utils/global-kill.js # Deploy RAM sharing to ALL servers for your faction run deploy/deploy-share-all.js

What happens:
  • Every server you control starts running
    share-ram.js
  • All available RAM is dedicated to generating faction reputation
  • Reputation accumulates passively while you're offline or doing other tasks
  • The more RAM you share, the faster you earn reputation

⚡ Pro Tip: With 25 purchased servers (8GB each) plus your home server, you can generate reputation 100-200x faster than manual hacking contracts!

Optimal Late-Game Strategy

Phase 1: Build Your Foundation
  1. Establish automated stock trading for passive income
  2. Purchase 25 servers (8GB minimum, 16GB+ recommended)
  3. Accumulate $100 million - $1 billion for augmentation purchases

Phase 2: Focus on Reputation
  1. Join your target faction(s)
  2. Stop hacking for money (you have stock trading income!)
  3. Deploy RAM sharing:
    run deploy/deploy-share-all.js
  4. Let your fleet generate reputation overnight

Phase 3: Purchase & Install Augmentations
  1. Once you have enough reputation, visit the faction
  2. Purchase all augmentations you can afford
  3. Install them to trigger the soft reset
  4. Start your next run with massive permanent bonuses!




Recommended Augmentation Targets

Early Augmentations (Good First Purchases):
  • Augmented Targeting I & II - Better hacking success
  • Neuralstimulator - Faster hacking/growing/weakening
  • BitWire - Increased hack skill
  • TITN-41 Gene-Modification - General skill improvements

High-Value Late-Game Augmentations:
  • The Red Pill - Unlocks endgame content (1 million+ reputation!)
  • NeuroFlux Governor - Can be purchased infinite times, each level improves everything slightly
  • Neuroreceptor Management Implant - Massive faction reputation multiplier

🎯 Strategy Tip: Focus on hacking augmentations first. They make your next run dramatically more efficient, letting you reach late-game faster!




Example Late-Game Workflow

# 1. Check your current money generation run analysis/production-monitor.js 60 # 2. Stop hacking, start RAM sharing run utils/global-kill.js run deploy/deploy-share-all.js # 3. Monitor your stock portfolio (passive income) run stocks/stock-monitor.js # 4. Check faction status in-game # Visit faction → Check reputation → Purchase augmentations when ready # 5. When ready to reset # Install all purchased augmentations → Start fresh with bonuses!




RAM Sharing vs Hacking for Money

Activity
Best For
Income Source
Hacking (smart-batcher)
Building your wealth
Direct hacking income
Stock Trading
Passive wealth generation
Market movements
RAM Sharing
Earning faction reputation
Stock trading only

💰 Key Insight: Once your stock trading generates enough passive income, you can completely stop hacking for money and dedicate your entire fleet to reputation farming. This is the fastest path to elite augmentations!


🎮 Final Tips for Success
The Golden Rule: Start small, scale up gradually. Don't rush to buy expensive upgrades before you understand the basics!

Recommended Learning Path:
  1. Week 1: Learn basic automation with smart-batcher
  2. Week 2: Master target selection with profit-scan-flex
  3. Week 3: Expand your server fleet
  4. Week 4+: Explore stock trading and advanced features

Remember:
  • 💡 Wait 6-8 minutes for prep phases to complete
  • 💡 Upgrade home RAM to 16GB as soon as possible
  • 💡 Use
    profit-scan-flex.js --optimal
    to find hidden gems
  • 💡 Check the GitHub repository for updates
  • 💡 Join the community for help and discussion


🐛 Troubleshooting
"Script not found" errors
You probably skipped installation! Go back to the Installation section and download the scripts.

"Not enough RAM" errors
  • Check RAM requirements table above
  • Use
    home-batcher.js
    instead of
    smart-batcher.js
    (saves 1.45GB)
  • Upgrade your home server RAM (City → Purchase upgrades)
  • Kill unnecessary scripts:
    run utils/global-kill.js

Scripts not doing anything
run utils/list-procs.js # See what's running run utils/global-kill.js # Stop everything and restart

Making way less money than expected
  • Wait 6-8 minutes for the "prep phase" - servers need weakening first
  • Check if target security is at minimum with
    server-info.js
  • Try a different target with
    profit-scan-flex.js --optimal

Stock trading commands not working
  • Did you buy the TIX API? ($25 billion from Alpha Enterprises)
  • Do you have enough capital? (Minimum $100 million to start)
  • Check market status:
    run stocks/stock-info.js

Scripts using too much RAM
run utils/global-kill.js # Kill everything run batch/smart-batcher.js [target] 0.02 # Lower hack percentage

RAM sharing not generating reputation fast enough
  • Buy more purchased servers to increase your total RAM pool
  • Upgrade existing purchased servers to higher RAM (16GB, 32GB, etc.)
  • Make sure you've actually joined a faction first
  • The more RAM you share, the faster reputation accumulates (it's exponential!)


📁 Complete Script Library
Core Attack Operations
  • attack-hack.js
    - Basic hacking operation
  • attack-grow.js
    - Money growth operation
  • attack-weaken.js
    - Security weakening operation

Batch Management
  • batch-manager.js
    - ⭐⭐⭐ BEST - Fully automated with smart-batcher
  • smart-batcher.js
    - ⭐⭐ Manual version (490x faster algorithm)
  • home-batcher.js
    - ⭐ Early game - Home server batching
  • simple-batcher.js
    - Basic deployment helper

Profit Analysis
  • profit-scan-flex.js
    - Enhanced scanner
  • f-profit-scan-flex.js
    - 🔮 EXACT (Formulas.exe)
  • profit-scan.js
    - Basic scanner
  • production-monitor.js
    - Track production
  • estimate-production.js
    - Production estimates

Stock Trading Suite
  • stock-info.js
    - Market intelligence viewer
  • stock-trader-basic.js
    - Automated trading (forecast)
  • stock-trader-advanced.js
    - Advanced strategies
  • stock-trader-momentum.js
    - Momentum trading (no 4S!)
  • stock-momentum-analyzer.js
    - Forecast intelligence
  • stock-monitor.js
    - Portfolio monitoring
  • stock-close-all.js
    - Portfolio liquidation

Utilities
  • global-kill.js
    - Kill all running scripts
  • list-procs.js
    - List running processes
  • server-info.js
    - Server information
  • list-pservs.js
    - List purchased servers
  • share-ram.js
    - Share RAM for factions

Deployment
  • auto-expand.js
    - Root & deploy everywhere
  • purchase-server-8gb.js
    - Buy servers
  • replace-pservs-no-copy.js
    - Replace servers
  • deploy-share-all.js
    - Deploy RAM sharing for faction reputation
  • hack-universal.js
    - Universal hacking script


🔗 GitHub Repository & Additional Resources
📦 GitHub Repository:
https://github.com/r3c0n75/bitburner-scripts

What's on GitHub:
  • Complete source code for all scripts
  • 28 detailed documentation files
  • Version history and changelog
  • Issue tracker for bug reports
  • Pull requests welcome!

Additional Resources:

💡 Pro Tip: Star the GitHub repository to get notified about updates and new features!