Fin's AI Tweaks (FAIT)

  • The mod worked fine, but at 1 moment it began to issue such an error, please tell me how to fix it. At the same time, I did not change anything. The mod is installed in SPT/user/mods

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

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

    at Function.getCaliberInfo (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:7052:44)

    at Function.addCaliberInfoToMagazines (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:7064:58)

    at AITweaks.startGearchanging (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:9152:18)

    at AITweaks.main (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:5245:18)

    at AITweaks.postAkiLoad (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:32: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 '_props')

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

    at Function.getCaliberInfo (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:7052:44)

    at Function.addCaliberInfoToMagazines (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:7064:58)

    at AITweaks.startGearchanging (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:9152:18)

    at AITweaks.main (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:5245:18)

    at AITweaks.postAkiLoad (D:\My\Games\SPT\user\mods\zFin-AITweaks\src\mod.js:32: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)

  • Does anyone know what could cause this?


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

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

    at Function.getCaliberInfo (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:7052:44)

    at Function.addCaliberInfoToMagazines (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:7064:58)

    at AITweaks.startGearchanging (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:9152:18)

    at AITweaks.main (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:5245:18)

    at AITweaks.postAkiLoad (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:32: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 '_props')

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

    at Function.getCaliberInfo (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:7052:44)

    at Function.addCaliberInfoToMagazines (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:7064:58)

    at AITweaks.startGearchanging (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:9152:18)

    at AITweaks.main (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:5245:18)

    at AITweaks.postAkiLoad (D:\sptarkov\user\mods\zFin-AITweaks\src\mod.js:32: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)


    and yes I've read the faq and tried all the options and somethings wrong with the mod apparently, not working correctly for me.

  • TypeError: Cannot read properties of undefined (reading '_props')
    TypeError: Cannot read properties of undefined (reading '_props')
    at Function.getCaliberInfo (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:7052:44)
    at Function.addCaliberInfoToMagazines (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:7064:58)
    at AITweaks.startGearchanging (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:9152:18)
    at AITweaks.main (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:5245:18)
    at AITweaks.postAkiLoad (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:32: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 '_props')
    TypeError: Cannot read properties of undefined (reading '_props')
    at Function.getCaliberInfo (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:7052:44)
    at Function.addCaliberInfoToMagazines (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:7064:58)
    at AITweaks.startGearchanging (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:9152:18)
    at AITweaks.main (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:5245:18)
    at AITweaks.postAkiLoad (E:\Escape From Tarkov\EFT SPT\user\mods\zFin-AITweaks\src\mod.js:32:14)
    at PostAkiModLoader.executeMods (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)




    I am getting these errors. Will they affect my game play? If so how do I fix that?

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

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

    at Function.curateCalibers (C:\Users\thare\OneDrive\Desktop\SPT\user\mods\zFin-AITweaks\src\mod.js:6862:75)

    at Function.setProgressiveGear (C:\Users\thare\OneDrive\Desktop\SPT\user\mods\zFin-AITweaks\src\mod.js:6093:26)

    at Function.runOnGameStart (C:\Users\thare\OneDrive\Desktop\SPT\user\mods\zFin-AITweaks\src\mod.js:4524:22)

    at Object.action (C:\Users\thare\OneDrive\Desktop\SPT\user\mods\zFin-AITweaks\src\mod.js:81:30)

    at StaticRouterMod.handleStatic (C:\snapshot\project\obj\di\Router.js)

    at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)

    at HttpRouter.getResponse (C:\snapshot\project\obj\routers\HttpRouter.js)

    at AkiHttpListener.getResponse (C:\snapshot\project\obj\servers\http\AkiHttpListener.js)

    at IncomingMessage.<anonymous> (C:\snapshot\project\obj\servers\http\AkiHttpListener.js)

    at IncomingMessage.emit (node:events:527:28)

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

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

    at Function.curateCalibers (C:\Users\thare\OneDrive\Desktop\SPT\user\mods\zFin-AITweaks\src\mod.js:6862:75)

    at Function.setProgressiveGear (C:\Users\thare\OneDrive\Desktop\SPT\user\mods\zFin-AITweaks\src\mod.js:6093:26)

    at Function.runOnGameStart (C:\Users\thare\OneDrive\Desktop\SPT\user\mods\zFin-AITweaks\src\mod.js:4524:22)

    at Object.action (C:\Users\thare\OneDrive\Desktop\SPT\user\mods\zFin-AITweaks\src\mod.js:81:30)

    at StaticRouterMod.handleStatic (C:\snapshot\project\obj\di\Router.js)

    at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)

    at HttpRouter.getResponse (C:\snapshot\project\obj\routers\HttpRouter.js)

    at AkiHttpListener.getResponse (C:\snapshot\project\obj\servers\http\AkiHttpListener.js)

    at IncomingMessage.<anonymous> (C:\snapshot\project\obj\servers\http\AkiHttpListener.js)

    at IncomingMessage.emit (node:events:527:28)


    I get this error whenever I enable progressive gear, game loads and launches but then Im stuck in the loading screen

  • The bear only spawn problem is within this portion of the code, in src/mod.ts; updating all chances to a hard 50% seems to have no effect, it's defaulting to the final else statement when it compares against usecChance. Swapping usec and bear results in what appears to be a 100% usec spawn rate.


    static randomizePMCSideInSpawns()

    {

    let usecChance

    if (config.allPMCsareBEARS && config.allPMCsareUSECs)

    usecChance = 50

    else if (config.allPMCsareBEARS)

    usecChance = 50

    else if (config.allPMCsareUSECS)

    usecChance = 50

    for (let map in LocationConfig.customWaves.normal)

    {

    for (let wave in LocationConfig.customWaves.normal[map])

    if (LocationConfig.customWaves.normal[map][wave].WildSpawnType == AKIPMC)

    if (RandomUtil.getInt(0,99) < usecChance)

    LocationConfig.customWaves.normal[map][wave].WildSpawnType = botNameSwaps.bear

    else

    LocationConfig.customWaves.normal[map][wave].WildSpawnType = botNameSwaps.usec

    if (locations[map]?.base?.OpenZones)

    LocationConfig.openZones[map] = locations[map].base.OpenZones.split(",").filter(i => i.length > 0)

    }

    }

  • Hi guys! I need help with cursed scavengers. it is with the logic of their behavior. the problem is that before some version of SPT, the scavengers at the beginning of the raid (marked "tagged and cursed") at the factory immediately ran to my position and attacked me. I liked it. now they walk for a long time at first and don't run to me. I don't like it. how do I return the old settings of the scavenger behavior mode to "tagged and cursed"? maybe there is some mod for this? please help me figure it out. Thanks in advance for your help.

    ps. sorry for my english

  • I second that about this mod being updated. SAIN is just AI behaviour, this mod can make the ai spawn in a very realistic manner IE all at the start of the raid and no more and hunt eachother, like real life, Fuck COD (the spawning in all the other mods is a lot like COD single player) unreal as rainbows with cherry scent that comes out of our asses.


    PLEASE, either update this or if anyone can point me as to how to "update" mods in this game. (ive modded/edited games for 20 years or so now)


    THIS MOD NEEDS TO EXIST. Its a literal "game changer" and makes tarkov a seriously awesome game. Without it it simply sucks with the retarted spawning, unplayable for me.


    My error:


    TypeError: Cannot set properties of undefined (setting 'cartridgeBlacklist')

    TypeError: Cannot set properties of undefined (setting 'cartridgeBlacklist')

    at AITweaks.main (D:\EscapeFromTarkov_14.1.2.29197_3.8.3\EscapeFromTarkov\user\mods\zFin-AITweaks\src\mod.ts:6244:35)

    at AITweaks.postAkiLoad (D:\EscapeFromTarkov_14.1.2.29197_3.8.3\EscapeFromTarkov\user\mods\zFin-AITweaks\src\mod.ts:39:8)

    at PostAkiModLoader.executeModsAsync (C:\snapshot\src\loaders\PostAkiModLoader.ts:69:46)

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

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

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

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

    TypeError: Cannot set properties of undefined (setting 'cartridgeBlacklist')

    TypeError: Cannot set properties of undefined (setting 'cartridgeBlacklist')

    at AITweaks.main (D:\EscapeFromTarkov_14.1.2.29197_3.8.3\EscapeFromTarkov\user\mods\zFin-AITweaks\src\mod.ts:6244:35)

    at AITweaks.postAkiLoad (D:\EscapeFromTarkov_14.1.2.29197_3.8.3\EscapeFromTarkov\user\mods\zFin-AITweaks\src\mod.ts:39:8)

    at PostAkiModLoader.executeModsAsync (C:\snapshot\src\loaders\PostAkiModLoader.ts:69:46)

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

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

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

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

Participate now!

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