Dedicated server problem

edited 2012 Dec 6 in Technical Support
Hello!

Joining clients to the Deng Team servers works but I have a problem with starting multiplayer game on own dedicated server. Client computers and the server have the same version/compilation of jdoom (1.9.9), .wad file and firewall off. Server is in the LAN, NAT rules are configured on router, ports 13209 TCP/UDP are open and forwarding to the server. One client (192.168.1.10) is in the same LAN, second client ( 213.108.152.183) is in the internet.

On clients:
Chose join game -> master server / custom search -> select my server from list -> click 'connect to server' -> noting happens, multiplayer/join game screen appears again.

doomsday.out file on the server:
Executable: Doomsday Engine 1.9.9 (Stable 32-bit #638) Sep 29 2012 23:22:50.
Command line (24 strings):
  0: ..\Bin\Doomsday.exe
  1: -basedir
  2: C:\doom
  3: -userdir
  4: C:\doom\snowberry\runtime
  5: -dedicated
  6: -server
  7: -sfxchan
  8: 16
  9: -texcomp
  10: -wh
  11: 1280
  12: 800
  13: -game
  14: doom2
  15: -fullscreen
  16: -iwad
  17: C:\doom\wady\Doom2.wad
  18: -port
  19: 13209
  20: -p
  21: C:\doom\bin\autoexec.cfg
  22: -bpp
  23: 32
Sys_InitWindowManager: Using Qt window management.
Initializing plugins...

[...]


-----------------------------------------------------------------------------------------
DOOM 2: Hell on Earth
-----------------------------------------------------------------------------------------
Parsing additional (pre-init) config files:
  Processing "C:\doom\bin\autoexec.cfg"...
Listening on TCP port 13209.
NetSv_SendGameState: Game setup: doom2 MAP05 skill3 dm nomonst jump
Loading Map "MAP05"...
WadMapConverter: Recognized a Doom format map.
Building BSP using tunable split factor of 7...
BSP built: (12:13) 427 Nodes, 428 Leafs, 2134 HEdges, 207 Vertexes.
BSP built in 0.26 seconds.
Player starting spots:

Map 5: The Waste Tunnels
Author: id Software

Server "Test" started.
Accepted new connection from 192.168.1.10.
Socket: The remote host closed the connection
Connection to client closed on node 1.
Accepted new connection from 192.168.1.10.
Accepted new connection from 213.108.152.183.
Socket: The remote host closed the connection
Connection to client closed on node 1.
Accepted new connection from 213.108.152.183.
Accepted new connection from 213.108.152.183.
Socket: The remote host closed the connection
Connection to client closed on node 1.
Accepted new connection from 213.108.152.183.


doomsday.out on client:
[...]
Net_StartConnection: Connecting to 83.31.232.68...
LegacyNetwork::open > Socket: Connection opened to 83.31.232.68:13209.
Sent info query to 83.31.232.68 (port 13209).
Net_FinishConnection: Got reply with 195 bytes.
1 server has been found.
    Name:                P/M  L Ver:  Game:            Location:
0 : Test                 0/15   10907 jdoom 1.16.2     :13209
    MAP05 p:0ms Tescik                                  
    doom2 (crc:f36acb) skill3 dm nomonst jump
LegacyNetwork::open > Socket: Connection opened to 83.31.232.68:13209.
Connected.
Socket: The remote host closed the connection
There already is a finale running with ID "title"; won't execute again.


doomsday.out on client when joining successfull to the Deng Team server:

[...]
LegacyNetwork::open > Socket: Connection opened to 50.17.41.22:13210.
Connected.
NetCl_UpdatePlayerInfo: pl=1 color=1
Cl_AnswerHandshake: myConsole:1, remoteGameTime:76249.093750.
PE: (client) arrived in netgame.
Game state: Map=18 Episode=1 Skill=2 Co-op
  Respawn=no Monsters=yes Jumping=yes Gravity=1.0
Loading Map "MAP18"...
[...]


file \bin\autoexec.cfg on server:
server-game-deathmatch 1
server-game-nomonsters 1
server-game-skill 2
server-game-map 4
server-name "Test"
server-info "Tescik"
server-public 1

Comments

  • Does anybody know how to set up a dedicated server? :)
  • Thanks for the detailed report and log excerpts. From the looks of it, the connection between the client(s) and the server is formed as intended but for some reason is then immediately closed.

    First please check that the server and the clients are all using the same game mode (doom2) and the same IWAD.

    To clarify, neither client is able to hold a connection to the server? Not even the one on the same LAN?

    To verify that there is nothing fundamentally wrong, could you start a dedicated server on the same computer as one of the clients, and then try to connect to it from the client at address "localhost"?

    Mind you, I'm still working on the multiplayer/network code; it has not been fully restored after the 1.9 betas. The public deng team MP test server is the only officially supported multiplayer mode at the moment.
  • Thanks for reply.

    I think I tried everything, running the dedicated server and the client (connect to localhost via gui / via console) on the same machine too. The result was the same.

    None of the clients (on the same lan / on the internet / on the same computer) can hold a connection to my server.

    The server and the clients are all using the same game mode (doom2) and the same IWAD.

    PS. Sorry for my english :/
  • I'm having the same problem, also tried connecting on localhost, the problem is always the same:
    There already is a finale running with ID "title"; won't execute again.
    
    I'm trying to play a multiplayer LAN game with saving, is 1.8.6 the last version which supported that?
    Thanks!
  • The Dengine Team dedicated servers work well, so there is a possibility to run the own dedicated server without problems, but the question is, how to do this? What is the secret? :)
  • I've just tried to set up a server here too, got the same problem. I can join and play on the Master Servers without any issue, but when I try to connect to localhost (since I'm starting the server at the same PC, of course), I get back to the Multiplayer screen on the client and "Connection to client closed on node 1." on the server.

    Doomsday.out from serverside:
    Executable: Doomsday Engine 1.9.9 (Stable 32-bit #638) Sep 29 2012 23:22:50.
    Command line (8 strings):
      0: C:\Program Files (x86)\Doomsday\bin\Doomsday.exe
      1: -dedicated
      2: -iwad
      3: C:\Program Files (x86)\Doomsday\bin\Doom2.WAD
      4: -game
      5: doom2
      6: -p
      7: autoexec.cfg
    Sys_InitWindowManager: Using Qt window management.
    Initializing plugins...
      jDoom
      jHeretic
      jHexen
      dpdehread
      dpwadmapconverter
    Starting LegacyCore event loop...
    Setting up platform state...
    Audio configuration (by decreasing priority):
      SFX  : Dummy
    Music disabled.
    Initializing Resource subsystem...
    Initializing Binding subsystem...
    Initializing InFine subsystem...
    Initializing UI subsystem...
    Loading game resources...
      IWAD identification: 00f8ccf8
    "data\jdoom\auto\.basedata\bigfn032.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb032.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb033.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb034.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb035.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb036.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb037.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb038.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb039.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb040.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb041.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb042.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb043.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb044.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb045.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb046.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb047.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb048.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb049.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb050.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb051.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb052.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb053.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb054.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb055.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb056.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb057.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb058.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb059.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb060.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb061.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb062.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb063.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb064.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb065.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb066.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb067.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb068.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb069.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb070.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb071.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb072.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb073.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb074.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb075.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb076.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb077.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb078.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb079.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb080.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb081.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb082.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb083.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb084.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb085.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb086.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb087.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb088.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb089.lmp" already loaded.
    "data\jdoom\auto\.basedata\fontb090.lmp" already loaded.
    "data\jdoom\auto\.basedata\mapmask.lmp" already loaded.
    "data\jdoom\auto\.basedata\menufog.lmp" already loaded.
    "data\jdoom\auto\.basedata\m_thermm.lmp" already loaded.
    "data\jdoom\auto\.basedata\pal18to8.lmp" already loaded.
    "data\jdoom\auto\.basedata\sndcurve.lmp" already loaded.
    "data\jdoom\auto\.basedata\stcfn032.lmp" already loaded.
    Parsing primary config "configs\doom\game.cfg"...
    Parsing definition files...
    Warning: Unknown texture "system:unknown" in Material "system:unknown" (layer 0 stage 0).
    Warning: Unknown texture "system:missing" in Material "system:missing" (layer 0 stage 0).
    Warning: Unknown texture "system:bbox" in Material "system:bbox" (layer 0 stage 0).
    Warning: Unknown texture "system:gray" in Material "system:gray" (layer 0 stage 0).
    Definitions:
       48 animation groups
        6 composite fonts
       10 finales
        9 lights
       33 map infos
        4 materials
       27 particle generators
        3 skies
       36 songs
      110 sound effects
      138 sprite names
      974 states
       51 surface decorations
      368 text strings
       11 texture environments
      140 things
    -----------------------------------------------------------------------------------------
    DOOM 2: Hell on Earth
    -----------------------------------------------------------------------------------------
    server-game-respawn = 0
    Network initialization OK.
    Listening on TCP port 13209.
    NetSv_SendGameState: Game setup: doom2 MAP01 skill4 coop
    Loading Map "MAP01"...
    WadMapConverter: Recognized a Doom format map.
    Building BSP using tunable split factor of 7...
    BSP built: (13:12) 205 Nodes, 206 Leafs, 1062 HEdges, 131 Vertexes.
    BSP built in 0.04 seconds.
    Player starting spots:
    
    Map 1: Entryway
    Author: id Software
    
    Server "HUE" started.
    Parsing additional (pre-init) config files:
      Processing "autoexec.cfg"...
    server-game-respawn = 0
    Network initialization OK.
    Listening on TCP port 13209.
    NetSv_SendGameState: Game setup: doom2 MAP01 skill4 coop
    Loading Map "MAP01"...
    WadMapConverter: Recognized a Doom format map.
    Building BSP using tunable split factor of 7...
    BSP built: (13:12) 205 Nodes, 206 Leafs, 1062 HEdges, 131 Vertexes.
    BSP built in 0.04 seconds.
    Player starting spots:
    
    Map 1: Entryway
    Author: id Software
    
    Server "HUE" started.
    MasterWorker: Connection refused
    MasterWorker: Connection refused
    MasterWorker: Connection refused
    MasterWorker: Connection refused
    Accepted new connection from 127.0.0.1.
    Socket: The remote host closed the connection
    Connection to client closed on node 1.
    Accepted new connection from 127.0.0.1.
    MasterWorker: Connection refused
    

    Not working from other connections comming from the internet as well (my friend was trying to join too).

    Any ideas on the subject?

    BTW, i was using an old 1.8.x Beta DE. Just uninstalled it and reinstalled the 1.9.9. Maybe has anything to do with the issue...?

    Thanks!
  • Hi,
    i have the same problems. Can someone post the config from the master-server(s)? I want to try if this config works...

    Thank you.

    gz MaHop
Sign In or Register to comment.