Search

Search found 7 matches

by 3Px
06 Aug 2009, 23:05
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 75038

Re: Java AI Interface for Spring

Thanks a lot! :)
Just one question - is argument paralyzer any different from what you can get from weaponDef.isParalyzer()?
by 3Px
03 Aug 2009, 00:12
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 75038

Re: Java AI Interface for Spring

I feel that the current interface could be enhanced a bit, specifically the event unitDamaged doesn't provide any information about the weapon that was used by the attacker. Human players have visual information - they can see the projectile. Is including a WeaponDef in this event possible? Or maybe...
by 3Px
21 Mar 2009, 22:23
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 75038

Re: Java AI Interface for Spring

springlobby doesn't work for you? I tried it today and it "works" but I get segfaults while performing basic operation (trying to start a single player game) - I had to create some magic cache files by hand to generate a startup script without crashing. And I prefer starting spring from c...
by 3Px
21 Mar 2009, 21:33
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 75038

Re: Java AI Interface for Spring

Another reply to myself :) Indeed, library was missing, after adding -ljvm in gcc command line, no more problems with this shared library (it would be easier if I knew anything about JNI). Unfortunately now I get yet another crash Server started on port 8452 Player unnamed connected with number 0 (c...
by 3Px
21 Mar 2009, 20:43
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 75038

Re: Java AI Interface for Spring

Finally I managed to get some working start script (is there any lobby client or similar tool available for linux that doesn't segfault all the time?). But now spring crashes when it tries to load the skirmish AI (it's already in-game). Player unnamed connected with number 0 (client version 0.78+.2....
by 3Px
20 Mar 2009, 02:08
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 75038

Re: Java AI Interface for Spring

Thanks for the reply. Right now I'm trying to run sample NullOOJavaAI but I have some problems - probably with my startup script. I tried to modify my previous script but I got errors like this: Player 3P connected with number 0 (client version 0.78+.2.1) terminate called after throwing an instance ...
by 3Px
18 Mar 2009, 23:18
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 75038

Re: Java AI Interface for Spring

Hi, What is the current status of Java interface? It looks very promising and I was considering developing a small project with it but if there are serious bugs that crash it in any non-trivial case it wouldn't be possible to use. I don't have any experience with C/C++ <-> Java bindings - do you hav...

Go to advanced search