Announcement

Collapse
No announcement yet.

WorldInfo.NetMode stays Standalone when starting Server from Menu

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

    WorldInfo.NetMode stays Standalone when starting Server from Menu

    Hi all,

    I've been working with UDK recently and am now trying to get a Multiplayermode to work.
    First of all, I know there are a lot of posts and tutorials on how to implement multiplayer in UDK, I guess I looked into most of them, but there was nothing that could help me, so...

    I tried to start a Lanserver from menu, which - as for I know - should be done easily by ConsoleCommand("open <MapName>?Listen").
    Map does load, and the game is playable.
    Problem: It's not a Server, WorldInfo.NetMode stays NM_Standalone.

    If I start the Game via CommandLine (<Path>/udk.exe <MapPath>?listen) everything works fine, NetLoad ist NM_ListenServer and the Game is joinable via Lan.

    Difference in the logs:
    Log when loaded from CommandLine:
    [...]
    Log: Game class is 'MyMPGame'
    Init: WinSock: Socket queue 131072 / 131072
    Log: NetMode is now 2
    Log: Primary PhysX scene will be in software.
    [...]

    Log when loaded from Menu:
    [...]
    Log: Game class is 'MyMPGame'
    Log: Primary PhysX scene will be in software
    [...]

    There are no Warnings or Errors prior.
    I'm quite out of options, thanks for your help.

    Greetings,
    caze
Working...
X