Olivier Gagnon
15b0c11731
moved the suppress buy aug confirmation to settings, will now persist
2018-06-21 13:32:21 -04:00
Olivier Gagnon
9dc96c51cb
moved all tor-html related code to one place, hurray for decoupling
2018-06-21 13:00:33 -04:00
danielyxie
24cd1bb498
Merge branch 'master' of https://github.com/danielyxie/bitburner into dev
2018-06-21 10:49:40 -05:00
Steven Evans
942c26b27e
Merge branch 'dev' into typescript
2018-06-20 22:10:20 -04:00
Olivier Gagnon
0ea6312d49
Merge branch 'dev' into streamline-create-programs
2018-06-20 18:50:08 -04:00
Olivier Gagnon
3ab23df8d7
terminal autocompletes darkweb better
2018-06-20 18:34:39 -04:00
Olivier Gagnon
01a5911ee1
added autolink to darkweb
2018-06-20 18:27:13 -04:00
danielyxie
abfb1b1947
Merge pull request #301 from hydroflame/beautify
...
Add a button to beautify scripts in text editor
2018-06-20 16:57:58 -05:00
danielyxie
91d53d93a1
Merge pull request #298 from hydroflame/corporation-styling
...
Corporation styling
2018-06-20 16:57:07 -05:00
danielyxie
856f7a0cd2
Merge pull request #264 from hydroflame/streamline-darkweb
...
streamline darkweb
2018-06-20 16:56:10 -05:00
Olivier Gagnon
cab8dbf5d9
made skill calculation smoother
2018-06-19 00:37:56 -04:00
danielyxie
f5be9e5da7
Fix bug with spawn()
2018-06-17 14:19:43 -05:00
danielyxie
f33806e189
Updated tover sion v0.38.1
2018-06-15 14:05:53 -05:00
danielyxie
d38cfc61bd
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-06-15 01:09:54 -05:00
danielyxie
b4cec584f6
Merge pull request #299 from hydroflame/fix-grow-security
...
fix growth not increasing security if server reaches max money
2018-06-15 01:09:17 -05:00
danielyxie
bee20b090c
Merge pull request #296 from hydroflame/serverExists-all-true
...
fixed serverExists returning true for non-existent IPs
2018-06-15 01:04:52 -05:00
danielyxie
c365696447
Reverse const change in Script RAM parser. Built documentation
2018-06-15 00:58:35 -05:00
danielyxie
8620a4d30c
Fix issue with 'Object.prototye' functions throwing errors during NetscriptJS RAM calculation. Fixed type with new Travel Confirmation setting loading to the correct initial value. Fixed Competition/Demand display for Products. Changed RAM for window/document access to be 100
2018-06-14 14:51:06 -05:00
Steven Evans
9c09e44db2
[refactor, chore] Including TSLint; fixing most things.
...
As it currently stands, bringing in TSLint with *all* rules enabled by
default and override each as we go. This means that as we upgrade and
bring in new rules we might start seeing new rules that the code
violates.
Because all the rules are enabled by default, the choice to explicitly
disable/relax rules can be discussed as part of PRs.
This also brought in strict type checking. This means we shouldn't be
relying on truthy/falsey value coercion. It also means that we will
likely need to create some type definition files or port certain files
over. That...will be a bit tedious, but will make the codebase better as
a whole.
2018-06-14 14:57:44 -04:00
Steven Evans
67cee8642b
[refactor] Converted TextFile to TypeScript
2018-06-14 09:11:28 -04:00
Olivier Gagnon
c35395e302
added beautifier button in text editor
2018-06-14 02:26:54 -04:00
Steven Evans
3e1ec388e0
[chore] Introduce TypeScript; Tested out with HelpText.
2018-06-13 23:38:35 -04:00
Olivier Gagnon
7c658e2966
growth now adds security even if the server reaches max, but only the amount that was needed
2018-06-13 17:27:26 -04:00
Olivier Gagnon
83aeb50605
unify dropdown and text input accross the app
2018-06-13 16:20:27 -04:00
danielyxie
d6620da22e
Removed import of DevModeEnabled in engine.js. Removed JSON.stringify in webpack.config.js for build mode
2018-06-13 14:26:15 -05:00
danielyxie
89016aeed9
Added devmode. Enabled using build flag. Added new npm build scripts
2018-06-13 12:38:22 -05:00
Olivier Gagnon
bb68fa5806
fixed getServer instead
2018-06-13 12:34:32 -04:00
Olivier Gagnon
07c9f9e155
fixed server exists returning true for non-existent IPs
2018-06-13 12:16:12 -04:00
danielyxie
20e437844a
Merge branch 'master' of https://github.com/danielyxie/bitburner into dev
2018-06-13 09:24:15 -05:00
danielyxie
b7b40d237a
Merge pull request #295 from hydroflame/prevent-document-nsjs
...
window and document symbold now occur impossibly high ram cost in nsjs
2018-06-13 09:22:47 -05:00
danielyxie
449df57edf
Merge pull request #294 from hydroflame/suppress-travel-confirm
...
added options to suppress travel confirmation
2018-06-13 09:19:50 -05:00
danielyxie
c663b5edc7
Merge pull request #289 from hydroflame/fix-277
...
Fix #277
2018-06-13 09:18:31 -05:00
danielyxie
fa42d4ee43
Merge pull request #288 from hydroflame/netscript-ps
...
Netscript ps function
2018-06-13 09:17:58 -05:00
danielyxie
2fc17e973c
Merge pull request #292 from hydroflame/fix-282
...
fixed 282
2018-06-13 09:15:38 -05:00
danielyxie
9a0dd4b9ee
Merge pull request #286 from hydroflame/tor-green
...
Tor green
2018-06-13 09:10:52 -05:00
danielyxie
b0865c09f5
Merge pull request #285 from hydroflame/company-favor-format
...
Company favor format
2018-06-13 09:04:17 -05:00
danielyxie
ca484fa679
Merge pull request #281 from kristapsmelderis/fix#280
...
fix #280
2018-06-13 08:58:23 -05:00
danielyxie
ff12c87913
Merge pull request #279 from hydroflame/prevent-work-faction-bn2
...
prevent players from doing work through singularity in BN2 when the p…
2018-06-13 08:57:59 -05:00
danielyxie
84d239e7f8
Merge pull request #278 from hydroflame/fix-negative-growth
...
Fix negative growth
2018-06-13 08:54:47 -05:00
danielyxie
388ff30ed8
Merge pull request #263 from hydroflame/exec-log
...
exec, spawn, and run won't log when disableLog is set
2018-06-13 08:51:37 -05:00
Olivier Gagnon
af2e04db10
window and document symbold now occur impossibly high ram cost in nsjs
2018-06-13 03:57:25 -04:00
Olivier Gagnon
7362ead364
added options to suppress travel confirmation
2018-06-13 03:37:21 -04:00
Olivier Gagnon
bef2f07811
fixed 282
2018-06-13 01:02:26 -04:00
danielyxie
575b67440c
v0.38.0 - Minor re-balancing and bug fixes in Bladeburner
2018-06-12 23:16:23 -05:00
Olivier Gagnon
6f82f67cea
fix #277
2018-06-13 00:12:16 -04:00
Olivier Gagnon
758f00419b
added ps function to netscript, returns the list of processes currently running on that server
2018-06-13 00:03:02 -04:00
Olivier Gagnon
cc5731baae
enable/disable dev mode with a global var
2018-06-12 17:24:53 -04:00
Olivier Gagnon
ad90a0bb6f
added home ram upgrade button, enable+disable intelligence, source file modifications
2018-06-12 16:44:21 -04:00
Olivier Gagnon
c2f2829e75
added stats related dev options
2018-06-12 16:06:05 -04:00
Olivier Gagnon
bc14a6a147
work on the dev menu
2018-06-12 15:27:37 -04:00
Olivier Gagnon
4fda9d1998
make tor router button green when bought like WSE buttons
2018-06-12 14:01:28 -04:00
Olivier Gagnon
bea6ea5829
display company favor as integers
2018-06-12 13:54:12 -04:00
Olivier Gagnon
2e3254877f
some work on dev menu
2018-06-11 13:41:02 -04:00
kristapsmelderis
e6152824fd
update to fix for #280
...
proper English
2018-06-10 14:30:33 +03:00
kristapsmelderis
93a5fa53f1
fix #280
...
replaced "reputation" with "favor", because its not correct description.
2018-06-10 14:17:14 +03:00
Olivier Gagnon
dd87a1bad3
prevent players from doing work through singularity in BN2 when the player already joined a faction
2018-06-10 00:55:25 -04:00
Olivier Gagnon
efa6438981
fixed display bug in growth log
2018-06-09 02:58:33 -04:00
danielyxie
71cf3cac35
Bug fixes for new Bladeburner changes
2018-06-08 22:25:28 -05:00
danielyxie
bbb5f04c87
Merged pull requests and fixed merge conflicts
2018-06-08 11:19:22 -05:00
danielyxie
9aa1985d55
Merge pull request #275 from hydroflame/simpler-home-ram
...
Simpler home ram
2018-06-08 11:01:18 -05:00
danielyxie
5e38355152
Added Bladeburner API (untested). Rebalanced Bladeburner. Bladeburner progress no longer resets when installing Augmentations. Fixed up BN-12
2018-06-08 10:51:48 -05:00
Olivier Gagnon
7fbced64de
addressing comments
2018-06-07 21:56:22 -04:00
Olivier Gagnon
289a005fbb
made upgrade home ram cost consistent and precision to 5 to display better in game
2018-06-07 14:54:34 -04:00
Olivier Gagnon
34d80c8adf
favor now displayed as integer
2018-06-07 13:00:02 -04:00
danielyxie
6e6f5ce3d0
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-06-06 11:13:38 -05:00
danielyxie
2052ef60a3
Merge pull request #272 from hydroflame/fix-faction-rep
...
Fix faction rep + bn12
2018-06-06 11:13:28 -05:00
danielyxie
82f1c14656
Added dynamic RAM evaluation to Netscript to prevent exploits by evading RAM usage in NetscriptJS. Calling a HacknetNode API Netscript fn now immediately updates HacknetNodeWrappers
2018-06-06 11:02:21 -05:00
Steven Evans
720478377f
[feat] Shrunk the UI of Hacknet Nodes to view more at a time on screen.
...
The UI of a single Hacknet Node now only takes up ~50% of the screen.
This allows two nodes to be displayed per "row" when the screen is wide
enough.
Also repositioned the buttons for the nodes so they are inline with the
information each updates. This visual correlation lets us reduce the
text that needs to be in each button.
Also reduced the amount of DOM that needs to be continuously garbage
collected by updating specific text rather than throwing out entire HTML
elements.
2018-06-05 13:30:07 -04:00
Olivier Gagnon
bcabc72c35
Update RedPill.js
2018-06-05 02:52:59 -04:00
Olivier Gagnon
3e429e30be
bn12 plus faction fix from my last pr
2018-06-05 01:58:34 -04:00
Olivier Gagnon
a1da58f2a9
fix faction reputation
2018-06-05 01:27:18 -04:00
danielyxie
f28ffcc49e
Merge pull request #270 from hydroflame/fix-travelToCity
...
made travel cost a constant and prevent travelToCity from traveling i…
2018-06-04 09:09:39 -05:00
danielyxie
57ebbe7b61
Merge pull request #260 from hydroflame/faction-enemies
...
streamline in factions
2018-06-04 09:08:37 -05:00
danielyxie
e31c8a1fc0
Merge pull request #259 from hydroflame/streamline-crimes
...
streamline crimes code
2018-06-04 09:04:46 -05:00
Steven Evans
7ee964a66c
Merge remote-tracking branch 'danielyxie/dev' into dev
2018-06-03 21:11:34 -04:00
Olivier Gagnon
4b6dbee628
made travel cost a constant and prevent travelToCity from traveling if the player doesn't have enough money
2018-06-03 21:09:12 -04:00
danielyxie
81e828d7e7
Removed debug logging statement for ram parser AST
2018-06-02 22:10:24 -05:00
danielyxie
957ce44316
v0.37.2
2018-06-02 20:37:56 -05:00
Olivier Gagnon
aa56227851
streamline programs
2018-06-01 19:31:34 -04:00
Olivier Gagnon
85d4d5a5ab
streamline darkweb
2018-06-01 17:05:05 -04:00
Olivier Gagnon
bebf5c83da
exec, spawn, and run won't log when disableLog is set
2018-05-31 22:36:01 -04:00
Steven Evans
7362d1809f
[refactor] Remove numeral from utils folder; use npm reference
...
In order to shave off ~0.02MiB of the bundle size, needed to continue
referencing the minified file. Ideally future changes can utilize
code splitting, tree shaking, and minification in WebPack to use normal
references.
2018-05-30 22:46:52 -04:00
danielyxie
7edae463bc
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-05-30 17:31:02 -05:00
danielyxie
496ea728d0
Merge pull request #255 from hydroflame/fix-join-banned-faction-exploit
...
fix faction join exploit
2018-05-30 17:30:22 -05:00
danielyxie
429894707f
Merge pull request #254 from hydroflame/green-stock-buttons
...
make the stock market accound and api button green when bought
2018-05-30 17:29:39 -05:00
Steven Evans
10d7e43f01
[refactor] Pull in 'decimal.js' as an npm dependency
2018-05-30 15:54:13 -04:00
Olivier Gagnon
40780af35e
moved data to faction info to prevent save data corruption
2018-05-30 01:31:20 -04:00
Olivier Gagnon
82253dbf43
streamline faction behavior
2018-05-30 00:08:09 -04:00
Olivier Gagnon
cb0d70de85
streamline crimes
2018-05-29 16:36:52 -04:00
Olivier Gagnon
f70d39f9e6
make the stock market accound and api button green when bought
2018-05-27 04:02:54 -04:00
Olivier Gagnon
b0d78dc532
fixed a bug that allowed players to join all factiosn as long as they got invited first
2018-05-27 02:02:19 -04:00
danielyxie
baf8fc784e
Removed temp variables from Brace netscript mode definer (netscript.js). Fixed changelog update for v0.37.1
2018-05-22 19:20:41 -05:00
danielyxie
565f0dd517
v0.37.1
2018-05-22 19:09:04 -05:00
danielyxie
f403bd14b7
Fixed Bladeburner bug where exception would be thrown if Blackop was created outside of Bladeburner UI
2018-05-18 22:15:58 -05:00
danielyxie
c0ca464b5d
Added a ?noScripts query string that can be used to start the game without loading any scripts.
2018-05-17 14:50:27 -05:00
danielyxie
c7e155d4bc
Refactored NetscriptJS to take in the NS environment as a parameter to main
2018-05-17 12:10:12 -05:00
danielyxie
9a9096bc70
Reset Script module when it is saved
2018-05-13 03:08:18 -05:00
danielyxie
abb5b9895f
Merge branch 'dev' of https://github.com/danielyxie/bitburner into nsjs-memoryleak
2018-05-13 01:07:12 -05:00
danielyxie
02ce03d2d6
Changed NSJS to take in nsEnv as an argument to main
2018-05-13 01:06:44 -05:00
danielyxie
644742d231
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-05-12 20:21:40 -05:00
danielyxie
b18e316821
Fixed bug with scp Terminal command and hopefully fixed Active Scripts UI bug by making create/delete server panel fns non async
2018-05-12 20:21:03 -05:00
redd
e71b44283b
fixed throw
...
makeRuntimeRejectMsg now references correct function causing the throw:
2018-05-13 01:50:13 +01:00
danielyxie
bf5b3c371e
More work on NSJS memory leak fix
2018-05-12 18:19:49 -05:00
danielyxie
6b9dc76f41
Fix bug where sometimes Active Scripts UI wouldnt fully update after an Augmentation reset. This most likely happened because the player has too many scripts running, and they all get added to task queue to get deleted
2018-05-11 20:54:59 -05:00
danielyxie
054cb63227
Debugging nsjs memoryleak
2018-05-11 19:45:40 -05:00
danielyxie
6902ece765
v0.36.1
2018-05-11 16:30:55 -05:00
danielyxie
f52d7d2f8b
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-05-10 12:18:37 -05:00
danielyxie
7fe704de1e
Merge pull request #220 from hydroflame/crime-commit-log
...
FIX #207 commitCrime now takes enable/disable log into account
2018-05-10 12:15:01 -05:00
danielyxie
024138eabd
Rebalancing Gyms and training in Bladeburner. Updated Active Scripts UI page to update once per second. Updated changelog
2018-05-10 12:14:45 -05:00
danielyxie
dfb5cbf02d
Merging changes from pull requests. Re-adding package lock.json
2018-05-09 02:21:47 -05:00
danielyxie
b0a825e0bc
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-05-09 02:16:30 -05:00
danielyxie
2c4c5ce6a3
Merge pull request #228 from hydroflame/ns-hacknet-multiplier
...
NS function to get player's hacknet multipliers
2018-05-09 02:16:14 -05:00
danielyxie
7c3bd93170
Merge pull request #232 from jaguilar/die-when-sleepy
...
NetscriptJS: Die when sleepy
2018-05-09 02:10:19 -05:00
danielyxie
2bd18e4e61
Merge pull request #233 from hydroflame/incomplete-program-precision
...
incomplete programs are more precise
2018-05-09 02:09:58 -05:00
danielyxie
a849288900
Updated changelog for Bladeburner balance changes
2018-05-09 01:47:23 -05:00
James Aguilar
529e3fb39a
Can't return promise sleep, nobody is awaiting it!
2018-05-08 21:40:07 -04:00
danielyxie
a5602e3d6a
Slight rebalancing to Bladeburner
2018-05-08 09:06:47 -05:00
Olivier Gagnon
dcc09d561e
Merge branch 'dev' into improve-get-script-ram
2018-05-07 16:00:24 -04:00
Olivier Gagnon
577f73dce7
getScriptRam now optionally take hostname/ip or default to localhost
2018-05-07 15:56:55 -04:00
danielyxie
96b12f7f68
Added ENABLE_TIMESTAMPS Fconf Setting. Put a soft-cap on stock price. Cleaned up a number rounding display issue for Gang UI (100.03% territory, etc.). Refactored ActiveSCriptsUI code to use a queue to sequentially run 'tasks' that handle the adding/deleting of items and server panels
2018-05-07 12:25:44 -05:00
Olivier Gagnon
a483268f3c
incomplete programs are more precise
2018-05-06 22:21:36 -04:00
James Aguilar
f259a5c17d
More permanent fix for infinite sleeps.
2018-05-06 22:16:28 -04:00
James Aguilar
7045f5d74e
Fix a bug where a JS script would never exit if killed in a sleep loop.
2018-05-06 22:07:14 -04:00
danielyxie
9d1bcd989b
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-05-06 16:34:07 -05:00
danielyxie
c3663af14e
Merge pull request #222 from hydroflame/script-name
...
added getScriptName
2018-05-06 16:31:33 -05:00
danielyxie
dbaa5e0012
Merge pull request #224 from hydroflame/base-ram-constant
...
make script base cost a constant
2018-05-06 16:31:18 -05:00
danielyxie
3147f9edeb
Updated Server instantiation with new Server constructor. Minor rebalances to BN6
2018-05-06 16:20:00 -05:00
danielyxie
4429e4621d
Merge pull request #226 from jaguilar/fix-server-purchasing
...
Fix server purchasing
2018-05-06 15:37:54 -05:00
danielyxie
9372236a6e
Merge branch 'dev' into dev
2018-05-06 15:31:37 -05:00
danielyxie
4ea365da02
Refactored Active Scripts UI. Can no longer gain Bladeburner faction rep from infiltration. Added Disable Hotkeys setting
2018-05-06 15:27:47 -05:00
Olivier Gagnon
39ed2c40dd
added hacknet multiplier netscript function
2018-05-06 14:22:29 -04:00
James Aguilar
3f5398f8dc
Fix purchaseServer's use of new Server()
2018-05-06 09:23:07 -04:00
Olivier Gagnon
96f0f14a95
commitCrime now takes enable/disable log into account
2018-05-06 04:01:43 -04:00
Olivier Gagnon
579a0aec55
make script base cost a constant
2018-05-06 03:49:11 -04:00
Olivier Gagnon
60cc6e15d5
added getScriptName
2018-05-06 03:27:16 -04:00
James Aguilar
edca9a64ed
Move the runningFn var to a higher level.
2018-05-05 20:39:34 -04:00
danielyxie
8dba456b65
Merge jaguilar's changes to incorporate Netscript JS (PR #212 )
2018-05-05 17:13:35 -05:00
James Aguilar
7ce070e0aa
Resolve merge conflicts.
2018-05-05 16:43:04 -04:00
danielyxie
2a87aa16f6
Added metakey + b hotkey compatibility for script editor close and save. Refactored Server constructor and initialization
2018-05-05 15:23:57 -05:00
J
07f1978c0f
Merge branch 'dev' into dev
2018-05-04 23:43:30 -04:00
James Aguilar
ebd5aacb89
add the NSJS evaluator
2018-05-04 23:20:19 -04:00
James Aguilar
0fa9c26529
Add preamble function for NSJS programs.
2018-05-04 23:06:22 -04:00
danielyxie
9acc422f05
v0.36.0 - Bladeburner BitNode (BN-6)
2018-05-02 12:38:11 -05:00
danielyxie
1c7ae7bc8f
Fixed merge conflicts
2018-03-28 11:50:10 -05:00
danielyxie
d29797ce1e
Update Faction info for Fulcrum and NWO
2018-03-28 11:35:34 -05:00
danielyxie
521b81aec0
v0.35.2
2018-03-26 19:46:21 -05:00
Steven Evans
3ad6cfd8bb
Can successfully run Webpack to create dist/bundle.js
...
The bundled output is noticeably different; likely due to Webpack 4
vs. 2/3. The order of dependencies also appears to have changed.
The overall output *seems* to be the same. Unsure how to full test
that everything is getting bundled appropriately.
This also allows the project to be built without having to manually
copy files into node_modules.
2018-03-21 11:56:30 -04:00
danielyxie
6255971e96
Fixed a bug with Introductory Tutorial in v0.35.1
2018-03-12 14:53:07 -05:00
danielyxie
d3e45f746b
Updated .fconf comment for ENABLE_BASH_HOTKEYS to link to propert documentation page
2018-03-12 14:43:10 -05:00
danielyxie
f33d81b1a5
v0.35.1
2018-03-12 14:39:04 -05:00