It looks like bzfsAPI.h isn't being included, or perhaps is a different version. (I developed against 2.0.12.)
You can also try compiling with a VC project instead of scons. It's just jsbzflag.cpp, player.cpp and bz_functions.cpp linked with v8.
MWM
Search found 9 matches
- Wed Dec 17, 2008 6:52 pm
- Forum: Plug-in Releases
- Topic: jsbzflag - scripting bzfs with Javascript.
- Replies: 8
- Views: 4296
- Wed Dec 17, 2008 5:40 pm
- Forum: Plug-in Releases
- Topic: jsbzflag - scripting bzfs with Javascript.
- Replies: 8
- Views: 4296
- Mon Oct 13, 2008 6:47 pm
- Forum: Plug-in Releases
- Topic: jsbzflag - scripting bzfs with Javascript.
- Replies: 8
- Views: 4296
- Mon Oct 13, 2008 5:59 am
- Forum: Plug-in Releases
- Topic: jsbzflag - scripting bzfs with Javascript.
- Replies: 8
- Views: 4296
jsbzflag - scripting bzfs with Javascript.
I wanted to do something different over the weekend, and Google's new javascript engine was just begging to be played with. Get it here: http://bitbucket.org/mmarshall/jsbzflag/ What does it look like? Here's a simple "airspawn" plugin in its entirety: events.getPlayerSpawnPos.add(function...
- Fri Aug 25, 2006 6:00 pm
- Forum: Plug-in Development
- Topic: Python plugin development? *COMPLAINING LOUDLY*
- Replies: 10
- Views: 6857
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 :-/ B...
- Mon Jul 17, 2006 12:33 pm
- Forum: Plug-in Development
- Topic: Python plugin development? *COMPLAINING LOUDLY*
- Replies: 10
- Views: 6857
- Sun Jun 25, 2006 6:40 pm
- Forum: Plug-in Development
- Topic: Python plugin development? *COMPLAINING LOUDLY*
- Replies: 10
- Views: 6857
- Sun Jun 25, 2006 3:51 pm
- Forum: Plug-in Development
- Topic: Python plugin development? *COMPLAINING LOUDLY*
- Replies: 10
- Views: 6857
- Sun Jun 25, 2006 2:14 pm
- Forum: Plug-in Development
- Topic: Python plugin development? *COMPLAINING LOUDLY*
- Replies: 10
- Views: 6857
Python plugin development? *COMPLAINING LOUDLY*
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: $ src/bzfs/bzfs -loadplugin plugins/python/python.so Python plugin currently wraps the version 5 API, but BZFS is exporting version 15. Ple...