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 » Sun Jun 25, 2006 2:14 pm

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: 5182
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Sun Jun 25, 2006 3:34 pm

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.

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 » Sun Jun 25, 2006 3:51 pm

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: 5182
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Sun Jun 25, 2006 4:24 pm

at present noone has expressed a desire to continue it. You are more then welcome to fix it up and finish it off.

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 » Sun Jun 25, 2006 6:40 pm

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 » Mon Jun 26, 2006 1:28 pm

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: 5182
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Mon Jun 26, 2006 4:31 pm

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++.

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 » Mon Jul 17, 2006 12:33 pm

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: 575
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block
Contact:

Post by Teppic » Mon Jul 17, 2006 8:27 pm

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 » Fri Aug 25, 2006 6:00 pm

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: 995
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

teppic's python stuff

Post by optic delusion » Sat Aug 26, 2006 7:14 am

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