Hey there, im the guy from discord a second ago.
So heres the full console output
Code
Detected faulty json, please fix your json file using VSCodium
TypeError: Cannot read property 'logWithColor' of undefined
TypeError: Cannot read property 'logWithColor' of undefined
at HttpServer.getRandomisedMessage (F:\SPTAKI\user\mods\zFin-AITweaks\src\mod.js:152:16)
at WebSocketServer.<anonymous> (F:\SPTAKI\obj\bundle.js:14941:60)
at WebSocketServer.emit (events.js:315:20)
at Server.emit (events.js:327:22)
at emitListeningNT (net.js:1352:10)
at processTicksAndRejections (internal/process/task_queues.js:79:21)
(node:3232) UnhandledPromiseRejectionWarning: SyntaxError: F:\SPTAKI\user\mods\zFin-AITweaks\config\config.json: Unexpected token I in JSON at position 13480
at parse (<anonymous>)
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1106:22)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Function.setupInitialValues (F:\SPTAKI\user\mods\zFin-AITweaks\src\mod.js:9513:18)
at AITweaks.postAkiLoad (F:\SPTAKI\user\mods\zFin-AITweaks\src\mod.js:19:18)
at PostAkiModLoader.executeMods (F:\SPTAKI\obj\bundle.js:12637:46)
at PostAkiModLoader.load (F:\SPTAKI\obj\bundle.js:12626:14)
(Use `Aki.Server --trace-warnings ...` to show where the warning was created)
(node:3232) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3232) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Display More
Im running the latest Tarkov spt version, used the CFG editor, disabled Gear changes and upped some spawn numbers, heres the config aswell.
edit: forums dont like the file, and its too long to post, gonna wait till you say what you need.
i checked the file manually, seems like when i changed a value for PMC waves from default to 15 it changed it to "Inf", changed it again and saved it manually instead of using the cfg editor, now it worked.