Announcement

Collapse
No announcement yet.

A test server?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    A test server?

    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?

    #2
    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

    Comment


      #3
      Yeah, but I have almost next to no cash.

      Comment


        #4
        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
        Then the client:

        Code:
        C:\UDK\UDK-InstallLocation\Binaries\Win32\UDK.exe 127.0.0.1 -log
        For another computer on the LAN, you just need to find your local IP address (run a command prompt and execute "ipconfig", the .100 part is the one that will change):

        Code:
        C:\UDK\UDK-InstallLocation\Binaries\Win32\UDK.exe 192.168.1.100 -log

        Comment


          #5
          oh my! look who's telling other people to use google now...


          to the OP: what Angel Mapper said.

          additionally, instead of having to launch a dedicated server (which has no gameplay) you can launch a listen server (which runs as both server and client)
          Code:
          UDK.exe MapName.udk?listen

          Comment


            #6
            Thanks! I can now start up a server using both the ?listen and the lanplay method. The only issue is that I can not get another computer to join in on the server. I can type in the command to join but the other computer just opens the udk game menu. I still dont get why.

            Comment


              #7
              Can you show us what batch file code you're running on what computer and how exactly you're trying to do it?

              There's so many different ways to do it it will make it easier to trouble shoot if we knew which way you're trying

              Comment


                #8
                I dont really use batch, I just use the command prompt...

                Comment


                  #9
                  Okay I made a batch file and the one I run the server with is:
                  C:\UDK\UDK-2013-02\Binaries\Win32\UDK.exe map_ASAP_05_Day.udklisten
                  The batch on the other computer to join the server is:
                  C:\UDK\UDK-2012-10\Binaries\Win32\UDK.exe 192.168.0.181 -log

                  Comment


                    #10
                    try ...Day.udk?listen

                    Comment


                      #11
                      oops...and...it still doesnt work.

                      Comment


                        #12
                        maybe it could be because you've got different udk versions installed?

                        i never tried this with udk itself, only with installed games.

                        Comment


                          #13
                          that could be...should I also have the map on both computers?

                          Comment


                            #14
                            yes
                            You definitely need all the files on both computers.

                            Comment


                              #15
                              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
                              You don't have to add ?Game... after listen but it will make things easier because it will load you into your custom game right away if thats what you want

                              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
                              The batch file your using to join on a lan is correct.

                              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

                              Working...
                              X