Update README.md

This commit is contained in:
pierow 2023-09-06 01:57:40 -04:00 committed by GitHub
parent 472e2c8d13
commit d583cff875
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,8 @@ If the game doesn't load, check the following:
1. For more help, ask on #help in [the community discord](https://discord.gg/ZUSSBUA) 1. For more help, ask on #help in [the community discord](https://discord.gg/ZUSSBUA)
For Linux: For Linux:
- Remove or rename the `libstdc++so.6` in the `hlds` directory so the linux distro's can be used instead. The one steam provides is outdated. You may need to rename the `libgcc.so.1` file in the same directory as well. - You may need to remove or rename the `libstdc++so.6` and possibly the `libgcc.so.1` in the `Half-Life` directory so the linux distro's can be used instead. The one steam provides is outdated.
- 32 bit C libraries might need to be installed. Try `apt-get install libc6-i386` if on debian or ubuntu. The libm.so.6 from it may need to be placed in your half-life or HLDS folder if you cannot install that package. - 32 bit C libraries might need to be installed. Try `apt-get install libc6-i386` if on debian or ubuntu. The `libm.so.6` from it may need to be placed in your half-life folder if you cannot install that package.
## Changes ## Changes
@ -102,11 +102,13 @@ How to set up a [Natural Selection] server with [HLDS].
1. Follow these steps to get steamCMD installed and HLDS updated in it: https://developer.valvesoftware.com/wiki/SteamCMD 1. Follow these steps to get steamCMD installed and HLDS updated in it: https://developer.valvesoftware.com/wiki/SteamCMD
2. You'll want to run `app_update 90 validate` multiple times in steamCMD to install HLDS and fully update it, as it won't completely do it the first time. 2. You'll want to run `app_update 90 validate` multiple times in steamCMD to install HLDS and fully update it, as it won't completely do it the first time.
3. Copy the `ns` directory into the `hlds` directory after installing HLDS from steamcmd 3. Copy the `ns` directory into the `hlds` directory after installing HLDS from steamcmd
4. Run the game : 4. For Linux servers:
- Remove or rename the `libstdc++so.6` in the `hlds` directory so the linux distro's can be used instead. The one steam provides is outdated. You may need to rename the `libgcc.so.1` file in the same directory as well.
- 32 bit C libraries might need to be installed. Try `apt-get install libc6-i386` if on debian or ubuntu. The libm.so.6 from it may need to be placed in your HLDS folder if you cannot install that package.
5. Run the game :
```sh ```sh
./hlds_run -game ns -autoupdate +map ns_eclipse + sv_secure 1 + port 27015 +hostname "Natural Selection" +maxplayers 32 ./hlds_run -game ns -autoupdate +map ns_eclipse + sv_secure 1 + port 27015 +hostname "Natural Selection" +maxplayers 32
``` ```
See the [Troubleshooting Tips](https://github.com/ENSL/NS#game-not-working-troubleshooting-tips) for fixes to linux server issues.
If you are behind a NAT(Router) make sure to open at least those ports: If you are behind a NAT(Router) make sure to open at least those ports:
- 27015 UDP (game transmission, pings) - 27015 UDP (game transmission, pings)