Commit Graph

645 Commits

Author SHA1 Message Date
hydroflame d5201885aa Merge pull request #1997 from pobiega/fix/nformat-return-type
ScriptEditor NetScriptDefinitions: nFormat should return string
2021-12-18 14:40:20 -05:00
BuildTools 59498f780a Small css tweaks 2021-12-18 07:11:59 -06:00
Robin Rexstedt 87d8f67df1 make nFormat return a string 2021-12-18 13:12:23 +01:00
BuildTools 2265f797c4 Added the ability to open multiple script files at a time
Fixed a bug where ram would stay the same when switching between scripts

Fixed bug where updating ram could cause the GUI to crash

The editor will now go to the last edited line when switching tabs.

Tidied up the script editor UI
2021-12-18 04:10:25 -06:00
Adraxas 069d76df25 Fix NS.exec signature 2021-12-17 18:40:00 -08:00
Billy Vong b3f9380ebd prettier 2021-12-17 12:56:48 -05:00
Billy Vong 6fb5565b08 remove unused code 2021-12-17 12:48:50 -05:00
Billy Vong fb5d374279 feat: Add vim mode to script editor
This adds an option to turn on vim mode using the `monaco-vim` library.
2021-12-17 12:34:00 -05:00
Martin Fournier 217b94d0a0 Fix #1863: Add getHashUpgrades hacknet function
Adds a new functions ofr hacknet servers that returns the list of
available hash upgrades.
2021-12-17 05:35:17 -05:00
Olivier Gagnon 33e918fc49 doc 2021-12-16 15:28:53 -05:00
Olivier Gagnon e16fba2418 scan doc 2021-12-16 15:21:00 -05:00
Olivier Gagnon 5718800b91 doc update 2021-12-16 12:41:18 -05:00
Olivier Gagnon 6ef99e138c fix BN exploit 2021-12-16 12:40:24 -05:00
Olivier Gagnon 3c67da02f3 typo 2021-12-16 12:33:44 -05:00
Olivier Gagnon 16431f1031 minor tweak to doc 2021-12-16 12:13:00 -05:00
hydroflame 2da9f87031 Merge pull request #1895 from TheCoderJT/editingGitDocs
Editing git docs
2021-12-16 12:11:05 -05:00
Olivier Gagnon 91c7811a36 format 2021-12-16 12:04:09 -05:00
Jordan Turner e1e032b61f added semi colons they were missing at the end of some examples 2021-12-15 22:15:29 -07:00
Jordan Turner db9b0a8ec8 added await before the ns2 method calls 2021-12-15 22:01:44 -07:00
Jordan Turner 3926913790 updated appearach of example sections based on alainbryden suggestion 2021-12-15 21:47:18 -07:00
theit8514 2e133bcf0a Fix return type of isFocused 2021-12-15 20:55:47 -05:00
theit8514 d59601f848 Add return value and code style cleanup 2021-12-15 20:48:19 -05:00
theit8514 ad57f3dc73 Work functions do not take focus
setFocus readded and updated to send the user to the Work page if focusing.
2021-12-15 20:33:48 -05:00
Jordan Turner 632e1f70f3 added rs to backricks to color code syntax 2021-12-15 10:25:54 -07:00
Jordan Turner 687682fcbd added syntax useage to github ns page 2021-12-15 10:10:32 -07:00
Olivier Gagnon e5b4dd8e90 Files should be saved on the server that opened them. 2021-12-13 20:08:58 -05:00
Olivier Gagnon 7b8e486e3a fix typo in doc 2021-12-13 15:50:01 -05:00
Olivier Gagnon 11ba8c91be getServer of hacknet doesn't return undefined 2021-12-12 13:47:05 -05:00
Olivier Gagnon 394a286646 formulas for ascension 2021-12-09 12:52:51 -05:00
Olivier Gagnon c915cd06d8 corp doc 2021-12-08 20:03:22 -05:00
Olivier Gagnon 14317628e6 formulas doc 2021-12-08 19:19:07 -05:00
Olivier Gagnon 5a15df9ce7 rename the functions I created 2 minutes ago. 2021-12-08 19:03:33 -05:00
Olivier Gagnon 6eba92b36c rename the functions I created 2 minutes ago. 2021-12-08 18:41:49 -05:00
Olivier Gagnon 2af57cb01e formulas for gang stuff 2021-12-08 18:19:30 -05:00
Olivier Gagnon d01d75606a few bugfix 2021-12-08 17:39:01 -05:00
Olivier Gagnon 737276e855 corp api 2021-12-03 23:06:04 -05:00
Olivier Gagnon 3c27893aa3 v1.1.0 2021-12-03 16:14:13 -05:00
hydroflame ceb008c9fe Merge pull request #1816 from cvr-119/netscript
Add missing properties of Server interface
2021-12-03 16:09:56 -05:00
Olivier Gagnon 647ccd6a7b BN13 2021-12-03 16:09:13 -05:00
corver 118fddb1bb Add missing properties of Server interface 2021-12-03 16:00:49 -05:00
Olivier Gagnon d4ebc46a19 merge dev 2021-12-03 15:35:45 -05:00
Olivier Gagnon 49a545f00e many bugfix 2021-12-03 14:12:32 -05:00
Olivier Gagnon 773f50ba67 doc n steam copypaste 2021-12-02 18:42:30 -05:00
theit8514 cb1aa452a1 Move getOwnedSourceFiles to NetscriptFunctions 2021-12-02 12:17:33 -05:00
Olivier Gagnon f0a004e75b Fix a bunch of scripting related stuff. 2021-11-25 11:47:31 -05:00
Olivier Gagnon f035457efc build part pr 2021-11-20 15:01:04 -05:00
Olivier Gagnon 60d34c3cc6 rebuild 2021-11-19 23:45:34 -05:00
Olivier Gagnon c88dade19a fix tprintf catching errors 2021-11-19 22:58:41 -05:00
Olivier Gagnon a4a931dad7 v1.0.2 part 1 2021-11-19 14:39:38 -05:00
Olivier Gagnon 632de50a73 convert BN13 to a more conventional one. 2021-11-18 15:38:19 -05:00