Item Finder Console 1.0.1

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Recently db.sp-tarkov was down for a few days, and I decided to implement some of its functionality as a console nodejs application.

INSTALATION

  1. Download node JS and install it.
  2. Open the console (windows console, cmd.exe, powershell, press Win+R and type cmd) and install the readline-sync package with the command “npm install readline-sync
  3. Open itemFinder.js and specify the root directory of the AKI server (directory where the SPT_Data folder is located)

fl2Eef8.png

USING

Since EFT has been translated into quite a few languages, the script now supports them all.

It understands queries in any language, but gives results in English.

If you want to get results in your native language, specify the name of your language locale when running the script, in EFT locales are named with two letters, e.g. Russian - ru, English - en, etc.


5PqaOAm.png


That is, if you like to read in Russian, for example, then after the name of the script write the letters ru, if in Chinese ch, in Spanish es, etc.


Run the script and enter the item's ID, name, or part of its name.


4yS9x6M.png


The script generates a list according to the terminal size, it does not show results that go beyond the terminal size, so if you search for anything related to Glock for example you will see no more than 27 items, if you want to see them all, refine the query or increase the terminal size by holding down the Ctrl key and spinning the mouse wheel and repeat the request.


You will see the list of detected matches, which you can navigate with WASD keys, to select an item press any (except control) keys.

W and A are moved to the beginning of the list.

S and D are moved to the end of the list.



5ggmuSl.png

ClyL1js.png


and get its object from items.json, locale en.json and handbook.json


SRB4KMl.png


nqwNDUr.png


To exit the application enter exit or press Ctrl+C to clear the console enter clear.

  • absolutely, i like it ! <3

    for players who don't know code, it's super tough.

    for those who can code, it's easy to understand what the author is doing.

    i am kind of in between.


    i hope the author don't mind me asking, but...

    Can we have a more user-friendly webUI? bugcatworking

    Heart 1
    • I have no experience in web development

      Heart 1
  • instaled node, instaled readline-sync, copied path to script, ran with cmd and get this51WVZ9H


    oh bruh, iw sold it. why i need to type "\\" instead of one \? i dont get it


    Also thanks you very much, you made my life is way easier and happier!

    Thumbs Up 1
  • Is there any way to search for modded items? Like, is there a database generated somewhere in the server files or is it something temporary loaded into memory when you start a server? I'd like to search for items throwing errors. BTW guys, if you installed SPT correctly into the C: drive, Line:24 in itemFinder.js should look like this...

    let AKI_FOLDER = "C:\\SPT"; //AKI FOLDER

    • modded items are loaded into the server memory, they cannot be viewed in the items table locally
      it would be possible to do this, but would work with running the server, if it is very necessary, I can look into it

  • can't figure out at all how to install it, can you make the instructions clearer/more in-depth?

    Thinking 1
    • bruh I don't really know how to make it any clearer than that, maybe you could tell me exactly what you're having trouble with.

      Happy 1
  • so hard ;(

    Happy 1