enabling dm mode on localhost
Moderator: Board moderators
enabling dm mode on localhost
I have installed and can play on a server on localhost (using debian packages). However, when I try the dm command, it says something like "nice try". Can anybody tell me how to set it up so that I can use the dm mode on my server?
Pyroc
Pyroc
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
You need to make some changes to the dm_file
http://crossfire.real-time.com/commands/dm/index.html
HOWTO Enable DM Access
The DM access file is found in share/crossfire/dm_file
This file contains authorization for dm access.
There are 3 fields, like this: name:password:host
Any field can be ignored if a * is used instead of a normal value - this is the extent of the wildcarding.
Lines that start with # are obviously ignored. This file is read each time someone attempts to become dm, so it can be changed after the server is running and results will apply to the present server that is running.
Example entries:
master:topsecret:*
(name must be master, password is topsecret, allow any host)
*:notelling:*
(only matches password)
As a specific example, add this line:
Pyroc:MyPassword:127.0.0.1
That way, you just need to type:
'dm MyPassword
and Pyroc will have DM access on the server.
http://crossfire.real-time.com/commands/dm/index.html
HOWTO Enable DM Access
The DM access file is found in share/crossfire/dm_file
This file contains authorization for dm access.
There are 3 fields, like this: name:password:host
Any field can be ignored if a * is used instead of a normal value - this is the extent of the wildcarding.
Lines that start with # are obviously ignored. This file is read each time someone attempts to become dm, so it can be changed after the server is running and results will apply to the present server that is running.
Example entries:
master:topsecret:*
(name must be master, password is topsecret, allow any host)
*:notelling:*
(only matches password)
As a specific example, add this line:
Pyroc:MyPassword:127.0.0.1
That way, you just need to type:
'dm MyPassword
and Pyroc will have DM access on the server.
-
- Luser
- Posts: 15
- Joined: Sun Nov 07, 2004 8:00 am
This file...
Where exactly is this?leaf wrote:You need to make some changes to the dm_file
http://crossfire.real-time.com/commands/dm/index.html
HOWTO Enable DM Access
The DM access file is found in share/crossfire/dm_file
Dragon steaks... Mmm... Yup, I'm a carnavor. Nupe, not ter players. Dost thou beist a dragon? Thou shalt join thy group of dragons! Ye can find us on thy server crossfire.metal
Re: This file...
If you are wondering how to find dm_file:Targetnight wrote:Where exactly is this?leaf wrote:You need to make some changes to the dm_file
http://crossfire.real-time.com/commands/dm/index.html
HOWTO Enable DM Access
The DM access file is found in share/crossfire/dm_file
On Linux do
Code: Select all
su
updatedb
locate dm_file
Code: Select all
Press F3(find file)
search for file called dm_file
or use the above linux code if you have cygwin installed
-
- Luser
- Posts: 15
- Joined: Sun Nov 07, 2004 8:00 am
Er... Can you point out directions to these?Cowboy wrote:On debian unstable/testing, it should be in /etc/crossfire
If you're running stable, it's in
/usr/share/games/crossfire
Thanks Salathar.
Dragon steaks... Mmm... Yup, I'm a carnavor. Nupe, not ter players. Dost thou beist a dragon? Thou shalt join thy group of dragons! Ye can find us on thy server crossfire.metal
-
- Luser
- Posts: 15
- Joined: Sun Nov 07, 2004 8:00 am
-
- Luser
- Posts: 15
- Joined: Sun Nov 07, 2004 8:00 am
I can't get onto localhost. My firewall allows connections while I try it, (I tweak it to allow them) and I have the maps. But I havent placed the maps into the folder they belong in-Where do they go? I kinda posted this in another topic, also.
Dragon steaks... Mmm... Yup, I'm a carnavor. Nupe, not ter players. Dost thou beist a dragon? Thou shalt join thy group of dragons! Ye can find us on thy server crossfire.metal