Linux x86_64: can't hit other tanks

NOTE: this is an informal bug post place ONLY. Real bugs should be posted on GitHub
Post Reply
exp[x]
Private
Private
Posts: 3
Joined: Thu Feb 16, 2006 10:44 pm

Linux x86_64: can't hit other tanks

Post by exp[x] »

I compiled the 2.0.4 source on my 64-bit ubuntu desktop without any errors, but whenever I shoot another tank, the bullet goes right through them. I can still get shot, however, and the bullets hit walls just fine. It's definitely not lag because I ran a server on my windows computer and had a tank in the windows client just sit still. I didn't make any changes to the source code other than flipping the y axis on joysticks. I tried compiling under my 32-bit chroot, and the problem went away. I don't want to have to use a chroot, though, because the game is choppy, and joysticks are only detected as 2-axis, 2-button. Any ideas?
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
exp[x]
Private
Private
Posts: 3
Joined: Thu Feb 16, 2006 10:44 pm

Post by exp[x] »

Oh, oops. I didn't realize there was already another thread on this. Thanks.
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

Updrade to version 2.0.5 (from cvs)
It's a known GCC 4 bug I believe.

Code: Select all

mkdir ~/cvsroot
cd ~/cvsroot
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bzflag login
{just press enter at the password prompt}
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bzflag co  -r v2_0branch -P bzflag
cd bzflag
./autogen.sh
./configure --prefix=/usr
make
su -c 'make install'
exp[x]
Private
Private
Posts: 3
Joined: Thu Feb 16, 2006 10:44 pm

Post by exp[x] »

I tried compiling from CVS and 2.0.4 with gcc-3.4 with the same problem. If I use that "export CXXFLAGS=-01" thing from the other thread, I get make errors.

EDIT: Nevermind; the problem was that they wrote -01 instead of -O1 (zero instead of "o"), and I just copied and pasted.
Post Reply