Instead of automatically falling back to default plates, this change
will allow the bot to attempt the next level higher armor class up to 3
times before falling back to defaults.
Through testing this prevents falling back to defaults roughly 95% of
the time and retains the ability to roll the lowest level available
armor class if the initial armor class level selected is too low for the
armor.
---------
Co-authored-by: acidphantasm <acidphantasm@acidphantasm.com>
Changes the following:
- New targets, module and moduleResolution for mods
- Enables `isolatedModules` as this matches the SPT server.
- Includes user/mods in tsconfig.json to allow for mods to be loaded
when a debugger is attached.
Adds missing data to the "view profile" endpoint.
NOTE: Causes severe freezes when viewing the hideout, but this happens
when loading your own too. I think this is a live issue.
- Adds a set of asynchronous cloners able to be used in async methods
- Updates setInterval to await the update before processing a new one.
- Updates various BotGen methods to remove nested promises and removing
a few unnecessary for loops.
Changes:
- Adds a map for `profiles`
- Changes `onBeforeSaveCallbacks` to be Promises
- Changes `SaveMD5` into `saveSHA1` as the async method for `saveSHA1`
isn't blocking
- Changes all routes and callbacks directly interacting with SaveServer
to be async
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
### This depends on #1062
Actual changes in f940ac72b24951fae5abcf548e0a3d4c77640730
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
Removes the auto-install mod dependencies feature, the related messages,
and the configuration option.
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
This updates the `exec` calls in the build script to use `spawn` instead
for better argument handling. Resolves an issue that caused spaces in
build paths to kill the build.
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
- Removes a test for a class that was removed
- Changes the command for type checking from `lint:types` to
`type-check`
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>