搜索
查看: 4449|回复: 8

CS 1.5 linux SERVER 启动的时候提示amxx.cfg加载错误

[复制链接]
发表于 2015-2-27 11:39:15 | 显示全部楼层 |阅读模式 来自 中国–山东–济南
本帖最后由 micro_cy 于 2015-2-27 12:48 编辑

Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash

Console initialized.
Protocol version 46
Exe version 3.1.1.1
Exe build: 13:14:23 Dec 22 2003 (2615)
Auth Server
"maxplayers" set to "32"
Server IP address 127.0.1.1:27115

   Metamod version 1.20  Copyright (c) 2001-2013 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.

===============================================================================

HL-Booster v1.36 by hullu <hullu@hullu.cjb.net>

===============================================================================

   AMX Mod X version 1.8.2 Copyright (c) 2004-2006 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.

[AMXX] Loaded 3 admins from file
couldn't exec addns/amxmmodx/configs/amxx.cfg
Master server communication disabled.
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
[ 1] HL-Booster       RUN   -    booster_mm.so     v1.36     ini  Chlvl Pause
[ 2] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.2    ini  Start ANY
[ 3] CSX              RUN   -    csx_amxx_i386.so  v1.8.2    ini  ANY   ANY
[ 4] CStrike          RUN   -    cstrike_amxx_i38  v1.8.2    ini  ANY   ANY
[ 5] MySQL            RUN   -    mysql_amxx_i386.  v1.8.2    pl2  ANY   ANY
[ 6] Fun              RUN   -    fun_amxx_i386.so  v1.8.2    pl2  ANY   ANY
[ 7] Engine           RUN   -    engine_amxx_i386  v1.8.2    pl2  ANY   ANY
[ 8] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.2    pl2  ANY   ANY
8 plugins, 8 running


这个标红的地方,路径都不对,不知道是哪里的问题,实际路径应该是addons/amxmodx/configs/amxx.cfg

游戏能进去,一个人进去就没事,第二个人一加进去,服务器就自动重启了,不知道什么原因啊
发表于 2015-2-27 18:05:18 来自手机 | 显示全部楼层 来自 中国–江西–赣州
不会吧。。IP多少我去看看
回复

使用道具 举报

发表于 2015-2-27 18:06:07 来自手机 | 显示全部楼层 来自 中国–江西–赣州
你的QQ多少
回复

使用道具 举报

发表于 2015-2-27 22:14:41 | 显示全部楼层 来自 中国–广东–深圳
这个问题可以忽略的,你自己新建一个
[mw_shl_code=pawn,true]addns/amxmmodx/configs/amxx.cfg[/mw_shl_code]
就好了
或者新建 amxx.cfg 内容如下:
[mw_shl_code=pawn,true]// AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File

// Default access for all non admin players (see users.ini for access details)
//
// Default value: "z"
amx_default_access "z"

// Name of setinfo which should store a password on a client (you should change this)
// Note: Always prefix the field with an underscore (aka: "_")
// (Example: setinfo _pw "password")
//
// Default value: "_pw"
amx_password_field "_pw"

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 1

// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
//
// Default value: 2
amx_show_activity 2

// Frequency in seconds and text of scrolling message
//
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600

// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Welcome to %hostname%" "000255100"
//                 "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"

// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180

// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban.
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60

// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automatically inserted as the first option.
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5

// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75

// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0

// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0

// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"

// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1

// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 300

// How long voting session goes on
//
// Default value: 10
amx_vote_time 10

// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1

// Some ratios for voting success

// Default value: 0.40
amx_votekick_ratio 0.40

// Default value: 0.40
amx_voteban_ratio 0.40

// Default value: 0.40
amx_votemap_ratio 0.40

// Default value: 0.02
amx_vote_ratio 0.02

// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90

// Step for each extending
//
// Default value: 15
amx_extendmap_step 15

// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1

// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
//
// Default value: 1
amx_debug 1[/mw_shl_code]
回复

使用道具 举报

 楼主| 发表于 2015-2-28 14:41:27 | 显示全部楼层 来自 中国–山东–济南
不好意思,感谢大家的回复,此服务器是内网用户玩的,没有公网IP~
回复

使用道具 举报

 楼主| 发表于 2015-2-28 16:51:54 | 显示全部楼层 来自 中国–山东–济南
k1nader 发表于 2015-2-27 22:14
这个问题可以忽略的,你自己新建一个
[mw_shl_code=pawn,true]addns/amxmmodx/configs/amxx.cfg[/mw_shl_co ...

我想知道这个addns/amxmmodx/configs/amxx.cfg
这个路径是哪个文件控制的,我怎么没有找到呢,
而且我在server.cfg的文件中定义了一些关于max_queries的项,并自定义了值,为什么服务器启动以后,使用hlsw看到的值并没有变化。
回复

使用道具 举报

 楼主| 发表于 2015-2-28 16:56:59 | 显示全部楼层 来自 中国–山东–济南

QQ:78740390
回复

使用道具 举报

 楼主| 发表于 2015-2-28 17:00:44 | 显示全部楼层 来自 中国–山东–济南
addons/metamod/plugin.ini 内容
;; Metamod plugins.ini
;
; win32   addons\amxmodx\dlls\amxmodx_mm.dll
; Enable this instead for binary logging
; win32   addons\amxmodx\dlls\amxmodx_bl_mm.dll
;linux addons/amx/dlls/amx_mm_i386.so
;linux addons/amx/dlls/csstats_ms_i386.so
;linux addons/amx/dlls/fun_ms_i386.so
;linux addons/amx/mysql_ms_i386.so
linux addons/amxmodx/dlls/booster_mm.so
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
linux addons/amxmodx/modules/csx_amxx_i386.so
linux addons/amxmodx/modules/cstrike_amxx_i386.so
linux addons/amxmodx/modules/engine_amxx_i386.so
linux addons/amxmodx/modules/fakemeta_amxx_i386.so
linux addons/amxmodx/modules/fun_amxx_i386.so
linux addons/amxmodx/modules/hamsandwich_amxx_i386.so
linux addons/amxmodx/modules/mysql_amxx_i386.so
linux addons/amxmodx/modules/sqlite_amxx_i386.so
==================================================
addons/amxmodx/configs/amx.cfg
#// AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File
#// Default access for all non admin players (see users.ini for access details)
#//
#// Default value: "z"
amx_default_access "z"
#// Name of setinfo which should store a password on a client (you should change this)
#// Note: Always prefix the field with an underscore (aka: "_")
#// (Example: setinfo _pw "password")
#//
#// Default value: "_pw"
amx_password_field "micro"
#// Mode of logging to a server
#// 0 - disable logging, players won't be checked (and access won't be set)
#// 1 - normal mode which obey flags set in accounts
#// 2 - kick all players not on list
#//
#// Default value: 1
amx_mode 1
#// Show admins activity
#// 0 - disabled
#// 1 - show without admin name
#// 2 - show with name
#//
#// Default value: 2
amx_show_activity 2
// Frequency in seconds and text of scrolling message
//
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Welcome to %hostname%" "000255100"
// "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X" "000100255"
// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180
// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60
// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automaticall inserted as the first option
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5
// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75
// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0
// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0
// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1
// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 10
// How long voting session goes on
//
// Default value: 10
amx_vote_time 10
// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1
// Some ratios for voting success
// Default value: 0.40
amx_votekick_ratio 0.40
// Default value: 0.40
amx_voteban_ratio 0.40
// Default value: 0.40
amx_votemap_ratio 0.40
// Default value: 0.02
amx_vote_ratio 0.02
// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90
// Step for each extending
//
// Default value: 15
amx_extendmap_step 15
// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1
// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
//
// Default value: 1
amx_debug 2
// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
//
// Default value: ""
amx_mldebug ""
//
// Beginning of Counter-Strike package specific configurations.
//
// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
//
// Default value: 1
csstats_rank 1
// Max size of the stats file
//
// Default value: 3500
csstats_maxsize 3500
// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
//
// Default value: 0
csstats_rankbots 0
// Duration of HUD-statistics
//
// Default value: 12.0
amx_statsx_duration 12.0
// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
//
// Default value: -2.0
amx_statsx_freeze -2.0
回复

使用道具 举报

 楼主| 发表于 2015-3-2 08:42:01 | 显示全部楼层 来自 中国–山东–济南
服务器启动后,会提示要求升级?我是局域网的服务器,类似于网吧内网的情况。
MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.
MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.
回复

使用道具 举报

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

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