[1.16 Steam] Not possible to host game

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Skwara
Posts: 2
Joined: December 8th, 2020, 8:34 pm

[1.16 Steam] Not possible to host game

Post by Skwara »

Hello,

I recently installed Wesnoth 1.16.0 via Steam. I only changed language to English (GB) and tried to "Host Networked Game".

In game I'm getting: Connection failed: No connection could be made because the target machine actively refused it.

When I try to run wesnothd.exe manually, I'm getting The code execution cannot proceed because libboost_coroutine-mt.dll was not found. Reinstalling the program may fix this problem. Same thing pops up when trying to host from game when it's windowed.

I looked into the game directory and I see some boost dlls but not the libboost_coroutine-mt.dll one. I tried reinstalling or installing without Steam, every time the library is missing.

I took a look into the source and I see you're linking with Boost::coroutine but I don't see it being used in the server's code. Maybe it's a leftover?

I tried wesnoth 1.14.17 and there I am able to host a server without problems.

Below I pasted the system info from the game "i" button and logs.

In the meantime, could you upload the library somewhere for me to test if that helps?

Code: Select all

The Battle for Wesnoth version 1.16.0 x86_64
Running on Microsoft Windows 10 21H1 (10.0.19043) x86_64
Distribution channel: Steam

Game paths
==========

Data dir:        C:\Program Files (x86)\Steam\steamapps\common\wesnoth
User config dir: C:\Users\USER\Documents\My Games\Wesnoth1.16
User data dir:   C:\Users\USER\Documents\My Games\Wesnoth1.16
Saves dir:       C:\Users\USER\Documents\My Games\Wesnoth1.16\saves
Add-ons dir:     C:\Users\USER\Documents\My Games\Wesnoth1.16\data\add-ons
Cache dir:       C:\Users\USER\Documents\My Games\Wesnoth1.16\cache

Libraries
=========

Boost:             1.74
Lua:               5.4.2
OpenSSL/libcrypto: 1.1.1i (runtime 1.1.1i)
Cairo:             1.17.4 (runtime 1.17.4)
Pango:             1.48.0 (runtime 1.48.0)
SDL:               2.0.12 (runtime 2.0.12)
SDL_image:         2.0.5 (runtime 2.0.5)
SDL_mixer:         2.0.4 (runtime 2.0.4)

Features
========

Lua console completion:       yes
Win32 notifications back end: yes

Current video settings
======================

SDL video drivers:       [windows] dummy
Window size:             1920x1200
Screen refresh rate:     60
Screen dots per inch:    96.000000x96.000000
Screen dpi scale factor: 1.000000x1.000000

Current audio settings
======================

SDL audio drivers:  [wasapi] directsound
Number of channels: 2
Output rate:        44100 Hz
Sample format:      signed 16 bit little-endian
Sample size:        4096 bytes

Installed add-ons
=================

No add-ons installed.

Code: Select all

Battle for Wesnoth v1.16.0 x86_64
Started on Mon Oct 25 22:52:23 2021

Automatically found a possible data directory at C:\Program Files (x86)\Steam\steamapps\common\wesnoth

Data directory:               C:\Program Files (x86)\Steam\steamapps\common\wesnoth
User configuration directory: C:\Users\USER\Documents\My Games\Wesnoth1.16
User data directory:          C:\Users\USER\Documents\My Games\Wesnoth1.16
Cache directory:              C:\Users\USER\Documents\My Games\Wesnoth1.16\cache

Setting mode to 1280x1024
Checking lua scripts... ok
20211025 22:52:31 error network: Tried all IPs. Giving up
20211025 22:52:31 warning network: wait_for_handshake Rethrowing: system:10061
20211025 22:52:31 error network: caught network error: No connection could be made because the target machine actively refused it
20211025 22:52:31 error general: Connection failed: No connection could be made because the target machine actively refused it
User avatar
loonycyborg
Windows Packager
Posts: 295
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: [1.16 Steam] Not possible to host game

Post by loonycyborg »

Seems this is one dependency that is wesnothd only. I'll update automatic dll gathering to look at wesnothd too later, for now you maybe can get that dll here: https://repo.msys2.org/mingw/mingw64/mi ... kg.tar.zst
"meh." - zookeeper
Skwara
Posts: 2
Joined: December 8th, 2020, 8:34 pm

Re: [1.16 Steam] Not possible to host game

Post by Skwara »

loonycyborg wrote: October 25th, 2021, 9:57 pm Seems this is one dependency that is wesnothd only. I'll update automatic dll gathering to look at wesnothd too later, for now you maybe can get that dll here: https://repo.msys2.org/mingw/mingw64/mi ... kg.tar.zst
Thanks. It helped. I also had to copy libboost_context-mt.dll.
Post Reply