I'm new in UDK and I'm starting to develop online multiplayer games. There is a one problem, I couldn't find any tutorials about how to make a game server using udk. I suppose, that it uses unreal script. But that's about all I know about it. So I'd really like for some help.

  • \$\begingroup\$ Are you looking for tutorials or are you looking for someone to tell you all the steps for making a server? \$\endgroup\$ – MichaelHouse Jul 7 '12 at 20:14
  • \$\begingroup\$ I need someone to tell all the steps... \$\endgroup\$ – The amateur programmer Jul 8 '12 at 6:30
  • \$\begingroup\$ I need to make the client so, that whenever player goes to game, server automatically opens the map in it. I also need the server to be able to run multiple maps at the same time... So any ideas? \$\endgroup\$ – The amateur programmer Jul 9 '12 at 8:05
  • \$\begingroup\$ A server can't run multiple maps at the same time. You can open multiple instances of the UDK and create multiple servers. I'm sure there's a way to set them up on different ports, but I'm not sure how to do that. I really recommend checking out the UDK forums or UDN. \$\endgroup\$ – Phillip Jul 9 '12 at 14:59
  • \$\begingroup\$ I already tried to find information from there, but I cant find what Im lookin for \$\endgroup\$ – The amateur programmer Jul 9 '12 at 19:42

To launch a dedicated global server, run:

UDK.exe server yourmap

For a listen server, launch the game with your desired map as normal and append ?listen:

UDK.exe yourmap?listen

For a lan server, append ?lan to the map name (e.g. UDK.exe server yourmap?lan)

To connect to the server, you can start the game with your IP address instead of a map:

UDK.exe yourIPaddress

or from an already-running game, open the console and type either open yourIPaddress or connect yourIPaddress.

  • \$\begingroup\$ What is lan and listen server difference? \$\endgroup\$ – The amateur programmer Jul 9 '12 at 7:24
  • \$\begingroup\$ And are those lines runned in unrealscript or command line? \$\endgroup\$ – The amateur programmer Jul 9 '12 at 8:01
  • \$\begingroup\$ A listen server is a client that is also a server (so a server that is also able to play the game). A LAN server runs on your local network, whereas a "global" server has the potential to run over the internet (though I'm not sure if UDK supports that feature; you might look into the UDK forums or the documentation at udn.epicgames.com). \$\endgroup\$ – Phillip Jul 9 '12 at 14:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.