Running a custom game-mode

  • Hey - turns out IRC is out and something a little more modern has taken it's place... A little thing called Discord!

    Join our community @ https://discord.gg/JuaSzXBZrk for a pick-up game, or just to rekindle with fellow community members.

Repulse

New Member
Oct 16, 2015
2
1
United States of America
I am interested in running my own custom game-mode, like assault.

However, I am having problems with the RedirectReferences, whenever someone tries to connect, it says the "connection to the server was lost" and it doesn't let them download the game-mode.

I was curious about everyone's setup and how you would have it set up so if someone doesn't have the Assault game-mode, how would you redirect them on your servers to download it?

Here is my setup right now:
https://forums.unrealtournament.com/showthread.php?20553-Need-help-installing-a-server-missing-files

Thanks!
 
Last edited:
Hey, I can help you running assault servers :)

here are the lines for the game.ini

[/Script/UnrealTournament.UTGameState]
ServerName=YOUR ASSAULT SERVER NAME HERE
ServerMOTD=Assault Version 2.53
ServerDescription=Server Location - USA in ???
StartingInstancePort=8000
InstancePortStep=1
MaxInstances=16
GameDifficulty=1.0
EndTimeDelay=18.0
EndScoreboardDelay=4.0
bForceRespawn=0
bAllowOvertime=1
GoalScore=100
TimeLimit=15
bPlayersBalanceTeams=false
bBalanceTeams=false

[/Script/UnrealTournament.UTBaseGameMode]
RedirectReferences=(PackageName="AS-Guardia-v26-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/Urgamanix/AS-Guardia-v26-WindowsNoEditor.pak",PackageChecksum="7DE0057CC6449F1145618940367FC969")
RedirectReferences=(PackageName="AS-Overlord99-v15-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/Urgamanix/AS-Overlord99-v15-WindowsNoEditor.pak",PackageChecksum="E9193E94FB65A60BA06A8C936B70790F")
RedirectReferences=(PackageName="AS-Frigate-v08-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/BloodK1nG/AS-Frigate-v08-WindowsNoEditor.pak",PackageChecksum="3F79202297021B5C3638F63F898A6911")
RedirectReferences=(PackageName="AS-Ballistic-v11-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/BloodK1nG/AS-Ballistic-v11-WindowsNoEditor.pak",PackageChecksum="56184F56F7F4B2A64EBE7C2D54183DC7")
RedirectReferences=(PackageName="AS-Golgotha2-v07-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/BloodK1nG/AS-Golgotha2-v07-WindowsNoEditor.pak",PackageChecksum="704DB6975DE5AD18A477CAC8550EAE99")
RedirectReferences=(PackageName="AS-Riverbed-v07-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/BloodK1nG/AS-Riverbed-v07-WindowsNoEditor.pak",PackageChecksum="BDC4F5E07C216278F0566D8258AE622B")
RedirectReferences=(PackageName="AS-Rook-v17-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/Urgamanix/AS-Rook-v17-WindowsNoEditor.pak",PackageChecksum="8550D86EA7606C628E08CBA1376FC69B")
RedirectReferences=(PackageName="AS-Desertstorm-v12-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/Urgamanix/AS-Desertstorm-v12-WindowsNoEditor.pak",PackageChecksum="93D696115FD2F4A3E8DF492742CCE192")
RedirectReferences=(PackageName="AS-Saqqara-v06-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/BloodK1nG/AS-Saqqara-v06-WindowsNoEditor.pak",PackageChecksum="EC5532C37A7475BE61E0FDABB700F805")
RedirectReferences=(PackageName="AS-Riverbed-v07-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/BloodK1nG/AS-Riverbed-v07-TEST-WindowsNoEditor.pak",PackageChecksum="BDC4F5E07C216278F0566D8258AE622B")
ServerInstanceID=8E4F555444CE5C94FDFA4AA4420388AA

[/Game/Blueprints/UTASGameMode.UTASGameMode_C]
MapRotation=/Game/Maps/AS-Overlord99/AS-Overlord99-v15
MapRotation=/Game/MyContent/AS-Frigate-v08
MapRotation=/Game/MyContent/AS-Ballistic-v11
MapRotation=/Game/MyContent/AS-Riverbed-v07
MapRotation=/Game/MyContent/AS-Golgotha2-v07
MapRotation=/Game/MyContent/AS-Saqqara-v06
MapRotation=/Game/Maps/AS-Rook99/AS-Rook-v17
MapRotation=/Game/Maps/AS-Desertstorm/AS-Desertstorm-v12
MapRotation=/Game/Maps/AS-Guardia/AS-Guardia-v26
RedTeamName=rEd
BLueTeamName=bLUe

[/Script/Engine.GameSession]
MaxPlayers=12
MaxSpectators=4



____________
Create a startscript (shortcut to UE4Server-Win64-Test.exe)

Target: D:\UTA-Server-1\Engine\Binaries\Win64\UE4Server-Win64-Test.exe UnrealTournament AS-Rook-v17?Game=/Game/Blueprints/UTASGameMode.UTASGameMode_C?MaxPlayers=14?MaxSpectators=4 -log -port=7777

Execute in: D:\UTA-Server-1\Engine\Binaries\Win64

(comment: its D : \ -> since its a smiley code D:\ is being displayed )


you can also add the server password in this line. The option provided in the startscript will always be used, doesn't matter what the game.ini says :)


____________
Regarding your problem with redirect downloads and people unable to join your server

Possible cause 1 - Incorrect MD5 hash rejects in the ini is causing people to being rejected from the server
1. Download MD5 Checker (http://getmd5checker.com/ ) or something else to generate MD5 hash code.
2. Execute the application
3. Click on Add
4. Select the m,ap, you want to generate the hashcode for
5. THe hashcode will be displayed (column Current MD5)
6. Right click on it and select Copy MD5
7. Paste the MD5 code in the game.ini (redirect section)

Example:
[/Script/UnrealTournament.UTBaseGameMode]
RedirectReferences=(PackageName="AS-Guardia-v26-WindowsNoEditor", PackageURLProtocol="https", PackageUrl="ut.rushbase.net/Urgamanix/AS-Guardia-v26-WindowsNoEditor.pak",PackageChecksum="HERE")


RedirectReferences=(PackageName="AS-Guardia-v26-WindowsNoEditor" //mapname with WindowNoEditor without .pak

,PackageURLProtocol="https", //http or https

PackageUrl="ut.rushbase.net/Urgamanix/AS-Guardia-v26-WindowsNoEditor.pak" //URL with full mapname

,PackageChecksum="7DE0057CC6449F1145618940367FC969") //MD5 checksum generated by you

Possible cause 2 - Your router settings are blocking some ports (can people join your server when you host default game modes?)
1. Open at least incoming / outgoing ports:
a) 7770 - 7779 (UDP)
b) 15000 (UDP)

checking your start batch ->
@echo off


cd Engine\Binaries\Win64
start UE4Server-Win64-Test.exe UnrealTournament DM-Chill?Game=/Game/UndauntedCollection/GM_LTS/LTS2GameMode.LTS2GameMode_C?MaxPlayers=16? -multihome=10.0.0.17 -port=8000 -log

in that case makre sure Port 8000 is open, incoming outgoing for UDP.

::::::::::::::::::::::::::::::::::::::::::::::::::

So here is what I propose. Try the things above and for
further assistance join our IRC and contact me or fatjeff.

I help everyone in the UT community, especially people that are willing to help others (I like your attitude :utacool: "If I can get some help and figure out my problem, I want to be able to help others as well." ) and people that like to play Assault :D:rolleyes:

#UT.Assault on irc.globalgamers.net


So, Welcome to UT Assault :)
Thank you!
 
Last edited:
Thank you very much for your quick reply.
I tried your settings and it worked perfectly for hosting Assault, so why wont it work for Last Team Standing?

Well doing some digging on the forums and asking RZE_, I found out that the redirection for hosting custom content for game-modes or ".pak" files that don't contain any maps alongside them are bugged and it will not properly redirect the client to the download. They can only download the ".pak" while they are waiting for the server to start, so in this case, only a hub will work. And it'll only work in a lobby situation where the game has yet to start.

RZE_ said that this is a known issue and they are working on a resolve.

Thanks for your reply, and I'm glad to know that I didn't have wrong settings, it's just that what I wanted to do is not possible currently :)
 
You're welcome!

For Assault the code / files are integrated in the maps.

But at least you can host an Assault server and know that hosting other custom game modes is not possible right now.

Enjoy Assault :)
I would be happy if you join our channel anyway. We provide updates and you will get to know when the maps can be updated etc. :)

#UT.Assault on irc.globalgamers.net