bad argument -helpfile

Place for people to discuss public servers, and also for admins to lay out the details of their servers
Post Reply
User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

bad argument -helpfile

Post by tw1sted » Sun Mar 12, 2006 2:59 pm

when i l load my server from cmd, it says "bad argument -helpfile" and then it gived me a list of all the commands. what is wrong?

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano » Sun Mar 12, 2006 6:59 pm

Post the command exactly as you have it on your system.. also specify the OS you are running it on (windows/mac/linux)...

User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted » Sun Mar 12, 2006 7:15 pm

donny_baker wrote:Post the command exactly as you have it on your system.. also specify the OS you are running it on (windows/mac/linux)...
in my conf. i have it as -helpfile rules.txt. when i start the server in cmd, it says bad argument -helpfile and then it gives a list of all the server variables. also, i have windows.
Last edited by tw1sted on Sun Mar 12, 2006 7:46 pm, edited 1 time in total.

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Sun Mar 12, 2006 7:29 pm

A Heart Attack wrote:
in my conf. i have it as -helpfile rules.txt. when i start the server in cmd, it says bad argument -helpfile
it needs to be like this:
"-helpmsg help_rules.txt rules"
also, the text file must be named "help_rules"
"-helpmsg" designates it as a help message
"help_rules.txt" is the help file
"rules" i what you type in bzflag, such as "/help rules"

User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted » Sun Mar 12, 2006 11:38 pm

thanks that works.

User avatar
khazhyk
Private First Class
Private First Class
Posts: 1400
Joined: Sun Feb 06, 2005 5:40 pm
Location: Somewhere over there.
Contact:

Post by khazhyk » Mon Mar 13, 2006 12:20 am

you don't need to name it help_rules...
just do:
-helpmsg "path/to/rules.txt" rules

and if you do /help rules that will pop up in the bzflag chat thingy
Image

User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted » Mon Mar 13, 2006 12:49 am

do you need the path to the file?

User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3249
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe » Mon Mar 13, 2006 2:08 am

Yes, you need the path. Don't do -helpmsg help.txt or it won't work.

User avatar
Sir Lance-A-Lot
Private First Class
Private First Class
Posts: 503
Joined: Tue Jun 29, 2004 12:49 am
Location: Amongst my Computers
Contact:

Post by Sir Lance-A-Lot » Mon Mar 13, 2006 3:39 am

Non-path to file works for me, as long as the file is in the server directory.

Just a note for future releases, the default bzfs.cong contains "-helpfile" rather than the needed "-helpmsg."

Perhaps that could be changed to ward off these problems in the future? 8)
Image

User avatar
The Guardian
Private First Class
Private First Class
Posts: 85
Joined: Fri Jan 06, 2006 8:38 am
Location: Planet Earth

Post by The Guardian » Wed Mar 15, 2006 6:59 am

I sure hope so...

Post Reply