Commit Graph

61 Commits

Author SHA1 Message Date
1d3ce073f6 Minor code refactoring 2023-11-13 14:11:46 -04:00
9bacf4f97f Add check for if new programs have begun to exist 2023-11-13 14:08:16 -04:00
9b4042af40 Move filtering to after logging 2023-11-13 13:38:39 -04:00
e6aca2e998 Improve logging 2023-11-13 13:36:25 -04:00
df2d550eb6 Filter instead of remove 2023-11-13 13:32:57 -04:00
c320b31ac3 Fix case where you jump too many levels at once 2023-11-13 13:31:52 -04:00
f0d4017711 Add potential guard clause 2023-11-13 13:26:43 -04:00
2ca91f574f Change filtering logic 2023-11-13 13:19:20 -04:00
7de44a3c2f Remove unneeded code and enable sorting on server list 2023-11-13 12:58:51 -04:00
afa44d0ea4 Don't sort recursive scan 2023-11-07 15:53:52 -04:00
83ba1af0cc Refactor hacknet logic 2023-11-06 20:20:36 -04:00
fad1c1a7c4 Fix number sort 2023-11-06 19:58:40 -04:00
ab6635d00e Sort arrays 2023-11-06 19:48:27 -04:00
116daf3781 Small fix for starting conditions 2023-11-06 17:39:47 -04:00
1af46c5d6f Fix hack all bug 2023-11-04 17:14:34 -03:00
f52af72140 Improve watcher slightly 2023-11-04 16:48:17 -03:00
12d9165162 Improve watcher 2023-11-03 22:55:07 -03:00
5febd7ed3b Fix logic error 2023-11-03 22:21:54 -03:00
8dff0b71d6 Fix wrong function call 2023-11-03 22:20:50 -03:00
f7fa595d71 Remove redundant check 2023-11-03 22:17:40 -03:00
6e1b576bcf Fix logic bugs 2023-11-03 22:17:05 -03:00
6c6f8b0b70 Formatting changes 2023-11-03 21:57:09 -03:00
90fef7e53a Move call outside the scope of watcher 2023-11-03 21:56:55 -03:00
92ad2da7b7 add program 2023-11-03 21:53:18 -03:00
a3bdb2ccd1 watcher improvements 2023-11-03 21:53:07 -03:00
677f23ea8d Add script that will contain user created programs 2023-11-03 21:38:19 -03:00
29d88170ab Fix logic bug 2023-11-03 21:38:00 -03:00
74aae19a82 Make scripts work better on fresh start 2023-11-03 20:17:24 -03:00
5d6063917b Servers had no money lol 2023-11-03 19:11:52 -03:00
22ddbbde5d Reformat files 2023-11-03 18:42:37 -03:00
683daff911 Add project coding guidelines 2023-11-03 18:41:51 -03:00
b40c4d07e8 Don't need to import NS anymore 2023-11-03 17:47:50 -03:00
4be46174b3 Update lockfile 2023-11-03 17:45:39 -03:00
d35d6cad42 Update based on latest version of template 2023-11-03 17:43:04 -03:00
3be118120f Upgrade bb plugin 2023-11-03 17:37:18 -03:00
d1f1d9b4bd Add some notes to hacknet file 2023-11-03 17:18:33 -03:00
f32ae59522 Add MPS calculation function 2023-11-03 17:01:47 -03:00
536eebed56 Remove test script 2023-11-03 16:52:15 -03:00
3c891b3522 Add autoexec 2023-11-03 16:49:43 -03:00
64045b0198 Add hacknet script 2023-11-03 16:49:35 -03:00
7466c20e11 Fix watcher 2023-11-03 16:49:26 -03:00
99c5d23c11 Change to smart scheduling 2023-11-03 15:31:57 -03:00
374f14ea65 Remove bad scripts 2023-11-03 15:22:38 -03:00
000e69a418 Add watcher and kill all scripts 2023-11-03 15:22:12 -03:00
f34a37a3fb Add hack all servers function 2023-11-03 15:07:07 -03:00
abdcc8d682 Change function signature 2023-11-03 14:54:10 -03:00
070a48f298 Test to see how ram cost is calculated 2023-11-03 14:41:47 -03:00
50117674e1 Add some more utility functions 2023-11-03 14:38:18 -03:00
01ea52d4d7 Remove unneeded functions 2023-11-03 14:25:18 -03:00
81717ac746 Add some util functions 2023-11-03 14:25:02 -03:00