Multiplayer doomsday-host help
I have compiled doomsday with CONFIG+=deng_host
and have followed the wiki, but... don't understand the
what's the difference between the cfg files?
is the first one like autoexec.conf?
and have followed the wiki, but... don't understand the
<hostconfig> <doomsday>/home/jaakko/usr/bin/doomsday-server</doomsday> <option>-parse</option> <option>/home/jaakko/host.cfg</option>and then
<server port="13209" game="doom1-ultimate" name="Deng Team (Co-op)" info="Public multiplayer testing; everyone is welcome to join" dir="/home/jaakko/runtime/doom"> <option>-parse</option> <option>/home/jaakko/coop.cfg</option>
what's the difference between the cfg files?
is the first one like autoexec.conf?

Comments
So in that example I have "host.cfg" containing variables that apply to all the configured servers, and "coop.cfg" is a smaller config that justs defines coop game rules. On our test server, "host.cfg" is for the common setup while different game rules (dm, coop) are set up using separate files.
If you're only running a single server, you'll probably only need a single .cfg.
I just got this output running doomsday-host
[dave@theHostess bin]$ ./doomsday-host /home/dave/.doomsdayhost.pid is stale, ignoring it. Traceback (most recent call last): File "./doomsday-host", line 360, in <module> main() File "./doomsday-host", line 323, in main cfg = parseConfig(homeFile('.doomsdayhostrc')) File "./doomsday-host", line 107, in parseConfig mainLogFileName = getContent(cfg.getElementsByTagName('logFile')[0]) IndexError: list index out of rangeMy Doomsday servers wont start
I get this in the doomsdayhost.log
There is no doomsday.out log file
[dave@theHostess qm]$ /opt/doomsday/bin/doomsday-server -stdout -game doom2 -file /opt/doomwads/DOOM2.wad Library_New: Error opening "/bin/libdoom.so": [LoadError] (Library::Library) Cannot load library /opt/doomsday/lib/doomsday/ libdoom.so: (libassimp.so.3: cannot open shared object file: No such file or directory) Failed to load "/bin/libdoom.so": [LoadError] (Library::Library) Cannot load library /opt/ doomsday/lib/doomsday/libdoom.so: (libassimp.so.3: cannot open shared object file: No such file or directory) Library_New: Error opening "/bin/libdoom64.so": [LoadError] (Library::Library) Cannot load library /opt/doomsday/lib/doomsday/ libdoom64.so: (libassimp.so.3: cannot open shared object file: No such file or directory) Failed to load "/bin/libdoom64.so": [LoadError] (Library::Library) Cannot load library / opt/doomsday/lib/doomsday/libdoom64.so: (libassimp.so.3: cannot open shared object file: No such file or directory) Library_New: Error opening "/bin/libheretic.so": [LoadError] (Library::Library) Cannot load library /opt/doomsday/lib/doomsday/ libheretic.so: (libassimp.so.3: cannot open shared object file: No such file or directory) Failed to load "/bin/libheretic.so": [LoadError] (Library::Library) Cannot load library / opt/doomsday/lib/doomsday/libheretic.so: (libassimp.so.3: cannot open shared object file: No such file or directory) Library_New: Error opening "/bin/libhexen.so": [LoadError] (Library::Library) Cannot load library /opt/doomsday/lib/doomsday/ libhexen.so: (libassimp.so.3: cannot open shared object file: No such file or directory) Failed to load "/bin/libhexen.so": [LoadError] (Library::Library) Cannot load library / opt/doomsday/lib/doomsday/libhexen.so: (libassimp.so.3: cannot open shared object file: No such file or directory) Application path: /opt/doomsday/bin/doomsday-server Created a new 32.0 MB memory volume. Executable: Doomsday Engine 1.15.0 (Unstable 64-bit) May 20 2014 17:54:36 Command line options: 0: /opt/doomsday/bin/doomsday-server 1: -stdout 2: -game 3: doom2 4: -file 5: /opt/doomwads/DOOM2.wad No playable games available. Z_Shutdown: Used 1 volumes, total 33554432 bytes. [dave@theHostess qm]$libassimp location
Tree of the install dir
[dave@theHostess qm]$ tree /opt/doomsday/ /opt/doomsday/ ├── bin │ ├── doomsday │ ├── doomsday-host │ ├── doomsday-server │ └── launch-doomsday ├── lib │ ├── doomsday │ │ ├── libdehread.so -> libdehread.so.2.0.0 │ │ ├── libdehread.so.2 -> libdehread.so.2.0.0 │ │ ├── libdehread.so.2.0 -> libdehread.so.2.0.0 │ │ ├── libdehread.so.2.0.0 │ │ ├── libdoom64.so -> libdoom64.so.1.15.0 │ │ ├── libdoom64.so.1 -> libdoom64.so.1.15.0 │ │ ├── libdoom64.so.1.15 -> libdoom64.so.1.15.0 │ │ ├── libdoom64.so.1.15.0 │ │ ├── libdoom.so -> libdoom.so.1.15.0 │ │ ├── libdoom.so.1 -> libdoom.so.1.15.0 │ │ ├── libdoom.so.1.15 -> libdoom.so.1.15.0 │ │ ├── libdoom.so.1.15.0 │ │ ├── libexample.so -> libexample.so.1.2.0 │ │ ├── libexample.so.1 -> libexample.so.1.2.0 │ │ ├── libexample.so.1.2 -> libexample.so.1.2.0 │ │ ├── libexample.so.1.2.0 │ │ ├── libheretic.so -> libheretic.so.1.15.0 │ │ ├── libheretic.so.1 -> libheretic.so.1.15.0 │ │ ├── libheretic.so.1.15 -> libheretic.so.1.15.0 │ │ ├── libheretic.so.1.15.0 │ │ ├── libhexen.so -> libhexen.so.1.15.0 │ │ ├── libhexen.so.1 -> libhexen.so.1.15.0 │ │ ├── libhexen.so.1.15 -> libhexen.so.1.15.0 │ │ ├── libhexen.so.1.15.0 │ │ ├── libsavegameconverter.so -> libsavegameconverter.so.1.0.0 │ │ ├── libsavegameconverter.so.1 -> libsavegameconverter.so.1.0.0 │ │ ├── libsavegameconverter.so.1.0 -> libsavegameconverter.so.1.0.0 │ │ ├── libsavegameconverter.so.1.0.0 │ │ ├── libwadmapconverter.so -> libwadmapconverter.so.1.1.1 │ │ ├── libwadmapconverter.so.1 -> libwadmapconverter.so.1.1.1 │ │ ├── libwadmapconverter.so.1.1 -> libwadmapconverter.so.1.1.1 │ │ └── libwadmapconverter.so.1.1.1 │ ├── libdeng_appfw.so -> libdeng_appfw.so.1.15.0 │ ├── libdeng_appfw.so.1 -> libdeng_appfw.so.1.15.0 │ ├── libdeng_appfw.so.1.15 -> libdeng_appfw.so.1.15.0 │ ├── libdeng_appfw.so.1.15.0 │ ├── libdeng_core.so -> libdeng_core.so.2.0.0 │ ├── libdeng_core.so.2 -> libdeng_core.so.2.0.0 │ ├── libdeng_core.so.2.0 -> libdeng_core.so.2.0.0 │ ├── libdeng_core.so.2.0.0 │ ├── libdeng_gui.so -> libdeng_gui.so.1.15.0 │ ├── libdeng_gui.so.1 -> libdeng_gui.so.1.15.0 │ ├── libdeng_gui.so.1.15 -> libdeng_gui.so.1.15.0 │ ├── libdeng_gui.so.1.15.0 │ ├── libdeng_legacy.so -> libdeng_legacy.so.1.15.0 │ ├── libdeng_legacy.so.1 -> libdeng_legacy.so.1.15.0 │ ├── libdeng_legacy.so.1.15 -> libdeng_legacy.so.1.15.0 │ ├── libdeng_legacy.so.1.15.0 │ ├── libdeng_shell.so -> libdeng_shell.so.1.15.0 │ ├── libdeng_shell.so.1 -> libdeng_shell.so.1.15.0 │ ├── libdeng_shell.so.1.15 -> libdeng_shell.so.1.15.0 │ ├── libdeng_shell.so.1.15.0 │ ├── libdoomsday.so -> libdoomsday.so.1.15.0 │ ├── libdoomsday.so.1 -> libdoomsday.so.1.15.0 │ ├── libdoomsday.so.1.15 -> libdoomsday.so.1.15.0 │ └── libdoomsday.so.1.15.0 └── share ├── applications │ └── doomsday-engine.desktop └── doomsday ├── data │ ├── doomsday.pk3 │ ├── fonts │ │ ├── console11.dfn │ │ ├── console14.dfn │ │ ├── console18.dfn │ │ ├── normal12.dfn │ │ ├── normal18.dfn │ │ ├── normal24.dfn │ │ ├── normalbold12.dfn │ │ ├── normalbold18.dfn │ │ ├── normalbold24.dfn │ │ ├── normallight12.dfn │ │ ├── normallight18.dfn │ │ └── normallight24.dfn │ ├── jdoom │ │ └── libdoom.pk3 │ ├── jdoom64 │ │ └── libdoom64.pk3 │ ├── jheretic │ │ └── libheretic.pk3 │ └── jhexen │ └── libhexen.pk3 ├── modules │ ├── appconfig.de │ ├── bootstrap.de │ ├── Config.de │ ├── gui.de │ ├── Log.de │ ├── recutil.de │ └── Updater.de └── snowberry ├── cfparser.py ├── conf │ ├── snowberry.conf │ ├── x-appearance.conf │ ├── x-components.conf │ └── x-doomsday.conf ├── events.py ├── graphics │ ├── about.jpg │ ├── addons.png │ ├── banner-default.png │ ├── banner-doom1.jpg │ ├── banner-doom1-share.jpg │ ├── banner-doom1-ultimate.jpg │ ├── banner-doom2.jpg │ ├── banner-doom2-plut.jpg │ ├── banner-doom2-tnt.jpg │ ├── banner-heretic.jpg │ ├── banner-hexen-demo.jpg │ ├── banner-hexen-dk.jpg │ ├── banner-hexen.jpg │ ├── checked.bmp │ ├── closedfolder.bmp │ ├── defaults.png │ ├── defcheck.bmp │ ├── deng2.bmp │ ├── deng3.bmp │ ├── deng4.bmp │ ├── deng.png │ ├── developer.png │ ├── display.png │ ├── general.png │ ├── graphics.png │ ├── help-logo.jpg │ ├── input.png │ ├── openfolder.bmp │ ├── orb-doom.png │ ├── orb-heretic.png │ ├── orb-hexen.png │ ├── scaled27x27-defaults.png │ ├── scaled27x27-orb-doom.png │ ├── scaled27x27-orb-heretic.png │ ├── scaled27x27-orb-hexen.png │ ├── snowberry.icns │ ├── snowberry.ico │ ├── snowberry.png │ ├── sound.png │ ├── unchecked.bmp │ ├── uninstaller.ico │ └── wizard.png ├── host.py ├── lang │ ├── english.lang │ ├── finnish.lang │ ├── german.lang │ ├── italian.lang │ └── portuguese-br.lang ├── language.py ├── logger.py ├── paths.py ├── plugins │ ├── about.py │ ├── help.py │ ├── launcher.py │ ├── observer.py │ ├── preferences.py │ ├── profilelist.py │ ├── tab10_summary.py │ ├── tab20_maps.py │ ├── tab30.plugin │ │ └── Contents │ │ └── tab30 │ │ ├── __init__.py │ │ ├── inspector.py │ │ ├── installer.py │ │ ├── loadorder.py │ │ └── main.py │ ├── tab40_settings.py │ └── wizard.py ├── plugins.py ├── profiles │ ├── defaults.prof │ ├── doom1.prof │ ├── doom1-share.prof │ ├── doom1-ultimate.prof │ ├── doom2-plut.prof │ ├── doom2.prof │ ├── doom2-tnt.prof │ ├── doomchex.prof │ ├── hacx.prof │ ├── heretic-ext.prof │ ├── heretic.prof │ ├── heretic-share.prof │ ├── hexen-demo.prof │ ├── hexen-dk.prof │ ├── hexen.prof │ └── README ├── sb │ ├── addon.py │ ├── aodb.py │ ├── confdb.py │ ├── conf.py │ ├── expressions.py │ ├── __init__.py │ ├── profdb.py │ ├── profile.py │ ├── util │ │ ├── dialog.py │ │ └── __init__.py │ └── widget │ ├── area.py │ ├── bar.py │ ├── base.py │ ├── button.py │ ├── field.py │ ├── __init__.py │ ├── list.py │ ├── tab.py │ ├── text.py │ └── tree.py ├── snowberry.py ├── ui.py └── widgets.py 25 directories, 197 files [dave@theHostess qm]$Which options are you using for the build?
I also just tried putting this in config_user.pri and compiled again with
/usr/local/Trolltech/Qt-4.8.5/bin/qmake -r ../doomsday/doomsday.pro CONFIG+=deng_notools CONFIG+=deng_host
but I still get the same error about libassimp
Does "external/assimp/lib/libassimp.so.3" exist in your source folder? I.e., the assumption is that an in-tree build was made with cmake, in "external/assimp".
then compiled doomsday with "/usr/local/Trolltech/Qt-4.8.5/bin/qmake -r ../doomsday/doomsday.pro CONFIG+=deng_notools CONFIG+=deng_host CONFIG+=deng_extassimp" and it's now working.
thanks for the help.:)
Servers are now back up