I wrote this for Marijima Airfield map. But, hopefully it will be useful to other maps.
Now running on Marijima's test server. "Marijima Airfield (R1.2)"
========================================================================
DYNAMIC LINK LIBRARY : Kamikaze Project Overview
========================================================================
kamikaze plugin
Author: joy
Credit to HoldTheFlag plugin author for HtfPlayer code. Also, Enigma's code on forum and Marijima's idea.
Description:
The plugin will enable players to use kamikaze (world weapon SW). Self destruct is trigger for kamikaze.
Plugin command Line:
-loadplugin PLUGINNAME,tk
Optional. If bzfs -tk option is enebled, add this.
Reference:
http://my.bzflag.org/bb/viewtopic.php?t=12397
Kamikaze plugin beta
Kamikaze plugin beta
- Attachments
-
- kamikaze_src.zip
- source code
- (5.09 KiB) Downloaded 182 times
-
- kamikaze_dll.zip
- windows binary
- (168.96 KiB) Downloaded 175 times
-
- Private
- Posts: 3
- Joined: Sun Nov 27, 2005 12:51 am
i386-linux and intel-mac binary
there are binaries for i386-linux and intel-mac.
binary for linux isnt tested (i made it on vmware....).
binary for mac seems fine on my home server.
binary for linux isnt tested (i made it on vmware....).
binary for mac seems fine on my home server.
- Attachments
-
- kamikaze.so.zip
- linux bin
- (22.24 KiB) Downloaded 172 times
-
- kamikaze.so.zip
- mac bin
- (4.02 KiB) Downloaded 186 times
- Mister Spock
- Private
- Posts: 1
- Joined: Mon Aug 01, 2005 5:20 am
Mari,
I chatted with you on the server with your map. We were discussing about this plugin and others not working on a Linux server.
After trying it out on my computer with Linux (64-bit Gentoo), hopefully this information will help you.
When I tried to use automake, I got the following error:
However, I was able to compile it with the following:
At first, I could not get bzfs to load and run the plugin until I reran configure on bzflag with --enable-shared, then it worked.
I don't know how automake works, so I can't fix that, but if that server you are running your map on is not loading the plugins, then it could be that --enable-shared was missing from the configure command before running make. That would also explain why none of plugins are running.
Hope this helps.
I chatted with you on the server with your map. We were discussing about this plugin and others not working on a Linux server.
After trying it out on my computer with Linux (64-bit Gentoo), hopefully this information will help you.
When I tried to use automake, I got the following error:
Code: Select all
automake-1.10: `configure.ac' or `configure.in' is required
Code: Select all
g++ -fPIC -shared -I$HOME/svn/bzflag/include/ kamikaze.cpp -o kamikaze.so
I don't know how automake works, so I can't fix that, but if that server you are running your map on is not loading the plugins, then it could be that --enable-shared was missing from the configure command before running make. That would also explain why none of plugins are running.
Hope this helps.