Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Tech Support → People connecting to me is not working

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 22

1

Topic: People connecting to me is not working

Hello guys I am very inexperienced with servers so please pardon me if I make obvious mistakes or don't know obvious stuff!

So I set up PvPGN with the help of a tutorial and if I use my local IP address in the config files realm.conf, d2cs.conf and d2dbs.conf it seems to work fine within my network.

I then tried to use my public IP in these files and set up port forwarding for the ports 6112-6114 and 4000 however when starting D2CS and D2BS I get these errors:


Any idea what I did wrong?

2

Re: People connecting to me is not working

Address translation is set in address_translation.conf ?

3

Re: People connecting to me is not working

itarachiu wrote:

Address translation is set in address_translation.conf ?


Ah I was told not to change anything in ADdress translation but after reading the file that might be the problem big_smile

I don't quite understand how to properly set the file up tho could you tell me?

4 (edited by itarachiu 21.04.2019 18:53)

Re: People connecting to me is not working

Zekken wrote:
itarachiu wrote:

Address translation is set in address_translation.conf ?


Ah I was told not to change anything in ADdress translation but after reading the file that might be the problem big_smile

I don't quite understand how to properly set the file up tho could you tell me?


Tell me your local IP address and your public(internet) IP address.
Also your public IP is dynamic ?

5

Re: People connecting to me is not working

My public IP is 84.212.108.200 and my local is: 192.168.2.109

And yeah I believe my public IP is dynamic, but I just want to see if I can get it to work this is not meant as a permanent solution ^^

6

Re: People connecting to me is not working

Zekken wrote:

My public IP is 84.212.108.200 and my local is: 192.168.2.109

And yeah I believe my public IP is dynamic, but I just want to see if I can get it to work this is not meant as a permanent solution ^^

Add this to the top of the address translation conf file

192.168.2.109:16112 84.212.108.200:16112 192.168.0.0/24 ANY
192.168.2.109:6113 84.212.108.200:6113 192.168.0.0/24 ANY
192.168.2.109:4000 84.212.108.200:4000 NONE ANY

In my case I use for the public ip address a DNS hostname that is pointed to my ip address everytime my router changes the IP. This depends, if your ISP allow you to set a DNS for your IP. This apply only for dynamic IPs but if you have a static ok otherwise you have to change every time.

7

Re: People connecting to me is not working

Hmm it is still not working, D2DBS is showing the same error and D2CS is showing this in addtion:

8

Re: People connecting to me is not working

Zekken wrote:

Hmm it is still not working, D2DBS is showing the same error and D2CS is showing this in addtion:

I don't see any red error, try to play right now. See how it goes.

9

Re: People connecting to me is not working

itarachiu wrote:
Zekken wrote:

Hmm it is still not working, D2DBS is showing the same error and D2CS is showing this in addtion:

I don't see any red error, try to play right now. See how it goes.


It's the same red errors as in my original pictures just this was there in addition now ^^

10

Re: People connecting to me is not working

Do you have any antivirus or some kind of tools that can not allow to open those ports?

I don't use any protection tool on my Windows 2012 server, only the firewall that came from the windows and is working fine. I never seen those errors.

11

Re: People connecting to me is not working

192.168.2.109:16112 84.212.108.200:16112 192.168.0.0/24 ANY

is this correct value ? try 6112 instead

12

Re: People connecting to me is not working

Karol wrote:

192.168.2.109:16112 84.212.108.200:16112 192.168.0.0/24 ANY

is this correct value ? try 6112 instead

Yes, I followed those instructions when I configured the server.
https://pvpgn.fandom.com/wiki/Windows_Diablo_II_Server

13 (edited by Zekken 22.04.2019 17:09)

Re: People connecting to me is not working

Aah it seems like the problem was that I was using servaddrs in D2CS and D2DBS!

However, I just entered the server by myself and tried creating a game but it says I'm on the waiting list and the game just won't be created any idea why?

EDIT:

Hmm seems like it's still not working, just had a friend test it and he gets "can't connect to battle.net server"

14

Re: People connecting to me is not working

Zekken wrote:

Aah it seems like the problem was that I was using servaddrs in D2CS and D2DBS!

However, I just entered the server by myself and tried creating a game but it says I'm on the waiting list and the game just won't be created any idea why?

EDIT:

Hmm seems like it's still not working, just had a friend test it and he gets "can't connect to battle.net server"

Just follow those instructions:
https://pvpgn.fandom.com/wiki/Windows_Diablo_II_Server

15 (edited by Zekken 22.04.2019 17:37)

Re: People connecting to me is not working

itarachiu wrote:
Zekken wrote:

Aah it seems like the problem was that I was using servaddrs in D2CS and D2DBS!

However, I just entered the server by myself and tried creating a game but it says I'm on the waiting list and the game just won't be created any idea why?

EDIT:

Hmm seems like it's still not working, just had a friend test it and he gets "can't connect to battle.net server"

Just follow those instructions:
https://pvpgn.fandom.com/wiki/Windows_Diablo_II_Server

Yeah I did follow them besides autoupdate.conf because I don't quite understand it and I believe it's not necessary for this test since both parties just play on 1.13c and versioncheck.conf because I don't even have this file and the download link from that tutorial is not working hmm

16 (edited by itarachiu 22.04.2019 17:56)

Re: People connecting to me is not working

Make a backup to your curent conf folder
and paste those ones

https://www.sendspace.com/file/tvysiy

If is still not working, I don't know.

EDIT: For PvPGN 1.8.5

17 (edited by Zekken 22.04.2019 19:32)

Re: People connecting to me is not working

itarachiu wrote:

Make a backup to your curent conf folder
and paste those ones

https://www.sendspace.com/file/tvysiy

If is still not working, I don't know.

EDIT: For PvPGN 1.8.5



https://forums.pvpgn.pro/uploads/images/2019/04/22/pvpgn.png

Now I've got this lol

I mean I can connect to it but I get stuck when trying to create a game saying that I'm in waiting queue.

https://forums.pvpgn.pro/uploads/images/2019/04/22/game.png


Also D2CS still says this when I start it:

Apr 22 17:14:50 [debug] pvpgn::trans_load: non d2gs input (ignoring) "192.168.2.109:16112"
Apr 22 17:14:50 [debug] pvpgn::trans_load: non d2gs input (ignoring) "192.168.2.109:6113"


sad


EDIT: Just saw your edit that it's for 1.8.5 so I will try that one now ^^

EDIT2: I'm not exactly sure which one I should use there is mysql-5.1.31(tried this but had the same exact problem), mysql-5.0.77, odbc-3.52 and sqlite-3.6.11

18

Re: People connecting to me is not working

Zekken wrote:
itarachiu wrote:

Make a backup to your curent conf folder
and paste those ones

https://www.sendspace.com/file/tvysiy

If is still not working, I don't know.

EDIT: For PvPGN 1.8.5



https://forums.pvpgn.pro/uploads/images/2019/04/22/pvpgn.png

Now I've got this lol

I mean I can connect to it but I get stuck when trying to create a game saying that I'm in waiting queue.

https://forums.pvpgn.pro/uploads/images/2019/04/22/game.png


Also D2CS still says this when I start it:

Apr 22 17:14:50 [debug] pvpgn::trans_load: non d2gs input (ignoring) "192.168.2.109:16112"
Apr 22 17:14:50 [debug] pvpgn::trans_load: non d2gs input (ignoring) "192.168.2.109:6113"


sad


EDIT: Just saw your edit that it's for 1.8.5 so I will try that one now ^^

EDIT2: I'm not exactly sure which one I should use there is mysql-5.1.31(tried this but had the same exact problem), mysql-5.0.77, odbc-3.52 and sqlite-3.6.11

ODBC one.

That error from the photo is because you must to set the game to max which is 100 via telnet
is in the link how you set

For x64 bit os
pvpgn.wikia.com/wiki/How_to_get_ … _7_64-bit)

19

Re: People connecting to me is not working

Hey I'm sorry but I don't quite understand how it is explained in the link.

I have to export the registry //HKLM/SOFTWARE/D2Server/D2GS right?

Problem is I can't find it in my registry yikes


Btw thanks for helping me!!

20 (edited by itarachiu 22.04.2019 22:06)

Re: People connecting to me is not working

Zekken wrote:

Hey I'm sorry but I don't quite understand how it is explained in the link.

I have to export the registry //HKLM/SOFTWARE/D2Server/D2GS right?

Problem is I can't find it in my registry yikes


Btw thanks for helping me!!

Copy and paste this to a file called d2gs.reg
You can't find that in the registry because you don't even register it.

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\D2Server\D2GS]
@="Diablo II Close Game Server"
"AutoUpdate"=dword:00000000
"AutoUpdateUrl"="http://your.website.url/for.update"
"AutoUpdateVer"=dword:00000000
"AutoUpdateTimeout"=dword:00007530
"D2CSIP"="192.168.2.109"
"D2CSPort"=dword:000017e1
"D2DBSIP"="192.168.2.109"
"D2DBSPort"=dword:000017e2
"MaxGames"=dword:00000001
"MaxGameLife"=dword:00003840
"AdminPassword"="9e75a42100e1b9e0b5d3873045084fae699adcb0"
"AdminPort"=dword:000022b8
"AdminTimeout"=dword:00000e10
"D2CSSecrect"=""
"EnableNTMode"=dword:00000001
"EnablePreCacheMode"=dword:00000001
"IdleSleep"=dword:00000001
"BusySleep"=dword:00000001
"CharPendingTimeout"=dword:00000258
"DebugNetPacket"=dword:00000000
"DebugEventCallback"=dword:00000000
"EnableGSLog"=dword:00000001
"EnableGELog"=dword:00000001
"EnableGEMsg"=dword:00000000
"EnableGEPatch"=dword:00000001
"IntervalReconnectD2CS"=dword:00000032
"MultiCPUMask"=dword:00000001
"MaxPreferUsers"=dword:000000b4
"MaxPacketPerSecond"=dword:000004b0
"ServerConfFile"="D2Server.ini"
"MOTD"="Hello world!"

Then run d2gs service and telnet to your ip port 8888 follow the instructions from that link.

If it does not prompt a Welcome message like this

Diablo II Close Game Server Administration Console
Win32 Version D2GS Version 1.10.3.6 build on Mar  4 2004 22:27:12

So, if you don't see this after you register and start the d2gs service means your d2gs is not running, which means there will be other problems. All you have to do is copy the files required for d2gs to run from your Diablo II game into the d2gs folder.

21

Re: People connecting to me is not working

If you run pvpgn behind a router then use this solution https://github.com/pvpgn/pvpgn-server/i … -485501065
I also add this info to the tutorial https://pvpgn.pro/d2gs_installation.html
Briefly you have to use local IP addresses everywhere in configs, and add external IP in address_translation.conf

Do not ask for support in PM.

22

Re: People connecting to me is not working

address_translation.conf

########################################################################################################
#------------------------------------------------------------------------------------------------------#
# Address Translation table                                                                            #
#----------------------------------------------------------------------------
#
# DO NOT, I REPEAT, DO NOT TOUCH THIS FILE UNLESS YOU RUN THE SERVER ON A
# COMPUTER INSIDE A LAN AND YOU NEED TO HAVE PLAYERS FROM "OUTSIDE" YOUR LAN
#
# This is a list of ip:port addresses that get translated
# EVERYTHING AFTER A "#" IS IGNORED (ie COMMENTED)
#
# The entries are broken into four parts:
#
# * the IP address w/port to be translated (what pvpgn wants to send initially)
# * the output IP address w/port (what pvpgn WILL send after translation)
# * comma delimited list of networks to be excluded from translation
# * comma delimited list of networks to be included in translation
#
# Each line must contain all four parts or the entire entry will be rejected
# There are no default ports, make sure input and output include the port number
#
# The entries are searched in the order listed in this file
# Exclude networks are searched before include networks
# Only the first matching line is used
# Lines begining with '#' are ignored
#
# If no match is found, the input ip will be returned.
#
# Network specification can be either NONE, ANY or x.y.z.t/bitlen:
# - NONE = no neworks (same as 0.0.0.0/32)
# - ANY = All networks (same as 0.0.0.0/0)
# x.y.z.t/bitlen : means matching the first bitlen bits from the x.y.z.t value
# Example: if you have the network 192.168.0.x (where x is from 1 to 255) to
# match any IP in it you use "192.168.0.0/24" meaning the first 24 bits of
# 192.168.0.0 HAVE TO match (the first 24 bits means the first 3 digits)
#
#################################################################################

################################################################################
# w3route server ip translation
#
# Here you can translate the IP/port of the w3route IP/port as sent by pvpgn
# to the WAR3 clients. You need this ONLY if you want to have external W3
# players that will play PlayGame/ArrangedTeam games.
# Set exclude to the range of clients you want to recieve the input address
#    instead of the output address
# Set include to the range of clients you want to recieve the output address
#
# input (ip:port)   output (ip:port)   exclude (ip/netmask)    include (ip/netmask)
#----------------- ------------------ ----------------------  ----------------------

# Example, if you left w3route = 0.0.0.0:6200 as it is by default in bnetd.conf
# AND you have the external IP 1.2.3.4 AND you want to exclude from translation
# the internal W3 clients (those with IPs 192.168.0.x) AND you port forward
# port 6200 TCP from your router to the pvpgn server port 6200 then here put:

router local ip:6200      real ip:6200      192.168.0.0/24           ANY


###############################################################################
# Game Translations for clients/games (client data ports)
#
# You need this ONLY if you will have internal players that want to play with
# external ones.
#
# This setting is NOT NEEDED for D2 closed realm clients (they connect to d2gs
# to play games not to eachover).
#
# Set input address to the client to be translated
# Set output address to the address to be sent to the other clients
# Set exclude to the range of clients you want to recieve the input address
#    instead of the output address
# Set include to the range of clients you want to recieve the output address
#
# input (ip:port)    output (ip:port)    exclude (ip/netmask)    include (ip/netmask)
#-----------------  ------------------  ----------------------  ----------------------

# Example, if you have an internal client on IP 192.168.1.10 AND you have the
# external IP 1.2.3.4 AND you want to exclude from translation the internal
# clients (those with IPs 192.168.1.x and 10.x.y.z) AND you port forward
# port 6118 TCP AND UDP from your router to the client IP and port 6112 then
# here put:

router local ip:6112   real ip:6118      192.168.1.0/24,10.0.0.0/8  ANY



################################################################################
# Diablo II Character Server translation (d2cs)
#
# You need this ONLY if you run a d2cs (ie ONLY if you will host a Diablo2
# closed realm).
#
# Set input address to the ip of d2cs (same as the ip in the realm.conf)
# Set output address to the address to be sent to the clients
# Set exclude to the range of clients you want to recieve the input address
#    instead of the output address
# Set include to the range of client you want to recieve the output address
#
# input (ip:port)    output (ip:port)    exclude (ip/netmask)    include (ip/netmask)
#-----------------  ------------------  ----------------------  ----------------------

# Example, if you run a d2cs on IP 192.168.1.10 port 6113 and you have put the
# same IP/port in realm.conf AND you have the external IP 1.2.3.4 AND you want
# to exclude from translation the internal clients (those with IPs 192.168.1.x)
# AND you port forward port 6113 TCP from your router to the machine running
# d2cs and port 6113 then here put:

router local ip:6113   real ip:6113       192.168.1.0/24          ANY



################################################################################
# Diablo II Game Server Translation (d2gs)
#
# Set input address to the ip of d2gs (same as the gameservlist in d2cs.conf)
# Set output address to the address to be sent to the clients
# Set exclude to the range of clients you want to recieve the input address
#    instead of the output address
# Set include to the range of client you want to recieve the output address
#
# input (ip:port)    output (ip:port)    exclude (ip/netmask)    include (ip/netmask)
#-----------------  ------------------  ----------------------  ----------------------

# Example, if you run a d2gs on IP 192.168.1.100 (and port 4000, d2gs cannot
# listen on other port, it will automatically listen on port 4000) and you have
# put the same IP in d2cs.conf and d2dbs.conf gameservlist setting AND you have
# the external IP 1.2.3.4 AND you dont want to exclude from translation anyone
# AND you port forward port 4000 TCP from your router to the machine running
# d2gs and port 4000 then here put:

router local ip:4000  real ip:4000       NONE                    ANY



################################################################################
# Westwood Online Game Server Translation (wwol)
#
#
# input (ip:port)    output (ip:port)    exclude (ip/netmask)    include (ip/netmask)
#-----------------  ------------------  ----------------------  ----------------------

router local ip:4005   real ip:4005       192.168.1.0/24          ANY



router port open: 6112, 6113, 6114, 6118, 6200, 4000, 4005 d2gs open port: 8888

firewall open port: 6112, 6113, 6114, 6118, 6200, 4000, 4005 d2gs open port: 8888

bnetd.conf
w3routeaddr = "router local ip:6200"

Это должно быть так, убедитесь, что если у вас есть антивирус, он не закрывает какой-либо порт

Posts: 22

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] Tech Support → People connecting to me is not working