server problem
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact:
server problem
I'm trying to start a server however when i put in the command to run the server it says it cant find the bzfag configuration file.
what am i doing wrong?
what am i doing wrong?
Most likely it is a problem with your path to the config file. Why don't you post what you are doing, that way we can tell you what is wrong? It will go quicker that way.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact:
Is your conf.cfg file in C:\Program Files\BZFlag2.0.8\ ? Because with that command line, it needs to be there. You could do something like bzfs -conf "c:\path\to\my\config\conf.cfg" if it is somewhere else, or move it to the BZFlag2.0.8 folder.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact:
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact:
ok heres the files
- Attachments
-
- Face_The_Triad.bzw
- this is the map file
- (11.1 KiB) Downloaded 89 times
-
- conf.cfg.txt
- this is the configuration file
- (5.71 KiB) Downloaded 97 times
As you will notice, the file you uploaded is named "conf.cfg.txt" not "conf.cfg". Microsoft decided it would be a great idea if they hid the file extensions for known file types by default. Here is how to turn extensions back on, assuming Windows XP:
Hope this helps!
- Click on the Start Button, and go to Control Panel.
- Go to Folder Options
- Click on the View tab
- Under "Advanced Settings", uncheck "Hide extensions for known file types"
- Click on OK
Hope this helps!
- Triumph of the Soul
- Corporal
- Posts: 294
- Joined: Thu Jul 06, 2006 4:32 pm
- Location: Minnesota
You appear to have two "-world" commands. I don't know if that is possible to have without conflict.
Also, it looks like you just took the client configuration file and added
to it. Unless you get rid of everything else, BZFS isn't going to like your config. Or are client config variables applicable to a server config file? If so would that affect the client configuration settings for all tanks?
Blast
I was able to run (or at least load into) a config file of my own in BZFS with the extra file extension.
Also, it looks like you just took the client configuration file and added
Code: Select all
-world Face_The_Triad C:\Documents and Settings\Joe\Face_The_Triad.bzw
-publicaddr 68.205.202.237:5154
+r
-j
-world warin's world.bzw
Blast
I was able to run (or at least load into) a config file of my own in BZFS with the extra file extension.
Creator @: Duck or Die, Duck or Die CTF, Fuel Stack, Guernica, Normal, Frayed
Yes, as long as you specified -conf conf.cfg.txt when starting bzfs, it would load. The file extension is nothing more than a helper to specify what MIGHT be in the file. It would load even if it was called 'budget.xls' (the file contents would still need to be plain text and not an actual MS Excel file). But as blast007 points out, most people do not see that final extension because Windows, in it's default configuration chose to hide the extensions of file that were registered to open with a default program. So, warinthestar was not specifying the full file name (was leaving off the .txt), which is why he was getting the config not found error.A Distraction wrote:Blast
I was able to run (or at least load into) a config file of my own in BZFS with the extra file extension.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact:
- CannonBallGuy
- Private First Class
- Posts: 2083
- Joined: Wed Apr 12, 2006 1:31 am
- Contact:
You are confusing bzfs and bzflag config files.
They are totally different.
Start a totally fresh, empty new plain text file and add these lines to it:
This has NONE of the client options, which you do NOT want for a server.
It also has only one -world line and it is corrected, -world only takes a path.
Now, try to run bzfs again with:
They are totally different.
Start a totally fresh, empty new plain text file and add these lines to it:
Code: Select all
-world C:\Documents and Settings\Joe\Face_The_Triad.bzw
-publicaddr 68.205.202.237:5154
+r
-j
It also has only one -world line and it is corrected, -world only takes a path.
Now, try to run bzfs again with:
Code: Select all
-conf whateveryousaveyournewconfas.conf -dddd
Merry Christmas!
"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."
"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact:
Well, the problem isn't with bzfs...warinthestar wrote:it still has the error message for the config as the first line. besides that it looks like it would work fine.
If your sure it looks fine then I am wondering why you are looking for help.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact:
OK. Let's give this another try. Does your config file have a pretty little icon that looks like a notepad on the page? Or does it have the standard 'window on a page' icon?
If it is the pretty notepad and you want to understand and fix it (otherwise you can go to the other set of steps and just have it work) :
You need to change your window settings so you can see the extensions. Do that by:
1. Open 'My Computer'
2. Click on the 'Tools' menu
3. Click on the 'View' tab
4. Scroll down the list and uncheck 'Hide extensions for known file types' ( and while your at it check 'Launch folder window in a seperate process' and select 'Show hidden files and folders')
5. Click 'OK'
6. In 'My Computer' goto C:\Program Files\BZFlag2.0.8 (or where ever you put the file that you created from CBG's post)
7. Highlight the file and press F2
8. press the right arrow key
9. Press the backspace key 4 times (to delete '.txt')
10. Press <Enter>
11. Make sure your Face_The_Triad.bzw file is in the C:\Program Files\BZFlag2.0.8 folder
12. Open a command prompt, by clicking on 'Start... Run...' on the task bar
13. Type 'CMD' in the Run Dialog box and hit <Enter> or click 'OK'
14. In the command prompt, type:
If it is the standard 'window on a page' icon:
1. Download the file attached to this post to the C:\Program Files\BZFlag2.0.8 folder
2. Make sure your Face_The_Triad.bzw file is in the C:\Program Files\BZFlag2.0.8 folder
3. Open a command prompt, by clicking on 'Start... Run...' on the task bar
4. Type 'CMD' in the Run Dialog box and hit <Enter> or click 'OK'
5. In the command prompt, type:
If it is the pretty notepad and you want to understand and fix it (otherwise you can go to the other set of steps and just have it work) :
You need to change your window settings so you can see the extensions. Do that by:
1. Open 'My Computer'
2. Click on the 'Tools' menu
3. Click on the 'View' tab
4. Scroll down the list and uncheck 'Hide extensions for known file types' ( and while your at it check 'Launch folder window in a seperate process' and select 'Show hidden files and folders')
5. Click 'OK'
6. In 'My Computer' goto C:\Program Files\BZFlag2.0.8 (or where ever you put the file that you created from CBG's post)
7. Highlight the file and press F2
8. press the right arrow key
9. Press the backspace key 4 times (to delete '.txt')
10. Press <Enter>
11. Make sure your Face_The_Triad.bzw file is in the C:\Program Files\BZFlag2.0.8 folder
12. Open a command prompt, by clicking on 'Start... Run...' on the task bar
13. Type 'CMD' in the Run Dialog box and hit <Enter> or click 'OK'
14. In the command prompt, type:
Code: Select all
cd \Program Files\BZFlag2.0.8 <enter>
bzfs -conf <the_name_of_your_conf_file> <enter>
If it is the standard 'window on a page' icon:
1. Download the file attached to this post to the C:\Program Files\BZFlag2.0.8 folder
2. Make sure your Face_The_Triad.bzw file is in the C:\Program Files\BZFlag2.0.8 folder
3. Open a command prompt, by clicking on 'Start... Run...' on the task bar
4. Type 'CMD' in the Run Dialog box and hit <Enter> or click 'OK'
5. In the command prompt, type:
Code: Select all
cd \Program Files\BZFlag2.0.8 <enter>
bzfs -conf Face_The_Triad.conf <enter>
- Attachments
-
[The extension conf has been deactivated and can no longer be displayed.]
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact:
Ok, I'm going to try and interpret what you said, because it really makes no sense. You need to speak in complete sentences with proper grammer, and lots of details. It would be helpful to see the exact wording on error messages, screen shots, the exact command line commands you are typing in and such. We can help you, but you are not getting much from you. Your post is like telling the mechanic to fix your car, but leaving it at home and going to the shop and saying, "Well it doesn't run, what is wrong with it?"warinthestar wrote:it still isnt working but it brought up the server listing but it cant find the server when i try to join. again it still has the error message.
Interpretation:
Ok, we are making some progress, I see the server on the list, but I cannot join when I select it. (not sure what the "again it has the error message, means", if it is on the list)
So if it is on the list, your map is running. To test it, if you have bzflag on the same machine that you are running bzfs, instead of connecting by selecting it on the list put 'localhost' or your internal ipaddress in the server line. Then try and connect. You should be able to. But that brings up our next question...
Have you configured your router to allow people from the outside to get to your BZFlag server? You do HAVE a router, right?
EDIT: I got on, no problems (other than horrific lag). so you just need to put 'localhost' if BZFlag is on the same machine, or your servers local ipaddress in 'server' if you have the luxury of a second machine.
Last edited by joevano on Sat Jul 21, 2007 12:08 pm, edited 1 time in total.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
-
- Private First Class
- Posts: 18
- Joined: Sat Mar 03, 2007 8:53 pm
- Location: Kissimmee, Florida
- Contact: