Page 1 of 1

Used to work, now doesn't

Posted: Wed Feb 02, 2005 10:59 pm
by the enemy
Hi,

I had global logins working ok. Then I temporarily changed my callsign. When I changed it back, global logins no longer worked. I've typed and retyped my callsign and password without any change. Although in fact the error I get is:

Global login rejected, bad token.

as opposed to:

ERROR: did not get token:
NOTOK: invalid callsign or password (the enemy:xxxxx)

which is what i get if i use the wrong password.

What's up?

Thanks in advance

Posted: Tue Feb 08, 2005 11:50 pm
by the enemy
I worked it out eventually. It turns out that without telling me, my ISP enabled a transparent proxy that intercepted all port 80 traffic. That changed my apparent IP address when bzflag connected to the list server to get a token for authentication.

The workaround for people in this position is to edit the config.cfg file for bzflag, and change the list server config line from:
set list http://list.bzflag.bz/db
to:
set list http://list.bzflag.bz:81/db

Posted: Fri Mar 11, 2005 2:29 am
by temporal distraction
Well this fix worked on my work ( I mean other :)) machine but not at home. Here at home the URL in that line isn't "http://list.bzflag.bz/db" - it's "http://my.BZFlag.org/db/" and everytime I change it to "http://my.BZFlag.org:81/db/" it gets changed back when I load the game.

I've tried putting either version in and it always gets changed back to "http://my.BZFlag.org/db/" even though I verify that I've saved the edit before loading the game.

I also don't get the error at home - it just fails to login with the global system (no warning) and then I can't login locally either (it says password incorrect). But I did see the error described below (and then tried this fix) and it worked, so HUH?

the file I am editing is "~/Library/Application Support/BZFlag/2.0/config.cfg "(on Mac OS X)
and the line I am trying to edit is "#set list http://my.BZFlag.org/db/"

tia

Posted: Fri Mar 11, 2005 5:10 am
by DTRemenak
Remove the # in front of the line. That tells bzflag to ignore the line...which it does, causing your changes to have no effect.