Skip to content

English Modules

ame824 edited this page Aug 1, 2026 · 6 revisions

Modules

autoDoIt loads tasks modularly. The scheduler stays small; expensive APIs live only in the file that actually needs them.

Network, hacking, and infrastructure

Area File Behaviour
Network/root tasks/root-network.js Opens available ports, roots servers, and names the missing port program or Hacking level
Worker deployment tasks/deploy-workers.js Copies minimal Hack/Grow/Weaken/Share workers to suitable servers
Hacking tasks/manage-hacking.js Selects a useful income/progression target and distributes HGW work
Starter hacking tasks/manage-hacking-lite.js Very small manager for starts below 32 GiB
Cloud servers tasks/manage-purchased-servers.js Buys small servers, banks budget, then replaces/upgrades the weakest
Hacknet tasks/manage-hacknet.js Repeatedly buys the cheapest useful improvement
Programs tasks/manage-programs.js Purchases TOR and dark-web programs through Singularity
Home RAM tasks/manage-home-ram.js Saves toward the dynamic full target and purchases RAM in batches
Home cores tasks/manage-home.js Purchases cores only after the RAM goal is reached

Player, companies, factions, and progression

Area File Behaviour
Job recommendation tasks/check-job.js Before SF4, recommends the best safely reachable job using stable v3 salaries and player stats
Jobs tasks/manage-jobs.js Applies, accepts promotions, and starts company work
Factions tasks/manage-factions.js Accepts compatible invitations and works toward the cheapest faction-specific augmentation
Augmentations tasks/manage-augmentations.js Buys specific augs first, NeuroFlux last, and installs normal augs in batches
Backdoors tasks/manage-backdoors.js Connects through discovered paths and installs important progression/faction backdoors
BitNode progress tasks/manage-progression.js Rushes the current BitNode objective and selects the next Source-File-oriented node

There is no separate Netscript faction-quest API. Invitations, requirements, work, reputation, augmentations, and important backdoors are covered by the related modules.

Special systems

Area File Behaviour
Gang special/manage-gang.js Creates a gang, recruits, assigns tasks, ascends, and purchases equipment
Casino special/manage-casino.js Plays blackjack exclusively, saves wins, and reloads losses
Coding Contracts special/manage-contracts.js Finds network-wide .cct files and locally solves all 30 v3.0.1 types
Source-File -1 special/manage-exploits.js Attempts eight safe exploits, explains the final three, and retires permanently at 11/11
Darknet special/manage-darknet.js Deploys light seeders, opens discovered .cache stashes, solves passwords/labyrinths, and delegates expensive support actions
Stanek special/manage-stanek.js Accepts Stanek's Gift early enough in BN13
IPvGO special/manage-ipvgo.js Continuously plays legal games through the official Go API
Sleeves special/manage-sleeves.js Manages shock, synchronization, crime, and augs
Bladeburner special/manage-bladeburner.js Joins, spends points in batches, and chooses safe actions
Corporation special/manage-corporation.js Manages Agriculture, products, investments, and growth in RAM-saving phases
Stocks special/manage-stocks.js Purchases access and trades when 4S data is available

Interface and maintenance

Area File Behaviour
Scheduler autoDoIt.js Detects phase, RAM, and BitNode; starts only due and applicable tasks
Dashboard ui/dashboard.js Displays status, guidance, and efficiency in a separate window
Auto-updater tools/auto-updater.js Checks versions and starts validated updates
Full updater git-pull.js Downloads, validates, tests, and optionally starts
Lite updater git-pull-lite.js Downloads the same system with minimal RAM
Self-test tools/self-test.js Checks structure, APIs, network, and RAM without purchases or resets

Workers

workers/hack.js, grow.js, weaken.js, and share.js are deliberately minimal so network and cloud servers can run as many threads as possible. Darknet and SF‑1 use their own specialized workers.

Corporation phases

The Corporation coordinator deliberately does not contain the complete, expensive API logic. Every five seconds it launches at most one short phase for bootstrap, cities/warehouses, offices, employee care, capital, upgrades, boost materials, research, product development, or sales. This prevents the 10–20 GiB costs of individual Corporation API calls from accumulating in one permanent manager.

The strategy accepts suitable private investment rounds, later establishes a Tobacco product division, replaces weak products, enables Market-TA.II after it is researched, and pays a conservative profit share as dividends after going public.

Clone this wiki locally