help with killing every player
- the panda next door
- Private First Class
- Posts: 42
- Joined: Sun Mar 16, 2008 3:55 am
- Location: Las Vegas
help with killing every player
what is the code I use to kill ever player on my map?
Also, when I run /killall, the server crashes.
Also, when I run /killall, the server crashes.
- the panda next door
- Private First Class
- Posts: 42
- Joined: Sun Mar 16, 2008 3:55 am
- Location: Las Vegas
my plugin blows everyone up on a flag capture.
when a flag is captured, the server crashes after it prints this:
when a flag is captured, the server crashes after it prints this:
Code: Select all
Player that broken tank over ther [1] (Green Team) might have tried to capture Blue Team flag without reaching their own base. (Player position: 4.580000 -27.020000 0.000000)
- the panda next door
- Private First Class
- Posts: 42
- Joined: Sun Mar 16, 2008 3:55 am
- Location: Las Vegas
- the panda next door
- Private First Class
- Posts: 42
- Joined: Sun Mar 16, 2008 3:55 am
- Location: Las Vegas
That is a topic way to large for here. Do some searching on the interwebz (try googling). Debugging is an integral part of programming, looks like you got some learning to do. Look for a tutorial. Running a debugger isn't difficult, finding the bugs can be, but without one it would be nearly impossible.broken tank over there wrote:How do I run a debugger?
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
"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
- the panda next door
- Private First Class
- Posts: 42
- Joined: Sun Mar 16, 2008 3:55 am
- Location: Las Vegas
- the panda next door
- Private First Class
- Posts: 42
- Joined: Sun Mar 16, 2008 3:55 am
- Location: Las Vegas
You already have a debugger: gdb and Dtrace. I have no idea how to use Dtrace, as I am not inclined to learn the D programming language just to use it, but I know how to use gdb a little bit. To load bzfs in gdb, just type "gdb bzfs" in the terminal. Once gdb is running, type "run -conf <conf>." Then run bzfs until it crashes. When it crashes, you can type "backtrace" to find what caused the crash. I forgot how to step through the program, and I never learned anything past the basics.
Just search "gdb tutorial" in Google.
Oh, and FYI, if you are going to get involved in programming, you should expect to do A LOT of reading.
Also, since BZFlag isn't the place to learn how to program, you should check out gamedev.net. You don't have to do game programming, and it is an excellent resource/community.
And don't forget to pass --enable-debug to configure!
One more thing, if you arrive at another problem, try to research your problem first, and only ask for help after you have made a significant effort to find a solution. You've probably spent more than a day asking about a debugger, and all you had to do is search "xcode debugger" in Google. You could have also tried to look for answers at developer.apple.com.
Just search "gdb tutorial" in Google.
Oh, and FYI, if you are going to get involved in programming, you should expect to do A LOT of reading.
Also, since BZFlag isn't the place to learn how to program, you should check out gamedev.net. You don't have to do game programming, and it is an excellent resource/community.
And don't forget to pass --enable-debug to configure!
One more thing, if you arrive at another problem, try to research your problem first, and only ask for help after you have made a significant effort to find a solution. You've probably spent more than a day asking about a debugger, and all you had to do is search "xcode debugger" in Google. You could have also tried to look for answers at developer.apple.com.