------------d2server.ini的解释------------
其实原文件说的够清楚了,只是大部分和我一样的人可能有英文方面的困扰。我来总结一下查词典的结果.
;Standard windows INI file format
[D2GE]
DebugDumpThread=1
[World Event]
Enable=1 允许D2GS管理战网DC激活条件
;update interval in seconds
UpdateInterval=30 这个是DC检查chars的key item的时间
;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 配置diablo可出现的难度normal,nightmare,hell,缺省是hell(地狱),无论怎么配置只有hell才会出usc,如果配置了非HELL难度出DC,打死DC将不出USC
;you will be happy when SpawnMinions set to non zero...
SpawnMinions=0 随从数目,也就是出现几个DC吧。
ItemDataFile=ItemConfig.dat 物品对照文件
;World event trigger item config
Item=The Stone of Jordan 这个是触发cd的物品设置,对应下面的[items]项目,也是客户端进入gs时提示的那个触发条件
;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
触发条件的公式, 随机最小次数或随机最大数(在出售给NPC连续规定时间内)+(装备因子X游戏数量)/100……
[Unique or Set ring]
Mods = code=rin & quality=unique, quality=set
[UnID unique ring or unID set amulet] 多种物品的配置例子,这里是没有id的暗金介或绿色套装中的护身符
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设备代码可以看这几个TXT文件
;prefix -> item prefix id 装备的前缀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