Trap's AIO 3.2.1

Opinionated tweaks for casual gamers.

Please backup your profile before using new mods!


You can setup the mod configuration in user/mods/Trap-AIO/src/config/config.js

Raids

  • Raid time extended to 8 hours
  • 75% Airdrops chance on all maps
  • All items weight divised by 4
  • Magazine case weight set to 1 Kg
  • THICC weapon case weight set to 2 Kg
  • THICC item case weight set to 4 Kg
  • Fast magdrill
  • More loots (loose loot included)
  • Stimulants injectors can be used 3 times


Misc

  • Examine all items by default (except for keys and cards)
  • Keys/cards infinite uses
  • Color ammo according to the penetration
  • Bigger Gamma secure container (6x6) (except if Trap's Progressive Stash mod is present)
  • Bigger Kappa secure container (6x10) (except if Trap's Progressive Stash mod is present)
  • Bigger keytool (14x14)
  • All cases can be put in backpacks
  • Reduced insurance time return for prapor and therapist to 1 hour
  • Reduced scav cooldown to 10 minutes
  • Can wear MP7-A1, MP7-A2, MP9 and MP9-N in the pistol holster


Flea market

  • Disable the BSG blacklist
  • All items are sellable on flea
  • No durability required to sell an item
  • Instant sell
  • No fees


Hideout

  • Instant construction time
  • Instant production time (except for physical bitcoins)
  • Stash vertical size set to 256 (except if Trap's Progressive Stash mod is present)


Bots (disabled since Trap's AIO v3, prefer use POOP mod)

  • All AIs bots are easy
  • AIs bots don't use grenades
  • 100% chance a PMC is USEC
  • Convert 60% of scavs in PMCs
  • Convert 100% of rogues in PMCs
  • Convert 100% of raiders in PMCs
  • More bots on all maps (2 additional bots per wave)
  • Boss disabled by default in the raid menu
  • Version 3.2.1

    Work for SPT-AKI 3.5.x

    Changelog

    Fixes

    • disable stim tweak when STIMULANT_USES is set to 0 or a negative number
  • Version 3.2.0

    Work for SPT-AKI 3.5.x

    Changelog

    Features

    • added SECURE_CONTAINERS_TWEAK config option
  • Version 3.1.0

    Work for SPT-AKI 3.5.x

    Changelog

    Update for spt-aki 3.5.0

    Features

    • added SR-2M Veresk machine gun to HOLSTER_ADDITIONAL_ITEMS
  • Version 3.0.2

    Work for SPT-AKI 3.3.x

    Changelog

    Fixes

    remove InRaid menu settings override

  • Version 3.0.1

    Work for SPT-AKI 3.3.x

    Changelog

    Fixes

    Fixed crash when ExcludedFilter is empty on a modded item

  • Version 3.0.0

    Work for SPT-AKI 3.3.x

    Changelog

    Update for spt-aki 3.3.0

    Fixes (BREAKING CHANGE)

    • Disable bots tweaking features, prefer using POOP mod instead.
    • Loot multiplier reduced to 2
    • Magdrill speed reduced to 0.42
    • Boss is now enabled by default in raid menu settings
    • Item weight divided by 4
  • Version 2.5.0

    Work for SPT 3.2.0 and 3.1.x

    Changelog

    Features

    • Added MIN_DURABILITY_FOR_SALE traders config value setted to 20
    • More additional bots on all maps (except for factory)
    • Another try to balance DUMB_AI mode
  • Version 2.4.0

    Work for SPT 3.2.0 and 3.1.x

    Changelog

    Features

    • Replaced WAVES_ADDITIONAL_BOTS by WAVES_ADDITIONAL_BOTS_PER_MAP
    • Added SPAWN_ALL_BOTS_AT_START (enabled by default)

    Fixes

    • Bots are a bit less dumb when DUMB_AI is enabled
  • Version 2.3.0

    Work for SPT 3.2.0 and 3.1.x

    Changelog

    Fixes

    • Update for aki 3.2.0

    Features

    • Added RAIDERS_TO_PMC_PERCENTAGE config variable
    • Implement retro-compat for aki 3.2.x
  • Version 2.2.0

    Work for SPT-AKI 3.1.x

    Changelog

    Features

    Added ITEMS_FIXED_WEIGHTS in config.json

    By default:

    • magazine case weight changed to 1 Kg
    • THICC weapon case weight changed to 2 Kg
    • THICC item case weight changed to 4 Kg
  • AI tweaks has been disabled since Trap's AIO v3.0.2

    Prefer use POOP mod if you want to tweak bots :)

  • Is this going to be updated to current SPT version? Or is it working at this time?

  • hi when is a new version coming out

  • Hey i have a problem with the Trap's AIO where i get TypeError and the game wont save my changes after playing. i have the 3.5.3 and I'm using Trap's AIO for version SPT-AKI 3.5.x


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

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

    at Mod.tweakDurability (Z:\TheGoodTarkov\user\mods\Trap-s-AIO\src\mod.js:252:49)

    at Mod.postAkiLoad (Z:\TheGoodTarkov\user\mods\Trap-s-AIO\src\mod.js:289:14)

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

    at PostAkiModLoader.load (C:\snapshot\project\obj\loaders\PostAkiModLoader.js)

    at ModCallbacks.onLoad (C:\snapshot\project\obj\callbacks\ModCallbacks.js)

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

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

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

    at Mod.tweakDurability (Z:\TheGoodTarkov\user\mods\Trap-s-AIO\src\mod.js:252:49)

    at Mod.postAkiLoad (Z:\TheGoodTarkov\user\mods\Trap-s-AIO\src\mod.js:289:14)

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

    at PostAkiModLoader.load (C:\snapshot\project\obj\loaders\PostAkiModLoader.js)

    at ModCallbacks.onLoad (C:\snapshot\project\obj\callbacks\ModCallbacks.js)

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

    Have any work-around for this problem? :)

    (Update..... Just saw that it was not compatible with 3.5.3..... :) )

    Thumbs Up 1
  • Could you please update it to correspond to 3.5.3?

  • sadly since 3.5.2 the mod is not compable with POOP

    Thumbs Up 1
  • LOVE this mod!!! Patiently waiting for compatibility with 3.5.1

  • Hey i got a thing going on and i've been tryna tweak it but whenever i change : exports.GLOBAL_CHANCE_MODIFIER = 1; // . <<<this all the colourd keycards spawn on all the spawns so on woods there will be 3 violets on the whole map if i change the modifier up to lets say i change it to 1.5 there will still be 3 constant. That means on all possibole spawn there will be a card (also labs there will be 2 yellow 1 black 1 green , ect) is this suppose to happen or?

  • So what should I do about it?

    2023-03-02-11-56-1-2-0-8-3-4-0-0-0-4-0-0-0-9-0.png

    2023-03-02-12-04-1-6-0-9-2-4-0-0-0-4-0-0-0-9-0.png

  • hey how do i disable that it changes the uses of the stims because it also changes my modded stims uses and if i set it at 0 they will also be 0

    • I just released Trap's AIO 3.2.1, now if the STIMULANT_USES is set to 0 or a negative value, the change won't happens.


      Thank you for your feedback, and have fun :)

    • eey ty for the quick response and fix . BTW Love the mod <3

      Heart 1
  • Hey Trap! Can’t wait to see this great mod in 3.5! Keep up the great work homie 🫡

    • Trap's AIO 3.1.0 is out ;)

  • This mod is amazing and I respect the effort and ideas that went into this. I understood how to make some changes and removing except the the container cases changes:

    SECURE_CONTAINER_HEIGHT = and SECURE_CONTAINER_WIDTH

    Those lines I could not remove or disable without the error, so I here to ask for help how can I make the game run without those code lines and make the container cases to be usual. I hope I didn't took much of your time and I wish you all the best!

    • I just added the `SECURE_CONTAINERS_TWEAK` config option, so now you can disable this feature, have fun ;)

  • This is a neat mod. However, I have a question.


    Can I disable the change in raid time? And if so, how should I change the config to do it?

    • You can setup the mod configuration in user/mods/Trap-AIO/src/config/config.js

    • I was stupid. I just realized that I could just delete the line that I don't want. Shows that I'm still a noob when it comes to this kind of stuff.


      Thanks for your patience, and I apologize for the inconvenience I've caused.

    • No problem ;) I'm here to help.


      have fun ^^

  • Awesom mod trap, really like it if I just wanna chill and kill bots. I have a question though, is it possible just to have the mag reload multiplier and weight reduction settings?

    • You can setup the mod configuration in user/mods/Trap-AIO/src/config/config.js

  • After I install the mod, few problem arises:

    * Bots can't not be spawned at all. Even if I set bot density to hoards. The map is empty of AI

    * After I enter the map, I can't get back to main menu at all. If I dies or trying to disconnect, The game will just stuck, had to force quit the game.


    After removing this mod, the problems goes away. Since I'm also using a bunch of other mods I'm not sure if there's a conflict

    Thinking 1
    • Weird because since v3.0.0, Trap's AIO do not touch ai spawn at all.


      I've still the default inraid menu override in v3.0.1, I'll disable it in v3.0.2.


      Stay tuned.


      EDIT: Trap's AIO v3.0.2 is now available ;)

      Heart 1
    • Awesome! I'll try it out

  • Hey so I get this error whenever I try to buy anything on the black market. The inventory locks up so i have to restart.


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

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

    at InventoryHelper.getSizeByInventoryItemHash (C:\snapshot\project\obj\helpers\InventoryHelper.js)

    at InventoryHelper.getContainerMap (C:\snapshot\project\obj\helpers\InventoryHelper.js)

    at InventoryHelper.getStashSlotMap (C:\snapshot\project\obj\helpers\InventoryHelper.js)

    at InventoryHelper.addItem (C:\snapshot\project\obj\helpers\InventoryHelper.js)

    at TradeHelper.buyItem (C:\snapshot\project\obj\helpers\TradeHelper.js)

    at TradeController.confirmTrading (C:\snapshot\project\obj\controllers\TradeController.js)

    at TradeController.confirmRagfairTrading (C:\snapshot\project\obj\controllers\TradeController.js)

    at TradeCallbacks.processRagfairTrade (C:\snapshot\project\obj\callbacks\TradeCallbacks.js)

    at TradeItemEventRouter.handleItemEvent (C:\snapshot\project\obj\routers\item_events\TradeItemEventRouter.js)

    at ItemEventRouter.handleEvents (C:\snapshot\project\obj\routers\ItemEventRouter.js)

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

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

    at InventoryHelper.getSizeByInventoryItemHash (C:\snapshot\project\obj\helpers\InventoryHelper.js)

    at InventoryHelper.getContainerMap (C:\snapshot\project\obj\helpers\InventoryHelper.js)

    at InventoryHelper.getStashSlotMap (C:\snapshot\project\obj\helpers\InventoryHelper.js)

    at InventoryHelper.addItem (C:\snapshot\project\obj\helpers\InventoryHelper.js)

    at TradeHelper.buyItem (C:\snapshot\project\obj\helpers\TradeHelper.js)

    at TradeController.confirmTrading (C:\snapshot\project\obj\controllers\TradeController.js)

    at TradeController.confirmRagfairTrading (C:\snapshot\project\obj\controllers\TradeController.js)

    at TradeCallbacks.processRagfairTrade (C:\snapshot\project\obj\callbacks\TradeCallbacks.js)

    at TradeItemEventRouter.handleItemEvent (C:\snapshot\project\obj\routers\item_events\TradeItemEventRouter.js)

    at ItemEventRouter.handleEvents (C:\snapshot\project\obj\routers\ItemEventRouter.js)

    • Hey!


      :/ Are you sure this is caused by Trap's AIO ?

    • You're absolutely right it doesn't. It was fine until I installed this mod but after uninstalling it the problem persists. I'll just have to brute force figuring out which mod broke.

    • Ok I figured it out. It just corrupted my save, so I just have to restart. Darn. Works on a new profile though.

    • It can't be Trap's AIO since it doesn't touch the save at all.

  • getting critical error. not that smart with this stuff. no idea what it means


    The application had a critical error and failed to run

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


    Stacktrace:

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

    at C:\EFTSINGLE\user\mods\Trap-s-AIO\src\mod.js:233:71

    at Array.forEach (<anonymous>)

    at C:\EFTSINGLE\user\mods\Trap-s-AIO\src\mod.js:232:57

    at Array.forEach (<anonymous>)

    at Mod.tweakBackpacksFilters (C:\EFTSINGLE\user\mods\Trap-s-AIO\src\mod.js:229:32)

    at Mod.postAkiLoad (C:\EFTSINGLE\user\mods\Trap-s-AIO\src\mod.js:290:14)

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

    at PostAkiModLoader.load (C:\snapshot\project\obj\loaders\PostAkiModLoader.js)

    at ModCallbacks.onLoad (C:\snapshot\project\obj\callbacks\ModCallbacks.js)

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

    • Hum this happens because of another mod, Let's try a fix.

    • I just released a patch.


      Is it better with Trap's AIO v3.0.1 ?

    • fixed it. thanks trap, love the mod, disabled that bugged feature till now to still try it out and the changes are great. just patched and now its perfect. will be hard to go back to online on wipe, spt and the mods you guys make to keep it alive are awesome :D

      Heart 1
  • Hey Trap, When I started crafting the beta container, it bugged and I got this line of code. Can't claim it, and my items were not used, but production shows negative progress percent. I'm on version 3.2.1



    TypeError: Cannot read property 'StackObjectsCount' of undefined

    TypeError: Cannot read property 'StackObjectsCount' of undefined

    at InventoryHelper.removeItemByCount (C:\SPT\obj\bundle.js:10843:35)

    at Proxy.singleProductionStart (C:\SPT\obj\bundle.js:1229:34)

    at HideoutCallbacks.singleProductionStart (C:\SPT\obj\bundle.js:1453:39)

    at HideoutItemEventRouter.handleItemEvent (C:\SPT\obj\bundle.js:14693:46)

    at ItemEventRouter.handleEvents (C:\SPT\obj\bundle.js:15069:38)

    at ItemEventCallbacks.handleEvents (C:\SPT\obj\bundle.js:1668:63)

    at $de60112e0288ef4d$export$1dd35d19c79daa7c.action (C:\SPT\obj\bundle.js:15661:48)

    at ItemEventStaticRouter.handleStatic (C:\SPT\obj\bundle.js:14229:61)

    at Proxy.handleRoute (C:\SPT\obj\bundle.js:14545:41)

    at Proxy.getResponse (C:\SPT\obj\bundle.js:14535:30)

    • Crafting the beta container ? do use Trap's Progressive Stash ?

    • Yes, using Traps progressive. I just found a workaround for it though by setting level back to zero and setting craft time to 1.

    • Sounds like it's related to this comment, stay tuned.


      https://hub.sp-tarkov.com/file…sh/#comments/comment10802


      I've to check if it's reproductible on my side, but thanks for the workaround, this will help

    • No problem, good luck, love the mods!

  • i cant seem to get rouges or bosses to spawn. was wondering what at do

    Thumbs Up 1
    • AI Bots tweaks was a bit broken so I removed it.


      It should be better now, If you want to tweak AI, prefer use POOP mod.

  • Is this compatible with KMC Server Value Modifier? I like being able to use some of the settings from that mod like the SMGs in holster slot and softcore death mode

    • yes its compatible. but with this mod you can already put some of the SMGs in holster and you can add more in src/config/config.js under "exports.HOLSTER__ADDITIONAL_ITEMS" i believe

      Thumbs Up 1
    • oh ok, thanks!

  • rogues wont spawn at all for me


    exports.CONVERT_BOTS_TO_PMC = false;

    exports.SCAV_TO_PMC_PERCENTAGE = 0; // 40% scav and 60% usec

    exports.ROGUE_TO_PMC_PERCENTAGE = 0; // all rogues converted to usec

    exports.RAIDERS_TO_PMC_PERCENTAGE = 0; // all raiders converted to usec

    • not sure why, but I'll investigate this as soon as I can ;)

  • Hello I love the mod quick question. Is there anyway to turn off AI pmcs?

    • You can try to set this properties in src/config/config.js file:


      exports.CONVERT_BOTS_TO_PMC = false;
      exports.SCAV_TO_PMC_PERCENTAGE = 0;
      exports.ROGUE_TO_PMC_PERCENTAGE = 0;
      exports.RAIDERS_TO_PMC_PERCENTAGE = 0;

    • ok I will try that thank you

  • Bots don't spawn in labs? I'm using trap's aio and server value modifier.

  • How do I make the AI less accurate. I'm tired of getting killed from 50m away by them spraying at full auto with perfect accuracy.

    • do you use FINS ai tweaks? if you do you can adjust their sight distance, their aiming time, their recoil, their accuracy, etc.

  • I've got everything working except airdrops. I even set it too 100 instead of the default 75. Am I retarded, or is it just a case of "airdrops no worky in SP"?

    • According to spt 3.1.1 Release Notes

      Quote
      • Airdrops have been removed due to bsg reworking them, they will return in a future release
      Thumbs Up 2
    • are air drops still not in the game?

    • nope, still no airdrops, waiting for a new version of spt-aki...

  • Could anyone advise on how to set this up so there is a mix of USEC and Bear, rather than all BEAR or all USEC?

    • You can play with `PERCENTAGE_USEC` in config.js file


      - 0 means all bear
      - 100 means all usec

      - 50 means 50% usec and 50% bear

      Thumbs Up 1
  • Dumb AI doesn't seem to be working. Still quite new to the game in general and keep gettin' head eyes from literally everywhere and nowhere at the same time.. Any suggestions?

    • Didi you enabled it in config file? BEcause if its true,they are missing every shot)

    • Yes, it is set to true but everyone including scavs attack me from super far. Birdeye and Knight theres just no chance of surviving against.. Love offline tarkov because I'm new and not real good but the ai is just insane! 75% of my raids on live tarkov pmcs arent as good as ai on offline.. Just wondering if theres anything else i could do to possibly tone the ai down a bit but still have some around..

    • @That801Dad I recommend downloading Fin's AI Tweaks and going inside the config editor and editing the AI that way. It's super easy to do and you can tweak pretty much any aspect of the AI to be as good, or as dumb, as you need them to be.

  • Add a option to disable some functions in this mod please?I'm using This trainer,and all usecs will show as boss(wallhack function).set boss color will change both boss and usecs' color(in short,this means the trainer will think usec are boss too).This bothers me a little bit.I think the best way to solve this is add a switch to disable this part of mod(the whole AI,bots and boss part).This is a excellent mod and it included in all nice things i need,just a little modify can make it better.Thank you.:)
    if you need,here's my config

    • i think keep something original like bots' spawn and difficulty(i know i can disable dumb AI and easy bots),and something modified like flea market will make this game more fun,but not too bored.

    • Can't you just comment out the parts you don't want to use?

    • Yes ^^ Of course,The AI part.

    • just try to set EASY_BOTS and DUMB_AI to false

    • Thank you,Trap.but i want to disable the whole AI part including spawning features but not just easy bots.i'd like to set them to vanilla.

  • Is there a way to set up a balance between Bear and USEC PMC? Would it just be a case of setting the level to 50?

  • Mod not working all the sudden. Mod was working a couple days ago but then I load up SPT today and mod is randomly no longer in my mod folder. I download this mod again and anytime I start up the SPT server the server window pops up for a split second and closes immediately after. Only happens with this mod. Did a clean install but still same result.