How To: Setup a UT3 Internet Server

Posted by [[Neo]] January 13th, 2008

Surprisingly there are no complete blog postings or forum topics that tell you how to set up a UT3 Internet Server from start to finish…so here we go:

1. Open the ports

To play online, you need not only the UT3 ports, but also the GameSpy ports:

UDP:

  • 6500 (Query)
  • 6515 (Dplay UDP)
  • 7777 (Port for UT3 – default is 7777, you can change in server setup)
  • 13000 (Port for UT3)
  • 13139 (Custom UDP Pings)
  • 27900 (Master Server UDP Heartbeat)

TCP:

  • 3783 (Voice)
  • 6667 (IRC)
  • 28900 (Master Server List Request)
  • 29900 (GP Connection Manager)
  • 29901 (GP Search Manager)

Be sure to open the ports on your localhost as well (Windows Firewall, Linux Firewall, etc.)

2. Download the Dedicated Server Package.

You can get the Windows package from the EpicGames.com thread or directly from fileplanet.
You can get the Linux package here.

3. Install the Dedicated Server Package.

Once you finish downloading, unzip it to some kind of temporary location.
Run the SetupUT3.exe program, and follow through the install process.

4. Create your server’s GameSpy Account.

Before you’re able to do anything, you need to load the original game, and create an account for the server to use. Every instance of online UT3 requires a GameSpy account to play.

  1. Load the game (and log out if automatically logged in)
  2. Hit Create Profile at the bottom of the login screen
  3. Type in credentials for your new account
  4. Hit Create Profile, and then login to make sure they work.
  5. Log out.

5. Create the configuration script.

I made my configuration script using this website *this* website (via Boz), simply because it was easier than reading the wiki to figure out how everything works. Once that was done, I then went back to look at what everything was in the command line, and customized it according to the wiki.

Server:

  • Port: 7777
  • Login: <the new account you just created>
  • Password: <the password for your new account>
  • Server Description: <use this website to create a description>

Players:

  • Max Players: ## (max on the server)
  • Min. Players: ## (min real-players, not bots, before a match begins)
  • Number of Bots: ## (number of bots in the game – bots quit as humans join, unless configured to be vs humans)
  • **Public Connections: ## (max number of advertised connections)
  • **Private Connections: ## (reserve slots for local connections – i.e. you host the internet game on a server in your network, and you’re playing on another computer local to the server)
  • **Open Public Connections: ## (max number of public connections)

** These I’m not really sure about the descriptions. “Public Connections” does show max advertised for the server, but not sure about the others)

Game Setup:

  • Game Mode: <choose your game type>
  • Map Name: <be sure to choose an appropriate map for the game type. Find your maps available here in the configuration line for your game mode. I’ll get to that configuration further down.>
  • Goal Score: ## <max frags/caps before next map>
  • Time Limit: ## <timelimit for the map>
  • Versus Bots: #.# <here’s where you deicide if it will be humans vs bots>
  • Bot Skill: ## <1-6 bot skill, 1: Novice – 6: Godlike>

Game Flags:

  • Force Respawn: <make the user respawn upon death>
  • Pure Server: <game mode is forced on all maps, even maps belonging to other game modes>

Mutators:

  • Choose the mutators you want for the map

Community Options:

  • Allow Join in Progress: <allows people to join mid-game>
  • Allow Invites: <allow users to invite others to the game>
  • Uses Presence: <tell the Master Server that a user is playing on this server>
  • Allow Join via Presence: <allow friends of a user to follow the user currently playing on the server>

Server Options:

  • Advertise Server: <show it in the server browser>
  • Report Stats
  • Is LAN Only: <only a lan server?>
  • Is Dedicated: <is it a dedicated server?>

Passwords:

  • Game Password: <password to join the server>
  • Admin Password: <admin joining password>

Once you have done all those settings on the site, you click Create Lines button and come up with some code…your code will be all scrunched up into one line. Broken down it looks something like this (for Vehicle CTF):

ut3.exe Server
vCTF-Suspense?
ServerDescription=116000104000101000045000115000112000111000116000
MaxPlayers=12?
MinNetPlayers=1?
NumPlay=4?
NumPublicConnections=12?
NumPublicConnections=2?
NumOpenPublicConnections=12?
GoalScore=3?
TimeLimit=20?
VsBots=1.5?
BotSkill=4?
PureServer=1?
bAllowJoinInProgress=True?
bAllowInvites=True?
bUsesPresence=True?
bAllowJoinViaPresence=True?
bShouldAdvertise=True?
bUsesStats=True?
bIsLanMatch=False?
GamePassword=playme?
AdminPassword=bigbawls

-Port=7777
-Login=SurvurBocks
-Password=sekratshiz
-log=DedicatedServer.log

Note the red line of text: Change that from “NumPublicConnections” to NumPrivateConnections” – that is an error in the script creator’s website
Also note the orange line of text: If you’re not using the default 7777 port number as described above, then change that information here.
The blue lines of text are the server logins to play the game
The green lines of text are the GameSpy credentials for your server.

5b. Optional: Edit the DefaultGame.ini file to allow for map voting.

Chances are, you want to allow for map voting, or at least a map rotation…here’s how you do that:

  1. Locate the Dedicate Server files (e.g. “C:\Program Files\Unreal Tournament 3 (Dedicated)”) and navigate to “.\UTGame\Config”
  2. Change the Properties on the DefaultGame.ini to remove “Read-Only”, and then open it in Notepad and search for “bAllowMapVoting”
  3. Find your map-cycle-list here.
  4. Make sure your Game Mode is shown in the .ini file with maps to cycle. I know that on mine, the Vehicle CTF did not have a map rotation already in the .ini file, and I had to add it.

6. Create the batch file to load the server.

To make things easy on you, you’ll probably want to create a batch file to load the server with a single click. Here’s how you do that:

  1. Open Notepad
  2. Start off with the location of the Dedicated Server files (e.g. cd “C:\Program Files\Unreal Tournament 3 (Dedicated)\Binaries”)
  3. Then enter your commandline from above
  4. You should then have a batch file that looks something like this (only 2 lines, cd and ut3.exe):cd “C:\Program Files\Unreal Tournament 3 (Dedicated)\Binaries”
    ut3.exe Server
    [this should all be on one line]vCTF-Suspense?ServerDescription=11600010400010100
    0045000115000112000111000116000?MaxPlayers=12?Min
    NetPlayers=1?NumPlay=4?NumPublicConnections=12?Nu
    mPublicConnections=2?NumOpenPublicConnections=12?
    GoalScore=3?TimeLimit=20?VsBots=1.5?BotSkill=4?Pu
    reServer=1?bAllowJoinInProgress=True?bAllowInvite
    s=True?bUsesPresence=True?bAllowJoinViaPresence=T
    rue?bShouldAdvertise=True?bUsesStats=True?bIsLanM
    atch=False?GamePassword=playme?AdminPassword=bigb
    awls -Port=7777 -Login=SurvurBocks -Password=sekratshiz -log=DedicatedServer.log
    [/end one line]
  5. Save the file where ever you want to keep your server batch files, and then all you have to do is double click it to start your server.
  6. When the batch file runs, it should call the ut3 console and start processing the attributes in there. When the last line says “Log: GAME PATH IS UTVehicleCTFGame_Content” (or whatever game mode you’ve chosen) then your server is up, and ready to be searched for in the Server list. You’ll have to play around with the filter to find your server.

That’s all there is to it. At least, that’s all there was to mine.
Happy Fraggin’!

twitter.com/neotsn

Update: I don’t run my server much anymore – but when I did, it worked, and I followed these instructions. I can’t provide individual support for everyone that tries to create a server, but doesn’t figure it out by these steps. I documented everything I did, step-by-step, and put them here – I didn’t do anything extra or different from what’s here. So if you have trouble getting your server up, you’re just going to have to play around with it like everyone else did before you to get their server up.

Blogged with Flock

Tags: , , , , , , , , , , , ,

Technorati Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,

37 Responses

  1. Thanks for the pointers! I was having some difficulties getting my server up and running. Hopefully with these pointers I’ll get everything ship-shape tonight.

  2. Neo says:

    How did it go? Did you get your server up and running?

  3. Shivaxi says:

    This worked for me…sort of…see, other people can now join my server, but everytime i try i get kicked from the internet (using wireless internet) and i cant reconnect to my router unless i reboot the router.

    dunno if i did something wrong to where the router is seeing 2 connections from same comp and is kicking me or something…not sure…help?

  4. Jeff says:

    I got my server running, but for some reason it doesn’t prompt me for the password when I connect to it.

  5. Neo says:

    @shivaxi – I’m not sure what’s going on with that – if you’re running the server from the same computer you’re trying to play on that won’t work, and could be the problem. You have to run the server from a different computer than your game is being played on.

    @Jeff – see above, though I don’t know if it will help much – but could be the reason. If that is not the issue, then chances are you mis-typed the attribute for the server setup, or you didn’t set the particular password you’re expecting to see…when I join, I have a player password and an admin password – so it prompts me and friends when we connect, and based on the password I type in I get that particular set of abilities (admin or player). Double check your server call string (the long ass set of attributes and values) to make sure the password ones are spelled/typed right. If you have to, back up your current one, and create a new one.

    Sorry for the late response – the blog apparently didn’t notify me of new comments to be moderated.

  6. DevilChild says:

    hey there! i’ve successfully managed to get my server up, running and playable fine.. but for some reason it’s not reporting stats!

    I’ve been playing on my own server with my friend now for the last few weeks, and using bUsesStats=True, yet our leaderboard doesn’t show our kills / deaths / other stats changing

    Is there a server port i should have open for this? I’ve forwarded all above ports on my router and my PCs firewall is turned off, and nothing seems to be blocking any connections.

    Could you please help? :)

    P.S. Thanks for the port list! helped a lot :D

  7. [[Neo]] says:

    @DevilChild Hey man, you’re welcome. Glad the post could help. Unfortunately, I haven’t done anything with Server stats, so I don’t have any instructions for you. I actually don’t run my server very often, because my friends and I don’t play the game that much (half the friends are too busy to play, the other half don’t have good enough computers for the game).

    I’m assuming you have done a search for what the stats are actually supposed to look like, and how one goes about accessing them. The only thing I’ve got would be to tell you that they’re available in-game under Community -> Leaderboard and also online at enemydown.co.uk from a quick search I did. Hope that helps.

  8. DevilChild says:

    hey, yeah thats what i mean :P after playing a few games and ending up with a few hundred kills, even after a few weeks the stats on the leaderboard and enemydown.co.uk arent changing.. so i have no clue why :P

    i’ve been regularly checking enemydown.. but sadly even after disabling the computer firewall it doesnt update my kills or deaths etc..

    thanks for the quick reply! any clue where i could go for this, if you can’t help? :P not really incredibly important, just after lots of hard “work” xD be nice to have myself a little further up the leaderboard.

  9. [[Neo]] says:

    Sorry man…I got nothin’. Like I mentioned above, I haven’t done anything to set up server stats for the players on my own server, so I’m not sure how to go about it, or what all it takes.

    If I can find the time, I’ll look into it and see if I can find something, but right now, your guess is as good as mine.

  10. DevilChild says:

    kk thanks anyway, I appreciate it :)

  11. Ian says:

    Is it the same ports to host a game from within UT3, i.e. not running a dedicated server, but to select host a gane under multiplayer? I have a BT home hub, and I’ve opened all the ports above and forwarded them to my PC, then I have Trend Micro Internet Security, and I have opened all the same ports for incoming traffic. But I still get the message that my setup might not be suitable for hosting…..any ideas?

    You would think they would make this easy to make their game grow faster?

    Thanks

    Ian.

  12. Ian says:

    I meant to say, I’ve patched to version 1.2.

    Ian

  13. [[Neo]] says:

    Yes, I would think they’d make this easier to increase popularity. But to be honest with you man – I run my server very rarely these days, and everything that I did to get it to work was posted in the instructions up there – so that’s all I really know :-/ I don’t have enough experience setting it up to provide any customized tech support with it.

    I’d find the appropriate thread/forum at the epicgames.com forums and see if anyone there knows anything more.

    Sorry man.

  14. Fijut says:

    I followed this tutorial, and now i can’t open ut3.
    I’m not sure who’s fault it is, but as a warning, be careful.

  15. [[Neo]] says:

    @Fijut: I’m pretty sure you missed a step, because several people have followed it, and gotten it to work as far as it was meant to take them. I even took mine down, and rebuilt it according to only these steps when I wrote the post.

    I do know that you can’t run the server and play the game on the same computer – so maybe that’s where things went wrong for you. *shrug*

  16. Fijut says:

    can’t run and play? oh.

    anyway, i deleted my orignal user inis to see if the problem worked, it didn’t. So i deleted the ut3 dedicated folder, and the game ran again fine.

    I ran the server bat but the server doesn’t appear on the list, and to top it off, my inis reset themselves so i’ve lost some of my config.

    I think the problem was caused because after running the bat it asked to update inis… this is probably where i went wrong and clicked yes, since i assumed it would update the ut3 dedicated inis and not my own.

  17. [[Neo]] says:

    That is correct…updating the init, or whatever it asks you does reset some stuff. I learned that the hard way too, and not just once. So just tell it no, as I’m sure you figured out.

  18. Fijut says:

    the problem is, now if i host from in the game the normal way, i can’t see my server in the list anymore, when before i could but no one else can…

  19. [[Neo]] says:

    Well, I think I had that problem too, until I forwarded all the ports properly on the server and the firewall/router for my network.

    I know that for the counter strike source server that I put up, it took a couple days for it to appear on the master server list.

    So check your ports, and give it a couple days of running, and see what happens.

    I don’t really run mine anymore, because my friends and I have been playing on the CS:S server, so I’m not much Live-Help really…just have instructions for how I got mine going.

  20. Fijut says:

    i can see my server on the list now…

    if i can see it, does that mean other people can too?

  21. [[Neo]] says:

    Yup! Assuming you’re not looking at the LAN Servers, then it is on the Master Server list. See? I told you it takes a little bit of time :)

  22. Fijut says:

    apart from people i ask say they can’t see it.

  23. TylerD0815 says:

    Hi!

    Sry for my english but Iam from Austria.

    My Server runs great but one thing is really amusing.
    When we go to my server, the indicator of onlineplayers in server-browser is ok.
    But on maprestart or a new map starts, the indicator goes down to 0 from 12 online players.
    When a new player come to us or one goes away, the indicator goes up to right players number.
    My Server runs on Linux and have UT3 Dedicated 1.3 beta patch with exploit fix on it.
    Same problem with 1.2.
    I havent an idea whats the solution.
    I hope anyone can help!

    Yours sincerely
    TylerD0815

  24. [[Neo]] says:

    @TylerD0815 that is most likely because the number shows those who are actually in the game, not those that have a connection to the server. Once they join, they get added to the number of people in the game. It is normal operation – nothing you can fix about that.

  25. TylerD0815 says:

    First, thanks for answer!
    But also when e.g. 3 people play in game, the number shows nothing after mapchange (0/12).
    Also during play the match! (0/12)
    Only a newone comes, or someone go away. -> then the indicator goes to real number.
    This cant be normal i think.
    Otherwise was clearly why most servers are empty! :)

  26. [[Neo]] says:

    I’m not sure then, man. Like I mentioned in the post towards the bottom, I don’t run my server anymore, and never had to work through some of these issues that other people are having. I suggest some google searches and maybe try posting on the UT3 forums. That’s what I had to do in order to come up with the various steps to make the server. I just compiled it all in one blog posting for people to get a starting point and working server up.

    Sorry I couldn’t help you. If I come across the answer though, then I’ll be sure to update the posting.

  27. TylerD0815 says:

    OK, no problem!
    But thanks for answer!
    MFG
    TylerD0815

  28. TylerD0815 says:

    I have fix my problem with UT3fixer (Mutator).
    Yours sincerely
    TylerD0815

  29. [[Neo]] says:

    Awesome, thanks for posting the solution.

  30. [...] Quien tiene info de como montar un serv. Dedicado de ut3 ? Alguna guia … Windows How To: Setup a UT3 Internet Server | ThePizzy.net/blog FAQ:UT3 – UnrealAdminWiki Linux How to set up a Linux Dedicated Server – Epic Games Forums No [...]

  31. Boz says:

    I think the guy that wrote the configuration script generator that you used took it down or relocated it. It’s a 404 from here. I looked around, but didn’t seem to find it anywhere on his site.

    Great post. Hopefully this’ll save me some time.

  32. Boz says:

    Here’s an alternative to the command line generator you posted here.
    http://darkweb.nl/tools/ut3cmd/

    (found on Epic forums)

  33. Zachk says:

    I’m having trouble with loading the .bat.

    When I load it all it does it open then close right away, I even tried your settings with the same results.

    • [[Neo]] says:

      At the end of the .bat file, type: Pause
      Then it won’t close out, and you’ll be able to see the error message it’s giving – chances are it can’t the file you’re telling it to look for.

  34. Specht says:

    Everytime I create a server, people manage to join in and stuff, but my friend can’t see my server on the list, also, then when he creates a server in the campaign mode (which is what we want to play first), I can’t see his server, but when he creates a server in duel mode, I can see it on the list, but it keeps “connecting…”, but never actually does.

    Any ideas? (Maybe he should open the ports himself?)

    • [[Neo]] says:

      I don’t know for sure; but I do know that if he’s creating the server, then he needs to open the ports on his end as well.

      One of my friends wanted to create a server and it did the same thing on his computer, where I could see it, but it wouldn’t get past the “Connecting…” screen. I think his solution was to turn off his firewall completely, and that let me in just fine – however this is obviously not ideal.

      I would try having him turn off his firewall, because he seems to be the one having connection issues (whether it’s out to your computer, or in to his), and see if that fixes it. If it does, then you know the issues is with the ports. Beyond that, you might try posting in the EpicGames forums for more help, since as I mentioned above, I don’t really run my server anymore.

      Hope that gets you pointed in the right direction. If you get it figured out, come back and post a reply so others that might have the same issue will know what to do also.

Trackback URL for this entry

SEO Powered by Platinum SEO from Techblissonline