Bzflag TK Bug

NOTE: this is an informal bug post place ONLY. Real bugs should be posted on GitHub
Post Reply
User avatar
PlasticTank
Private First Class
Private First Class
Posts: 53
Joined: Sat Nov 22, 2008 5:45 pm

Bzflag TK Bug

Post by PlasticTank »

I'm running bzflag 2.0.10 on a mac that is running the mac os x leopard. I found this bug out a while ago, but didn't post it. For this bug to work, you have to do a few things.

1) Go to a rabbit hunt server
2) Become the rabbit
3) Take a screen shot, then after you are not the rabbit
4) After the screen shot, kill a teammate and you don't die

Its says "don't kill teamates" and you lose a point, but you don't die.

I hope they fix this is 3.0
Last edited by PlasticTank on Sun Jan 18, 2009 4:40 pm, edited 2 times in total.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Bzflag tk bug

Post by JeffM »

1)... dude, please use English words with ALL the letters, you are not 4.

2) It's technically a feature, when you take a screenshot you pause for a short time while the screenshot is taken. When you pause you give up your rabbit status, it's as simple as that.
ImageJeffM
User avatar
Branton
Private First Class
Private First Class
Posts: 18
Joined: Tue Apr 08, 2008 1:50 am

Re: Bzflag tk bug

Post by Branton »

I'm not entirely sure but it looks like when you pause it calls the function to select a new rabbit, but it calls it with no parameter (i.e. no one killed the rabbit). This looks like it is usually called when a player leaves the game. When that happens the paused player does fully change teams back to the hunter team as if he had actually been killed as the rabbit. I think that if the pause player's player index is added in the call in "bzfs.cxx:pausePlayer" it might fix the problem. Is there a developer that could check this out?
User avatar
PlasticTank
Private First Class
Private First Class
Posts: 53
Joined: Sat Nov 22, 2008 5:45 pm

Re: Bzflag tk bug

Post by PlasticTank »

Yes, thats what I thought. Did you try it out?
dereliction of duty
Private First Class
Private First Class
Posts: 122
Joined: Sat May 10, 2008 9:38 pm

Re: Bzflag tk bug

Post by dereliction of duty »

JeffM wrote:When you pause you give up your rabbit status, it's as simple as that.
the issue is with what happens in #4...
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Bzflag TK Bug

Post by blast »

I tested it and it seems to work correctly for me. When the rabbit hits F5, a new rabbit is picked. The one that was the rabbit gets correctly changed to a hunter. So what exactly are you saying is wrong here?

(I was using a 2.0.10 client on Windows that was the one using F5 as rabbit, and a 2.0.13 client on linux)
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
PlasticTank
Private First Class
Private First Class
Posts: 53
Joined: Sat Nov 22, 2008 5:45 pm

Re: Bzflag TK Bug

Post by PlasticTank »

I am saying that, after a new rabbit is picked, the old rabbit, (you) can tk without dieing. I am running bzflag 2.0.10 on a mac
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Bzflag TK Bug

Post by JeffM »

try it in 2.99.xx, the entire rabbit system has been redone.

see how much more fun it is when you use your words? ;)
ImageJeffM
User avatar
PlasticTank
Private First Class
Private First Class
Posts: 53
Joined: Sat Nov 22, 2008 5:45 pm

Re: Bzflag TK Bug

Post by PlasticTank »

Ok, i have 2.99, but there are no rabbit hunt servers up for 2.99
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Bzflag TK Bug

Post by blast »

So run a local one and try it.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply