Search

Search found 4410 matches

by hoijui
09 May 2008, 11:47
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

Re: Java AI Interface for Spring

Am currently working on the config-file thing. it will be a simple XML. i think i will do it so if the file is not present, i will scan for impls in a folder and use them in some undefined combination.
by hoijui
08 May 2008, 22:12
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

Re: Java AI Interface for Spring

Thanks you 2! :-) i took it from KAIK. CMetalMap (as CAIMetalMap) and CSpotFinder are now available from Java; though not yet tested. well... i have now all the functionality built in, it seems to work, and passed some small tests already: - functions in IGlobalAI get called - in general the functio...
by hoijui
08 May 2008, 16:06
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

Re: Java AI Interface for Spring

Hello... i want to build in Krogothe´s MexSpot finder now. AF told me to get the one from KAIK or NTai. i looked in KAIK: would i have to use SpotFinder, MetalMap? if so.. i saw that ThreatMap is used in those, and ThreatMap uses UnitTable, so i have to copy those two classes aswell? is it meant ...
by hoijui
08 May 2008, 15:38
Forum: AI
Topic: AI Problems
Replies: 5
Views: 1001

Re: AI Problems

check the infolog.txt in the spring folder. if something went wrong (AI not initialised correctly or something), its usually in there.
by hoijui
08 May 2008, 14:04
Forum: AI
Topic: AI Problems
Replies: 5
Views: 1001

Re: AI Problems

some mods also allow to set an AI bonus (1.5 would mean the ai gets 50% more metal per mine) in the mod options. How fast your PC is should not matter, if your PC is too slow the game will lag, but the AI should do the same things as on a faster PC.
by hoijui
08 May 2008, 09:55
Forum: Ingame Community
Topic: New channels?
Replies: 5
Views: 805

Re: New channels?

ok :-)
so if its possible, i would suggest an alias #dev which maps to #sy. if thats not possible.. or if you wan´t to hide ;-) .. lets forget it.
what about #aidev? would there just be too little action for it to be worthwhile?
by hoijui
08 May 2008, 09:10
Forum: Ingame Community
Topic: New channels?
Replies: 5
Views: 805

New channels?

I would like to have a #dev and probably an #aidev channel on the main lobby server. What do you think? there is a #moddev channel (though no #mapdev one, which may be interesting too for some). Right now i have a very small question, which is not of general interest, namely: what are the YardMaps (...
by hoijui
02 May 2008, 00:52
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

Re: Java AI Interface for Spring

:-) i posted it on google groups, and got an answer really fast, if you´re interested, its here: http://groups.google.ch/group/comp.lang.awk/browse_thread/thread/c87c7c7a2504a606 will use it tomorow to fill in the fixed array sizes i asked for (which i missed were available in the comments) Edit:...
by hoijui
01 May 2008, 12:42
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

help with AWK

I need to fix some things in the SWIG generated code, most i did already, but there is one missing. I think it has to be done with awk, as its a multi line thing, for which sed seems to be bad. I have to replace some values in functions, according to the function name. so basically i have the SWIG g...
by hoijui
01 May 2008, 00:41
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

Re: Java AI Interface for Spring

..hmmm :D sorry
no did not check the comments.
really nice that they are there!

thanks again for your help today!

yes, SWIG is needed during compile time only. i just though... everyone that wanted to compile spring as a whole would have to install SWIG then, just because of JAI.
by hoijui
30 Apr 2008, 20:57
Forum: Engine
Topic: Compiling GlobalAIs with scons
Replies: 5
Views: 704

Re: Compiling GlobalAIs with scons

Thanks Tobi!! :-) Adding -I<insert every possible directory here> to compiler commandline? I think that's a bad idea. ..right :D the beer.. ;-) aaehm... i tryed to add the code for streflop you modified for me.. and i did not get how i had to call it and it also had a compiling error. i tryed again ...
by hoijui
30 Apr 2008, 16:52
Forum: Engine
Topic: Compiling GlobalAIs with scons
Replies: 5
Views: 704

Re: Compiling GlobalAIs with scons

hmm... so!?!? can someone do it pls? (add the streflop flag for GlocalAIs) who would i have to ask? first, i dont know how to do it(looked into it once, did not get it). second, i have no submit rights. it would also be nice, if GlobalAIs could have header files in all subfolders, but maybe someone ...
by hoijui
30 Apr 2008, 14:31
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

Re: Java AI Interface for Spring

k :-) thanks ... dont worry tobi, it seems as if i wont need it anyway. i went on trying with the normal AI interface.. and i got further. i have a few questions to the devs: the size of the unsigned char *metalMap; in CMetalMap from Map/MetalMap.h is sizex*sizez ? how can i determine the size of th...
by hoijui
30 Apr 2008, 10:07
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

ABIC

hmm...
may the ABIC interface be something for me?
http://spring.clan-sy.com/wiki/AI:ABIC
the GlobalAICallback i would get would still be of the same type, and i still would have to access all the structures and stuff the same way?
by hoijui
29 Apr 2008, 10:06
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

little report

aehm.. well... its kind of working, basicly.. the basic, simple things. its possible for example, to receive and send chat messages from withing java now, and get the frame updates and find out the number of the frame... but... everything that is not a String or a basic data type like int, float, ch...
by hoijui
28 Apr 2008, 19:02
Forum: Engine
Topic: Submitting patches
Replies: 8
Views: 629

Re: Submitting patches

Btw, maybe you could prefix patches with [patch] in mantis? (I'll fix the earlier ones myself, don't think normal users can change title.) no we can not change titles, and i did the same like zenzike; noticing that [patch] should be prefixed after submitting. my patch 0000655 is such one btw. very ...
by hoijui
27 Apr 2008, 09:57
Forum: Engine
Topic: Compiling GlobalAIs with scons
Replies: 5
Views: 704

Re: Compiling GlobalAIs with scons

...hmm.. the thing is.. that java wants the FPU to be in one state whihc is different then the state spring uses. so when calling java from spring, java resets the FPU to the state it wants it to be, and when the call returns, spring is running with the FPU state that Java uses, and spring gets sync...
by hoijui
27 Apr 2008, 09:48
Forum: Engine
Topic: Compiling GlobalAIs with scons
Replies: 5
Views: 704

Compiling GlobalAIs with scons

well.. i found out that the -DSTREFLOP_X87 flag is not used when compiling the GlobalAIs. don't know if thats an error or wanted, but my Java-AI-interface GlobalAI would need this flag. sure.. i can compile it myself, with my own makefile, as anyway.. its still far from usable... just asking: should...
by hoijui
15 Apr 2008, 11:27
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

Re: Java AI Interface for Spring

ahh i see.. good.. thanks :-)
am compiling the latest svn spring right now, and then may see how much is working.. if it compiles and such ;-)
will tell you here again if i can report something, and after that i'll may send you the code by private message if possible, or here.
by hoijui
15 Apr 2008, 11:07
Forum: AI
Topic: Java AI Interface for Spring
Replies: 405
Views: 58907

Re: Java AI Interface for Spring

aehm... i am back now, though i did not work on it yet, don´t even know if i will work on it again. the status... i have very bad memory.. if i find a little motivation i will look into my source again shortly, and figure out the status ;-) the source is only available here.. form me. do you want...

Go to advanced search