Olivier Gagnon
3633134a69
doc changes
2021-11-02 20:10:30 -04:00
Olivier Gagnon
40cd679be5
few doc update
2021-11-02 17:48:02 -04:00
Olivier Gagnon
d7c23b975c
fix code not saving
2021-11-02 16:10:01 -04:00
Olivier Gagnon
9b0726ca9a
documentation
2021-10-30 16:03:34 -04:00
Olivier Gagnon
feb0430aff
work on doc
2021-10-30 15:46:34 -04:00
Olivier Gagnon
43fc5dfd48
work on doc
2021-10-30 12:34:14 -04:00
Olivier Gagnon
d99d3fc222
dont run inf loop check on ns1 scripts
2021-10-29 01:23:15 -04:00
Olivier Gagnon
d1d0ccf345
added possible infinite loop checker
2021-10-28 23:04:26 -04:00
Olivier Gagnon
2e8cdc23d9
use NetscriptDefinitions as source of truth
2021-10-27 23:58:07 -04:00
Olivier Gagnon
91877dc172
netscript def is raw loaded
2021-10-27 23:19:19 -04:00
Olivier Gagnon
53cb37a9fd
added some funcions
2021-10-27 21:07:58 -04:00
Olivier Gagnon
8f097ebb32
v0.58.0
2021-10-27 15:16:16 -04:00
Olivier Gagnon
080b5a4a1f
merge dev
2021-10-26 23:11:47 -04:00
Olivier Gagnon
c69888f66d
Added one definition to NetscritpDefinitions
2021-10-25 10:05:19 -04:00
Olivier Gagnon
65ac7ff6e3
fix sleeve in netscript def
2021-10-24 12:19:01 -04:00
Olivier Gagnon
0afb2e5f5d
remove comments
2021-10-23 14:40:57 -04:00
Olivier Gagnon
a0039d9667
beautify using monaco
2021-10-23 14:40:46 -04:00
Olivier Gagnon
f5b23262f6
fix react error
2021-10-23 14:36:07 -04:00
hydroflame
5e4934615f
Merge pull request #1554 from CalvinTrop/dev
...
Added "solarish-dark" and "solarish-light" themes to script editor based on Solarized
2021-10-22 14:30:52 -04:00
Snarling
14c41d2aab
Add script editor documentation for getServer
2021-10-19 10:27:53 -04:00
Snarling
d035a4099f
Streamlining for NetscriptFunctions
...
* Functions that used GetServer and then threw an error on null now use safeGetServer to do that for them.
* Parameter names for ip have been changed to hostname.
* Functionality of getPurchasedServers(false) to return an array of IPs was restored (it was broken by the change to hostnames as primary key).
* Dynamic ram message was updated to omit the part about modifying imported scripts, since this is no longer an issue.
* Dynamic ram violation samples were updated so that they would actually avoid using the variable name 'scan' (which would not subvert ram calculations).
* Included a fix for getServer to default to script's current server if no hostname is specified (per doc page).
2021-10-19 10:13:19 -04:00
Jeff Baars
ab60b411ca
Bracket highlighting per Solarized example js images
2021-10-18 16:58:23 -07:00
Jeff Baars
fd9d8d5c8a
Added solarish-dark and solarish-light themes to code editor based on Solarized: https://ethanschoonover.com/solarized/
2021-10-18 16:20:41 -07:00
Jeff Baars
7103601403
Added Solarized dark and light themes to code editor.
2021-10-18 13:41:26 -07:00
Olivier Gagnon
c96c7e3d2e
v0.57.0
2021-10-16 22:32:48 -04:00
Olivier Gagnon
371d41b7c3
added placeholder for filename
2021-10-15 21:28:17 -04:00
Olivier Gagnon
02b085cc75
script editor now saves on server that opened the file and displays server name
2021-10-15 21:27:02 -04:00
Olivier Gagnon
762e7f127c
improve monokai again
2021-10-15 18:58:10 -04:00
Olivier Gagnon
34fa906013
save some text editor notes
2021-10-15 18:27:02 -04:00
Olivier Gagnon
80d197652d
improve monokai by making the language a superset of javascript
2021-10-15 18:25:22 -04:00
Olivier Gagnon
b5a8ed1d9d
improve script editor display
2021-10-15 16:16:11 -04:00
Olivier Gagnon
e047653ed7
improve text editor scaling
2021-10-15 16:14:27 -04:00
Olivier Gagnon
f645d08a50
small screen script editor
2021-10-15 15:47:17 -04:00
Olivier Gagnon
89a6bf175d
nuke half the dependencies because they were unused.
2021-10-14 19:31:17 -04:00
Olivier Gagnon
a90575aea9
load monokai
2021-10-12 10:56:19 -04:00
Olivier Gagnon
faad0ae8a7
Try to make an error message more helpful
2021-10-11 18:47:05 -04:00
Olivier Gagnon
06775b20fa
saving file now saves game
2021-10-11 17:57:17 -04:00
Olivier Gagnon
b126bd01ee
ram check is debounced
2021-10-11 16:59:37 -04:00
Olivier Gagnon
8f13363466
prettier
2021-10-11 16:38:50 -04:00
Olivier Gagnon
e9ba4ae9a2
added vscode module def in netscript
2021-10-10 13:52:56 -04:00
Olivier Gagnon
12b192ab43
prerawloader
2021-10-10 13:23:36 -04:00
Olivier Gagnon
06df10d2f9
build fix for duplicate autocomplete
2021-10-09 22:59:06 -04:00
Olivier Gagnon
01d15176ac
Added kindof monokai to monaco
2021-10-09 19:00:27 -04:00
Olivier Gagnon
3ca7c49ce8
Fixed Script Editor last filename not keeping proper track
2021-10-08 00:21:30 -04:00
Olivier Gagnon
48b839d68c
Added font size to text editor
2021-10-04 21:06:55 -04:00
Olivier Gagnon
50cf362b3b
v0.55.0
2021-10-01 16:22:33 -04:00
Olivier Gagnon
4e8bb96f3f
removing some of the classes
2021-10-01 13:08:37 -04:00
Olivier Gagnon
c5713fa6d8
learned and implemented default props
2021-09-29 01:49:22 -04:00
Olivier Gagnon
06f716c0fa
moved a bunch of files
2021-09-25 14:42:57 -04:00
Olivier Gagnon
b0f20c8c8f
lint
2021-09-25 01:26:03 -04:00
Olivier Gagnon
5c6c472b64
Augmentations in mui
2021-09-25 01:06:17 -04:00
Olivier Gagnon
5170c0e004
create script in mui
2021-09-24 23:36:28 -04:00
Olivier Gagnon
2e05f14c0d
convert to ts
2021-09-24 16:34:21 -04:00
Olivier Gagnon
b8faa9dc0b
convert player to ts
2021-09-23 18:47:43 -04:00
Olivier Gagnon
66a2adaeb4
update prettier
2021-09-22 12:56:55 -04:00
Olivier Gagnon
558b671206
few bugfix
2021-09-22 11:32:04 -04:00
Olivier Gagnon
96f0879230
fix bug with nano
2021-09-22 01:10:29 -04:00
Olivier Gagnon
0c932dd4d1
build bunch of fixes
2021-09-21 20:30:00 -04:00
Olivier Gagnon
5e48530e14
0.54 again
2021-09-20 17:26:47 -04:00
Olivier Gagnon
023f2b8309
ITutorial in react
2021-09-19 00:46:39 -04:00
Olivier Gagnon
89ea9aaff5
oops
2021-09-17 02:58:02 -04:00
Olivier Gagnon
acd51e8328
work
2021-09-17 02:04:44 -04:00
Olivier Gagnon
e79ea4d3cb
text editor is squished
2021-09-11 12:56:08 -04:00
Olivier Gagnon
e5dcb424a2
sneak in corp API.
2021-09-10 02:17:55 -04:00
Olivier Gagnon
2a13db39c7
fix sleeve memory bug
2021-09-08 23:47:34 -04:00
vmesecher
6979082be7
Adds getAugmentationPrice() and getAugmentationReqRep() Netscript Singularity functions. Deprecates getAugmentationCost() Netscript singularity function.
2021-09-07 20:33:34 -07:00
Olivier Gagnon
506122f5b8
fmt, remove corp routing, lint
2021-09-06 15:06:08 -04:00
Olivier Gagnon
05f3b1c390
remove some function from autocomplete.
2021-09-04 20:14:33 -04:00
Olivier Gagnon
a18bdd6afc
prettify, sorry for the big ass commit
2021-09-04 19:09:30 -04:00
David Edmondson
7bfceb1690
Replace old-style import with type
2021-08-26 16:42:57 -07:00
Olivier Gagnon
e2d74f9432
fix beautify
2021-08-25 16:14:47 -04:00
Olivier Gagnon
60d95a90d0
Fix script not being saved on their individual computers.
2021-08-23 09:33:49 -04:00
Snarling
faf625b34d
Update Root.tsx
...
Went back to tracking lastServer as a hostname, since server IPs are not static.
2021-08-23 04:04:52 -07:00
Snarling
1a8b194341
Update Root.tsx
...
Removed unnecessary conversions between server and ip
2021-08-23 04:04:52 -07:00
Snarling
386f8a11c5
Change lastServer to reference the server ip
...
Should fix issue with newly saved scripts failing to run
2021-08-23 04:04:52 -07:00
Olivier Gagnon
6d2b8b4f6f
v0.52.8
2021-08-23 02:09:49 -04:00
Olivier Gagnon
0b3c114cd0
Fix monaco jumping to end of file.
2021-08-22 23:57:00 -04:00
Olivier Gagnon
e0d631f8b3
trying to fix the jumping bug
2021-08-22 23:46:30 -04:00
Olivier Gagnon
6561413137
Fix Corp research popup box appearing behind one another.
2021-08-21 02:06:48 -04:00
Olivier Gagnon
b67c03ff8a
hotfix broken editor shortcuts
2021-08-21 01:54:39 -04:00
Olivier Gagnon
63b2c77907
hotfix the tutorial
2021-08-21 00:51:07 -04:00
Olivier Gagnon
5aa24f22c4
final changes for monac
2021-08-21 00:17:26 -04:00
Olivier Gagnon
f02c6443cc
ok figured out how to make the javascript autocomplete.
2021-08-20 17:14:20 -04:00
Olivier Gagnon
4497143785
basic autocomplete working
2021-08-20 16:11:49 -04:00
Olivier Gagnon
0b3c48827b
Ok we can load a thing but it has no effect.
2021-08-20 15:46:59 -04:00
Olivier Gagnon
86de11e794
link for monaco
2021-08-20 15:46:59 -04:00
Olivier Gagnon
fb87385704
Added function definition for netscritp in typescript
2021-08-20 15:46:59 -04:00
Olivier Gagnon
b1caea796a
another link
2021-08-20 15:46:59 -04:00
Olivier Gagnon
2dfd19c9e0
rename, kinda add option for tabs vs space
2021-08-20 15:46:59 -04:00
Olivier Gagnon
0e24020796
Move monaco UI back where it belongs ish
2021-08-20 15:46:59 -04:00
Olivier Gagnon
ed62a3ebc2
deleted ace and monaco
2021-08-20 15:46:59 -04:00
Olivier Gagnon
674ce17834
fix nearly all lint errors now
2021-05-29 14:48:56 -04:00
Olivier Gagnon
b28f607056
v0.51.9
2021-05-17 23:59:45 -04:00
Olivier Gagnon
d96ad9fa6e
v0.51.8
2021-05-07 22:26:02 -04:00
Olivier Gagnon
6dde89f3c4
0518
2021-05-07 22:01:52 -04:00
Olivier Gagnon
d745150c45
all the lints
2021-05-01 03:17:31 -04:00
Olivier Gagnon
3fad505096
run auto fix lint
2021-04-29 23:52:56 -04:00
hydroflame
135df8703c
V0.51.4 ( #847 )
...
* BladeBurner
* nerfed int exp gained.
Documentation
* purchaseServer specifies what happens on failure.
* Fixed typo in recommended bitnode page.
* Removed misleading ram requirements for hacking factions.
Netscript
* growthAnalyze handles Infinity correctly.
Misc.
* Faction Augmentation will list how much reputation is required even after
that goal has been reached.
* Removed dollar sign in travel agency confirmation.
* Fixed typo in alpha-omega.lit
* the game save text no longer obstruct the save game and options button
* the text editors now remember where your cursor was and restores it when loading the same script again.
* v0.51.4
2021-04-19 21:26:51 -04:00
Olivier Gagnon
3db440fd95
remove console.log calls
2021-03-12 14:20:56 -05:00
Olivier Gagnon
1df0af0fa4
fix bug in ace keywords highlight, more formatting in gang, update changelog
2021-03-12 14:20:39 -05:00
Olivier Gagnon
8b812b92cc
Ace now creates the list of keywords from the actual ns object, meaning we cant forget to add functions to that list anymore. Also fixes the bug where clearLog would not get highlighted because clear took precedence.
2021-03-12 13:31:27 -05:00
Olivier Gagnon
e1aec379c1
getCrimeStats returns the inner stats of a crime
2021-03-07 22:22:23 -05:00
Olivier Gagnon
619db14622
Added gang.getTaskStats which returns the stats of a gang task
2021-03-07 22:12:02 -05:00
Olivier Gagnon
84423e6309
gang.getEquipmentStats added, returns equipment multipliers
2021-03-07 22:01:31 -05:00
Olivier Gagnon
dabb5016fc
Added maxNumNodes to the hacknet API
2021-03-07 16:03:21 -05:00
Olivier Gagnon
dc402bef68
added getAugmentationStats to netscript, it returns the stat boost of an aug
2021-03-07 04:57:49 -05:00
Olivier Gagnon
64272c99fb
Added softReset to netscript
2021-03-07 04:49:57 -05:00
danielyxie
91ee65a101
Converted everything to use acorn npm package. Updated acorn packages to latest version. Updated acorn parsing to use ES9
2019-07-15 21:40:43 -07:00
danielyxie
4cabd2e4ed
Implement GH Issue #620 : Add tail() Netscript function
2019-07-15 21:40:43 -07:00
danielyxie
74e72854d8
Configured unit test webpack build to work
2019-05-09 19:36:04 -07:00
danielyxie
580a7fac24
Bug fixes for v0.47.0. Fixed the BUY MAX feature for new stock market. Added collapse/expand tickers buttons for new stock market UI
2019-04-29 20:54:20 -07:00
danielyxie
51d9274626
Added effects for Source-File 9
2019-03-29 20:01:34 -07:00
Olivier Gagnon
0f8f572519
Merge branch 'dev' into sleeve-buy-aug-api
2019-03-25 02:01:45 -04:00
danielyxie
856d02a129
v0.45.1
2019-03-23 19:40:35 -07:00
Olivier Gagnon
96db360a36
added sleeve aug api
2019-03-23 00:22:40 -04:00
danielyxie
c3bc6a0c28
Changed Sleeve API functions to prevent conflicts with identically-named functions
2019-03-17 22:04:12 -07:00
Olivier Gagnon
f8f4299ed5
getInfo and getTask sleeve api
2019-03-17 18:15:10 -07:00
Olivier Gagnon
9f715020df
syntax highlight some sleeve api
2019-03-17 18:15:10 -07:00
danielyxie
8eecb1539c
Fix bug with recent Corporation UI rewrite. Improve some styling with Corporation UI and the status text messages
2019-03-13 20:10:28 -07:00
danielyxie
5230837dad
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2019-03-13 15:22:14 -07:00
Olivier Gagnon
da97c1b4b9
added getBlackOpRank
2019-03-13 15:21:31 -07:00
danielyxie
963cb0039d
Fixed merge conflicts with hydroflame's PRs
2019-03-13 15:19:29 -07:00
danielyxie
3e10f5de6d
Migrated Corporation UI implementation to use React
2019-03-13 15:17:30 -07:00
Olivier Gagnon
59018d9902
Update AceNetscriptMode.js
...
bladeburner getCurrentAction should be highlighted in text editor.
2019-03-13 15:06:03 -07:00
danielyxie
a09ea46a38
Added BitNode multipliers for purchased servers. Fixed bugs in new Script Editor implementation. Added documentation for script editors
2019-01-29 22:02:27 -08:00
danielyxie
8d2c007bcb
Implemented new Editor Option: CodeMirror. (Vim mode not 100% done yet)
2019-01-27 14:08:45 -08:00