com.springrts.ai.command package?

com.springrts.ai.command package?

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
Bla
Posts: 79
Joined: 25 Feb 2013, 14:44

com.springrts.ai.command package?

Post 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!
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: com.springrts.ai.command package?

Post by gajop »

Try compiling spring itself, and see if the compiled java interface/wrapper contains it.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: com.springrts.ai.command package?

Post 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.
Bla
Posts: 79
Joined: 25 Feb 2013, 14:44

Re: com.springrts.ai.command package?

Post 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...
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: com.springrts.ai.command package?

Post by FLOZi »

Please update the wiki accordingly
Post Reply

Return to “AI”