I'm both extremely new to UDK and programming and yet I was pulled into a project as a programmer. I really need to build a server to do some alpha testing but unfortunately everywhere I look does no provide answers to my question. How do I set up a server so my partners and I could test out our game?
Announcement
Collapse
No announcement yet.
A test server?
Collapse
X
-
GO read unrealscript beginners book guide ! www.google.com , there's a chapter of MP and tells you how to set up both C and S
-
You can run the server on the same computer as the client, just create two batch files. The first one for the server:
Code:C:\UDK\UDK-InstallLocation\Binaries\Win32\UDK.exe server MapName.udk?Game=MyPackage.MyGame -lanplay
Code:C:\UDK\UDK-InstallLocation\Binaries\Win32\UDK.exe 127.0.0.1 -log
Code:C:\UDK\UDK-InstallLocation\Binaries\Win32\UDK.exe 192.168.1.100 -log
Comment
-
I'm assuming your full map name is map_ASAP_05_Day ?
If so then to start up a listen server (server with a client running at the same time) change your batch file to
Code:C:\UDK\UDK-2013-02\Binaries\Win32\UDK.exe map_ASAP_05_Day?listen?Game=yourgamepackage.yourgameinfoclass
If you want a dedicated server, where its just a server then do this
Code:C:\UDK\UDK-2013-02\Binaries\Win32\UDK.exe server map_ASAP_05_Day
Edit: ah I got ninjad a bunch of times. Yes if you want to give this game to friends its best you package it in unreal frontend first and then give it to them.
Then instead of changing batch files, you just change the target location in your games shortcut icon.
Comment
Comment