Hello,
I want to develop an AI to play in SpringRTS and I face several problems:
1. A tutorial said that I can start build one by copy some .jar files from the SpringRTS installation directory.
One of the .jar file is a jna.jar and I can not find it in the SpringRTS directory. I only get AIInterface.jar.
Where can I get the jna.jar?
2. In the tutorial I can see that I must make a new class that extends OOAI and implements AIFactory. But I neither OOAI or AIFactory can be found in AIInterface.jar.
Any helps?
Thank you.
Newbie AI developer
Moderators: hoijui, Moderators
Re: Newbie AI developer
the tutorial is outdated, and the original sources are... kind of lost?
JNA is not used anymore, so you simply do not need it.
try to look at the NullOOJavaAI that comes with spring.
its sources are here:
https://github.com/spring/spring/tree/d ... llOOJavaAI
JNA is not used anymore, so you simply do not need it.
try to look at the NullOOJavaAI that comes with spring.
its sources are here:
https://github.com/spring/spring/tree/d ... llOOJavaAI
Re: Newbie AI developer
Care to update the wiki hoijui?hoijui wrote:the tutorial is outdated, and the original sources are... kind of lost?
JNA is not used anymore, so you simply do not need it.
try to look at the NullOOJavaAI that comes with spring.
its sources are here:
https://github.com/spring/spring/tree/d ... llOOJavaAI
Re: Newbie AI developer
i marked the tutorial PDF as outdated, but i have no time to go through the rest. i would also have to check most things myself again.
Re: Newbie AI developer
Sorry if that is off topic, if so just ignore it.
Are you open to using Lua instead of Java?
In my opinion the advantage are:
-more examples (both working AIs and general spring-related lua code)
-more people seem to use it, who can help in chat or forum
-dont have to worry about ai-interfaces being changed, outdated or not documentated.
Are you open to using Lua instead of Java?
In my opinion the advantage are:
-more examples (both working AIs and general spring-related lua code)
-more people seem to use it, who can help in chat or forum
-dont have to worry about ai-interfaces being changed, outdated or not documentated.