|
发表于 2003-10-2 22:29:21
|
显示全部楼层
来自 中国–广西–南宁
最初由 sleepywoods 发表
我终于明白为什么无法运行了。
仔细看C-D4.5.0的READ ME文件,有这样一句很关键的话。
Note the forward slash in "addons/cdeath/cdmod.dll". You must use a forward slash. Backslashes will not work.
就是说在METAMOD.in里那句加载cdmod.dll的句子必须提到第一位,才能运行。
我的服务器已经能用CD4.5.0了。
Config file: plugins.ini
Default location: $gamedir/addons/metamod/plugins.ini, ie "cstrike/addons/metamod/plugins.ini".
Plugins are described in a file "plugins.ini" and each line describes a plugin to load:
<platform> <filepath> [<description>]
Fields are whitespace delimited (tabs/spaces).
Platform is a keyword, either "linux" or "win32".
Filepath is a path to the DLL/so file. Relative paths are from the game dir; absolute paths are also valid. Paths should use unix-style forward slashes (/) and not backward slashes (\), even on windows platforms.
Description is an optional description of the plugin, used in place of the plugin's internal name in log messages and console output. Whitespace in the description is allowed; quoting is unnecessary.
Comments are recognized at only the beginning of a line, and can be in either shell style ("#") or c++ style ("//").
For instance, in "cstrike/addons/metamod/plugins.ini" these are all valid lines:
// linux dlls/mybot.so
# win32 dlls/mybot-old.dll Mybot old
win32 dlls/mybot.dll Mybot current
linux dlls/mm_stub_i386.so
win32 dlls/mm_stub_i386.dll
linux dlls/mm_trace_i386.so
win32 dlls/mm_trace_i386.dll
linux dlls/admin_MM.so
win32 dlls/admin_MM.dll
以上是metamod的说明, forward slashes (/) and not backward slashes (\), 是说要用正杠,不能用反杠。。。。。 : ) |
|