danielyxie / bitburner

Bitburner Game
https://danielyxie.github.io/bitburner/
2.81k stars 768 forks source link

ns.fileExists does not work on coding contract files (.cct) #4217

Closed xxxsinx closed 2 years ago

xxxsinx commented 2 years ago

Version of the game: Bitburner v2.1.0 (8f4636cb) File: NetscriptFunctions.ts

Steps to reproduce:

  1. Find or generate a contract
  2. use ns.fileExists on it and it will always return false

Looking at the code, it's scanning for scripts, txt files, message files, but never cct files.