Page 1 of 1

com.springrts.ai.command package?

Posted: 10 May 2014, 17:52
by Bla
I want to make a java AI, and I need this package to issue commands to the AI. I can't find it by decompiling the AI/Skrimish/NullOOJavaAI/0.1/jlib/JavaOO-AIWrapper.jar or HughAI's wrapper.

I've seen other AI's use it like HughAI, even though I can't find it in the .jar...

Can someone find it for me? I'm on a short time frame as I'm making this AI for a school project. Thanks!

Re: com.springrts.ai.command package?

Posted: 10 May 2014, 18:09
by gajop
Try compiling spring itself, and see if the compiled java interface/wrapper contains it.

Re: com.springrts.ai.command package?

Posted: 11 May 2014, 14:36
by abma
http://springrts.com/dl/buildbot/defaul ... ortable.7z

-> /AI/Skirmish/HughAI/0.1/jlib/JavaOO-AIWrapper.jar

self-compiling is very likely the better way, not sure.

Re: com.springrts.ai.command package?

Posted: 11 May 2014, 21:19
by Bla
abma wrote:http://springrts.com/dl/buildbot/defaul ... ortable.7z

-> /AI/Skirmish/HughAI/0.1/jlib/JavaOO-AIWrapper.jar

self-compiling is very likely the better way, not sure.
It doesn't have it... :(
gajop wrote:Try compiling spring itself, and see if the compiled java interface/wrapper contains it.
I'm going to try, but I doubt I can... it just looks too hard... Did you build compile spring? If so, could you check to see if you have both wrappers, or at least the one that has the command package? and if so give them to me? thx

EDIT: PROBLEM SOLVED, I WAS USING AN OUTDATED GUIDE (http://springrts.com/wiki/AI:Development:Lang:Java).

The command class is obsolete and commands are now given via the unit class...

Re: com.springrts.ai.command package?

Posted: 11 May 2014, 23:21
by FLOZi
Please update the wiki accordingly