Merge original repo

This commit is contained in:
Rim 2023-12-14 22:51:50 -05:00
commit 85abd2b6d8
2 changed files with 67 additions and 15 deletions

View File

@ -5,12 +5,20 @@
This is the master server our clients use. It is based on the DP Master Server (ID Tech) protocol
## Build
- Install [*Premake5*](https://premake.github.io) and add it to your system PATH
- Clone this repository
- Install [Premake5](premake5-link) and add it to your system PATH
- Clone this repository using [Git][git-link]
- Update the submodules using ``git submodule update --init --recursive``
- Run Premake with either of these two options ``premake5 vs2022`` (Windows) or ``premake5 gmake2`` (Linux/macOS)
**IMPORTANT**
For Unix systems, you must use Clang to compile this project. You will also be required to install the LLVM C++ Standard library to run this program.
If you need to use another compiler, like GCC, you must use the [Mold](https://github.com/rui314/mold) linker. Additionally, you may have to tweak the Premake5.lua script.
I only support a few platforms, for more details see [build.yml](https://github.com/alterware/master-server/blob/master/.github/workflows/build.yml)
Requirements for Unix systems:
- Compilation: Please use Clang as the preferred compiler
- Dependencies: Ensure the LLVM C++ Standard library is installed
- Alternative compilers: If you opt for a different compiler such as GCC, use the [Mold][mold-link] linker
- Customization: Modifications to the Premake5.lua script may be required
- Platform support: Details regarding supported platforms are available in [build.yml][build-link]
[premake5-link]: https://premake.github.io
[git-link]: https://git-scm.com
[mold-link]: https://github.com/rui314/mold
[build-link]: https://github.com/alterware/master-server/blob/master/.github/workflows/build.yml

View File

@ -13,36 +13,80 @@ void getbots_command::handle_command(const network::address& target, const std::
static const std::vector<std::string> bot_names
{
"aerosoul",
"Ash",
"asmjit",
"avail",
"Bubbles",
"Catalyst",
"clang",
"Cressi",
"Cypress",
"David Guetta",
"Diamante",
"Diavolo",
"Dsso",
"Eldor",
"Evan",
"Eve",
"FragsAreUs",
"FryTechTip",
"Furry",
"FutureRave",
"Girl",
"gsc-tool",
"H3X1C",
"Helium",
"Hinder",
"homura",
"INeedBots",
"INeedGames",
"Infamous",
"Inferno",
"Jack Back",
"Jebus3211",
"JezuzLizard",
"Jimbo",
"Kordhell",
"Lifeline",
"Joel",
"JTAG",
"Laupetin",
"llvm-project",
"Loba",
"Loona",
"Louvenarde",
"Mares",
"momo5502",
"MUPP",
"mxve",
"OneFourOne",
"OpenAssetTools",
"PeterG",
"PottyMouth",
"quaK",
"RaidMax",
"rapidjson",
"rEvoRebreather",
"RektInator",
"Resxt",
"RezTech",
"Roxie",
"Santi Diving",
"sass",
"Scarlxrd",
"Sloth",
"Slykuiper",
"Snake",
"Sparky",
"Squirrel",
"st0rm",
"Valkyrie",
"Wattson",
"Wanted",
"xensik",
"xoxor4d",
"Diamante",
"Dsso",
"Evan",
"FragsAreUs",
"FryTechTip",
"H3X1C",
"homura",
"Jimbo",
"RektInator",
"Squirrel",
"ZoneBuilder",
"ZoneTool",
};
std::stringstream stream{};