Posts by GhostFenixx

    Huh, I got a lil' helper here, cute.
    Yeah, as the error says -

    at BotGeneratorHelper.isItemIncompatibleWithCurrentItems (F:\Games\SPT\obj\bundle.js:10070:33)

    at BotGeneratorHelper.generateModsForWeapon (F:\Games\SPT\obj\bundle.js:9759:31)
    Something is related to gun attachments that can be rolled into the bots loadouts, most mods don't do that though.


    The "rounds load/unload speed" default is 0, meaning no buff/nerf.

    Positive numbers (like 15 or 35) equals a buff or increase in reload speed, where as a negative one (such as -10) would be a nerf or decrease in speed. If it's instantaneous, it's either a bug or another mod. MuchNeeded has an "Instant Mag Packing In-Raid" feature.

    Do you have that mod installed?

    I see you both haven't read the versions description or changelog.
    The default is 1. hence the multiplier of 1 doesn't do anything.

    I just installed SVM for the first time. To verify everything would work I just used the included preset and hit apply. I had a few other mods installed at first and when I started the server it would crash. I removed all other mods other than SVM to eliminate conflicts and I am now getting this error on server start.


    Code
    ModLoader: loading mods...
    Mod ServerValueModifier1.5.4 is missing package.json
    Invalid mod (ServerValueModifier1.5.4) encountered
    Server: executing startup callbacks...

    I do see a package.json file inside the main folder for SVM.


    Any assistance would be appreciated.

    Nested folder, you have unpacked mod wrong, Feel free to read FAQ.

    Hmm, no clue how that happened, IIRC by default it should be either 16 or 24 hours without SVM.
    And insurance values works via hours.
    Be advised it won't affect insurance time if you didn't have SVM in time of dying. but it WILL work on future ones (At least should)
    And no, you need to apply once, close the application and you may forget for it unless you need to do changes, then you can load a preset or start from scratch.

    I can only recommend throwing all mods off and try again.
    If it happens with mods, look into mods, if not, well, wait for another respond clarifying such issue, although most cases like that is bad installation or windows writing permissions, or some huge user issue.

    I use mod that alters spawn behavior but I don't think it's the problem, that's what I hear.

    SVM doesn't change any behavior related to AI spawns, only the values that exist in game already.

    You can disable bots and raid section and try to run the game again if you think it's exactly svm that does it.


    For sanity check I can only recommend loading SVM first, and then Lua's mod, the mod load order is on alphabetical order of mods folders.

    Well, as expected - User issue, or better say Modders Issue.
    So in short: For all modders who might encounter this - transfer all Response/Controller/Routes away from PostDBLoad.
    Even though it would still work - it causes really weird bugs.
    List of bugs that's 100% being caused by it:
    1. Most Barters will cost 1P

    2. Prices will not be sorted right, making USD/EUR/RUB to be calculated equally.
    3. Finalised Prices will not be calculated properly on buying gear via preset modding if you have something that has price in USD.


    List of Not fully tested prohibited calls in PostDBLoad:


    StaticRouterModService = container.resolve("StaticRouterModService");
    DynamicRouterModService = container.resolve("DynamicRouterModService")

    BotController = container.resolve("BotController");
    InraidController = container.resolve("InraidController");

    At least this is the one I had to move away.


    You can't put them into preload (maybe not obvious for everyone) so you'll have to have postAkiLoadMod() for such tasks like rerouting server calls or editing profile.

    EDIT 14:00 GMT+2: To preakiLoad()
    Maybe it's just my bad code, but i didn't manage to run postAkiLoad even a logger, instead i went to pre aki with defining Controllers inside routes, because if you try to resolve a controller in pre aki - it will throw an error.
    As of final words: SVM is fixed, won't happen in 1.5.3
    Feel free to close the thread.