diff --git a/doc/source/404.rst b/doc/source/404.rst new file mode 100644 index 000000000..f422d4bca --- /dev/null +++ b/doc/source/404.rst @@ -0,0 +1,6 @@ +Hi there, hello +=============== + +It looks like you found a page that doesn't exist! + +If you're looking for documentation of the netscript API. It moved to \ No newline at end of file diff --git a/src/utils/v1APIBreak.ts b/src/utils/v1APIBreak.ts index bed4dcb28..01b59f43e 100644 --- a/src/utils/v1APIBreak.ts +++ b/src/utils/v1APIBreak.ts @@ -22,6 +22,7 @@ const detect: [string, string][] = [ ["scp", "needs to be awaited"], ["sleep", "Can no longer be called simultenaously."], ["hacking_skill", "renamed 'hacking'"], + ["tryWrite", "renamed 'tryWritePort'"], ]; const changes: [RegExp, string][] = [ @@ -31,6 +32,7 @@ const changes: [RegExp, string][] = [ [/ns.bladeburner.getActionTime/g, "((...a)=>ns.bladeburner.getActionTime(...a)/1000)"], [/ns.hackAnalyzePercent/g, "((...a)=>ns.hackAnalyze(...a)*100)"], [/ns.hackChance/g, "ns.hackAnalyzeChance"], + [/ns.tryWrite/g, "ns.tryWritePort"], [/formulas.basic.calculateSkill/g, "formulas.skills.calculateSkill"], [/formulas.basic.calculateExp/g, "formulas.skills.calculateExp"], [/formulas.basic.hackChance/g, "formulas.hacking.hackChance"],