Server Value Modifier [SVM]

  • So I'm having an issue with SVM currently. When I run Greed and try to apply my preset, it prompts an error, the image shown.


    image.png?ex=6765436b&is=6763f1eb&hm=a81888b548ce11359ecb274eef7e44c99c41e300da2873ff5ba181228520db1e&=


    In my server console, I get this message everytime about the loader.json file, which doesn't seem to be preset in either the download or anywhere it could be generated. I've attached the server log as well. I AM saving a new preset every time I do this also.

    Code
    Cannot find module '../Loader/loader.json'
    Require stack:
    - C:\Users\kkilb\Documents\SPTarkov New\user\mods\ServerValueModifier\src\SVM.js
    - C:\snapshot\project\obj\loaders\PreSptModLoader.js
    - C:\snapshot\project\obj\controllers\GameController.js
    - C:\snapshot\project\obj\callbacks\GameCallbacks.js
    - C:\snapshot\project\obj\di\Container.js
    - C:\snapshot\project\obj\Program.js
    - C:\snapshot\project\obj\ide\ReleaseEntry.js
    1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
  • So I'm having an issue with SVM currently. When I run Greed and try to apply my preset, it prompts an error, the image shown.


    image.png?ex=6765436b&is=6763f1eb&hm=a81888b548ce11359ecb274eef7e44c99c41e300da2873ff5ba181228520db1e&=


    In my server console, I get this message everytime about the loader.json file, which doesn't seem to be preset in either the download or anywhere it could be generated. I've attached the server log as well. I AM saving a new preset every time I do this also.

    Code
    Cannot find module '../Loader/loader.json'
    Require stack:
    - C:\Users\kkilb\Documents\SPTarkov New\user\mods\ServerValueModifier\src\SVM.js
    - C:\snapshot\project\obj\loaders\PreSptModLoader.js
    - C:\snapshot\project\obj\controllers\GameController.js
    - C:\snapshot\project\obj\callbacks\GameCallbacks.js
    - C:\snapshot\project\obj\di\Container.js
    - C:\snapshot\project\obj\Program.js
    - C:\snapshot\project\obj\ide\ReleaseEntry.js
    1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.


    You can try to manually create a "Loader.json" file in the "\User\Mods[SVM] Server Value Modifier\Loader" directory, and then configure your settings in SVM and apply them.

  • You can try to manually create a "Loader.json" file in the "\User\Mods[SVM] Server Value Modifier\Loader" directory, and then configure your settings in SVM and apply them.

    Yee, this was the case. Ghost reached out to me on Discord in the Fika server and provided a empty loader.json file which fixed the issue. This normally will only happen with MO2 users.

  • I forgot the fact i am supposed to have default loader in release, so that's on me.

    <This guy made this mod, check it out

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!