Updated FAQ to MD guidelines + rm old sections

This commit is contained in:
SPT-dev 2023-03-02 21:09:40 -05:00
parent 8b3a0e5865
commit b0a1308cee

View File

@ -1,9 +1,11 @@
<img src="./assets/img/headers/faq.png" width="100" height="150"/> # FAQ
## <font color="red">Launcher related questions</font> ## Launcher related questions
### <font color="orange">The launcher closes as soon as it opens</font>
Copy-paste from `EscapeFromTarkov_Data/Managed/` into the same directory where `Launcher.exe` is located:
### The launcher closes as soon as it opens
- In your client directory, got into `EscapeFromTarkov_Data\Managed\`
- Copy the following files :
- `0Harmony.dll` - `0Harmony.dll`
- `Assembly-CSharp.dll` - `Assembly-CSharp.dll`
- `Newtonsoft.Json.dll` - `Newtonsoft.Json.dll`
@ -13,108 +15,99 @@ Copy-paste from `EscapeFromTarkov_Data/Managed/` into the same directory where `
- `UnityEngine.CoreModule.dll` - `UnityEngine.CoreModule.dll`
- `UnityEngine.ImageConversionModule.dll` - `UnityEngine.ImageConversionModule.dll`
- `zlib.net.dll` - `zlib.net.dll`
- Paste them where `Launcher.exe` is located *(root directory of the client)*.
### <font color="orange">The launcher reports that no servers are available</font> ### 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.
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
### <font color="orange">The launcher reports that no connection can be established</font>
Make sure that `Server.exe` says that the server is running. Make sure that `Server.exe` says that the server is running.
### <font color="orange">Object reference not set to an instance of an object reported by launcher</font> ### Error: "Object reference not set to an instance of an object"
1. Start server
2. Start EscapeFromTarkov.exe
3. Wait about 10 sec on loading screen
4. Close game (Alt+f4)
5. Start Launcher.exe
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`.
## <font color="red">Server related questions</font> 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.
### <font color="orange">Where is the mods folder located?</font>
In `user/mods/`. If it's not located there, create a folder `mods` in the `user` folder of the server.
### <font color="orange">TypeError: Cannot read property 'menu' of undefined</font> ## Server related questions
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.
eg: ### Installing mods
<img src="https://i.imgur.com/ms4aOFu.png" width="10" height="450"/>
/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.
<!-- TODO: check if error still exists. (IMO it should be covered in the install guide and not mentioned here. -->
### Error: "[ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of [...]"
### <font color="orange">TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined</font>
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: 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.
### <font color="orange">Input string 'number' is not a valid integer.</font> - Open `core/util/logger.js`.
- On line `43`, replace `fs.writeFileSync(filepath);` with `fs.writeFileSync(filepath, '');`.
- Save the file and re-run server.
<img src="https://i.gyazo.com/eef012c573f3534de20aa8c37ffa9742.png" width="120" height="80"/> ## Client related questions
**⚠️ <font color="red">If you want to make any changes in your character profile file, close both the game and the server, none of these should run ⚠️ .</font>** ### Error: "Input string 'number' is not a valid integer."
<!-- Source the img from our server. Using Gyazo as a CDN is against it's usage condition -->
![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: If you encounter this error, you need to:
1. Go into `user/profile/yourProfileID/character.json`. 1. Go into `user/profile/yourProfileID/character.json`.
2. Search for the number appearing in the error 2. Search for the number appearing in the error
3. Remove the **".5"** of the number 3. Remove the **".5"** of the number
4. Save the file 4. Save the file
5. Start the server 5. Start the server
### Game stuck on the loading screen
### <font color="orange">How do i recache my server ?</font> Your client version is wrong. Use the lastest files available in the SPT-AKI's guilded server and read the install guide.
Before recaching your server, make sure to have both the game and server **not started**.
In order to recache your server you need: ## Other questions
1. Head to `ServerDir/user`
2. Delete the **cache** folder
3. Head to `ClientDir/`
4. Delete the **cache** folder
5. Start the server
### <font color="orange">Can i play with friends on SPTarkov ?</font> ### 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
### <font color="orange">Where is the `bots_f`folder?</font> In order to play with your friends, you need to buy an Escape From Tarkov copy [here](https://www.escapefromtarkov.com/preorder-page).
<img src="./assets/img/goose.jpg" width="120" height="120"/> *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.
## <font color="red">Building from source questions</font> ### Cleaning the temporary EFT directory
### <font color="orange">When building the modules project I get a "code 4" error</font> 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.
## <font color="red">Unrelated questions</font> It's not meant to be useable *(at the moment)*, otherwise it would be available on the official game.
### <font color="orange">Where can i download the last version of SPTarkov ?</font> ### No bots during raids
Just head over the [#tutorials](https://www.guilded.gg/senkospub/groups/B36wYEeD/channels/16291b64-bd22-4e1a-8af5-11f5e69fd9d8/docs) section in the SPTarkov guilded.
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.
### <font color="orange">The game is stuck at the loading page</font> ### Stuck in the right click menu UI
This means your assemblies version is wrong or your client version is wrong. Use the lastest files available only in the SPTarkov guilded.
### <font color="orange">How do i clean my temporary EFT folder ?</font> To fix this, you can reduce your mouse right click speed in the windows options.
For cleaning this folder, open the windows start menu and search **%temp%**.
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)
### <font color="orange">Can i use the underbarrel grenade launcher ?</font> ![Additional mouse options menu](https://cdn.discordapp.com/attachments/681319583533236255/713398004400259162/unknown.png)
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.
### <font color="orange">I don't have any bots that spawn in my raid</font>
That's normal, in order to get bots to spawn, you need to check the "Enable PVE" checkbox in the raid screen.
### <font color="orange">I'm stuck in the right click menu UI</font>
In order to fix this, you can reduce your mouse right click speed in the windows options.
<img src="https://cdn.discordapp.com/attachments/681319583533236255/713398124772851802/unknown.png" width="100" height="120"/>
<img src="https://cdn.discordapp.com/attachments/681319583533236255/713398004400259162/unknown.png" width="100" height="120"/>