2.4 GM lock problem

NOTE: this is an informal bug post place ONLY. Real bugs should be posted on GitHub
Post Reply
User avatar
War Pig
Private First Class
Private First Class
Posts: 46
Joined: Sat Feb 16, 2008 11:38 pm

2.4 GM lock problem

Post by War Pig »

With Quality=Experimental you get a GM lock box on screen that follows the player you locked on. If that player subsequently picks up a ST flag, the box remains on screen and tracks him. The lock appears to cancel, but the box still follows the player. If you fire, the box disappears when your shot dies. If the locked player dies, and respawns, the box continues to follow him, regardless of which flags he grabs.

The GM lock should cancel, and the box disappear when ST flag is grabbed.

wp
<life> <!-- insert something interesting here --> </life>
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: 2.4 GM lock problem

Post by JeffM »

It's interesting how the markers are showing the bugs in the other code since they are just displaying client data in a new way. I'll take a look into this, it seems we don't clear out the "lock target" from GM when we should.
ImageJeffM
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: 2.4 GM lock problem

Post by JeffM »

I have a fix that should help committed to 2.4.1 in svn, it needs testing but it should clear out the lockon target and make it match the GM update code. It should be noted that this bug seems to have been in bzflag for a very long time we just didn't see it until something showed us graphically what the tank thought it was locked onto.
ImageJeffM
User avatar
War Pig
Private First Class
Private First Class
Posts: 46
Joined: Sat Feb 16, 2008 11:38 pm

Re: 2.4 GM lock problem

Post by War Pig »

Since this is, in effect, a 'see ST when you shouldn't' bug, how will we keep players from using 2.4.0 client to cheat? I assume make bzfs require >= 2.4.1? I realize this is of minimal use since it is only good until you shoot once.
<life> <!-- insert something interesting here --> </life>
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: 2.4 GM lock problem

Post by joevano »

War Pig wrote:Since this is, in effect, a 'see ST when you shouldn't' bug, how will we keep players from using 2.4.0 client to cheat? I assume make bzfs require >= 2.4.1? I realize this is of minimal use since it is only good until you shoot once.
The server can't tell what version of the client you have, so there is no way to make what you say happen. People WILL and are cheating with the 2.4 client and there really isn't anything to be done about it until the game is moved server side with the client getting limited updates. It is on the roadmap.... but not for quite some time.
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
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: 2.4 GM lock problem

Post by JeffM »

yep it's in there for the life of the version. It sucks, but then there are TON of other bugs in there too. As I said, the data has been set this way for a long time there was just no display for it.

If it becomes a big issue then servers can force markers to be off with _forbidMarkers

Also 2.4.1 will never be released, the next update will be 2.4.2 since we always release even revisions, odd numbers are just used during development.
ImageJeffM
User avatar
Mopar Madness
Private First Class
Private First Class
Posts: 169
Joined: Mon Jul 03, 2006 3:31 am

Re: 2.4 GM lock problem

Post by Mopar Madness »

2.0.2 still gets a few people ticked off, but we lived through that bug for 6 years, we can live through this bug too, hopefully it won't be a 6 year wait for next break in protocol though ;)
Post Reply