Page 1 of 1

Bzflag TK Bug

Posted: Sun Jan 18, 2009 2:26 am
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

Re: Bzflag tk bug

Posted: Sun Jan 18, 2009 5:07 am
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.

Re: Bzflag tk bug

Posted: Sun Jan 18, 2009 2:20 pm
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?

Re: Bzflag tk bug

Posted: Sun Jan 18, 2009 2:46 pm
by PlasticTank
Yes, thats what I thought. Did you try it out?

Re: Bzflag tk bug

Posted: Sun Jan 18, 2009 5:42 pm
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...

Re: Bzflag TK Bug

Posted: Sun Jan 18, 2009 5:53 pm
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)

Re: Bzflag TK Bug

Posted: Sun Jan 18, 2009 6:28 pm
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

Re: Bzflag TK Bug

Posted: Sun Jan 18, 2009 7:09 pm
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? ;)

Re: Bzflag TK Bug

Posted: Sun Jan 18, 2009 7:52 pm
by PlasticTank
Ok, i have 2.99, but there are no rabbit hunt servers up for 2.99

Re: Bzflag TK Bug

Posted: Sun Jan 18, 2009 8:22 pm
by blast
So run a local one and try it.