-good{value} flag definition will cause you problems

NOTE: this is an informal bug post place ONLY. Real bugs should be posted on GitHub
Post Reply
User avatar
wingnut
Private First Class
Private First Class
Posts: 18
Joined: Tue Sep 09, 2003 5:59 pm
Location: Detroit, MI
Contact:

-good{value} flag definition will cause you problems

Post by wingnut » Mon Nov 03, 2003 2:57 am

Howdy!

I just installed 1.7g2 server for the first time and found the cool HTML form which lets you interactively build a bzfs.conf file. It allows you to generate a configuration file with a value defined for number of good flags that you want to start.

I made this mistake.

I had it put in -good{75}, specifically the line had:
+f good{75} +f ST{5} +f SW{5}

The server would star, it would register with the server list and you could try to connect to it but every time you would try, it would immediatly return an error saying that there was a problem connecting to the server.

By trial and error I found that by changing this back to just:
+f good +f ST{5} +f SW{5}
all the problems went away.

I think the code needs to check for anything defined after "+f good", report it as invalid and that it is being ignored or it should report it as an invalid option and exit immediatly. One or the other.

User avatar
SGI
Private First Class
Private First Class
Posts: 513
Joined: Mon Dec 09, 2002 7:24 pm
Location: Motown, MI, USA

Post by SGI » Mon Nov 03, 2003 12:27 pm

eak wrote:
I had it put in -good{75}, specifically the line had:
+f good{75} +f ST{5} +f SW{5}
I never used/saw that command.......

#Number of superflags that must exist at all times
+s 75

#Number of superflags that may exist at any time
-s 75

+f {200}ST...........

probably you understood......good is just an example.There isnt any good in the code.

User avatar
wingnut
Private First Class
Private First Class
Posts: 18
Joined: Tue Sep 09, 2003 5:59 pm
Location: Detroit, MI
Contact:

Post by wingnut » Mon Nov 03, 2003 1:55 pm

Actually, there is. The code maintainer on sourceforge responsible for that chunk of code tells me that it is actually a multiplier. multiply the value X26 to get thje number of good flags generated.

In the bug report I filed on sourceforge, he has a jpg image of a map with 2600 flags (+f good{100}) wjicj looks like snow is covering the map.

http://sourceforge.net/tracker/download ... aid=834847

User avatar
SGI
Private First Class
Private First Class
Posts: 513
Joined: Mon Dec 09, 2002 7:24 pm
Location: Motown, MI, USA

Post by SGI » Mon Nov 03, 2003 8:04 pm

!!!!!!!!!wow 2600 flags...Sorry I checked after.
Yes it is that command but I never used.
Sorry man

#Mandatory flags
+f good{100}


Im going to try in the server ..Im so curious now.
Sorry again

widowmaker
Private First Class
Private First Class
Posts: 231
Joined: Sun Mar 09, 2003 2:13 am
Location: USA

Post by widowmaker » Mon Nov 03, 2003 10:40 pm

I have found that servers have trouble with people connecting when there are too many flags (at about 300 or so it starts having problems)

Post Reply