搜索
查看: 2398|回复: 2

【求助】谁告诉我这CD哪里加载错了[已解决,但还是希望大家能看下]

[复制链接]
发表于 2005-10-10 08:05:20 | 显示全部楼层 |阅读模式 来自 中国–广东–深圳–南山区
P41.5CPU ,FC4 服务器
这是liblist.gam文件的设置:
game "Counter-Strike"
url_info "www.counter-strike.net"
url_dl ""
version "1.5"
size "184000000"
svonly "0"
secure "0"
type "multiplayer_only"
cldll "1"
hlversion "1110"
nomodels "1"
nohimodel "1"
mpentity "info_player_start"
gamedll "addons/cdeath/cdmod_i386.so"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"
gamedll_linux "dlls/cs_i386.so"
trainmap "tr_1"

把CD按WIN32的方式加载后,服务器能够正常启动,但没有CD:
[root@bnfc4 hlds16]# ./27016.sh
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash

Console initialized.
scandir failed:/root/hlds16/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 00:51:04 Aug 11 2005 (3213)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 127.0.0.1:27016
   
   Metamod version 1.17.3  Copyright (c) 2001-2004 Will Day <willday@metamod.org>
   Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.
   

   AMX Mod X version 1.00 Copyright (c) 2004 AMX Mod X Development Team
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under
   certain conditions; type 'amxx gpl' for details.
  
scandir failed:/root/hlds16/./platform/SAVE
L 10/12/2005 - 08:12:29: -------- Mapchange --------
[AMXX] Loaded 1 admin from file
L 10/12/2005 - 08:12:32: [AMXX] Invalid event (name "TextMsg") (plugin "statsx.amxx")
L 10/12/2005 - 08:12:32: [AMXX] Run time error 10 (native) (plugin "statsx.amxx") - debug not enabled.
L 10/12/2005 - 08:12:32: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
L 10/12/2005 - 08:12:32: [AMXX] Invalid event (name "ResetHUD") (plugin "hy_weapons.amxx")
L 10/12/2005 - 08:12:32: [AMXX] Run time error 10 (native) (plugin "hy_weapons.amxx") - debug not enabled.
L 10/12/2005 - 08:12:32: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
L 10/12/2005 - 08:12:32: [AMXX] Invalid event (name "CurWeapon") (plugin "knife_arena.amxx")
L 10/12/2005 - 08:12:32: [AMXX] Run time error 10 (native) (plugin "knife_arena.amxx") - debug not enabled.
L 10/12/2005 - 08:12:32: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
L 10/12/2005 - 08:12:32: [AMXX] Invalid event (name "SendAudio") (plugin "random_c4_timer.amxx")
L 10/12/2005 - 08:12:32: [AMXX] Run time error 10 (native) (plugin "random_c4_timer.amxx") - debug not enabled.
L 10/12/2005 - 08:12:32: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).

Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
Server logging data to file logs/L1012001.log
L 10/12/2005 - 08:12:34: Log file started (file "logs/L1012001.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3213")
Adding master server 207.173.177.11:27010
Adding master server 69.28.151.178:27010
Connection to Steam servers successful.
L 10/12/2005 - 08:12:42: World triggered "Round_Start"

修改liblist.gam里加载CD那一行:
gamedll "addons/cdeath/cdmod_i386.so"
为:
gamedll_linux "addons/cdeath/cdmod_i386.so"

服务器无法启动,循环提示下面出错信息:
CDMOD: C-D is not configured properly. You must add cdmod to liblist.gam.
./hlds_run: line 342:  2121 段错误                  $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
三 10月 12 08:15:46 CST 2005: Server restart in 10 seconds

Console initialized.
scandir failed:/root/hlds16/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 00:51:04 Aug 11 2005 (3213)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 127.0.0.1:27016
CDMOD: C-D is not configured properly. You must add cdmod to liblist.gam.
./hlds_run: line 342:  2124 段错误                  $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
三 10月 12 08:15:57 CST 2005: Server restart in 10 seconds

Console initialized.
scandir failed:/root/hlds16/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 00:51:04 Aug 11 2005 (3213)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 127.0.0.1:27016
CDMOD: C-D is not configured properly. You must add cdmod to liblist.gam.
./hlds_run: line 342:  2127 段错误                  $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
三 10月 12 08:16:07 CST 2005: Server restart in 10 seconds
……………………一直循环这个信息
:confused:
 楼主| 发表于 2005-10-10 08:48:32 | 显示全部楼层 来自 中国–广东–深圳–南山区

回复: 【求助】谁告诉我这CD哪里加载错了

:brick: 困扰几天的问题,终于解决~~~~~~~~~~~~~
这里不管大家知不知道,还是建议大家不管装什么东西之前,还是先看一下说明文件吧
刚刚静下心来,打开CD目录,发现一个readme.txt的说明文件,不看不知道,一看吓一跳~~~~
***MetaMod Installations***
===========================

NOTE: YOU CANNOT USE CHEATING-DEATH AS METAMOD PLUGIN ANYMORE! But you can use
C-D with Metamod since C-D doesn't need MetaMod.

If you are upgrading from MetaMod, make sure you remove cdmod
from plugins.ini (or metamod.ini) file and then follow the installation
instructions.


***Default Installation***
==========================
1. Copy cdmod_i386.so to the /game/addons/cdeath directory as cdmod_i386.so

2. Make a copy of /game/liblist.gam and save it.

3. In the liblist.gam file, rename "gamedll_linux" to "cdmod_chain".

4. In the liblist.gam file, add the line 'gamedll_linux "addons/cdeath/cdmod_i386.so"'.

For example, A Counter-Strike liblist.gam file could have this line:
gamedll_linux "dlls/mp_i386.so"

You would change that line into the following two lines:
cdmod_chain "dlls/mp_i386.so"
gamedll_linux "addons/cdeath/cdmod_i386.so"

If you use Metamod, you see something like:
gamedll_linux "addons/metamod/dlls/metamod_i386.so"

You would change that line into the following two lines:
cdmod_chain "addons/metamod/dlls/metamod_i386.so"
gamedll_linux "addons/cdeath/cdmod_i386.so"

原来CD里早就说明了加载方法,修改liblist.gam文件:
game "Counter-Strike"
url_info "www.counter-strike.net"
url_dl ""
version "1.5"
size "184000000"
svonly "0"
secure "0"
type "multiplayer_only"
cldll "1"
hlversion "1110"
nomodels "1"
nohimodel "1"
mpentity "info_player_start"
cdmod_chain "addons/metamod/dlls/metamod_i386.so"
gamedll_linux "addons/cdeath/cdmod_i386.so"
gamedll_linux "dlls/cs_i386.so"
trainmap "tr_1"

重新启动服务器:
[root@bnfc4 hlds16]# ./27016.sh
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash

Console initialized.
scandir failed:/root/hlds16/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 00:51:04 Aug 11 2005 (3213)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 127.0.0.1:27016
CDMOD: ChainDll: cstrike/addons/metamod/dlls/metamod_i386.so
   
   Metamod version 1.17.3  Copyright (c) 2001-2004 Will Day <willday@metamod.org>
   Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.
   

   AMX Mod X version 1.00 Copyright (c) 2004 AMX Mod X Development Team
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under
   certain conditions; type 'amxx gpl' for details.
  

   Cheating-Death v4.29.4
   This software is provided for free and comes
   with ABSOLUTELY NO WARRANTY.(C)2005 United Admins Ltd.
   http://www.unitedadmins.com/cdeath.php

scandir failed:/root/hlds16/./platform/SAVE
L 10/12/2005 - 08:51:19: -------- Mapchange --------
[AMXX] Loaded 1 admin from file
L 10/12/2005 - 08:51:20: [AMXX] Invalid event (name "TextMsg") (plugin "statsx.amxx")
L 10/12/2005 - 08:51:20: [AMXX] Run time error 10 (native) (plugin "statsx.amxx") - debug not enabled.
L 10/12/2005 - 08:51:20: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
L 10/12/2005 - 08:51:20: [AMXX] Invalid event (name "ResetHUD") (plugin "hy_weapons.amxx")
L 10/12/2005 - 08:51:20: [AMXX] Run time error 10 (native) (plugin "hy_weapons.amxx") - debug not enabled.
L 10/12/2005 - 08:51:20: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
L 10/12/2005 - 08:51:20: [AMXX] Invalid event (name "CurWeapon") (plugin "knife_arena.amxx")
L 10/12/2005 - 08:51:20: [AMXX] Run time error 10 (native) (plugin "knife_arena.amxx") - debug not enabled.
L 10/12/2005 - 08:51:20: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
L 10/12/2005 - 08:51:20: [AMXX] Invalid event (name "SendAudio") (plugin "random_c4_timer.amxx")
L 10/12/2005 - 08:51:20: [AMXX] Run time error 10 (native) (plugin "random_c4_timer.amxx") - debug not enabled.
L 10/12/2005 - 08:51:20: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).

Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
Server logging data to file logs/L1012012.log
L 10/12/2005 - 08:51:20: Log file started (file "logs/L1012012.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3213")
Adding master server 69.28.151.162:27010
Adding master server 207.173.177.11:27010
Connection to Steam servers successful.
L 10/12/2005 - 08:51:29: World triggered "Round_Start"

加载成功~~~~~~~~~~~~~~~狂汗中。。。。。 :brick:
唉,白白浪费了我差不多一个星期的时间研究这个问题

谨以此贴献给和我一样粗心的人,这个教训我想我以后是想忘也忘不了了~~~ :embarrass
回复

使用道具 举报

发表于 2005-10-10 10:37:34 | 显示全部楼层 来自 中国–湖北–十堰

回复: 【求助】谁告诉我这CD哪里加载错了[已解决,但还是希望大家能看下]


这个问题早就已经解决了
你怎么现在还在研究这个???
http://forum.dt-club.net/showthread.php?t=20730
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表