First plugin: ChatChannel
First plugin: ChatChannel
Hi,
I've created a plugin if any of you can use it let me know. Im not sure if this is planned some "plugin" repository somewhere, so Ive just uploaded to my own homepage.
The plugin allowes players to create "chat channels" and joining them. This is very basic and hackish, but it works without any clientmodifications. The idea is that eg. people from a CTF team, such as BAR can speak "privately" dispirte of which team they joined (red,blue,observer etc). I've got a few ideas on how to enchange this, but Im not sure if anyone but me finds this plugin useful. One of the aims with it was to try the BZFS api
ReadMe.txt hopefully clarifies what it does.
ChatChannet can be downloaded here (source + Makefile + linux .so)
I've created a plugin if any of you can use it let me know. Im not sure if this is planned some "plugin" repository somewhere, so Ive just uploaded to my own homepage.
The plugin allowes players to create "chat channels" and joining them. This is very basic and hackish, but it works without any clientmodifications. The idea is that eg. people from a CTF team, such as BAR can speak "privately" dispirte of which team they joined (red,blue,observer etc). I've got a few ideas on how to enchange this, but Im not sure if anyone but me finds this plugin useful. One of the aims with it was to try the BZFS api
ReadMe.txt hopefully clarifies what it does.
ChatChannet can be downloaded here (source + Makefile + linux .so)
Last edited by [dmp] on Sat Aug 13, 2005 1:56 am, edited 1 time in total.
I don't need huge pictures here.
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
That's pretty neat! Where's the BZFlag Chat Server?
[seriously, this is cool]
[seriously, this is cool]
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
Updated
Updated the tar-gz file so it contains: ChatChannel.def, ChatChannel.sln, ChatChannel.vcproj (required for windows build)
I don't need huge pictures here.
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
Are these possible to use on a Mac? I've heard their are some problems doing plugins on Macs... And how do we compile this? Still learning about plugins.
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
I've never compiled anything on a mac, but I think its pretty similar with linux.
If you got the bzflag cvs extracted (plugins only works with cvs, afaik - so you need to compile bzfs too) unpack the plugin into bzflag/plugins/, then enter bzflag/plugins/ChatChannel/ and type make. This will generate a ChatChannel.so - this is what you need.
If everything is fine so far, you should be able to do bzfs -loadplugin path/to/ChatChannel.so.
If you want to see the plugin in action, I can setup a testserver, so you can get a feel of it before beginning compiling stuff
If you got the bzflag cvs extracted (plugins only works with cvs, afaik - so you need to compile bzfs too) unpack the plugin into bzflag/plugins/, then enter bzflag/plugins/ChatChannel/ and type make. This will generate a ChatChannel.so - this is what you need.
If everything is fine so far, you should be able to do bzfs -loadplugin path/to/ChatChannel.so.
If you want to see the plugin in action, I can setup a testserver, so you can get a feel of it before beginning compiling stuff
I don't need huge pictures here.
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
Sure a test server would be great! I'll try that compile suggestion because I wasn't putting it in the bzflag/plugins folder. Can the path be absolute like:
/loadplugin /usr/local/bin/ChatChannel.so
Or does it have to be in the same direcretory as bzfs? [I'll be going in a bit so I might not get to be at the test server unless you do it a bit later]
/loadplugin /usr/local/bin/ChatChannel.so
Or does it have to be in the same direcretory as bzfs? [I'll be going in a bit so I might not get to be at the test server unless you do it a bit later]
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
if you are on a mac, then at present you can not load plugins
Yes it is 'similar" to linux, but sadly not function compatable on apple's end. Learner is going to finish/fix the OSX plugin loader before 2.0.4 ships ( we have it as a release requirement )
meacan
most likley the only changes you'd have to make woudl be in the makefile. When it is working we will update the sample plugins with make systems that work on OSX.
I will be working on a plugin repository forum today so we have a nice place to put all these thigns you've made, and I'll build windows binarys for you as well
Yes it is 'similar" to linux, but sadly not function compatable on apple's end. Learner is going to finish/fix the OSX plugin loader before 2.0.4 ships ( we have it as a release requirement )
meacan
most likley the only changes you'd have to make woudl be in the makefile. When it is working we will update the sample plugins with make systems that work on OSX.
I will be working on a plugin repository forum today so we have a nice place to put all these thigns you've made, and I'll build windows binarys for you as well
JeffM
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
Ah, ok. For a second I thought my compiler was broken. [can't compile stable 2.0.2, only CVS - really weird] Glad to know 2.0.4 will support Macs and plugins.JeffM2501 wrote:if you are on a mac, then at present you can not load plugins
Yes it is 'similar" to linux, but sadly not function compatable on apple's end. Learner is going to finish/fix the OSX plugin loader before 2.0.4 ships ( we have it as a release requirement )
This is probably top secret... but any idea when 2.0.4 will be out? I also have to post some bugs too in the other forums. Having a lot of trouble with the @ symbol and random crashes.
What will the test server's address be? Can't wait to see it!
[heh, I like to cram all my thoughts in one post]
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
ChatChannel v1.1 beta
Found the bug that messing up my server yesterday
- Added /public, /channel version
- JeffM2501 fixed: ChatChannel.vcproj, ChatChannel.sln (Thanks)
- Added /channel invite
- Admins can always join locked channels
- Added /public, /channel version
- JeffM2501 fixed: ChatChannel.vcproj, ChatChannel.sln (Thanks)
- Added /channel invite
- Admins can always join locked channels
- Attachments
-
- ChatChannel_1.1b.tar.gz
- Source sode
- (7.11 KiB) Downloaded 305 times
-
- ReadMe.txt
- ReadMe.txt (not changed much)
- (2.33 KiB) Downloaded 306 times
I don't need huge pictures here.