# Cant build dedicated server! (function overrides in server target from wiki are "wrong")

**URL:** <https://forums.unrealengine.com/t/cant-build-dedicated-server-function-overrides-in-server-target-from-wiki-are-wrong/80984>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [December 20, 2016, 1:53am UTC](https://forums.unrealengine.com/t/cant-build-dedicated-server-function-overrides-in-server-target-from-wiki-are-wrong/80984 "2016-12-20T01:53:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![t0b4cc0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@t0b4cc0](https://forums.unrealengine.com/u/t0b4cc0)\
**Post date:** [December 20, 2016, 1:53am UTC](https://forums.unrealengine.com/t/cant-build-dedicated-server-function-overrides-in-server-target-from-wiki-are-wrong/80984/1 "2016-12-20T01:53:22Z")

</div>

Hi!

I have trouble building a dedicated server of my game.

I followed this guide exactly:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

I created the server target and I am now trying to “generate visual studio project files” by rightclicking on the uproject. Wich doesnt work, with this log:

```auto

Running C:/Users/admin/Source/Repos/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/admin/Documents/Unreal Projects/tabletopcards/tabletopcards.uproject" -game -engine -progress
Discovering modules, targets and source code for project...
Messages while compiling C:\Users\admin\Documents\Unreal Projects	abletopcards\Intermediate\Build\BuildRules	abletopcardsModuleRules.dll:
c:\Users\admin\Documents\Unreal Projects	abletopcards\Source	abletopcardsServer.Target.cs(32,48) : error CS0115: 'tabletopcardsServerTarget.GUBP_GetPlatforms_MonolithicOnly(UnrealBuildTool.UnrealTargetPlatform)': no suitable method found to override
c:\Users\admin\Documents\Unreal Projects	abletopcards\Source	abletopcardsServer.Target.cs(41,53) : error CS0115: 'tabletopcardsServerTarget.GUBP_GetConfigs_MonolithicOnly(UnrealBuildTool.UnrealTargetPlatform, UnrealBuildTool.UnrealTargetPlatform)': no suitable method found to override
UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files

```

The target file is just the one from the wiki, but (just as they say you have to) with “gamename” instead of the word game (wich is only 3 times anyways).

Here the output window trying to build the project:

```auto

1>------ Skipped Build: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
1>Project not selected to build for this solution configuration 
2>------ Build started: Project: tabletopcards, Configuration: Development_Game x64 ------
2> Creating makefile for tabletopcards (project files are newer)
2> Messages while compiling C:\Users\admin\Documents\Unreal Projects	abletopcards\Intermediate\Build\BuildRules	abletopcardsModuleRules.dll:
2>c:\Users\admin\Documents\Unreal Projects	abletopcards\Source	abletopcardsServer.Target.cs(32,48): error CS0115: 'tabletopcardsServerTarget.GUBP_GetPlatforms_MonolithicOnly(UnrealBuildTool.UnrealTargetPlatform)': no suitable method found to override
2>c:\Users\admin\Documents\Unreal Projects	abletopcards\Source	abletopcardsServer.Target.cs(41,53): error CS0115: 'tabletopcardsServerTarget.GUBP_GetConfigs_MonolithicOnly(UnrealBuildTool.UnrealTargetPlatform, UnrealBuildTool.UnrealTargetPlatform)': no suitable method found to override
2>EXEC : error : UnrealBuildTool encountered an error while compiling source files
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command "C:\Users\admin\Source\Repos\UnrealEngine\Engine\Build\BatchFiles\Build.bat tabletopcards Win64 Development "C:\Users\admin\Documents\Unreal Projects	abletopcards	abletopcards.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 1 skipped ==========

```

Here the errors again…

```auto

Severity	Code	Description	Project	File	Line	Suppression State
Error UnrealBuildTool encountered an error while compiling source files	tabletopcards	C:\Users\admin\Documents\Unreal Projects	abletopcards\Intermediate\ProjectFiles\EXEC	1	
Error	MSB3075	The command "C:\Users\admin\Source\Repos\UnrealEngine\Engine\Build\BatchFiles\Build.bat tabletopcards Win64 Development "C:\Users\admin\Documents\Unreal Projects	abletopcards	abletopcards.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.	tabletopcards	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	41	
Error	CS0115	'tabletopcardsServerTarget.GUBP_GetPlatforms_MonolithicOnly(UnrealBuildTool.UnrealTargetPlatform)': no suitable method found to override	tabletopcards	c:\Users\admin\Documents\Unreal Projects	abletopcards\Source	abletopcardsServer.Target.cs	32	
Error	CS0115	'tabletopcardsServerTarget.GUBP_GetConfigs_MonolithicOnly(UnrealBuildTool.UnrealTargetPlatform, UnrealBuildTool.UnrealTargetPlatform)': no suitable method found to override	tabletopcards	c:\Users\admin\Documents\Unreal Projects	abletopcards\Source	abletopcardsServer.Target.cs	41

```

Are these overrides old/wrong? I cant find them.

---

<div class="post-metadata">

**Author:** ![OptimisticMonkey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/optimisticmonkey/32/906571_2.png) [@OptimisticMonkey](https://forums.unrealengine.com/u/OptimisticMonkey)\
**Post date:** [December 20, 2016, 3:01am UTC](https://forums.unrealengine.com/t/cant-build-dedicated-server-function-overrides-in-server-target-from-wiki-are-wrong/80984/2 "2016-12-20T03:01:29Z")

</div>

> **[How To Set Up Dedicated Servers for Windows and Linux For Your UE4 Game...](https://allarsblog.com/2015/11/06/support-dedicated-servers/)**
>
> This document covers the bare basics on how to get your Unreal Engine 4 game project able to build both Windows and Linux dedicated server builds, using just a Windows machine for compiling. Requirements For 4.9.X or older, you need Visual Studio...

---

<div class="post-metadata">

**Author:** ![t0b4cc0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@t0b4cc0](https://forums.unrealengine.com/u/t0b4cc0)\
**Post date:** [December 20, 2016, 4:06am UTC](https://forums.unrealengine.com/t/cant-build-dedicated-server-function-overrides-in-server-target-from-wiki-are-wrong/80984/3 "2016-12-20T04:06:38Z")

</div>

so i just throw them out… allright

i thought id be missing some stuff then…

nice guide, i think i follow yours from this on… thanks!

---

<div class="post-metadata">

**Author:** ![Holybreath](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Holybreath](https://forums.unrealengine.com/u/Holybreath)\
**Post date:** [December 20, 2016, 11:45am UTC](https://forums.unrealengine.com/t/cant-build-dedicated-server-function-overrides-in-server-target-from-wiki-are-wrong/80984/4 "2016-12-20T11:45:45Z")

</div>

`GUBP_GetPlatforms_MonolithicOnly` is deprecated btw.
