Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Diablo → d2gs isnt working.

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 6

1

Topic: d2gs isnt working.

Installed d2gs for diablo 2 lod 1.10. Windows service started and working but i cant connect to it.

d2gs.reg

[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.1.18"
"D2CSPort"=dword:000017e1
"D2DBSIP"="192.168.1.18"
"D2DBSPort"=dword:000017e2
"MaxGames"=dword:00000009
"MaxGameLife"=dword:00003840
"AdminPassword"="0521777c59cba12ab7b60719a5ee2c21ea8da0ca"
"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!"

d2server.ini

;Standard windows INI file format

[D2GE]
DebugDumpThread=1

[World Event]
Enable=1

;update interval in seconds
UpdateInterval=30

;Notes: even if DC spawns in non-hell difficulty, it can only drop USC in hell difficulty
;e.g: Difficulty=normal,nightmare,hell means spawn DC in any difficulty
Difficulty=hell

;you will be happy when SpawnMinions set to non zero...
SpawnMinions=0

ItemDataFile=ItemConfig.dat

;World event trigger item config
Item=The Stone of Jordan

;Total items needed to trigger DC is:
;[ItemRangeMin, ItemRangeMax] + (ItemNormalGameFactor * NormalGames)/100
;+ (ItemNormalPlayerFactor * NormalPlayers)/100 + ...
;NormalGame, NormalPlayers ... all are current dyanmic count on this server
ItemRangeMin=10
ItemRangeMax=20

ItemNormalGameFactor=0
ItemNightmareGameFactor=0
ItemHellGameFactor=100
ItemNormalPlayerFactor=0
ItemNightmarePlayerFactor=0
ItemHellPlayerFactor=100

[Key]
Mods = code=key

[The Stone of Jordan]
Mods = code=rin & quality=unique & prefix=122

[7% mf sc]
Mods = code=cm1 & quality=magical & mf=7

[UM Rune]
Mods = code=r22

[Unique or Set ring]
Mods = code=rin & quality=unique, quality=set

[UnID unique ring or unID set amulet]
Mods = code=rin & quality=unique | code=amu & quality=set

;Item Format:
;Logical operators:
;'|' ';'     high priority OR
;'&'         normal priority AND
;','         low priority OR
;e.g:
;mod1 | mod2, mod3 & mod4 = mod1 ; mod2, mod3 & mod4 = mod1 || ((mod2 || mod3) && mod4) (unsupported c like expression)
;all spaces are ignored
;any character after '/' will be treated as comment and ignored

;Mod format:
;[mod] [<|=|>|<=|>=] [value]
;Currently supported mod list:
;Type -> item base type id
;can be found from weapons.txt armor.txt misc.txt
;notes: the ID start from 0 instead of 1

;code -> item code
;can be found from weapons.txt armor.txt misc.txt

;quality -> tempered, craft,unique,set,rare,magical,superior,normal,inferior

;prefix -> item prefix id
;actually, for unique/set/runeword items, it is the name index.
;can be found from UniqueItems.txt, SetItems.txt, Runes.txt
;notes: the ID start from 0 instead of 1

;ilvl -> item ilvl

;stat[n] -> stats value
;see ItemStatCost.txt ID column

;flag[n] -> item flag value
;see alias for common used flags

;MPQVersion -> item version
;ItemClassic for classic item, ItemExpansion for expansion item, ItemExpansion110 for items after 1.10

;Common used alias
;socket = number of socket
;ethereal = [1|0]
;ear = [1|0]
;runeword = [1|0]
;broken = [1|0]
;identified = [1/0]
;personalized = [1/0]
;gems = number of gems socketed

;unsupported now
;gem[n] = mod of certain gem
;suffix = item suffix id
;and item magical prefix/suffix, use Stat[n] to check them now
;e.g: mf=7 & code=cm1 or stat80=7 & code=cm1 means 7% mf sc

And part of logs/d2gs.log

01/20 15:18:07.055 D2GSConnectToD2xS: Failed connecting to D2DBS, wait to retry
01/20 15:18:13.055 D2GSConnectToD2xS: Failed connecting to D2DBS, wait to retry
01/20 15:18:19.055 D2GSConnectToD2xS: Failed connecting to D2DBS, wait to retry
01/20 15:18:25.056 D2GSConnectToD2xS: Failed connecting to D2DBS, wait to retry
01/20 15:18:31.056 D2GSConnectToD2xS: Failed connecting to D2DBS, wait to retry
01/20 15:18:31.586 main: I am going to stop
01/20 15:18:31.587 SaveAllGamesThread: Calling D2GSEndAllGames()
01/20 15:18:31.587 SaveAllGamesThread: Waiting for all games to be saved
01/20 15:18:31.587 SaveAllGamesThread: All games saved

d2gs.log not in the logs folder full of "01/20 15:18:31.056 D2GSConnectToD2xS: Failed connecting to D2DBS, wait to retry" messages.

2 (edited by napstar 21.01.2017 20:21)

Re: d2gs isnt working.

First of all you should rename d2server.ini to D2Server.ini
I've had problems with that.
Then you should make sure you set up d2cs.conf and d2dbs.conf correctly.
If it doesnt help, make sure d2cs and d2dbs is running, and post d2dbs.log

3

Re: d2gs isnt working.

napstar wrote:

First of all you should rename d2server.ini to D2Server.ini
I've had problems with that.
Then you should make sure you set up d2cs.conf and d2dbs.conf correctly.
If it doesnt help, make sure d2cs and d2dbs is running, and post d2dbs.log

I used pvpgn magic builder and dont have any files named d2bs.
d2gs directory on pic

4

Re: d2gs isnt working.

AccessDenied wrote:
napstar wrote:

First of all you should rename d2server.ini to D2Server.ini
I've had problems with that.
Then you should make sure you set up d2cs.conf and d2dbs.conf correctly.
If it doesnt help, make sure d2cs and d2dbs is running, and post d2dbs.log

I used pvpgn magic builder and dont have any files named d2bs.
d2gs directory on pic

You need a PvPGN server with d2cs and d2dbs for d2gs to work. That folder is just the d2gs folder.

5

Re: d2gs isnt working.

napstar wrote:

You need a PvPGN server with d2cs and d2dbs for d2gs to work. That folder is just the d2gs folder.

I builded that but dont know what i need to do next. And cant find guide.

6

Re: d2gs isnt working.

lmgtfy.com/?q=pvpgn+windows+setup

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: 6

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 → d2gs isnt working.