找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1792|回复: 6

BF 2自带服务器远程工具使用方法

[复制链接]
发表于 2005-6-22 23:08:25 | 显示全部楼层 |阅读模式
在游戏安装目录下有一个AdminUtils/rcon目录,为remoteconsole.exe建立一个快截方式,加入以下的参数
"X:\Program Files\EA GAMES\Battlefield 2\AdminUtils\rcon\remoteconsole.exe" -h 服务器地址 -p 服务器提供的远程端口
用该快截方式连接服务器,要是连上的话会出现PASSWORD的提示,输入远程控制密码即可。
在远程控制窗内输入任何命令都需要加 exec ****.*****
比如踢ID是1的玩家
rcon>exec admin.kickplay 1
=====================
以下是一些常用的控制命令
ADMIN COMMANDS:
- admin.listPlayers  显示服务器中的玩家信息
  Lists the players connected to the server.
  This command lists the players ID number, their player name and if
  the player is remote it also lists the players IP number.
  The players ID number is also available on the Scoreboard / Manage Tab
- admin.runNextLevel  运行下一张地图
  Forces the server to end the round and start the next map in the map
  list.
- admin.currentLevel  显示当前地图的序号
  Shows the map list ID number for the current map being played.
  The same as mapList.currentMap.
- admin.nextLevel  显示下一张地图的序号
  Shows the map list ID number for the next map to be played.
- admin.restartMap 重新启动地图
  Restarts the current map.
- admin.banPlayer <player ID number> [timeout] BAN掉某人,可以带时间参数
  Enter the player ID number you would like to ban. Bans the player from
  this server by using their IP address.
  You can choose from a selection of time outs:
  - Entering 'perm' means that the ban is permanent. This is the default
    if no time out is entered.
  - An integral number meaning the number of seconds the ban will be
    active (i.e. 3600 means one hour).
  - Entering 'round' means the ban is active until the next map.
  - A whole number preceded by a colon (i.e. :1234567), meaning the
    epoch expiration time of the ban (number of seconds since 1 Jan 1970).
- admin.banPlayerKey <player ID number> [timeout] BAN掉某人CDKEY,可以带时间参数
  Enter the player ID number you would like to ban. Bans the player from
  this server by using their CD key hash.
  You can also specify a time out. See admin.banPlayer for the time out
  list.
- admin.addAddressToBanList <IP address> [timeout] 将IP地址增加到黑名单中,可以加时间参数
  Enter the IP number you would like to ban.
  You can also specify a time out. See admin.banPlayer for the time out
  list.
- admin.addKeyToBanList <CD key hash> [timeout] 将CDKEY HASH增加到黑名单中,可以加时间参数
  Enter the CD key hash you would like to ban.
  You can also specify a time out. See admin.banPlayer for the time out
  list.
- admin.removeAddressFromBanList <IP address> 将IP地址移出到黑名单
  Enter the IP address you would like to remove from the ban list.
- admin.removeKeyFromBanList <CD key hash> 将CD key hash移出到黑名单
  Enter the CD key hash you would like to remove from the ban list.  
- admin.clearBanList 清理黑名单
  Clears all ban lists.
- admin.listBannedAddresses 查看黑名单
  Displays a list of the currently banned IP addresses.
- admin.listBannedKeys 查看黑名单中的CDKEY
  Displays a list of the currently banned CD keys.
- admin.kickPlayer <player ID number> 将某人踢出(ID数字)
  Enter the ID number of the player you would like to kick.

回复

使用道具 举报

发表于 2005-6-26 13:28:18 | 显示全部楼层
问一下 服务器提供的控制端口 服务端可以改??
回复

使用道具 举报

 楼主| 发表于 2005-7-5 10:49:32 | 显示全部楼层
Originally posted by sakuyamai at 2005-6-26 13:28:
问一下 服务器提供的控制端口 服务端可以改??


可以

/admin/default.cfg

里面改
回复

使用道具 举报

发表于 2005-7-5 11:52:45 | 显示全部楼层
谢谢,请问服务器提供的远程端口指的是什么端口?是游戏端口还是平时用来远程维护服务器所用远程软件的端口呢?
回复

使用道具 举报

 楼主| 发表于 2005-7-5 11:55:13 | 显示全部楼层
后者
回复

使用道具 举报

发表于 2005-7-6 15:03:21 | 显示全部楼层
NBAGUI,我试过了,连不进去,一直停留在你签名的第一行不动。是否是因为电信不让在DOS下PING的原因?
还是我参数没搞对?我的参数是:
"E:\Battlefield 2\AdminUtils\rcon\remoteconsole.exe" -h 202.96.144.131 -p 4899

[ Last edited by haiyunNC on 2005-7-6 at 15:07 ]
回复

使用道具 举报

发表于 2005-7-8 16:55:13 | 显示全部楼层
请教,远程管理密码载哪里设?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|=|HERO|=战队

GMT+8, 2024-11-15 15:30

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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