HarpyWar wrote:D2GS запускается через Windows службу, которая устанавливается один раз через запуск "D2GSSVC.exe -i".
В новых версиях Windows нужно устанавливать режим совместимости с XP для всех пользователей системы. Иначе может возникать похожее поведение, когда ничего не происходит.
forums.pvpgn.pro/viewtopic.php?pid=7773#p7773
Вроде установил службу, все работает, но не могу подключиться. В конфиге указал свой сетевой айпишник. BNet Gateway Editor не детектит ни локалхост, ни этот айпишник. Служба запущена.
В d2gs.log очень много однотипных ошибок и через некоторое время они останавливаются, не знаю правильно ли это. Но d2gs.log, лежащий не в отдельной папке logs, а в корне с сервером, просто повторяет эту ошибку и пока не останавливается.
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
Добавлено: 20.01.2017 16:27
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