All in Weapon 3.0.3

Any ammo... Any Mag... Or even Cursed weapons...

All in Weapon


[tabmenu]
  • Version 3.0.3

    Virus Total Link

    Thank you @RandomSG for the report.

    Changes:

    • Temporary deactivated FuckItAll option due to unexpected server error during bot generation. ;(

    Be aware that even if set FuckItAll to true, it will not allow all the mods in any slot, because it is deactivated (code commented)

    If i cannot find a way to overcome this problem, i will remove the option permanently. X/

  • Version 3.0.2

    Virus Total Link

    Changes:

    • Added 30x29 to the blacklist
    • MFac weapon, mag and ammo added to load after the mod

    For reports, please provide print-screen of the error or situation, with a brief explanation on how to reproduce! Thank you!

    If there is a "weapon/mag/ammo mod" that you want a "compatibility check", please provide me a link to the mod and i will look into it!

  • Version 3.0.1

    Thanks to the reports i was able to debug and make the necessary fixes.

    Fixed:

    • Added blacklist of ammo ID that have no Cartridge
    • Now weapons can fire any ammo

    Virus Total Link

  • Version 3.0.0

    For the cursed people, the cursed mod is back:

    • Any ammo can be used - Enabled by default
    • Any magazine can be used - Enabled by default
    • Cursed weapon allow any mod to be attached - Enabled by default (Check the "Extra" option)

    Virus total link

  • Version 2.0.2

    • Supported "akiVersion": 3.1.x
  • Version 2.0.1

    Added:

    • Config file in folder config.
      • "anyAmmo" configuration is unavailable

    Fixed:

    • By default, the config is set "allowAnyMag" to false.
      • Only allow you to choose magazines that the weapon accepts. (Requested by Wirpy)
  • Version 2.0.0

    The mod is now updated to Aki-3.0.0.

    Let me know if you encounter any issues.

  • Version 1.0.0

    • Supported "akiVersion": 2.2.x and Fin
  • So i added Mod Compatibility tab on the description of the mod for information about it!

    It is a more or less technical information. So you can relay it for the developer of the mod you want compatibility for, if that's the case.


    When using other mods with All in Weapon, i highly advice to read the information there as it is very likely that whether a bug (not an error) occur, the issue is what is described over there!

  • Bots jammed when they get a weapon which is not capable to shoot. not playable....

    3.8.X


    on the server no red things showing... but

    There are quite a few players who experience the same problem

    I noticed that it happens when you try to install equipment on the weapon that shouldn't be compatible and then it actually crashes all players including bots


    [Exception] : NullReferenceException: Object reference not set to an instance of an object

    SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.get_ContinueReload () (at <98273c972bd941dfa1a345d7b2f56009>:0)

    SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.CheckContinueSelfAction (SAIN.SelfDecision& Decision) (at <98273c972bd941dfa1a345d7b2f56009>:0)

    SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.GetDecision (SAIN.SelfDecision& Decision) (at <98273c972bd941dfa1a345d7b2f56009>:0)

    SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.GetDecision () (at <98273c972bd941dfa1a345d7b2f56009>:0)

    SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.Update () (at <98273c972bd941dfa1a345d7b2f56009>:0)

    SAIN.SAINComponent.SAINComponentClass.Update () (at <98273c972bd941dfa1a345d7b2f56009>:0)

    UnityEngine.DebugLogHandler:LogException(Exception, Object)

    Class358:UnityEngine.ILogHandler.LogException(Exception, Object)

    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

  • Bots jammed when they get a weapon which is not capable to shoot. An Option excluding the cursed guns for the bots would be great !!! Thanks for this mod... its always hilarious :D

  • Thanks ALOT!!!!!

  • Would there be a way to make it where bots do not spawn with any cursed weapons? sorry if there is already and option i dont think i see one

    Thumbs Up 1
  • Noob question, I guess this works only with vanilla weapons? Or ist there a chance to work with ATLAS, Painter etc?? ?(

    • I am using with MFAC guns, Atlas too and its working without a problem, also with SHAK.

      Heart 1
    • Works great! Big Thank You to the author! :thumbup:

  • turning on "fuckitall" only allows me to put magazines in every slot instead of letting every slot in every slot... idk if im doing something wrong, or is it the mod issue? even mods that are made specifically for that weapon cannot be equipped!


    fuckitall doesnt even allow me to equip weapons... but it allows me to equip magazines into every slot...

    • "Fuck it all" option allow all mods to go on all slots.

      So be careful. on the editing screen you wont be able to see all the mods because it is too much to display on the screen.


      May you take a print screen of the weapon you build that you cannot equip?

      i want to replicate!

    • cannot equip ANY mod into ANY slot except that i can put magazines in every slot. cannot equip ANY weapons for my character into ANY slot... except i can equip him full of mags.


      just cursed works fine tho

    • Thank you for this report!


      i just find out the issue and i'm fixing right now!
      You can expect a new version soon!

    • @RandomSG so I've encountered an issue that is actually very difficult for me to solve it, so to avoid unnecessary reports, i deactivated FuckItAll option until i can find a solution. Depending on the outcome i might remove it completely (unfortunately).

  • Ive been testing seeing if i could find the 93x40mm error, the 93x40mm is from the RPG-7 Mod, in case someone has the same problem, i just removed the RPG mod for now, in case Pliniojrm updated ill return to use the RPG.

    • i will download it to see the implementation of it. Thank you for letting me know which mod it belongs to.

      If it's all right i will fix the loading order. I will also make sure to verify if something is wrong.

      Thumbs Up 1
    • @Nedif from the look of the server side part of the mod i don't see why it shouldn't work, however it have a client side too, so i request the developer, the opensource code of the project to evaluate whether All in Weapon will work properly or not.


      If you want to test to see if it can work properly, open package.json and change this:

      JSON: package.json
          "loadAfter": [
              "Guns_MFAC",
              "MFAC Ammo"
          ],

      to this:

      JSON: package.json
          "loadAfter": [
              "Guns_MFAC",
              "MFAC Ammo",
              "RPG7"
          ],

      It's a testing change to see if it will work, but remember that due to the mod having a plugin, i cannot ensure that will work 100%.

    • Changing the Package.JSON didnt work, still 93x40mm error, tried 6 matches.

      Also, its not working with Dewardian Algorithmic level progression, even loading before or after.

      https://ibb.co/84zqBr2

      Thumbs Up 1
    • Thank you for providing this report @Nedif

      Algorithmic Level Progression will be set as incompatible, because of addRecursive method with All in Weapon is causing the compiler to reach the limit of calls.

  • Hi, could you make option so that bots use normal/vanilla guns and only the player can have cursed guns ?

    • this

    • So far that's gonna be hard for me. All the magazines and weapons are changed on the database when the server loads.


      I will try to study the botGenerator on the matter of loadout generation to see if i can replace the implementation to avoid cursed. ;)

  • Sometimes it will straight up brick all bots in a raid. Consoles spamming null ref

    A2Vh1cf.png

    It's kinda funny to see bots' weapons are cursed too. But this bug is a bit serious.

    • PS. I have AnyAmmo and AnyMag disabled.

    • That's a plugin error (Client mod).

      All in Weapon is a Server mod. The error that should appear would come from the Aki.Server.exe, not ingame console. ;)


      NullReferenceException, comes from C# language, which is from the DLL file = Plugin mod

    • Weird thing is, this error only occurs after I installed All in Weapon. If I remove this mod, this error goes away.


      I'll go ahead and start removing other mods and try to find out which one is incompatible.

    • Would help me out a little by knowing your mod list.

      I already told in one of the comments, but what All in Weapon does is edit the items database. It changes magazines and weapons. It goes on the _prop and change the filters by adding the ID of ammo or magazine or mods (depending on which setting you choose).


      If you are using any client mod (plugin) that read these values, then i can say that this mod is incompatible with it, depending on what it does.

    • I'm still trying various mod combinations.

      With only All in Weapon loaded, I also won't get this error. So definitely some mod incompatibility.

      So far I've found out that this error (probably) only happens when a bunch of bot is spawned at one place. If I go to where the bots spawned, I can see some floating guns, and every bot (including the functional bots spawned before the broken wave) in the raid will be freezed.

  • the mod mfac ammo seems to be the problem for everyones error

    Heart 1
    • It is because the mod's items doesn't follow a proper item hierarchy.

      It's explained in "Overview > Mod Compatibility > Bug?".


      And it's an easy fix for the developer to make, because in each item they add, the items need to have _parent assigned.
      For example: 5.56x45 мм M193 FMJ have "_parent": "5485a8684bdc2da71d8b4567" which is a generic item called "Ammo".


      ;)

  • To think I almost got killed by a bot using this ... bro this is fallout look like guns

    2024-04-10-20-43-0.png

    Happy 1 Crying 1
  • Hello, after using this module, I have been loading it in the 'In Game' interface until the pop-up window 'Backend error: Request timeout' pops up. May I ask if this conflicts with other modules

    • Not that i'm aware of. It has no code that request action during ingame.

      The mod makes all the changes while the server is loading. After that, All in Weapon does nothing else. It just change the items in the database.


      Whenever you think there's a mod issue, i always advice people to start removing one mod at the time until the issue is resolved. When you remove a mod and the issue continue, that mod isn't at fault.


      Now the "compatibility" of All in Weapon does with mods that changes the database by editing or creating weapon/magazine/ammo. If there were incompatibility, you should see a red message on the server, not the client (ingame).

  • For some reason, the fuck it all config makes it so i couldnt equip anything


    Idk how such a thing happens, but I figured you'd like to kno :3

    • Did you read the warning in the "Configuration" tab on Overview?


      imagem-2024-04-10-073430241.png


      I put this here because the name says it all.

      It's fuck up, because it will allow anything regardless of the slot category. So i can say for sure you can put a magazine inside a gas block.


      Idk if this is what you meant by "couldn't quip anything".

      If yes, that's the answer. If not, please provide me with a printscreen so i can test, debug and fix it.

    • I'll break it down because i dont know how to do all that animebuttmove


      I started a new profile, zero to hero, and sold my knife to buy a transformer bag.

      I went to equip said transformer bag, and for some reason it was incompatible with my backpack slot. I unequiped my alpha container, just dragged it to my stash, and when i did that i couldnt re equip it to my container slot.


      Sorry for not applying any technical data but maybe that gives you a better idea

    • That must be another mod messing with it, because this mod only changes Ammo, Magazines and Weapons. The only property that is changed in those 3 are the filters, which you can called a "Whitelist" of which ammo the mags/weapon can use and/or which mags the weapons can use.

      Also the Cursed option, the mod changes the filters (Whitelist) of which can be put in what slot.


      TL;DR: All in Weapon do not touch backpacks  ;)

  • Are the bots supposed to have cursed guns too?

    Thumbs Up 1
    • When you save presets the server uses your preset sometimes. so expect bots to have cursed weapons

      Thumbs Up 1
    • I don't have any cursed presets, that's the thing.

    • Some of the devs might have this answer. i know that the server used many of my presets before.


      I don't know the logic behind the bot loadout generation, but since All In Weapon removes all restrictions, i think it might try to create monsters too. just a guess. ;)

  • ive been waiting for this one, now i can put flechette rounds in my rhino

    Happy 1
  • Uhm... i remember very old mod who already doing that

    Thinking 1
  • Does this mod change bot weapon configurations as well?

    • Bots may carry a weapon that you save as preset, as the game uses your preset also as a reference for the bot loadout.

  • Does not work, same errors as chacalize :( You can put ammo into mags, but cannot fire

    Thumbs Up 1
    • Fixed - New version available.

      You may check now the version 3.0.1

    • hey man, i tried to load ammo 12.7x108mm B-32 from mod aaMFACSHOP or Guns_MFAC and its says wrong ammo type. I think its not compatible with this mod? When i used older version, it worked. Any idea?


      edit:

      seem there is still the same problem even with new version. i cannot insert photos, but its still the same error you can see in photo from chacalize

    • Make sure All in Weapon load after any other mod that adds:

      • Weapon
      • Magazine
      • ammo!

      And for All in Weapon to work on items of other mods, those items must have the inheritance (parent id) follow all the way back to the major ID which is:

      • Ammo ID: "5485a8684bdc2da71d8b4567"
      • Magazine ID: "5448bc234bdc2d3c308b4569"
      • Weapon ID: "5422acb9af1c889c16000029"

      This is how the mod works. It doesn't look for each item specifically, but it looks for the items that follows the parent id all the way to it's source.

      I had to download MFAC Ammo to check their implementation as an example. On mmfac_items.json, all the items have their necessary property to be "acceptable" by the "Server", but they do not add the "_parent" property value. It have because of the template, but it is empty, so "All in Weapon" will never locate the items from MFAC Ammo, because they do not inherit from the item "Ammo" (ID: "5485a8684bdc2da71d8b4567")

      Edit: I apologize to MFAC, as i noticed it clone the item from the database!


      So this is not an issue that is created by All in Weapon, ok?  ;)

    • I loaded the mod after every other mod. And went to raid. Again the same error even when i used 9x39 ammo for 9x39 gun. When i tried to switch to different gun, i could not put it into weapon slot (item not compatible). So for me the error is still there even with vanilla ammo and guns.

      I deleted the mod and it works fine again :(. So i think some mods are not compatible and doing this error. I think i will have to skip on this mod ;(



      This is the error:

      Missing caliber data for: Caliber93x40mm

      Unable to pick a cartridge for caliber Caliber93x40mm, chosen staticAmmoDist data is not an array: undefined

      TypeError: ammos is not iterable

      TypeError: ammos is not iterable

      at ItemHelper.drawAmmoTpl (C:\snapshot\src\helpers\ItemHelper.ts:1339:27)

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

      at LocationGenerator.createStaticLootItem (C:\snapshot\src\generators\LocationGenerator.ts:1086:33)

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

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

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

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

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

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

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

      TypeError: ammos is not iterable

      TypeError: ammos is not iterable

      at ItemHelper.drawAmmoTpl (C:\snapshot\src\helpers\ItemHelper.ts:1339:27)

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

      at LocationGenerator.createStaticLootItem (C:\snapshot\src\generators\LocationGenerator.ts:1086:33)

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

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

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

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

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

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

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

    • Ok, so i will request just one information if you are willing to do it for me, because i need to debug to pin-point the source of the issue.

      Caliber93x40mm is not in the Aki 3.8.0's database (Even when trying to search for 93x40), therefore it is an item added by another mod. So this is not vanilla.

      Since you said that:

      Quote

      So for me the error is still there even with vanilla ammo and guns.

      I'm gonna ask for the error that All in Weapon version 3.0.1 generates when using it without any mods.

      Therefore i will be able to pinpoint the source of the issue and fix it for the community!

  • I remember a mod long time ago, you could put any ammo in any gun you wanted. It didn't had the magazine to any gun.

    It reminds me of having a M4 with flachette with a 60 rounder ... even on the inspect screen the magazine was bugged with the flachette slugs showing outside :D :D

    I simply love what mods can actually come to. Thanks.

    Edit: I have a bug, doesn't let me enter in a raid but I could use the gun in hideout shooting range. This also shows on console

    allinall.jpg

    • Trying to find out the issue. Thank you for the report. I also see this error when trying to load into a raid.

    • Fixed - New version available.

      Thank you for the report!

      Heart 1
    • Thanks for the fix my guy! Keep the good work. <3

      Heart 1
  • Needs tweaking. Error on start cartridge 127x108 undefined. And any ammo in weapon don't work.
    Still, love this mod since years back

    Thumbs Up 2
    • Looking into it.

      Happy 1
    • Fixed - New version available.

      Thank you for the report!

  • Hello, tell me, I can't use any cartridges, any magazines are placed and the weapon does not fire. For example, the ak-12 requires 5 45.39 the description says you can use cartridges, maybe I can't, maybe I'm doing something wrong?

    Thumbs Up 1
    • Thank you for reporting, looking right now into it.

    • Fixed - New version available.

      Thank you for the report!

    • thank you very much. I'll take a look right now

      Thumbs Up 1
    • Everything is working fine. Thank you so much for your work

      Heart 1 Thumbs Up 1
  • With time in hand, now i'm updating the mod.


    With db.sp-tarkov.com not working, testing is quite difficult, so expect delay!
    You can follow the development update in the Github link by clicking on the "Source Code" section.

  • update

  • update the mod please

  • Great Mod,

    work for me on 3.7.4

  • It would be great if author will update this mod, because it perfect thing wich allow to use all ur mind to make something like spear

    • Works for me in 3.7.3 without any noticeable issues, along with 60 or so other mods, should be good to go for most folks in this regard even without an update.

      Thumbs Up 1
    • thx for answer, do u know any mod to use any ammo in any weapon?

  • Im currently getting this error


    Server is running, do not close while playing SPT, Happy playing!!

    RangeError: Maximum call stack size exceeded

    RangeError: Maximum call stack size exceeded

    at AllInOne.getAllMods (C:\Users\schae\OneDrive\Desktop\sptarkov\user\mods\Lua-AllinWeapon\src\mod.js:58:26)

    at AllInOne.run (C:\Users\schae\OneDrive\Desktop\sptarkov\user\mods\Lua-AllinWeapon\src\mod.js:20:14)

    at Mod.setup (C:\Users\schae\OneDrive\Desktop\sptarkov\user\mods\Lua-AllinWeapon\src\mod.js:131:23)

    at Mod.postAkiLoad (C:\Users\schae\OneDrive\Desktop\sptarkov\user\mods\Lua-AllinWeapon\src\mod.js:125:14)

    at PostAkiModLoader.executeMods (C:\snapshot\project\src\loaders\PostAkiModLoader.ts:72:46)

    at PostAkiModLoader.load (C:\snapshot\project\src\loaders\PostAkiModLoader.ts:35:24)

    at ModCallbacks.onLoad (C:\snapshot\project\src\callbacks\ModCallbacks.ts:34:41)

    at App.load (C:\snapshot\project\src\utils\App.ts:56:26)

    RangeError: Maximum call stack size exceeded

    RangeError: Maximum call stack size exceeded

    at AllInOne.getAllMods (C:\Users\schae\OneDrive\Desktop\sptarkov\user\mods\Lua-AllinWeapon\src\mod.js:58:26)

    at AllInOne.run (C:\Users\schae\OneDrive\Desktop\sptarkov\user\mods\Lua-AllinWeapon\src\mod.js:20:14)

    at Mod.setup (C:\Users\schae\OneDrive\Desktop\sptarkov\user\mods\Lua-AllinWeapon\src\mod.js:131:23)

    at Mod.postAkiLoad (C:\Users\schae\OneDrive\Desktop\sptarkov\user\mods\Lua-AllinWeapon\src\mod.js:125:14)

    at PostAkiModLoader.executeMods (C:\snapshot\project\src\loaders\PostAkiModLoader.ts:72:46)

    at PostAkiModLoader.load (C:\snapshot\project\src\loaders\PostAkiModLoader.ts:35:24)

    at ModCallbacks.onLoad (C:\snapshot\project\src\callbacks\ModCallbacks.ts:34:41)

    at App.load (C:\snapshot\project\src\utils\App.ts:56:26)

    I'm Not exactly sure what any of this means, help would most definitely be appreciated.

  • Works for me on 3.7.1

  • Please update this mod for 3.5+ (3.5.5 or 3.5.7)