/Set??

General talk about the map making process.
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

/Set??

Post by Deathknight »

I made a simple LAN map....i cant set things...Why is this?? I am the host right?..... :evil:
]Deathknight[
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

in the conf u have
-password passhere
on the server type
/password passhere
then you can do /set commands.
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post 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
]Deathknight[
User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post 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
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post 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
]Deathknight[
User avatar
DJ Atomica
Private First Class
Private First Class
Posts: 145
Joined: Thu May 12, 2005 8:55 pm
Location: PA - USA

Post by DJ Atomica »

Ugh! Learn where to post things. This belongs in General Server Discussion and use the search utiality above! Thanks!
DJ Atomica.........Scratching the records! :twisted:

Skype me! Skype name is "dj.atomica"!
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post 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
]Deathknight[
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post by Deathknight »

and do i open the conf with note pad??
]Deathknight[
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post 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
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

:D

Post by Deathknight »

thanks
]Deathknight[
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post by Deathknight »

like this or eh?
set password "lol"
]Deathknight[
User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post 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 #
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post by Deathknight »

erm...
]Deathknight[
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post 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!
User avatar
TD-Linux
Sergeant
Sergeant
Posts: 724
Joined: Wed Apr 27, 2005 8:26 pm
Location: Mountain View, CA

Post 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.
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post 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"
]Deathknight[
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post by Deathknight »

it says that i DONT have the permision to set that command
]Deathknight[
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post 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
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post 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? :|
]Deathknight[
User avatar
smartkid
Private First Class
Private First Class
Posts: 153
Joined: Sun Mar 19, 2006 9:24 pm

Post 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
~Sk
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post 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?
]Deathknight[
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post by Deathknight »

nope....didnt work
]Deathknight[
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post 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. :)
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
Deathknight
Private First Class
Private First Class
Posts: 29
Joined: Sun Apr 02, 2006 2:08 pm
Location: Finland

Post by Deathknight »

remeber i dun wanna make a server...just localhost
]Deathknight[
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post 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.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
Post Reply