Props Obviously Original Program (POOP) 1.2.7

I have taken Fins AI Tweaks, bastardized it, rebuilt it like bad furniture, and hammered shit into it that looks wrong. Then i sprinkled soy sauce on it hoping it tastes better. I give you POOP.

I have taken the mod and given it a name change as I can't honestly call this FAIT anymore.

I will probably keep adding more features in but for the most part it does the following right now:


Features

  1. Ability to mod AI Template difficulties via config and an advanced config file (set ai to allow to throw grenades or aim at the head).
  2. Legendary Mode that allows you to fight your own player if you survive 10 (not run-through) raids. Set how often it replaces PMCs in config.
  3. Ability to specify replacing Bot Scav behavior via a percentage in the config.
  4. Ability to specify health modifiers for specific bot types in config.
  5. Automatic Difficulty Adjustments (based on every run now) enabled via config. If you die in a raid, it adjusts difficulty down for you.. if you survive it raises it.
  6. Specify whether AI can talk out loud in config
  7. Mark rogues as hostile/non-hostile to USEC via config.


It should highly be compatible with other mods unless it affects AI behavior of some sort. If not, you should be able to disable the feature that is breaking. If its still breaking mod compatibility, i probably still won't fix it since its bare bones as it is, but you can voice your complaints in the comments.


installation

Just unzip it to your spt-aki/user/mods folder... at some point the next version will be a whole new name.

  • Version 1.2.7

    1. Add ability to specify AI types for scav 'assault' and 'cursedassault' role substitution in the config (just add/delete the names - you can use the list below it in the config as a reference and it should be all lowercase). This means scavs will be replaced with whatever AI Role Behavior you specify. Also note that it changes the role on the kill summary at the end so unless you don't care about that , a 50 percent chance would probably be a good mix.
    2. Name change. If you have the existing Fins AI Tweaks folder, delete it before installing mine. If you want to save your progress (if you working towards legendary), copy the progress.json in the doNotTouch folder to the new poop/doNotTouch folder.

    FML its called pmcAltRoles in the config, but it really means scav alternative roles.

    i'll fix it later. replaced the zip so it should be fixed now.. unless you downloaded it early

  • Version 1.2.6

    Fix the issue with an empty progress.json.

    1. Detect if progress.json is empty and provide values for it.
    2. Cleaned up code so it runs in the right place.
    3. Added more exclusions so that if you set config settings to false, it works correctly.
    4. Fixed issue with it actually changing your actual profile (must use stringify and the convert back to json object).

    Might need to look at AI more for scavs... they don't seem as aggressive maybe? you guys let me know if its working as you think it should.

  • Version 1.2.5

    It is now updated for SPT 3.3.0.


    1. Added a new Legendary Player mode where if you survive 10 straight runs in a row:

    • it will clone your character from that exact moment. Each successful run over ten it will update that snapshot of your player
    • You will encounter this clone as an enemy and he will have a bossAI role assigned to him. He will have a dogtag but may show up as savage in kill feed (i did that to make sure he attacks you).
    • Dying in a raid resets the survival count means your character legendary snapshot will remain as is until you can get over 10+ raids survived again.
    • Set percent chance out of 100 in settings.- I would keep it low since it is kind of like duping.. the percent chance isn't actually that percentage though because the player sits in a cached queue too, so its like 1/4 of that.

    2. Noticed that scavs = assault weren't included in the role changes for 3.3.0. I detect if its a scav and then based on the percentage chance in AITweaks config, it will assign a new role (same function that the PMCs now get assigned.)

    3. Kept the regular AI Changes otherwise - skill tweaks whatever.


    Note there is a large pause at the profile loading screen... your shit is not frozen.

    Let me know in comments how you feel about the bot roles given to scavs as of right now.

  • Version 1.2.3

    Tired of me updating this? so am I. This should be the last version unless it needs a bug fix.


    1. Fixed issue with a second raid causing an error. (Thanks foxdog) Moved the genValues to onRaidEnd in case it takes processing time.
    2. Cleaned up configs to only display values that matter now.
    3. Removed editor since its a waste of space now. - Edit the config file directly
    4. Added ability to toggle health multipliers on/off in case you use something like I do for health increasing every level. You can specify botnames still for the health multipliers as needed.
    5. Added log message to let you know what the difficulty was adjusted by if automatic difficulty enabled (note it only works first raid in a session).
    6. Cleaned up more shit.
  • Version 1.2.2

    1. Completely removed bot tampering with gear.. my brain is mush and i started adding it back in because i'm regarded.

    2. Fixed the roles not being set.. You will see something like 'switch bot to ' in the console.

    3. Sides should be fixed now.

  • Version 1.2.1

    Fix for the PMC Bots not being detected correctly at the end of the raid.

  • Version 1.2.0

    Removed all the code that wasn't related to AI Difficulty... that means bot / item load out generation (8000 lines of code related to this). It does keep the automatic raid difficulty feature.


    That means half the shit you edit probably won't work from the editor.

    1. No map spawns logic (lua respawn is more customized for that).
    2. In-Raid Modding was removed.. if you want it use my separate mod.

    Good thing is that this means Server Value Modifier is probably compatible as long as you don't edit AI related values.

  • Version 1.1.0

  • Just tried the POOP mod, first time in, I was being hunted while I looted a bldg. I could hear them outside in bushes and while they moved around, and they kept changing positions (2 AI bosses I found out afterwards), as I moved to try and get the drop on them. Then while one of them shot at me thru a window, the other charged in and I nearly died. Terrifying, but loved it. Great mod and thank-you for it!

    Thumbs Up 1
  • I encountered some problems. At the beginning of the game (reserve station), the following categories of AI will spawn (with font color of their categories):


    FollowerBigPipe (more than one)

    Exusec (occasionally)

    pmcbot (represent raiders)

    AssaultGroup (represent usec)

    AssaultGrouprepresent bear)

    Boss Gluhar and his guards

    Assault (represent scav)


    Through checking the configuration, I know that followerBigPipe represents BigPipe. However, it is strange that he always appears in the reserve station and sometimes there is more than one. In addition, exusec (ROUGE) also appeared in the reserve station.


    The blue and green typefaces of the assaultGroup indicate in the configuration that they are USEC and BEAR respectively. The kill list after the raid can confirm this, but they do not have dog tags on them during raid


    How do I modify the configuration so that BigPipe and exusec do not appear in the reserve station, and how do I make pmcs carry dog tags?

    • In the config/config.json file for poop, you can remove "followerbigpipe" from the scavAltRolesPickList. Just make sure you remove that whole line cleanly and that the last item in that list does not have a comma at the end (existing format). As for Ex-Usec, i don't really control that so its probably based on the map config.


      I haven't seen an issue with pmcs carrying dog tags... if they don't have dog tags then they are not really pmcs.


      You could turn on the developer mode by setting "MemberCategory": to 1 in your /user/profile/*.json. Then in game, press f11 then f10 and it should show all ai spawned and their roles assigned. Let me know if you still have an issue with actual players.

  • So just so I dont get this wrong, do I still need the latest FAIT installed in my Mods folder or is just this file here itself without FAIT enough?

    thx in advance!

    • poop without fait.

  • btw @Props if you want to handle the fresh profile creation, check how I handled this edge case in Path To Tarkov.


    You can see in the static router for `/client/game/start` I just check if the inventory is here, if not I do nothing and postpone the logic for the moment when profile is created.


    So I implemented another static router for `/client/game/profile/create` route in order to run the part of the code that sould be run on game start.


    Anyway, your mod is awesome! thanks bro!

    Heart 1
  • TypeError: Cannot read properties of undefined (reading 'Settings')

    at Object.action (W:\Games\EscapeFromTarkov\user\mods\zPOOP\src\mod.js:84:97)

    • Please see comment below by BeyondAverageGamer.

      Start your game without Poop mod first and create a profile (make sure you can see your stash). After that you can reinstall poop to the mod folder and it should work fine.

  • I don't know if this was mention here. If you are starting a new character/profile and you still haven't choose a character on the selection screen it will have a infinite loading bug on the start menu. After choosing a bear or usec then checking the stash if all of my settings are correct then add poop it will load properly.

    Thumbs Up 1 Heart 1
    • Thank you for the info ! I was stuck there with the PooP error in my log :)

      Thumbs Up 1
  • so i was wondering what do i have to change in the mod so usec's will be friendly to me? or just not shoot at me? i want to have some usecs but mostly bear. but the few usec's i will have i would like friendly.

    • here is a function in the bothelper.ts that controls randomized pmc hostility in each botConfig: '


      Code
        public randomisePmcHostility(difficultySettings: Difficulty): void
          {
             if (this.randomUtil.getChance100(this.botConfig.pmc.chanceSameSideIsHostilePercent))
              {
                  difficultySettings.Mind["CAN_RECEIVE_PLAYER_REQUESTS_BEAR"] = false;
                  difficultySettings.Mind["CAN_RECEIVE_PLAYER_REQUESTS_USEC"] = false;
                  difficultySettings.Mind["DEFAULT_USEC_BEHAVIOUR"] = "Attack";
                  difficultySettings.Mind["DEFAULT_BEAR_BEHAVIOUR"] = "Attack";
              }
          }

      Your best bet is to override when this function is called through code and just set it to do nothing. then you can edit the usec bot properties and the default_usec_behavior will work to always be friendly if you set it up that way... or if i feel like it i may add that in.

    • ok, thank you very much!!!. i have this that just happend out of no wear and nothing is spawning when it dose happen.

      [2022-11-24T01:18:51.861Z] error: TypeError: botGenerationCacheService.storedBots.has is not a function

      [2022-11-24T01:18:51.862Z] error: TypeError: botGenerationCacheService.storedBots.has is not a function

      at D:\SPT-AKI\user\mods\zPOOP\src\mod.js:188:54

      at Array.forEach (<anonymous>)

      at BotGenerationCacheService.storeBots (D:\SPT-AKI\user\mods\zPOOP\src\mod.js:186:21)

      at BotController.generate (C:\snapshot\project\obj\controllers\BotController.js)

      at BotCallbacks.generateBots (C:\snapshot\project\obj\callbacks\BotCallbacks.js)

      at RouteAction.action (C:\snapshot\project\obj\routers\static\BotStaticRouter.js)

      at BotStaticRouter.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)

      [2022-11-24T01:18:51.861Z] error: TypeError: botGenerationCacheService.storedBots.has is not a function

      at D:\SPT-AKI\user\mods\zPOOP\src\mod.js:188:54

      at Array.forEach (<anonymous>)

      at BotGenerationCacheService.storeBots (D:\SPT-AKI\user\mods\zPOOP\src\mod.js:186:21)

      at BotController.generate (C:\snapshot\project\obj\controllers\BotController.js)

      at BotCallbacks.generateBots (C:\snapshot\project\obj\callbacks\BotCallbacks.js)

      at RouteAction.action (C:\snapshot\project\obj\routers\static\BotStaticRouter.js)

      at BotStaticRouter.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)

    • You are using 3.3.0 right? sounds like no bots were stored for some reason. if you didn't make any crazy config changes, i would just reinstall the mod with a new copy (so delete the old mod copy)

    • yeah i havent mad any changes yet, the only change i was going to make was the previouse question that you got back to me on.. i will give that a shot see what happens

    • so the lines of code you sent me am i adding that in or am i looking for it if so i cant find it

  • Having a weird bug,
    PMC's seem to have no AI, they just stand there and do nothing, I'm using:
    Program K
    Lua's spawn rework
    Reworked POOP (I tested without this installed on a fresh install and am still having the same issue)
    Pricilu
    life-death trader
    Kawaii Weapon Mods
    Disable flea Blacklist
    Armalite
    alevesthings

    and a bunch of the SAMSWAT guns and Weapon mods

    All other bots work fine, but the PMC's just stand there and don't even react to being shot.

    • I had a similar problem in previous SPT versions.. however it wasn't all PMC's but only some of them. I imagine it could've been because of modded weapons/attachments bugging the bot, but I'm not too sure if it was the case then and if it's your problem as well.


      Generally, bots break because of modded equipment they use, try playing around with weapon/attachment mods and see what's wrong.

      (KWM shouldn't be the problem, I've always used that mod and never had any issues)

      Thumbs Up 2
    • That might be related to some of the role types that are assigned to pmctypes by spt 3.3.0. I don't touch pmcs unless its your legendary character. I think SPT devs are fixing this in next version by removing the dumb ai types.

      Thumbs Up 1
    • Tested on a new install with no weapon mods, lo and behold, it works!

      Guess it could possibly one of the older weapon mods I'm using, so I'll probably just fiddle around a while and see which ones are causing issues.

      Thanks for the help chaps!

  • You're doing God's work my friend - keep it up :D

    Thumbs Up 1
  • need fixed new update client

    AITweaks: Not Substituting "assault"!

    AITweaks: Substituting assault with "bossBully"!

    AITweaks: Not Substituting "assault"!

    AITweaks: Substituting assault with "bossBully"!

    AITweaks: Substituting assault with "bossKojaniy"!

    AITweaks: Not Substituting "assault"!

    AITweaks: Not Substituting "assault"!

    • That is normal. Just letting you know the percentage of scavs that are exchanged roles. If you put 100%, it will not show "Not Substituting"

  • for those who got errors u need to have a profile

    • So...you're saying that if I have this error:


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

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

      at Object.action (C:\Users\IronBlaze\Documents\SPTAKI\user\mods\zFin-AITweaks\src\mod.js:84:97)

      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)

      at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)

      at flow (node:internal/streams/readable:1011:34)

      at resume_ (node:internal/streams/readable:992:3)

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

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

      at Object.action (C:\Users\IronBlaze\Documents\SPTAKI\user\mods\zFin-AITweaks\src\mod.js:84:97)

      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)

      at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)

      at flow (node:internal/streams/readable:1011:34)

      at resume_ (node:internal/streams/readable:992:3)


      I should just create a new profile? Because it didn't fix and I'm losing my mind, when 3.3.0 launched and this launched earlier I had no issues and it was fun, now I can't figure anything out :C

    • Uninstall my mod for now, make sure that there is a json file located at aki/user/profile before you install my mod. Probably need to run one raid as pmc.

    • Create the profile, launch the actual game, enter a name, pick an operator and voice, then once you're at the main menu you can exit and reinstall the mod.

      Thumbs Up 1
  • Hey, I'm getting this error when I launch the game.


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

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

    at Object.action (C:\Games\SPTarkov\user\mods\zPOOP\src\mod.js:84:97)

    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)

    at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)

    at flow (node:internal/streams/readable:1011:34)

    at resume_ (node:internal/streams/readable:992:3)

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

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

    at Object.action (C:\Games\SPTarkov\user\mods\zPOOP\src\mod.js:84:97)

    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)

    at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)

    at flow (node:internal/streams/readable:1011:34)

    at resume_ (node:internal/streams/readable:992:3)


    mods folder:

    Faupi-MunitionsExpert 1.6.7

    HideoutArchitect

    KcY-SeeItemValue 1.4.9

    ServerValueModifier

    zPOOP


    I fidgeted around mod.js and config files. No changes made, all reverted whilst trying to troubleshoot. Error definitely happens before game launch, that's where it messes up.


    Currently have disabled the following in config:

    "disableAllAIChanges": false,

    "enableAutomaticDifficulty": false,

    "enableLegendaryPlayerMode": true,

    "enableEscortMode": true,

    • I uhh fixed it? :| For anyone else that gets this problem, make sure to create a profile before putting the file in your mods folder.


      All is working for now. Gonna do a test run to see how the AI works.

      Thumbs Up 1
    • My bad, I assumed everyone had a profile.

      Thumbs Up 1
    • Mod's working fine, no other hiccups. Just waiting for other mods to update so I can have even more AI spawn in that can kick my ass.

    • Yo I have the same error, having a new profile didn't do anything for me. With fresh installation, it's fine, after putting the POOP mod it fucks over and then even if I remove it, it starts to give the error and no other PMC bots spawns...Sad

    • This is what I get, I haven't touched anything, just downloaded and unzipped the folder, dropped into mods and launched the game, now the game doesn't load main menu


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

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

      at Object.action (C:\Users\IronBlaze\Documents\SPTAKI\user\mods\zPOOP\src\mod.js:84:97)

      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)

      at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)

      at flow (node:internal/streams/readable:1011:34)

      at resume_ (node:internal/streams/readable:992:3)

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

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

      at Object.action (C:\Users\IronBlaze\Documents\SPTAKI\user\mods\zPOOP\src\mod.js:84:97)

      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)

      at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)

      at flow (node:internal/streams/readable:1011:34)

      at resume_ (node:internal/streams/readable:992:3)

  • i know this is probably a ridiculous question but regarding the section in the README talking about spawn values, it says it is recommended to set AllPMCsareUSECs or Bears to enabled. I cant for the life of me seem to find where exactly to enable this option. Any insight lol?

    • Wassup brocala, after me trying a few things, it seems you need to have FAIT (Fin's AI Tweaks) first regardless of the version and these files are to replace some of the existing files to make FAIT of the previous version have the new features this modders added to it as well as make it compatible with SPT AKI 3.3.0. After you do this you should see the Editor.exe where that option is available for you! Hope this helps.

    • hey man i appreciate the reply, ive done this and now i see the config file in which these options are located but my only other question is now that ive replaced the fins files with the poop files, which config is the game actually using because now theres the config from poop and the "defaultconfig" along with all the others from fins. the editor exe also doesnt seem to actually save the changes unless you go in the config and do it yourself so im not really sure whats working and what isnt lol

    • Hey brocala, good to see some progress was made, good question! I guess you can delete the old one and leave the one by POOP since it's newer version. See what happens!

    • So i left the old readme there. There were items related to AI Tweaking i didn't want to explain so I kept it with my release. However, there is no ALLPMCsareUSECs or Bears option anymore.

      If you guys really want it, i can add it back in, i just figured having a mix was fine.

      Thumbs Up 1
    • That explains everything, so I'm not supposed to overwrite old FAIT files with your files, just unzip your files only inside mods folder?

      Thumbs Up 1
  • lmao 10/10 description

    Happy 1
  • TypeError: Cannot read properties of undefined (reading 'deathStreak')
    TypeError: Cannot read properties of undefined (reading 'deathStreak')
    at Function.legendaryPlayerCheck (C:\Users\pepsi\Desktop\SPtarkov\user\mods\zFin-AITweaks\src\mod.js:180:27)
    at Function.onRaidSave (C:\Users\pepsi\Desktop\SPtarkov\user\mods\zFin-AITweaks\src\mod.js:103:22)
    at Object.action (C:\Users\pepsi\Desktop\SPtarkov\user\mods\zFin-AITweaks\src\mod.js:41: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. (C:\snapshot\project\obj\servers\http\AkiHttpListener.js)
    at IncomingMessage.emit (node:events:527:28)
    at endReadableNT (node:internal/streams/readable:1345:12)
    TypeError: Cannot read properties of undefined (reading 'deathStreak')
    TypeError: Cannot read properties of undefined (reading 'deathStreak')
    at Function.legendaryPlayerCheck (C:\Users\pepsi\Desktop\SPtarkov\user\mods\zFin-AITweaks\src\mod.js:180:27)
    at Function.onRaidSave (C:\Users\pepsi\Desktop\SPtarkov\user\mods\zFin-AITweaks\src\mod.js:103:22)
    at Object.action (C:\Users\pepsi\Desktop\SPtarkov\user\mods\zFin-AITweaks\src\mod.js:41: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. (C:\snapshot\project\obj\servers\http\AkiHttpListener.js)
    at IncomingMessage.emit (node:events:527:28)
    at endReadableNT (node:internal/streams/readable:1345:12)


    Shows up when trying to leave raid just black screens

    no setting were changed in the configs.


    Mod List:

    Weatherpatched (last version so its old still works)

    Priscilu trader (last version old still works)

    food drink redux (old still works)

    Heli crash

    fins AI


    BeplnEX plugins

    amanda graphics

    amanda hitmarker

    game panle hud


    Hopes this helps :D

    Thumbs Up 2
    • i think i know where the issue is. give me a few :)

      I cleared my profile before i handed it off to you guys so thats probably why theres an issue.

      Heart 3
    • would love to know if the issue has been solved yet props sorry to stress u if u are already on it ^^


      love the mod and keep up the good work! ;)<3<3

    • I am trying to fix it too.

      But I think it will be very time consuming to fix this if I do it myself lol.

    • if i knew how to i would love too but i have no clue where to start either

    • The way to play normally with this mod installed is to rewrite enableLegendaryPlayerMode in config.json to false for now, and you can play as usual. You can also use Alt+F4 to leave the game when you escape or die. (In this case, the progress is also saved.)

  • Usinbg this mod results in getting stuck at spawn screen with zero seconds. Tried different settings. Only way to escape is Alt + F4

  • After using the latest version of the plug-in, the game quits with a black screen and the console reports an error

  • Thank you!

  • Thank you so much for keeping this mod updated! Really appreciate it, you're a god!

  • Man we ponies like this mod! Thank You for Your work to update it,we,fatponys,want this be updates later this year when Streets of Tarkov and underbarrel grenade launchers will be introduced!

    ? 1
  • Hey big thanks for updating this mod and trimming the fat but how can i disable the change to bot classes(bosses, guards etc)?

    • I believe if you set AI Behaviour enabled to false in the config file, it will only apply the other changes.

      Thumbs Up 1
    • If using LuaSR, you'll need to set the pmc_type in your pattern for each map to assaultGroup instead of pmcBot and followerBigpipe

  • My SPT is kinda funny, after installing this mod, maybe I didnt something wrong or need to change some things? When I run a scav on Factory, provided I don't shoot anyone I can literally watch all the chaos unfold and collect whatever items I want without any threat. However, if I shoot one PMC/Boss I get shot from every possible direction. It does make scav runs more relaxed and interesting, I'm just not sure why it happens. :)

    Thinking 1
    • I think its SPT 3.2.5 problem. I have same problem without FAIT.

      Heart 1
  • I'm not seeing BEAR and USEC factions in post-raid kill lists anymore. All my kills are either SCAVs, GUARDs and (strangely) BOSSes.


    I think the mod might be switching Guards and/or Bosses with PMC factions because they look like run of the mill PMCs in raid and they have normal names in the kill list. (eg. Viktor McRussianov counts as BOSS in the post-action report)

    • Thats exactly what it does to make AI more aggressive but it should be randomized so there are some still some normal pmcs that are Usec and Bear. Maybe i'll look at a feature to tone it down some.. add more chance for normal pmc.


      Also if you aren't using Lua's Spawn Rework with a higher than normal online number of bots on a map, you will rarely run into regular pmcs.

    • I wish it didnt do this because it messes up scav runs really bad. A scav will attack a usec/bear and I attack them with it and kill it, and its considered a boss so all scavs are aggroed against me because they think I killed a "boss". is there a way to make it so PMC's dont spawn as bosses at all?

    • So are you saying that if you are on a Scav Run, just normal settings should be used?

      PMCs will remain regular PMCs and all scavs should be the beefed up scavs?

    • Firstly thanks Props. Like BIG thanks.

      Secondly I think I'm talking about the same thing here.

      I killed 2 scavs in a raid - post raid said I killed 2 USEC with ??? because I didn't collect dogtags coz obviously they didn't have any.

      Another raid I killed 2 PMC collected dogtags but post raid says I killed 2 scavs.

      I don't believe original FAIT did this, maybe it just assigned boss ai to scavs randomly but never PMC or if it did, it didn't change there identification only their behaviour but I do remember getting a lot of boss kills with FIN's but PMC's were always PMC's.

      Anyway its not game breaking and I'll continue using this so again thanks, I just wanted to give some feedback. I really hope you keep this mod going.

    • To fix this for now, if you're using LuaSR: you'll need to set the pmc_type in your pattern for each map to assaultGroup instead of pmcBot and followerBigpipe


      The AIs are still difficult it seems, even though it changes them back to usec/bear. Can still tweak other values too. Using those settings, Lasers scav boss AI change, and nightmare difficulty from Raid Variety (I don't use the actual variety, just the difficulty presets for FAIT), I'm getting super hard difficulty usec/bears spawning again.


      I can help in the discord more for this setup if needed.

      Thumbs Up 1
  • Does this mod have progressive bot gear? If it does how does it work? is it based on player level or trader loyalty?

    • No progressive bot gear anymore. Why have incompatibility when other mods might do it better? Please use Valens Progressive Mod ( i use it too). Based on your player level, it will limit what level equipment shows up based on tiers

  • Keep up the good work! I took a look at FAIT's code myself once and lost consciousness for some time. Even without the gear changes and fancy editor, FAIT is so much easier to make meaningful changes to bot AI across the board than FAIL is.

    Heart 1
  • So with 5 updates we downgraded from FAIT to FAIL?

    Heart 1 Happy 1
    • giphy.gif

      Happy 4
    • for what its worth, FAIT is a lot easier to adjust than FAIL is/was. the array format makes me feel like I'm watching the matrix code

      Thumbs Up 1
  • Editor being gone means I can't give AI-modded weapons or gear as it's not in the Config File. nor can I choose how many mags or health kits they have in raid. might be worth using the older version tbh

    • Fair enough. As an alternative, you can use valen's progression mod and edit the scav or pmc ts file inside the src folder of the mod. He has lists of tiered equipment that you can add your custom weapons or gear item ids so that they are availallble as chanced spawns.


      Example:


      Code
       // Earpiece Array
      const earpieceArrayLL1 = ["5b432b965acfc47a8774094e", "6033fa48ffd42c541047f728"];

      Now with me adding a Comtac IV earpiece id i looked up from item finder in last comma text below :


      Code
       // Earpiece Array
      const earpieceArrayLL1 = ["5b432b965acfc47a8774094e", "6033fa48ffd42c541047f728, "628e4e576d783146b124c64d"];

      now low level pmcs have chance of spawning with Comtac IV ear piece.. you can use this method to add your custom gear.

  • the editor was one of the things that made fait so much more appealing than other mods and much more friendly for beginners, removing it and telling people to slog through config files is kind of a dk move in my opinion, then again maybe I'm in the minority and everyone else who loves aki likes to do that

    • i don't know if it will even work anymore ( i didn't code it and i don't know where the source is for it). You can try using the editor on my config file, but i have changed around some value locations related to health.. that will probably mess up the editor and cause it to crash too.

  • Okay so you say that you don't wanna be messaged for the errors but this...well


    The application had a critical error and failed to run

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


    Stacktrace:

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

    at AITweaks.postAkiLoad (C:\Users\hunte\OneDrive\Documents\EFT Single Player\user\mods\zFin-AITweaks\src\mod.js:49:38)

    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)

    at C:\snapshot\project\obj\Program.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


    Just added this

    Raid Variety and Spawn Rework

    • you had to do this to me. lol

    • Bro I just wanted to play my tarkov since my mods for my other games aren't updated lmao

    • I see that in my log starting up with it health enabled in console.. did you modify the config file and forget to put a comma? remember last items in row don't get a comma. run your config through here:


      https://jsonlint.com/?code=


      and press 'Validate JSON' button.

    • Oh and if you had raid variety overwrite my config file\, its probably not updated yet so you will run into some issues. Let raid variety overwrite lua respawn but not my config for now

    • Yeah raid variety was meant to have just updated but I guess your newest update lead to configs, swapped out the files and it loads fine now, so yeah we just came to the same conclusion haha

  • thx for all the updates and ever more so for bringing this back. i actually worked on this a little bit last weekend and was going to try to get it all done by next week, but you did it instead so thanks for taking on the headache LOL

    Happy 1 Thumbs Up 1
  • Thank you

    Thank you for this mod.


    Next versions of Trap's AIO (v3) will be without bots tweaking since your mod do the job so well :)

  • I have a question.

    The configuration file of Lua-SpawnRework also contains content to change AI difficulty and PMC role.

    For example, in the lua code, the behavior of PMC is changed to KILLA.

    // "pmc_type": {

    "Factory": {"usec": "bossKilla", "bear": "bossKilla"}

    ...

    "difficulty":{

    "easy":0,

    "normal":0,

    "hard":2,

    "impossible":5 //

    Will these two mods conflict, or will poop overwrite lua's part of changing difficulty?

    Thanks;)

    Reply from Props ():

    It will conflict a little. Let me explain.

    1. If you spawn a scav of assault or cursedassault it will change the role behavior based on whats' setup in Poop's config.
    2. I do not change the pmc behavior of PMC to killa, I only switch the role of pmc behavior if it is your legendary character.
    3. Default SPTarkov in 3.3.0 sets a random role for PMCs which may conflict with LUA in that case.

    Unless you really need to have specific types for PMC, i would just use the regular pmc role for LUA so that tarkov can handle that.

  • Based AI Mod

    Great mod, thanks for keeping this updated.

    This works well with the Lua-CustomSpawns mod, as it provides more spawn points for the bots to spawn at, giving raids more dynamics.

    Very easy to install, and a must have IMO.

    Reply from Props ():

    I use your recoil and weight tweaker mod :)

    It's one big circle jerk of giving. enjoy