Python plugin development? *COMPLAINING LOUDLY*

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
mmarshall
Private First Class
Private First Class
Posts: 9
Joined: Sat Apr 30, 2005 2:43 am
Location: Dallas/Fort Worth area
Contact:

Python plugin development? *COMPLAINING LOUDLY*

Post by mmarshall »

I was pretty excited to see the 'plugins/python' dir, but my heart began to sink when (a) it failed to compile without tweaking and (b) loading it gave me this:

Code: Select all

$ src/bzfs/bzfs -loadplugin plugins/python/python.so
Python plugin currently wraps the version 5 API, but BZFS is exporting version 15. Please complain loudly
Aborted
Sooo.... ummm... what do I do to go about complaining loudly?

I'll take a look and see if I can do anything with it, but messing with c++ is hardly my idea of a good time... I have many other things to spend my allotment of headaches on :-/

MWM
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

the plugin is not current, it was never finished. It was writen for an older version of the API.

basicly it will not work with out changes.
ImageJeffM
User avatar
mmarshall
Private First Class
Private First Class
Posts: 9
Joined: Sat Apr 30, 2005 2:43 am
Location: Dallas/Fort Worth area
Contact:

Post by mmarshall »

Yeah, I figured as much.

Are there any plans to revive it? I sorta thought that 'Please complain loudly' meant something along the lines of 'Let us know if you are interested in this.'

MWM
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

at present noone has expressed a desire to continue it. You are more then welcome to fix it up and finish it off.
ImageJeffM
User avatar
mmarshall
Private First Class
Private First Class
Posts: 9
Joined: Sat Apr 30, 2005 2:43 am
Location: Dallas/Fort Worth area
Contact:

Post by mmarshall »

I'll see if I can do anything with it.

Thanks!

MWM
User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted »

what does it even do, so i know what i can look foward to when/if u finish it?
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

it exposes the API to python and can run python based plugins. Basicly it's a bridge between the C++ code in BZFS and python.

For some people Python is an easyer language then C++.
ImageJeffM
User avatar
mmarshall
Private First Class
Private First Class
Posts: 9
Joined: Sat Apr 30, 2005 2:43 am
Location: Dallas/Fort Worth area
Contact:

Post by mmarshall »

I just thought that I would mention that I AM working on this, and it's coming along quite nicely. It shouldn't be too long before it's complete enough for an alpha release.

MWM
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 »

SWEET
oops, bit to loud......
User avatar
mmarshall
Private First Class
Private First Class
Posts: 9
Joined: Sat Apr 30, 2005 2:43 am
Location: Dallas/Fort Worth area
Contact:

Post by mmarshall »

I just thought that I'd mention that I'm still alive, just without internet access at home, so I guess maybe I'm not really all that alive, or I'm more alive, or something like that.

I haven't got much done on the plugin; not being able to play bzflag kindof takes away the desire to work on it :-/ But I still intend to get it to a usable state.

MWM
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

teppic's python stuff

Post by optic delusion »

Since it seems there's no other way to contact you, mmarshall, I just wanted to make sure that you have seen this.
http://teppic.homelinux.net/svn/BZWTools/

maybe someone else that does python would like to see it, as well.
It seems teppic just updated his bzw plugin for blender.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Post Reply