From d3968fe327d588c456ea55be0548d17d4d1b60a7 Mon Sep 17 00:00:00 2001 From: Atomos821 Date: Fri, 6 Nov 2020 15:24:50 +0100 Subject: [PATCH] Updated FAQ to MD guidelines + rm old sections --- docs/md/spt-aki/faq.md | 145 ++++++++++++++++++++--------------------- 1 file changed, 69 insertions(+), 76 deletions(-) diff --git a/docs/md/spt-aki/faq.md b/docs/md/spt-aki/faq.md index c50a4df..ce4ba9c 100644 --- a/docs/md/spt-aki/faq.md +++ b/docs/md/spt-aki/faq.md @@ -1,120 +1,113 @@ - +# FAQ -## Launcher related questions -### The launcher closes as soon as it opens -Copy-paste from `EscapeFromTarkov_Data/Managed/` into the same directory where `Launcher.exe` is located: +## Launcher related questions -- `0Harmony.dll` -- `Assembly-CSharp.dll` -- `Newtonsoft.Json.dll` -- `NLog.dll` -- `NLog.SPTarkov.Common.dll` -- `UnityEngine.dll` -- `UnityEngine.CoreModule.dll` -- `UnityEngine.ImageConversionModule.dll` -- `zlib.net.dll` +### The launcher closes as soon as it opens -### The launcher reports that no servers are available -Make sure that `Server.exe` says that the server is running. After this, press the refresh button. +- In your client directory, got into `EscapeFromTarkov_Data\Managed\` +- Copy the following files : + - `0Harmony.dll` + - `Assembly-CSharp.dll` + - `Newtonsoft.Json.dll` + - `NLog.dll` + - `NLog.SPTarkov.Common.dll` + - `UnityEngine.dll` + - `UnityEngine.CoreModule.dll` + - `UnityEngine.ImageConversionModule.dll` + - `zlib.net.dll` +- Paste them where `Launcher.exe` is located *(root directory of the client)*. + +### The launcher reports that no servers are available + +Make sure that `Server.exe` says that the server is running, then press the refresh button in the launcher. + +### The launcher reports that no connection can be established -### The launcher reports that no connection can be established Make sure that `Server.exe` says that the server is running. -### Object reference not set to an instance of an object reported by launcher -1. Start server -2. Start EscapeFromTarkov.exe -3. Wait about 10 sec on loading screen -4. Close game (Alt+f4) -5. Start Launcher.exe +### Error: "Object reference not set to an instance of an object" -If this does not solve your issue, make sure that you've also ran the game from your Official Tarkov installation. +- Start the server *(Server.exe)*. +- Start the client *(EscapeFromTarkov.exe)*. +- Wait about 10 seconds on the game loading screen. +- Close the game *(`Alt + F4`)*. +- Start `Launcher.exe`. -## Server related questions -### Where is the mods folder located? -In `user/mods/`. If it's not located there, create a folder `mods` in the `user` folder of the server. +If this does not solve your issue, make sure that you've also ran the game from your official Escape From Tarkov installation once before. -### TypeError: Cannot read property 'menu' of undefined -In order to fix this error, you need to download the language you're using [here](https://mods.offline-tarkov.com), The language you're using is shown above the error. +## Server related questions -eg: - +### Installing mods -/client/menu/locale/**ch** <-- is the language you're using, so download the language mod according to your version. +Mods should be added the `\mods` directory, located in the server directory. If, for some reasons, the directory does not exist, create it. + + +### Error: "[ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of [...]" -### TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined In order to fix this error, you need to either uninstall your current NodeJS version and install NodeJS v12.16.3, **or** if the error is coming from `logger.js` then: -1. Open `core/util/logger.js`. -2. On line `43`, replace `fs.writeFileSync(filepath);` with `fs.writeFileSync(filepath, '');`. -3. Save the file and re-run server. -### Input string 'number' is not a valid integer. +- Open `core/util/logger.js`. +- On line `43`, replace `fs.writeFileSync(filepath);` with `fs.writeFileSync(filepath, '');`. +- Save the file and re-run server. - +## Client related questions -**⚠️ If you want to make any changes in your character profile file, close both the game and the server, none of these should run ⚠️ .** +### Error: "Input string 'number' is not a valid integer." + + +![Image showcasing the error](https://i.gyazo.com/eef012c573f3534de20aa8c37ffa9742.png) + +**⚠️ If you want to make any changes in your character profile file, close both the game and the server, none of these should run ⚠️ .** If you encounter this error, you need to: + 1. Go into `user/profile/yourProfileID/character.json`. 2. Search for the number appearing in the error 3. Remove the **".5"** of the number 4. Save the file 5. Start the server +### Game stuck on the loading screen -### How do i recache my server ? -Before recaching your server, make sure to have both the game and server **not started**. +Your client version is wrong. Use the lastest files available in the SPT-AKI's guilded server and read the install guide. -In order to recache your server you need: -1. Head to `ServerDir/user` -2. Delete the **cache** folder -3. Head to `ClientDir/` -4. Delete the **cache** folder -5. Start the server +## Other questions -### Can i play with friends on SPTarkov ? +### Getting the lastest version of SPT-AKI -In order to play with your friends, you need to buy an Escape From Tarkov copy at https://www.escapefromtarkov.com/preorder-page +Head over the [`#tutorials`](https://www.guilded.gg/senkospub/groups/B36wYEeD/channels/16291b64-bd22-4e1a-8af5-11f5e69fd9d8/docs) chan, on the [SPT-AKI's guilded server]((https://www.guilded.gg/senkospub)). -**SPTarkov will never hold multiplayer capabilitys.**. So no you will not be able to play with your friends using SPTarkov. Even if you find videos that show people playing with other people on it, it's not made by SPTarkov tarkov team, and it's absolutely not related to it too. +### Playing with friends / multiplayer -### Where is the `bots_f`folder? +In order to play with your friends, you need to buy an Escape From Tarkov copy [here](https://www.escapefromtarkov.com/preorder-page). - +*SPT-AKI will not have multiplayer capabilities*. It isn't on our "roadmap" and is not the goal of the project. If you ever find videos of people playing with others, it's not made by the SPT-AKI developers and is not related to it. -## Building from source questions +### Cleaning the temporary EFT directory -### When building the modules project I get a "code 4" error +To clean this directory: -Check the directory path where you are building the project, it should not have any spaces in it e.g. +- Open the windows start menu. +- Type `%temp%` in the searchbar. +- Open this directory and look for `Battlestate Games`. +- Delete this directory -`C:\This is a bad directory name\modules\project` +You're done. -See below for a good example of a directory structure. +### Using the underbarrel grenade launcher -`C:\SPTarkovDev\modules\project\` +The underbarrel grenade launcher (GP-34) have issues when reloading that will block your character and prevent you from anything else in a raid. -## Unrelated questions +It's not meant to be useable *(at the moment)*, otherwise it would be available on the official game. -### Where can i download the last version of SPTarkov ? -Just head over the [#tutorials](https://www.guilded.gg/senkospub/groups/B36wYEeD/channels/16291b64-bd22-4e1a-8af5-11f5e69fd9d8/docs) section in the SPTarkov guilded. +### No bots during raids -Link : https://www.guilded.gg/senkospub +In order to get bots to spawn, you need to check the `Enable PVE` checkbox in the raid screen. -### The game is stuck at the loading page -This means your assemblies version is wrong or your client version is wrong. Use the lastest files available only in the SPTarkov guilded. +### Stuck in the right click menu UI -### How do i clean my temporary EFT folder ? -For cleaning this folder, open the windows start menu and search **%temp%**. +To fix this, you can reduce your mouse right click speed in the windows options. -Open this folder and look for **Battlestate Games**. Delete this folder and it's done! +![Windows 10 mouse settings menu](https://cdn.discordapp.com/attachments/681319583533236255/713398124772851802/unknown.png) -### Can i use the underbarrel grenade launcher ? -No you can't, the grenade launcher is having issues when reloading which blocks your character of doing anything else in a game. It's not meant to be useable, otherwise it would be available on the official game. - -### I don't have any bots that spawn in my raid -That's normal, in order to get bots to spawn, you need to check the "Enable PVE" checkbox in the raid screen. - -### I'm stuck in the right click menu UI -In order to fix this, you can reduce your mouse right click speed in the windows options. - - +![Additional mouse options menu](https://cdn.discordapp.com/attachments/681319583533236255/713398004400259162/unknown.png)