
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
- Download node JS and install it.
- 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”
- Open itemFinder.js and specify the root directory of the AKI server (directory where the SPT_Data folder is located)
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.
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.
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.
and get its object from items.json, locale en.json and handbook.json
To exit the application enter exit or press Ctrl+C to clear the console enter clear.
497 Downloads
now this works with all EFT supported languages
Details
-
GUID
Not Available
-
License
-
Source Code
https://drive.google.com/file/d/1X4vejb-vpLXa2Dt0sDCBHjKuZDIbo2fY/view?usp=sharing
-
Latest Version VirusTotal Result
Great tool, thanks for this - now I don’t have to worry if db.sp-tarkov.com is down.
For those who are having troubles (I’ll include instructions already provided in the overview):
1. Download and install node.js
2. Download the tool and place the file
**itemFinder.js
** in a folder3. Open the folder, then open
**itemFinder.js
** in a text editor/IDE4. Look for the line that contains
AKI\_FOLDER
, and place the path to your SPT Server folder inside. An example would be:let AKI_FOLDER = “D:\\SPT\\Server”;
Note: You have to use the double \ in your path
5. Save the file, close the editor. Then, while still in the same folder as
**itemFinder.js
**, open a console window (CMD, powershell)6. In the console, type
npm install readline-sync
and hit enter7. Once that’s done - congrats! You’re done with the setup phase. Now, to run the app, in the same console, type
node itemfinder.js
8. Now, you can type in the name of an item or item ID to search. If you have multiple results, there are some controls: W or A moves the cursor up, S or D moves the cursor down, Spacebar selects the highlighted item
9. Type
exit
or press Ctrl-C to close the appabsolutely, i like it !
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?
instaled node, instaled readline-sync, copied path to script, ran with cmd and get this
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!
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
can’t figure out at all how to install it, can you make the instructions clearer/more in-depth?
so hard