SilverBullet 3.0.5

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

just a mod to use any ammo on any gun

Credit to TheSparta, k4a, and Tyrian


This mod will allow you to put any ammo on any gun or mag, it is compatible with any mods


Bots do not generate with random ammunition added by this list, unknown as to why but that's likely a blessing. They WILL however reload their empty magazines with whatever ammunition they have available in their inventory.


mod folder -> user/mods directory
READ THIS!!!!!!


Below are the settings within config.json and what they do


"WhitelistEmplacementAmmos" - This is used to enable whitelisting Emplacement Ammo's to be pushed to weapon and magazine filters, sadly enabling this option causes infinite loading issues due to weird BSG client-side programming that throws an error on adding emplacement ammo into a loose loot spawn magazine. Disabled by default. Enabling this will also enable a 'fix' that essentially removes the fillMagazineWithRandomCartridge function, fixing infinite load issues due to loose loot magazine errors. Recommend keeping this disabled.


"WhitelistShrapnelAmmos" - This is enabled by default, it fixes load and loot errors. Recommend keeping this on.


"BlacklistEmplacementWeapons" - This blacklists emplacements from having other ammo's pushed to their ammo filters, disabling this may cause issues with emplacements. Recommend keeping this enabled


DO NOT TRY TO RUN SVM or VALENS AIO BEFORE SILVERBULLET. TO AVOID THIS, ADD A "z" at the start of their mod folders, in order to load them after SilverBullet. Example: zServerValueModifier


Leave a comment if you have an issue. Give me any suggestions for updates.


I'd like to give HUGE thanks TheSparta for helping me A LOT on fixing most of the issues the mod had.


  • Version 3.0.5

    3.9.x Hotfix - rewritten a lot of stuff

  • Version 3.0.4

    3.8.x Quickfix

  • Version 3.0.3

    it works

  • Version 3.0.2

    updated for 3.5.7. it worked for me.

  • Version 3.0.1

    nothing new. stable for 3.5.6

  • Version 3.0.0

    IT WORKS NOW!!!!

    Works almost the same as Universal Ammo, this means that any mods are supported unless you try to blacklist them in the mod.ts file. Anyways, now out of WIP means that this mod is now usable without stupid shenanigans, but there's most likely still some issues to be solved. Wish you all great raids.

  • Version 2.5.0

    Added support for 3.5.5

    Also added support for D.U.D.S, M Ammo, and Tame AGS-30 and NSV "Utyos

    im back on this thing i guess.

  • Version 2.1.1

    FIXED AN ISSUE WITH REVOLVERS NOT LOADING THE ROUNDS IN THE CHAMBERS, REVOLVERS WORK PROPERLY NOW AND ARE FIXED!!!!!

    MAKE SURE THAT IF YOU ARE USING KMC SVM MAKE THE SVM MOD LOAD AFTER SILVER BULLET OR IT WILL NOT WORK.

    JUST ADD A "Z" AT THE START OF THE SERVERVALUEMODIFIER MOD NAME.

    THE NAME SHOULD LOOK LIKE THIS: zServerValueModifier

    Images

  • Version 2.1.0

    ADDED SUPPORT FOR JoshJ5Hawk Super Ammo!!!

    MAKE SURE THAT IF YOU ARE USING KMC SVM MAKE THE SVM MOD LOAD AFTER SILVER BULLET OR IT WILL NOT WORK.

    JUST ADD A "Z" AT THE START OF THE SERVERVALUEMODIFIER MOD NAME.

    THE NAME SHOULD LOOK LIKE THIS: zServerValueModifier

    Images

  • Version 2.0.1

    Fixed issue with Double Barrel shotgun not loading rounds in the second chamber.

    MAKE SURE THAT IF YOU ARE USING KMC SVM MAKE THE SVM MOD LOAD AFTER SILVER BULLET OR IT WILL NOT WORK.

    JUST ADD A "Z" AT THE START OF THE SERVERVALUEMODIFIER MOD NAME.

    THE NAME SHOULD LOOK LIKE THIS: zServerValueModifier

    Images

  • So I am back feeling better. I wasn't active because of studying and stuff. But I'm good now and I will probably update the mod sometimes if it needs fixes. I don't have anything else to say but this mod is finally getting updated.

    Heart 5
  • anyway to blacklist certain guns or magazines to not accept any ammo? im trying to use the Milkor grenade launcher with only grenades and not regular bullets

    • no feature to do that and im too lazy to implement it as well

    • no problem. thanks for the reply!

  • YESSSS THE WAIT IS OVER! now just gotta wait till unrestricted plates is updated then the fun can truly begin.

    Thanks mod maker. Also hope you're having a good day/night!

    Thumbs Up 1
  • Uhh, this is the first substantial code change that I had to make since 3.7, but the new code I wrote works just like the old one from what I've tested, you guys can complain about issues in the comments and I'll respond to you when I'm online.

  • I love you!

    BEST MODE!!!!!!!!!!!!!!!!!!

    Thank you!

    • this will always work (thankfully). I only have to change the version number so it doesn't get flagged in load order.

      Heart 1
  • Hi,


    will there be updates on new version?


    Thanks

    • does the mod not work anymore?

    • I was getting an error on server startup saying AKI version not supported, and fixed it by editing file package.json and changing AKI version from '3.7.0' to '3.8.0'

    • I guess I'll just upload a quick fix

  • Hi

    when update for 3.8?

    best mod ever!

  • is there any chance you'll figure out what mods work and dont work with this mod?

    • no. I don't really go out testing compatible mods, and I also don't know how every mod works exactly. Your best bet is to test different things and hope for the best. Sorry if this isn't the answer you were looking for

    • its all good, its just a pain that ive gotta go through the mods I have to try and figure out whats wrong but such is life, love the mod idea though

  • Despite leaving the config as recomended, silver bullet causes infinite loading. I think i dont have any conflicting mods. Does someone know how to fix this?




    TypeError: staticAmmoDist[caliber] is not iterable

    TypeError: staticAmmoDist[caliber] is not iterable

    at ItemHelper.drawAmmoTpl (C:\snapshot\project\src\helpers\ItemHelper.ts:1101:41)

    at ItemHelper.fillMagazineWithRandomCartridge (C:\snapshot\project\src\helpers\ItemHelper.ts:1008:35)

    at LocationGenerator.createStaticLootItem (C:\snapshot\project\src\generators\LocationGenerator.ts:1023:29)

    at LocationGenerator.addLootToContainer (C:\snapshot\project\src\generators\LocationGenerator.ts:429:49)

    at LocationGenerator.generateStaticContainers (C:\snapshot\project\src\generators\LocationGenerator.ts:123:44)

    at LocationController.generate (C:\snapshot\project\src\controllers\LocationController.ts:104:51)

    at LocationController.get (C:\snapshot\project\src\controllers\LocationController.ts:70:21)

    at LocationCallbacks.getLocation (C:\snapshot\project\src\callbacks\LocationCallbacks.ts:39:66)

    at RouteAction.action (C:\snapshot\project\src\routers\dynamic\LocationDynamicRouter.ts:17:51)

    at LocationDynamicRouter.handleDynamic (C:\snapshot\project\src\di\Router.ts:68:61)

    TypeError: staticAmmoDist[caliber] is not iterable

    TypeError: staticAmmoDist[caliber] is not iterable

    at ItemHelper.drawAmmoTpl (C:\snapshot\project\src\helpers\ItemHelper.ts:1101:41)

    at ItemHelper.fillMagazineWithRandomCartridge (C:\snapshot\project\src\helpers\ItemHelper.ts:1008:35)

    at LocationGenerator.createStaticLootItem (C:\snapshot\project\src\generators\LocationGenerator.ts:1023:29)

    at LocationGenerator.addLootToContainer (C:\snapshot\project\src\generators\LocationGenerator.ts:429:49)

    at LocationGenerator.generateStaticContainers (C:\snapshot\project\src\generators\LocationGenerator.ts:123:44)

    at LocationController.generate (C:\snapshot\project\src\controllers\LocationController.ts:104:51)

    at LocationController.get (C:\snapshot\project\src\controllers\LocationController.ts:70:21)

    at LocationCallbacks.getLocation (C:\snapshot\project\src\callbacks\LocationCallbacks.ts:39:66)

    at RouteAction.action (C:\snapshot\project\src\routers\dynamic\LocationDynamicRouter.ts:17:51)

    at LocationDynamicRouter.handleDynamic (C:\snapshot\project\src\di\Router.ts:68:61)

    • You must have a mod conflict. The mod works fine with my setup.

  • 3.7.3 Support!!!

    Autor Much love !

  • support

    3.6.1?

    • yes

      Heart 1
    • and support

      SWAG + Donuts - Dyn amic Spawn Waves and Custom Spawn Points? right?

    • yes

      Happy 1
    • Mod (SilverBullet3.0.3) is missing package.json

      how can i fix it?

      just dragged and drop in mods folder (user) 3.7.0

    • is this 3.7 or 3.6.1?

  • this still works for 3.7.0 lol

    Heart 1
  • mod is compatible with 3.6.1

  • Hello, SiulSC . thank you and others who worked on this mod. it is very grate. when it will be updated to 3.6.1?

    • I don't know, someday tho.

    • mod is compatible. I don't know about a new update but I am working on something.

  • Will this mod be updated ?

    or is it still compatible?

    • I have no idea. Haven't been working on it since months. I'll probably update one day that im bored.

  • Nice to have you back o/

  • current version is not working properly with bots (wait till update)

  • im having issues with the download. it is downloading as a text file. is that normal or no?

  • I really wanted to shoot the AGS rounds from my kedr, but found out that this mod doesn't have this feature, then i added some ammo in ammo.json file (UTES ammo,AGS rounds,6mm airsoft cuz funny). and after that i cannot load into raid with loaded mags, only separated ammo and mags


    mod is funny flechette in kedr go brrt

    • I have to add support. I will be back going in a little bit :)

  • For people that still remember me, I haven't bothered to update the mod because the KMC mods haven't been updated, although this mod still works with 3.5.0 (for me at least). But I want a person to confirm that this is true. Any ways, I look forward to keep maintaining this mod, but I have been lately doing other stuff like speedrunning games and doing school work. I need to fix some stuff but it works.

  • Hey mate sorry to bother you but is there a way you could do a mod that makes it so you can put any mod on any gun? Cheers and thanks in advance.

    • I don't know how to do that, sorry. It would also take a lot of time and effort.

    • i think lua or fin had a mod to do the same thing you asked

  • i have this error

    TypeError: Cannot read properties of undefined (reading 'filter')

    TypeError: Cannot read properties of undefined (reading 'filter')

    at Mod.postDBLoad (C:\Users\User\Desktop\SPT\user\mods\SilverBullet\src\mod.js:22:61)

    at PostDBModLoader.executeMods (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at PostDBModLoader.onLoad (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at App.load (C:\snapshot\project\obj\utils\App.js)

    at processTicksAndRejections (node:internal/process/task_queues:96:5)

    at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:65:3)

    at Function.runMain (pkg/prelude/bootstrap.js:1984:13)

    at node:internal/main/run_main_module:17:47

    TypeError: Cannot read properties of undefined (reading 'filter')

    TypeError: Cannot read properties of undefined (reading 'filter')

    at Mod.postDBLoad (C:\Users\User\Desktop\SPT\user\mods\SilverBullet\src\mod.js:22:61)

    at PostDBModLoader.executeMods (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at PostDBModLoader.onLoad (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at App.load (C:\snapshot\project\obj\utils\App.js)

    at processTicksAndRejections (node:internal/process/task_queues:96:5)

    at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:65:3)

    at Function.runMain (pkg/prelude/bootstrap.js:1984:13)

    at node:internal/main/run_main_module:17:47


    i saw where it was located said it was an error on line 6 and the error was compilation error with microsoft JScript

    what do i do?

    • Did you follow steps and read pinned comment?

    • i read the pinned comment i didnt find any steps

    • Read download description.

    • where is it i cannot find it

    • go to versions and read the text

  • the ammo and mags from this mod Tame AGS-30 and NSV "Utyos".
    arent working with the ammo they are supposed to work with but with all other ammo

    i tried it with SilverBullet disabled and it worked fine

    • I have to add compatibility

    • thanks

    • i also noticed that the Distress signal (poison green) flare for the Flare launcher also doesnt work

  • THE GAME WILL NOT LOAD IN BOTS MOST OF THE TIME USING KMC-CORE.

    THIS IS NOT AN ISSUE FROM MY MOD, IT'S AN ISSUE CAUSED BY KMC-CORE.

    WAIT FOR The_Katto TO UPDATE KMC-CORE UNTIL THIS ERROR IS FIXED.

    I WILL POST A COMMENT WHEN THIS ISSUE IS FIXED.

  • When I try and download this and put it in my mods folder, it doesn't do anything, any fixes?

    • look carefully into your mods

    • did you add the folder?

    • I don't think its a folder, it looks different.

  • I have a suggestion that is

    If there is any possibility that change this mod logic into player's only

    which means only player can put different ammo in any mags

    Maybe it will cause no conflict with other loot spawn mod

  • I just realized the error is happening in big maps, like shoreline. Looking for ways to fix it, no ETA.

  • Does this apply to bots too?

  • I'm getting this error when starting the server


    Loading SilverBullet

    TypeError: Cannot read properties of undefined (reading 'filter')

    TypeError: Cannot read properties of undefined (reading 'filter')

    at Mod.postDBLoad (C:\Users\playe\Desktop\SP Tark\user\mods\SilverBullet\src\mod.js:22:61)

    at PostDBModLoader.executeMods (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at PostDBModLoader.onLoad (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at App.load (C:\snapshot\project\obj\utils\App.js)

    at processTicksAndRejections (node:internal/process/task_queues:96:5)

    at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:65:3)

    at Function.runMain (pkg/prelude/bootstrap.js:1984:13)

    at node:internal/main/run_main_module:17:47

    TypeError: Cannot read properties of undefined (reading 'filter')

    TypeError: Cannot read properties of undefined (reading 'filter')

    at Mod.postDBLoad (C:\Users\playe\Desktop\SP Tark\user\mods\SilverBullet\src\mod.js:22:61)

    at PostDBModLoader.executeMods (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at PostDBModLoader.onLoad (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at App.load (C:\snapshot\project\obj\utils\App.js)

    at processTicksAndRejections (node:internal/process/task_queues:96:5)

    at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:65:3)

    at Function.runMain (pkg/prelude/bootstrap.js:1984:13)

    at node:internal/main/run_main_module:17:47

    and the mod doesnt work

  • I can't recreate the issues that you guys have been having. If anything, I need to know the mods you guys are using because that's the only thing I can think about that is causing issues.

    • Based on my testing for a long time

      I found your mod has conflict with ALEVESTHINGS-aleves

    • SO PEOPLE, THIS MOD CAUSES CONFLICT WITH ALEVESTHINGS

    • As for other guys' bots spawning problem

      I found i receive same error message as them

      But bots spawn normally in second or third spawning wave

    • İ tried to remove every mod except KMC core and weapons.
      Still got the same issue. Lemme look at the AleavesThings again though.

    • Okay i tried removing aleavesthings but it seems bot issue is not related to that mod.