Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Diablo → [Solved] D2GS 1.13c on Wine: "Diablo II was unable to connect..."

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 5

1

Topic: [Solved] D2GS 1.13c on Wine: "Diablo II was unable to connect..."

Hello everybody!

I'm having trouble setting up D2GS (1.13c from https://pvpgn.pro/download/d2gs/D2GS-113-build01.rar) via headless Wine 2.01. with the latest PVPGN (from github) on Ubuntu 16.04 behind NAT.

Here is what I did:

  • Compiled PVPGN with MYSQL support

  • Compiled the Wine 2.0.1 source with applied sock.c patch

  • Configured all PVPGN files, the d2gs.dll, the port forwarding of ports 6112,6113,6114 and 4000

  • Imported the .dll in the Wine registry, copied the D2 data files (MPQs and such)

(the above steps are much more detailed and may serve as a HOWTO as long as I get it all to work smile)

All servers run from a single IP.
All ports can be reached from the machine I'm running the game from (telnet to the public IP and the desired port connects).

However, when I run D2LOD (1.13c, I was surprised that the game itself reports 1.13 without the 'c', but the 1.13c patch said the game versions are the same and nothing is to be patched) I can successfully log in my test realm, but after a little waiting on screen showing

Connecting...

I get the following error:

Diablo II was unable to connect to the realm server. The realm you selected may be unavailable or you may be encountering connection issues. Please make sure your internet connection is working properly and/or your firewall has port 6112 opened.

I've increased the log verbosity for bnetd, d2cs and d2dbs, but they do not show anything interesting (I've attached a zip file with all 4 logs to the thread).

I hope that ports 6112 and 4000 on the client machine do not have to be reachable from the server since port forwarding from my ISP is not a viable option at the moment and that would be a major inconvenience.

Has anyone come across such an issue?
Thanks for any help!
Ivan.

2

Re: [Solved] D2GS 1.13c on Wine: "Diablo II was unable to connect..."

How did you set address_translation.conf

3

Re: [Solved] D2GS 1.13c on Wine: "Diablo II was unable to connect..."

For some reason I missed this file when configuring and reading other tutorials.
After setting it up - everything works!

Do you think that my setup deserves a "HOWTO" post (the main difference is how to run it in headless mode on linux)?

Cheers,
Ivan.

4

Re: [Solved] D2GS 1.13c on Wine: "Diablo II was unable to connect..."

You can share your HOWTO.
Maybe it helps someone else.

5

Re: [Solved] D2GS 1.13c on Wine: "Diablo II was unable to connect..."

I'll talk to Harpy about doing a bit more of an installation guide, been meaning to write a full one myself (maybe I'll do it!).  Marking this one as resolved.

Owner of SlashDiablo - One of the oldest and most well known Diablo II servers
Admin of Resurgence - Vanilla++ mod
Co-Founder of Hellforged - Diablo 09 built on 1.13 engine (current work in progress)
Founder of Diablo2.org - Dedicated Discord server for PvPGN/D2GS questions

Posts: 5

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] Diablo → [Solved] D2GS 1.13c on Wine: "Diablo II was unable to connect..."