Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

share|improve this question
    
Are you looking for tutorials or are you looking for someone to tell you all the steps for making a server? –  Byte56 Jul 7 '12 at 20:14
    
I need someone to tell all the steps... –  The amateur programmer Jul 8 '12 at 6:30
    
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? –  The amateur programmer Jul 9 '12 at 8:05
    
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. –  Phillip Jul 9 '12 at 14:59
    
I already tried to find information from there, but I cant find what Im lookin for –  The amateur programmer Jul 9 '12 at 19:42

1 Answer 1

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.

share|improve this answer
    
What is lan and listen server difference? –  The amateur programmer Jul 9 '12 at 7:24
    
And are those lines runned in unrealscript or command line? –  The amateur programmer Jul 9 '12 at 8:01
    
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). –  Phillip Jul 9 '12 at 14:58
1  
Just curious: why did you accept my answer and then un-accept it? –  Phillip Oct 4 '12 at 23:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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