Kiki-MarkFIR 1.0.2

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

A couple of options for marking your loot found in raid.

[tabmenu]
  • can anyone figure out how to make this mod work for 3.9.x? i tried doing it myself but i keep effin up

    • Yeah I figured it out. It is very easy, compared this mod with one that works in 3.9.x.


      I recommend Notepad++ or something similar to do this.


      To update this mod, do the following:

      • Download the version 1.0.2
      • Install it like any other mod
      • Open the mods folder
      • Replace the contents of package.json with this:
      • Open the src folder
      • Replace the contens of MarkFIR.ts with this:
      • Optional: Go into the config folder and open config.json
      • In there set "markEVERYTHING" to true. This will set all items brought into raid as FIR too.
      Heart 3
    • @UselessAqua

      i love you

  • Hey Kiki, this is my favourite mod, is it being updated?

    • Hey, I figured it out, you have to change a few lines inside the code.


      Made an other commend on how to update / make the mod compatible with spt version 3.9.x.

  • Doesn't work as of 3.7.6, upon extracting I am met with a black screen and this is what the console says (image included):


    TypeError: InRaidHelper.addSpawnedInSessionPropertyToItems is not a function

    TypeError: InRaidHelper.addSpawnedInSessionPropertyToItems is not a function

    at MarkFIR.InRaidControllerReplacement (Z:\SPT- Versions\SPT - 3.7.6\user\mods\Kiki-MarkFIR\src\MarkFIR.ts:40:40)

    at InraidController.markOrRemoveFoundInRaidItems (Z:\SPT- Versions\SPT - 3.7.6\user\mods\Kiki-MarkFIR\src\MarkFIR.ts:22:21)

    at InraidController.savePmcProgress (C:\snapshot\project\src\controllers\InraidController.ts:126:14)

    at InraidController.savePostRaidProgress (C:\snapshot\project\src\controllers\InraidController.ts:99:18)

    at InraidCallbacks.saveProgress (C:\snapshot\project\src\callbacks\InraidCallbacks.ts:44:31)

    at RouteAction.action (C:\snapshot\project\src\routers\static\InraidStaticRouter.ts:17:49)

    at InraidStaticRouter.handleStatic (C:\snapshot\project\src\di\Router.ts:50:63)

    at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:79:62)

    at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)

    at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:150:38)

    TypeError: InRaidHelper.addSpawnedInSessionPropertyToItems is not a function

    TypeError: InRaidHelper.addSpawnedInSessionPropertyToItems is not a function

    at MarkFIR.InRaidControllerReplacement (Z:\SPT- Versions\SPT - 3.7.6\user\mods\Kiki-MarkFIR\src\MarkFIR.ts:40:40)

    at InraidController.markOrRemoveFoundInRaidItems (Z:\SPT- Versions\SPT - 3.7.6\user\mods\Kiki-MarkFIR\src\MarkFIR.ts:22:21)

    at InraidController.savePmcProgress (C:\snapshot\project\src\controllers\InraidController.ts:126:14)

    at InraidController.savePostRaidProgress (C:\snapshot\project\src\controllers\InraidController.ts:99:18)

    at InraidCallbacks.saveProgress (C:\snapshot\project\src\callbacks\InraidCallbacks.ts:44:31)

    at RouteAction.action (C:\snapshot\project\src\routers\static\InraidStaticRouter.ts:17:49)

    at InraidStaticRouter.handleStatic (C:\snapshot\project\src\di\Router.ts:50:63)

    at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:79:62)

    at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)


    Console Log

    Thumbs Up 1
  • Seems to still work on 3.7.0 & 3.7.1

    • How did you get it to work on 3.7.1? I get a long error on raid end and then an infinite black screen with map ambiance.

    • I just copied the folder this mod from my mods folder in my 3.6.1 install into my 3.7.1 install, and it worked without issue. With that in mind, I see three likely possibilities:

      1: Your black screen issue was caused by a different mod, or an incompatibility between this mod and another you were already running.
      2: Something got corrupted. Redownload the mod & extract using 7zip. If that doesn't fix it, maybe try doing a second install of SPT and copying your current mods & profile over to see if your issue is a corrupted SPT install (When I've run into weird issues, outside of ~3.5.6, it was almost always due to either outdated mods that were truly incompatible, or it was fixed with a reinstall).

      3: The SPT devs tend to do stealth hotfixes for a day or two after each release, so it's possible that we're using slightly different builds of 3.7.1, and the version you're using is newer.


      Heart 1
  • would it be possible to add an option that also marks the items fir immediately after they are bought?

    • There are a few config toggles that can do that.

      For purchases from traders, Aki_data\Server\Configs\trader.json: "purchasesAreFoundInRaid" should be changed to "true"


      For purchases from Flea, ragfair.json: Same as above.

  • Thanks so much for remaking this, I am touched and so happy!

    Would it be at all possible to add a config option to only mark FIR if the raid was survived/successful? Since that's how I made it originally I think

    • Hey dude, No worries I will look into it, everything was commented out in your last iteration other than

      which is what I yoinked from you.
      I will see if I can figure out a method to allow for all the options. (I do not have much time atm, so some patience will be needed, as there was not something immediately obvious for how to do this.)

      Heart 1
  • Please update

    Crying 1
    • I have a life. It will be done when I get around to it.

      Happy 1
  • Sweet thanks a lot

    Heart 1
  • can you add FIR for items bought on flea market

    • This mod gives you a workaround for that. you can buy something from the flea, stick it in your secure container, enter a raid and die (or be a big brave boy and make it all the way through alive) and it will be marked as FIR.


      Not as direct as what you want but it gets the job done and doesn't feel quite so cheaty because at least there's a potential risk.

    • I have had a bit of a look, and I can't see an obvious solution for that. The above method will have to do for now.

    • ok, thx for your work!

      Heart 1
    • "Can you add FIR for items bought on flea market?"

      There's an option in the default config options for this:

      \Aki_Data\Server\configs\ragfair.json


      Change "purchasesAreFoundInRaid" from "false" to "true".

      Heart 1 Thumbs Up 1
    • Also, if you want items purchased from traders to be FIR, the toggle is:

      "newItemsMarkedFound"

      and it's found in "inventory.json" in the same config folder.

  • Ooh you spicy legend. Thanks!

    Heart 1