Fin's AI Tweaks (FAIT)

  • Hello!

    While I'm trying to start a game SPT 3.2.3 with this mod, it showed me such a long code in red and I'm not sure what had happened.But no bot spawns in the game so I gusee the mod didn't work well in my pc. I didn't add any weapon or item in my SPT. Plz help me ! I wanna know how to deal with it.I really love this mod :)


    this is what the error showed to me


    Mod 60194943740c5d77f6705eea is not compatible with slot: 'cartridges' for item: mag_stanag_maopul_pmag_airsoft_6_30_fde

    Weapon with tpl 57f4c844245977379d5c14d1 has no magazine or chamber

    Mod 54527ac44bdc2d36668b4567 is not compatible with slot: 'cartridges' for item: mag_stanag_maopul_pmag_airsoft_6_30_fde

    Weapon with tpl 57f4c844245977379d5c14d1 has no magazine or chamber

    Could not locate any compatible mods to fill slot: 'mod_handguard' for item: reciever_ar15_lone_star_tx15_lightweight

    Required slot 'mod_handguard' on reciever_ar15_lone_star_tx15_lightweight mod_reciever was empty

    Weapon 5447a9cd4bdc2dbd208b4567 was generated incorrectly, falling back to weapon preset see error above

    Mod 54527a984bdc2d4e668b4567 is not compatible with slot: 'cartridges' for item: mag_stanag_maopul_pmag_airsoft_6_30_fde

    Weapon with tpl 57f4c844245977379d5c14d1 has no magazine or chamber

    Weapon with tpl 57f4c844245977379d5c14d1 has no magazine or chamber

    Mod 59e6906286f7746c9f75e847 is not compatible with slot: 'cartridges' for item: mag_stanag_maopul_pmag_airsoft_6_30_fde

    Weapon with tpl 57f4c844245977379d5c14d1 has no magazine or chamber

    Weapon with tpl 57f4c844245977379d5c14d1 has no magazine or chamber

    Mod 54527a984bdc2d4e668b4567 is not compatible with slot: 'cartridges' for item: mag_stanag_maopul_pmag_airsoft_6_30_fde

    TypeError: BotGenerator.getPmcRole is not a function

    TypeError: BotGenerator.getPmcRole is not a function

    at Function.pmcScavAlliance (E:\EFT\user\mods\zFin-AITweaks\src\mod.js:1928:35)

    at Function.generateBots (E:\EFT\user\mods\zFin-AITweaks\src\mod.js:1658:27)

    at Function.onBotGen (E:\EFT\user\mods\zFin-AITweaks\src\mod.js:183:27)

    at Object.action (E:\EFT\user\mods\zFin-AITweaks\src\mod.js:63:39)

    at $79469d862e09d5e9$export$1d24e66a30f2c3c6.handleStatic (E:\EFT\obj\bundle.js:15226:61)

    at Proxy.handleRoute (E:\EFT\obj\bundle.js:15542:41)

    at Proxy.getResponse (E:\EFT\obj\bundle.js:15532:30)

    at HttpServer.sendResponse (E:\EFT\obj\bundle.js:17221:38)

    at Inflate.cb (E:\EFT\obj\bundle.js:17247:22)

    at Inflate.zlibBufferOnEnd (zlib.js:153:10)

  • The mod is trying to spawn bots with ammo and weapons with no defined path. This error happened to me too...

    Copy and paste these IDs in the Other on the GEAR tab which should work until the moderator updates the FAIT for everyone.


    ['5d52cc5ba4b9367408500062',

    '5cdeb229d7f00c000e7ce174',

    '6241c2c2117ad530666a5108',

    '57f4c844245977379d5c14d1',

    '627bce33f21bc425b06ab967',

    '5c07c60e0db834002330051f']

  • Finally got bots to spawn in 3.2.3


    Runedog48 has updated the "getPmcRole" location to match 3.2.3. This is a temporary fix, gearchange does not really work, all pmc are level 70, but at least they spawn.


    Got to this Link.


    Click RAW to pull the entire mod.js script.

    Copy all

    Open of user/mods/zFin-AITweaks/serc/mod.js

    Replace the entire content with what you copied.


    Again, this is not a perfect fix, more like a patch to the mod to work with current AKI.

    All credit goes to Fin and Runedog48


    Work with Lua's spawn rework. only tested in factory.


    To be honest, if you are not getting significant fps gain with 3.2.3's bot cache feature, which suppose to improve the fps drop/stutter when bot spawn, nor you're interested with air drop, i would say stick with 3.2.2 and hope Fin would have some free time on update.

  • I'm using Lua's spawn rework as well, and had the updated file since the guy posted it in the review section for FAIT, but factory is still completely empty in my game.

  • I'm using Lua's spawn rework as well, and had the updated file since the guy posted it in the review section for FAIT, but factory is still completely empty in my game.

    Make sure copy the entirety of the mod.js by pulling the RAW from website. Do not copy from the web page as this is incomplete and would generate over 11k lines instead of 9626 lines. Also remember to save. (Ctrl+S in vscodim). It might sound dumb, but my first try didnt seems to work and was probably due to this.


    What might be causing this item error?


    This is caused conflict in item code for weapon either by the mod itself or the current AKI version. This is not a game breaking error.


    There are 3 fixes for this:

    1. Flip "Mute weapon generation errors" to "true" under "General" Tab Fin's AI Tweak Config editor.

    2. Blacklist the error item in "Gear" Tab in blacklist item box.

    3, Pretend you dont see the error.

  • Make sure copy the entirety of the mod.js by pulling the RAW from website. Do not copy from the web page as this is incomplete and would generate over 11k lines instead of 9626 lines. Also remember to save. (Ctrl+S in vscodim). It might sound dumb, but my first try didnt seems to work and was probably due to this.

    A mod I'm using is clearly breaking the AI spawning then, my files were already the exact same as the ones on github. Now that I've been checking adding 1 mod at a time, I've noticed that no PMCs spawn, it's all scavs. This happens even if FAIT is the only mod I have installed.

    Edited once, last by Maldun88 ().

  • I'm using the patched mod.js above and it works fine, but if, in the config, you turn "disableAllSpawnChanges" to true, all PMCs turn into Big Pipe.

    It took me hours of testing all my mods and settings one at a time but I'm confident now this is the change that sees me killing 4-5 Big Pipes per test run in Factory.

  • I'm using the patched mod.js above and it works fine, but if, in the config, you turn "disableAllSpawnChanges" to true, all PMCs turn into Big Pipe.

    It took me hours of testing all my mods and settings one at a time but I'm confident now this is the change that sees me killing 4-5 Big Pipes per test run in Factory.

    Thanks for saving me from testing that myself today. The same exact thing happens to me if that option is on false.

  • Hello i get this error when i run FAIT which results in a session with no bots.

    TypeError: Cannot read property 'toLowerCase' of undefined

    TypeError: Cannot read property 'toLowerCase' of undefined

    at Function.regenBot (S:\SPT\tarkov\user\mods\zFin-AITweaks\src\mod.js:2848:43)

    at Function.pmcScavAlliance (S:\SPT\tarkov\user\mods\zFin-AITweaks\src\mod.js:1938:34)

    at Function.generateBots (S:\SPT\tarkov\user\mods\zFin-AITweaks\src\mod.js:1662:27)

    at Function.onBotGen (S:\SPT\tarkov\user\mods\zFin-AITweaks\src\mod.js:187:27)

    at Object.action (S:\SPT\tarkov\user\mods\zFin-AITweaks\src\mod.js:63:39)

    at $79469d862e09d5e9$export$1d24e66a30f2c3c6.handleStatic (S:\SPT\tarkov\obj\bundle.js:15226:61)

    at Proxy.handleRoute (S:\SPT\tarkov\obj\bundle.js:15542:41)

    at Proxy.getResponse (S:\SPT\tarkov\obj\bundle.js:15532:30)

    at HttpServer.sendResponse (S:\SPT\tarkov\obj\bundle.js:17221:38)

    at Inflate.cb (S:\SPT\tarkov\obj\bundle.js:17247:22)


    To clarify I am running SPT 3.2.3 and have tried the fix for FAIT 1.24.4a Madcowdsis linked.

  • Have the same error when delete folder with luas spawn rework.But when use fait+svm+spawn rework all is ok except the pmc are not spawn.Only a lot of scavs on factory day

Participate now!

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