Page 1 of 1

-good{value} flag definition will cause you problems

Posted: Mon Nov 03, 2003 2:57 am
by wingnut

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.

Posted: Mon Nov 03, 2003 12:27 pm
by SGI
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.

Posted: Mon Nov 03, 2003 1:55 pm
by wingnut
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. ... aid=834847

Posted: Mon Nov 03, 2003 8:04 pm
by SGI
!!!!!!!!!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

Posted: Mon Nov 03, 2003 10:40 pm
by widowmaker
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)