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\$
\$\endgroup\$
6
-
\$\begingroup\$ Are you looking for tutorials or are you looking for someone to tell you all the steps for making a server? \$\endgroup\$– HouseCommented Jul 7, 2012 at 20:14
-
\$\begingroup\$ I need someone to tell all the steps... \$\endgroup\$– The amateur programmerCommented Jul 8, 2012 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 programmerCommented Jul 9, 2012 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\$– PhillipCommented Jul 9, 2012 at 14:59
-
\$\begingroup\$ I already tried to find information from there, but I cant find what Im lookin for \$\endgroup\$– The amateur programmerCommented Jul 9, 2012 at 19:42
|
Show 1 more comment
1 Answer
\$\begingroup\$
\$\endgroup\$
3
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\$ Commented Jul 9, 2012 at 7:24
-
\$\begingroup\$ And are those lines runned in unrealscript or command line? \$\endgroup\$ Commented Jul 9, 2012 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\$– PhillipCommented Jul 9, 2012 at 14:58