Search found 198 matches

by Enigma
Thu Jul 03, 2008 1:39 am
Forum: Plug-in Development
Topic: Getting Flag Information
Replies: 2
Views: 2745

Getting Flag Information

While I was writing a plug-in, I found it useful to be able to get extra information about a flag from its flag code, such as its shot type, quality, full name, and whether or not it is a team flag. I am pretty sure the current API does not have a way to get this information, so I wrote a class that...
by Enigma
Tue Jul 01, 2008 4:41 pm
Forum: Help: Tactics and Playstyles
Topic: Using the Jumper in Missile War 2.3
Replies: 5
Views: 3643

Yep, it's just a matter of adding velocity vectors. I have found that using roughly %75 full speed will launch you right next to the flag. If you use about %80 to %85 full speed, you can land on the wall above the SB flags.
by Enigma
Tue Jun 24, 2008 4:25 am
Forum: Help: Source Code / Compiling / Development
Topic: help with making a new tab
Replies: 4
Views: 3997

If you followed what anomaly said, you should have ended up looking in the function handleMessage(void*) in playing.cxx. If you scroll to the end of the function, you'll see some calls to addMessage(). This function calls ControlPanel::addMessage(), and, as you would expect, adds a message to the co...
by Enigma
Sat Jun 21, 2008 6:40 am
Forum: Plug-in Development
Topic: help with killing every player
Replies: 12
Views: 5976

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 -co...
by Enigma
Fri Jun 20, 2008 6:59 pm
Forum: Plug-in Development
Topic: Changing shot type problems
Replies: 0
Views: 1848

Changing shot type problems

While I was testing a plug-in today, I had a few problems. I am using the unstable code in svn trunk. If I call bz_setPlayerShotType(), I cannot shoot. I don't know if this happens to everyone or just the player who is getting a different shot type, as I am the only one on the server. Once I grab or...
by Enigma
Sun Jun 15, 2008 9:52 am
Forum: Plug-in Development
Topic: Fusion Plug-in
Replies: 5
Views: 3422

Fusion Plug-in

So I started writing another plug-in. It changes the shot type based on a string that is passed to it. For instance, if you passed "WG&GM-CL&L" to the plug-in, WG would have GM shots, and CL would have L shots. Here are some screenshots. Low Gravity with ShockWave Cloak with Laser ...
by Enigma
Thu Jun 12, 2008 8:44 pm
Forum: Plug-in Releases
Topic: flagOfTheDay plugin released!
Replies: 9
Views: 7595

There is also a fairly large list of GPL-compatible licenses here.
by Enigma
Sun Jun 08, 2008 2:03 am
Forum: Help: Source Code / Compiling / Development
Topic: Mac: How do I compile plugins???
Replies: 5
Views: 3404

I think you have to add --enable-shared with 2.0.11.
by Enigma
Sun Jun 01, 2008 3:30 pm
Forum: Help: Source Code / Compiling / Development
Topic: Compiling on Solaris
Replies: 2
Views: 2554

Wait, did you use --with-libcurl=FILE or --with-libcurl=DIR?

Have you tried using LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" instead of --with-libcurl?

I'm just throwing around ideas.
by Enigma
Sat May 24, 2008 3:25 pm
Forum: Map releases
Topic: Incomplete variation of hix
Replies: 4
Views: 2471

Incomplete variation of hix

This is a map I started working on, but I don't think I will try to do anything else to it. As you already know, it's a variation of Hix, and it is incomplete. I say incomplete because, for some reason, the tanks get permanently stuck on the blue base and the green base, but not the red base. They a...
by Enigma
Thu May 15, 2008 12:45 am
Forum: Help: Tactics and Playstyles
Topic: Mid-air fighting help
Replies: 14
Views: 7027

Nothing beats practice :!:
by Enigma
Sun May 11, 2008 5:43 am
Forum: Players
Topic: Lowest Scores? Highest Scores?
Replies: 42
Views: 17091

According to http://my.BZFlag.org/playerstats.php my most losses amounts to 4003 . I was testing a spawn plug-in with a very short explode time and auto pilot on. Some people took advantage of me, as I was spawning in the same spot. One shock wave probably killed me 20 times. I suppose I found a way...
by Enigma
Sun May 11, 2008 4:51 am
Forum: Plug-in Development
Topic: Kamikaze Plugin
Replies: 9
Views: 5857

I made a few changes so that scores are updated. This was done by basically copying and pasting some code from my mine plug-ins, since I know the code works. This might not compile though; I don't have 2.0.10 sources and cannot compile it. I think you need 2.0.10 for this to work. I can't remember. ...
by Enigma
Mon Apr 14, 2008 11:06 pm
Forum: Help: Tactics and Playstyles
Topic: STRATEGY:units
Replies: 7
Views: 5035

It appears that this could be done with a modification to the FlagOnSpawn plug-in. I am not familiar with exactly how the plug-in works, so I do not know how extensive the any modifications wiould need to be. Though I imagine very few will be required.
by Enigma
Sun Mar 23, 2008 10:47 pm
Forum: Enhancements
Topic: Two simple ideas
Replies: 1
Views: 1157

Two simple ideas

1) I thought it would be nice if the Seer flag could indicate which tanks have stealth on radar. Trepan's autohunt patch is able to do this, and I miss it. 2) When identifying players, something that indicates which player is being identified, either on radar or on the HUD, would be useful. Since th...
by Enigma
Sun Mar 23, 2008 10:35 pm
Forum: Plug-in Development
Topic: Kamikaze Plugin
Replies: 9
Views: 5857

If this is done, delete would not be the key to use. You would probably have to create a new slash command (ex: /blowup) that simply fires a world weapon shock wave where you are at. In addition, if you want to get points when the world weapon blows up a tank, you would need to set killerID in Playe...
by Enigma
Mon Feb 11, 2008 11:30 pm
Forum: Enhancements
Topic: Making SEer a stronger flag
Replies: 17
Views: 5935

People do not like mines; they cause unavoidable death.
by Enigma
Thu Jan 31, 2008 5:45 am
Forum: Players
Topic: How many fps do you get ??? (Frames Per Second)
Replies: 63
Views: 29524

Sky King wrote: I would highly recommend manually editing your config file and setting your energy saver frame rate to something like 60 or 75.
You can do it in-game too.

/localset fpsLimit 60
by Enigma
Wed Jan 30, 2008 1:09 am
Forum: Help: Source Code / Compiling / Development
Topic: Mac SVN/Compile instructions
Replies: 68
Views: 53885

To get bzfs to compile, you can enter export LDFLAGS=${LDFLAGS}-L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries into the terminal before running configure. Make sure you use the same shell for both commands. This will get rid of the error from ld: ld: cycle in dylib re-exports with...
by Enigma
Mon Jan 28, 2008 9:37 pm
Forum: Plug-in Releases
Topic: Fair4CTF: version 2.4! (updated for BZFlag 2.4 by allejo)
Replies: 24
Views: 20427

One last try. Here is fair4ctf compiled on 2.0.10. The source file and the binary are included.
by Enigma
Mon Jan 28, 2008 8:54 pm
Forum: Help: Source Code / Compiling / Development
Topic: Mac SVN/Compile instructions
Replies: 68
Views: 53885

According to the plug-in releases forum, you want to build version 2.0.11, correct? You checked out version 2.1, which isn't what you want. The svn command to get 2.0.11 is... svn co https://bzflag.svn.sourceforge.net/svnroot/bzflag/branches/v2_0branch/bzflag There are also issues with compiling bzf...
by Enigma
Mon Jan 28, 2008 7:28 am
Forum: Plug-in Releases
Topic: Fair4CTF: version 2.4! (updated for BZFlag 2.4 by allejo)
Replies: 24
Views: 20427

2) so i got via SVN and Terminal the bzflag sources (svn co https:/ /bzflag.svn.sourceforge.net/svnroot/bzflag/trunk/bzflag) and it has been installed in a folder "bzflag in my user folder You need to get the 2.0 branch. svn co https://bzflag.svn.sourceforge.net/svnroot/bzflag/branches/v2_0bra...
by Enigma
Fri Jan 25, 2008 3:44 am
Forum: Plug-in Releases
Topic: Fair4CTF: version 2.4! (updated for BZFlag 2.4 by allejo)
Replies: 24
Views: 20427

Here is a ppc binary and a source file. It was compiled on OS X 10.5 and bzflag 2.0.11.
by Enigma
Fri Jan 25, 2008 3:38 am
Forum: Plug-in Releases
Topic: Fair4CTF: version 2.4! (updated for BZFlag 2.4 by allejo)
Replies: 24
Views: 20427

I went ahead and compiled fair4ctf, and line 52 should be

Code: Select all

std::vector<std::pair<int,int> > illegalGrabs;
instead of

Code: Select all

std::vector<std::pair<int,int>> illegalGrabs;
because the compiler interprets ">>" as operator>>.
by Enigma
Fri Jan 25, 2008 3:02 am
Forum: Plug-in Releases
Topic: Fair4CTF: version 2.4! (updated for BZFlag 2.4 by allejo)
Replies: 24
Views: 20427

so ::: let me ask someone with the right mac skills very very very nicely please!!! could help me someone to build the Fair4CTF plugin to make it work on Mac OS 10.5 and bzfs 2.0.10 it would be highly appreciated!!!!! I'll try. 1) Download the xCode tools from developer.apple.com. You will have to ...