[bf1942] RE : [bf1942] admin.remote
g8 at the.whole.net
g8 at the.whole.net
Wed Dec 25 11:20:35 EST 2002
I do not understand why my server admin FAQ didn't help you, it's very
clearly spelled out. http://bf1942.is.no.bs/bf1942-server-admin-faq.txt
Here is a word-for-word quote from it which tells you step by step how to
do what you want:
--------------------------------------------------------------------------
2. How do I set the admin password and use remote commands?
You may set the admin password in two ways:
A. Enter it whenever you (re)start the server at the server console.
B. Create a file called ServerAutoexec.con in the Settings folder of your
install directory.
To set the admin password at the server console, get in front of the
server/black window and hit the ` key to bring up the console (also called
the ~ key). This will take the console out of status display mode (where
it shows you FPS) and into entry mode where you can enter console
commands. When you get the > prompt, type:
admin.enableremoteadmin <password>
where <password> is any password of your choice that is all numbers OR
letters, BUT NOT BOTH AND NO SPACES!
After you have set the password on the server console, you can use the
same command from your client when you connect to the server. So, fire up
your game and connect to your server. Now open the console ingame with
the ` key and issue the following command:
admin.enableremoteadmin <password>
where <password> is the password you set before at the server console.
You should now be authed as an admin and able to issue remote commands.
To issue a remote command, use the following command:
admin.execremotecommand "command"
where command is any command you would normally run from the server
console. THE REMOTE COMMAND MUST BE ENCLOSED IN QUOTES. For example, to
kick a user number 15 you would issue this:
admin.execremotecommand "admin.kickplayer 15" or to ban player 15:
admin.execremotecommand "admin.banplayer 15"
To set the admin password in a config file (so it is enable on server
start and survives server restart), create a file in your Settings
directory called ServerAutoexec.con Enter any admin commands you want to
be executed when the server starts into this file. For example, to make
sure your admin password is applied every time the server starts you would
place the following line/command into the file:
admin.enableremoteadmin <password>
Now you will always have your admin password enabled when the server
(re)starts! Many thanks to s0z0 for locating the name of this file inside
the server binary!
3. How do I kick/ban people from my server?
Read #2 again if you are not sitting in front of the server/console. If
you are sitting in front of your server/console (i.e. NOT remote), then
you just issue the admin command right into the console
(i.e. game.listplayers and admin.kickplayer <number> )
4. How do I use the RemoteConsole tool included in the AdminTool folder?
WARNING - CURRENTLY ENABLING ACCESS FOR THIS TOOL WILL CAUSE THE SERVER TO
EXHIBIT THE "ASE" ERROR/HANG UPON CHANGING MAPS. THIS IS A BUG. ONLY
ENABLE ACCESS FOR THIS TOOL IF YOUR SERVER DOES NOT CHANGE MAPS.
DICE included a RemoteConsole tool which allows you to run a remote
console on your client computer (without running the full game). In order
to allow this tool to remotely access the server, you must enable the
access on the console of the server or in the ServerAutoexec.com file
located in the Settings folder). The command is as follows:
admin.enableremoteconsole <userid> <password> [port] (the port number is
optional)
where <userid> is the username you will use, <password> is any password of
your choice. The userid and password should be all numbers OR
letters, BUT NOT BOTH AND NO SPACES! You may also specify an alternate
port (the default is 4711) on which the server will listen for incoming
connections from the RemoteConsole tool.
After enabling access, run the RemoteConsole.exe on your client computer
in a command window. cd to C:\Program Files\EA GAMES\Battlefield 1942
Server\AdminTool and run the following command:
RemoteConsole -u <username> -p <password>
where <username> and <password> are the ones you just set in the server
console (or in the ServerAutoexec.con file in the Settings folder).
--------------------------------------------------------------------------
It's a bit of a long process to easily describe in an email, this is why
the FAQ exists :). Hope this helps, Merry Christmas!
-g8
On Wed, 25 Dec 2002, [iso-8859-1] argodia wrote:
> Ok, but I want to kick players or ban players while i'm playing (like in hlds e.g.). And this is this thing I don't manage to do and I
> would like to know exactly things or settings to change and/or command to type in console in game.
>
> following server FAQ doen't help me :/
> ------------------------------------------
>
> Faites un voeu et puis Voila ! www.voila.fr
>
>
More information about the Bf1942
mailing list