Page 1 of 2

/Set??

Posted: Sun Apr 02, 2006 3:20 pm
by Deathknight
I made a simple LAN map....i cant set things...Why is this?? I am the host right?..... :evil:

Posted: Sun Apr 02, 2006 3:21 pm
by Scorch
in the conf u have
-password passhere
on the server type
/password passhere
then you can do /set commands.

Posted: Sun Apr 02, 2006 3:25 pm
by Deathknight
ok tell me step by step........I start up a server with bzflag.....i start playing......i press z? and put /password passhere

Posted: Sun Apr 02, 2006 3:32 pm
by tw1sted
in you configuration file, put this:

Code: Select all

-password pass
then load the restart the server, and thype this:

Code: Select all

/password pass

Posted: Sun Apr 02, 2006 4:11 pm
by Deathknight
configuration file....yea.....that...well.....erm...how do i start it....remember that im doing this with localhost no so big server...just my own small 1

Posted: Sun Apr 02, 2006 4:14 pm
by DJ Atomica
Ugh! Learn where to post things. This belongs in General Server Discussion and use the search utiality above! Thanks!

Posted: Sun Apr 02, 2006 4:36 pm
by Deathknight
#set mouseboxsize 5
#set observerTeamPrefix observer_
set panelopacity 0.000000
#set password "" <-- is it this 0ne or do i make a new one???????????????
#set pulseDepth 0.4

Posted: Sun Apr 02, 2006 4:39 pm
by Deathknight
and do i open the conf with note pad??

Posted: Sun Apr 02, 2006 4:43 pm
by joevano
Yes that is the one.. You can edit it in notepad... remove the # sign in front of the line and put a password between the quotes

:D

Posted: Sun Apr 02, 2006 4:45 pm
by Deathknight
thanks

Posted: Sun Apr 02, 2006 4:49 pm
by Deathknight
like this or eh?
set password "lol"

Posted: Sun Apr 02, 2006 4:53 pm
by tw1sted
Deathknight wrote:like this or eh?
set password "lol"
umm no. u put the

Code: Select all

-passowrd pass
into the config so you could type

Code: Select all

/password pass
on the server to become an admin to set stuff. after u typed the /password on the server you can run /set commands. you have to type:

Code: Select all

/set _variablename #

Posted: Sun Apr 02, 2006 5:03 pm
by Deathknight
erm...

Posted: Sun Apr 02, 2006 5:19 pm
by Scorch
Deathknight wrote:#set mouseboxsize 5
#set observerTeamPrefix observer_
set panelopacity 0.000000
#set password "" <-- is it this 0ne or do i make a new one???????????????
#set pulseDepth 0.4
WRONG CONFIG FILE!

Posted: Sun Apr 02, 2006 7:06 pm
by TD-Linux
Remember - not everybody uses a config file for their server!
Deathknight, that is your bzflag config file, not the bzfs one.

A bzfs config is just a list of command-line options - you don't need it, you can just use them directly.

Start bzfs like this:
bzfs -password supersecret

Then log into your server with bzflag and type:
/password supersecret

That should do it.
I don't use configs, instead I have a sh script with bzfs and all the options on the command line.

Posted: Wed Apr 05, 2006 1:55 pm
by Deathknight
#define bz_perm_say "say"
#define bz_perm_sendHelp "sendHelp"
#define bz_perm_setAll "setAll"
#define bz_perm_setPassword "setPassword" <-- IS IT THIS ONE THEN??
#define bz_perm_setPerms "setPerms"
#define bz_perm_setVar "setVar"
#define bz_perm_showOthers "showOthers"
#define bz_perm_shortBan "shortBan"

Posted: Wed Apr 05, 2006 2:01 pm
by Deathknight
it says that i DONT have the permision to set that command

Posted: Wed Apr 05, 2006 2:25 pm
by joevano
TD-Linux wrote:Remember - not everybody uses a config file for their server!
Deathknight, that is your bzflag config file, not the bzfs one.

A bzfs config is just a list of command-line options - you don't need it, you can just use them directly.

Start bzfs like this:
bzfs -password supersecret

Then log into your server with bzflag and type:
/password supersecret

That should do it.
I don't use configs, instead I have a sh script with bzfs and all the options on the command line.
Start bzfs like this:
bzfs -password supersecret

Then log into your server with bzflag and type:
/password supersecret


This is what you need to do... please do it. Don't mess with a configuration file

Posted: Wed Apr 05, 2006 3:28 pm
by Deathknight
bzfsAPI....i found this as NOTEPAD
Do i write it there?
Or.....bzfs as a LIB File...and what do i open it with? :|

Posted: Wed Apr 05, 2006 4:15 pm
by smartkid
ok under c:/program files/bzflagX.X.X/data/ should be somewhere in there an example .conf file. copy it to c:/ and name it like BZFSC or config or whatever.then right click, go to open with then hit notepad, then find (ctrl + F) -passowrd pass make sure there is no (#) in front of it then change it to anything.

ex

-passowrd MyPass
-passowrd Admin
whatever etc.

Now somehow run the server, I recogmend making a bat file but im not going to explain doing that. Now that your in the game, hit (N) key (the say to all key) then type /passowrd WhateverYouPut

then bzflag should say you have admin privs or something, then go knock yourself out kicking your friends off your lan game!

thanx,
smartkid

Posted: Wed Apr 05, 2006 4:30 pm
by Deathknight
#set mouseboxsize 5
#set observerTeamPrefix observer_
set panelopacity 0.000000
-password MyPass
-password Admin
#set pulseDepth 0.4
#set pulseRate 1.0

Like this u mean?

Posted: Wed Apr 05, 2006 4:32 pm
by Deathknight
nope....didnt work

Posted: Wed Apr 05, 2006 4:42 pm
by A Meteorite
Deathknight
You are editing your config.cfg file, don't touch that!

Open your map that you made with NotePad, now add the following to the top:

Code: Select all

options
-password mypass
end
Now start bzfs by running MS-DOS (type cmd at the "Run" command in your start menu). Do the following commands:

Code: Select all

cd C:\Program Files\BZFlag2.0.4
bzfs -world "C:\Documents and Settings\USERNAME\Desktop\map.bzw"
If you are not using BZFlag v2.0.4 (like 2.0.5b7 for instance) replace it with that. Also, the -world path is going to be wrong, the best way to do it is to type all the way up to "-world " (with the space after it, and no parentheses) and DRAG the map file to the MS-DOS window.

If you follow this exactly, it will work. :)

Posted: Wed Apr 05, 2006 4:47 pm
by Deathknight
remeber i dun wanna make a server...just localhost

Posted: Wed Apr 05, 2006 4:53 pm
by A Meteorite
Deathknight wrote:remeber i dun wanna make a server...just localhost
The way it's running will only be a local server - don't worry, you'll never appear on the list.