Testers for the AI Python Interface needed!
Moderator: Moderators
Testers for the AI Python Interface needed!
TheGeorge and me wrote a Python Skirmish AI-Interface.
Currently it seems to work well, but there are a few issues and we need more testing.
Some short Instructions for compiling are here:
http://springrts.com/wiki/AIInterface:Python
For more Info please look here:
http://springrts.com/wiki/AI:Development:Lang:Python
We are happy about any kind of feedback!
If you need help, i'm often in the #ai channel.
Currently it seems to work well, but there are a few issues and we need more testing.
Some short Instructions for compiling are here:
http://springrts.com/wiki/AIInterface:Python
For more Info please look here:
http://springrts.com/wiki/AI:Development:Lang:Python
We are happy about any kind of feedback!
If you need help, i'm often in the #ai channel.
Last edited by abma on 04 Jun 2010, 09:50, edited 6 times in total.
Re: Testers for the AI Python Interface needed!
This is really neat, nice work guys!
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Testers for the AI Python Interface needed!
Seconded, nice effing work!Nemo wrote:This is really neat, nice work guys!

-
- Posts: 11
- Joined: 15 Sep 2009, 11:08
Re: Testers for the AI Python Interface needed!
Jep, great Job.
Btw. Could you use a Batch of boost::python Wrappers for the Commands, Events and the Callback?...
should help you out with Typehecking, the only thing that has to be additionally done is registering the automatic conversions you already have built for the Python C API.
Thx for your efforts,
~Shogun
Btw. Could you use a Batch of boost::python Wrappers for the Commands, Events and the Callback?...
should help you out with Typehecking, the only thing that has to be additionally done is registering the automatic conversions you already have built for the Python C API.
Thx for your efforts,
~Shogun
-
- Posts: 11
- Joined: 15 Sep 2009, 11:08
Re: Testers for the AI Python Interface needed!
For those who are eager to start using this Interface... take a look at this:
http://code.google.com/p/livecoding/
Sweet, my thanks to EVE-Online for it.
http://code.google.com/p/livecoding/
Sweet, my thanks to EVE-Online for it.
Re: Testers for the AI Python Interface needed!
@WeberGunso: Thanks for the hint with boot::python. Currently we try to make it as simple as possible to integrate it into spring. We hope to get it integrated into the installer of spring.
@others: thanks :)
@others: thanks :)
-
- Posts: 11
- Joined: 15 Sep 2009, 11:08
Re: Testers for the AI Python Interface needed!
I was offering it because I have them there, ready to be used
. It was my little boost::python training/introduction I needed for Work (scientific purposes). Now what I saw at the boost::python lib is that it should make things a lot easier. What you are doing now is far beyond of what I would be possibly able to do with my limited knowledge of C/C++. But what I certainly know is that you should at least get two big things out of the way, or at least easily done by using it:
1) Type checking
2) Error handling
=================================================
I compiled the Python Interface, but I got a SIGSEV trying to load the PythonNullAI... the signal came at the AI init.
I'm going to pull the newest git this afternoon, recompile and if it persists post the log here, or is there any other place specially destined for such postings by now?
Is anyone experiencing something like that?
Keep up the great Work
~WeberShogun

1) Type checking
2) Error handling
=================================================
I compiled the Python Interface, but I got a SIGSEV trying to load the PythonNullAI... the signal came at the AI init.
I'm going to pull the newest git this afternoon, recompile and if it persists post the log here, or is there any other place specially destined for such postings by now?
Is anyone experiencing something like that?
Keep up the great Work

~WeberShogun
Re: Testers for the AI Python Interface needed!
@WeberGunso thanks for testing.
The type checking and error handling is not implemented at the moment, because it was not the main focus of development in the first place. It definitley will come in the next time.
If you are interrested in how the python bindings are generated and work, I can give you some insight.
The type checking and error handling is not implemented at the moment, because it was not the main focus of development in the first place. It definitley will come in the next time.
If you are interrested in how the python bindings are generated and work, I can give you some insight.

-
- Posts: 11
- Joined: 15 Sep 2009, 11:08
Re: Testers for the AI Python Interface needed!
Yeahh! of course. Tell me when you might have time for it. #ai IRC?. Would love to learn and eventually contribute. Have already some questions and suggestions (minor ones).
Confessing that after all you did all piss me off a bit about making my silently ongoing project worthless. Hahahaha. Partly my fault for not saying a thing (reason being lack of confidence towards my knowledge of C/C++)
~WeberShogun
Confessing that after all you did all piss me off a bit about making my silently ongoing project worthless. Hahahaha. Partly my fault for not saying a thing (reason being lack of confidence towards my knowledge of C/C++)
~WeberShogun
Re: Testers for the AI Python Interface needed!
Yeah, when I am online and have time, I hang out the most time in #ai right now. Just write me a message.
-
- Posts: 11
- Joined: 15 Sep 2009, 11:08
Re: Testers for the AI Python Interface needed!
Srry I dissapeared... Lobby once again totally gave up on me. 
