RAI v0.601
Moderators: hoijui, Moderators
Re: RAI v0.553
that sort of error occurs when the available memory runs out and your computer has no ram left. Either your computer hasn't enough ram/virtual memory allocated or RAI is allocating stuff in some infinite loop and running out of memory.
As for wether it is the bonus or not you would have to test again but without it so you can see if it still crashes.
As for wether it is the bonus or not you would have to test again but without it so you can see if it still crashes.
Re: RAI v0.553
Hmm both computers have 2gb of RAM with recommended settings for virtual memory through windows XP.
Interestingly, the host computer does not seem to crash. I've pitted RAI with bonus with other AIs on the computer and it has not crashed.
I've played other long multiplayer games against RAI without the bonus and it has not crashed... So I'm guess it is the bonus?
Interestingly, the host computer does not seem to crash. I've pitted RAI with bonus with other AIs on the computer and it has not crashed.
I've played other long multiplayer games against RAI without the bonus and it has not crashed... So I'm guess it is the bonus?
I'm not sure how the AI is supposed to work, but I'm pretty sure that having the enemy commander DGun rush me every game is not it.
I was trying to play a 2v2 with a friend against bots, yet all 3 games, without fail, the enemy commander would appear in front of my base and start building something, when I attack him with some tanks or something, he rushed at me DGunning everything until he hits my commander and does a suicide kill.
I was trying to play a 2v2 with a friend against bots, yet all 3 games, without fail, the enemy commander would appear in front of my base and start building something, when I attack him with some tanks or something, he rushed at me DGunning everything until he hits my commander and does a suicide kill.
Re: RAI v0.553

There can be worse things, like raiding with 3 scouts right at the start.
Re: RAI v0.553
An RAI commander should never directly aim a dgun at an enemy commander but that isn't to say that he may not be hit by a stray shot. Generally they retreat after losing 1/3 of their life or clearing out the immediate area of enemies. Must had been a small map.
Re: RAI v0.553
Would you mind if RAI was included in the Spring tree & default installations, and GPL'd? From the readme, I guess you won't, but just to confirm...
It's a great AI, and is the only one that really works with CA atm.
It's a great AI, and is the only one that really works with CA atm.
Re: RAI v0.553
Its not that I really mind, except that the new versions of spring have had a tendency to break AIs in ways that require more than just recompiling. Half of the time it only involves a few quick fixes in code usage, the other half of the time; units stops moving, crashes start occurring, etc... So if anything major breaks then I would prefer that it simply be excluded from any release of spring since fixing it would either require someone to take on more work than they should have to or turn into an issue of myself becoming more involved with spring's development.
Re: RAI v0.553
I apologize if this should be obvious, but how would I go about compiling RAI for linux? I need a version for 32-bit linux and have been unable to find either a precompiled copy or instructions on how to compile it myself.
I know that I need the spring source, but I am unsure of what to do with the RAI source in order to actually compile it. Does anybody have any tips on what to do?
Thanks
I know that I need the spring source, but I am unsure of what to do with the RAI source in order to actually compile it. Does anybody have any tips on what to do?
Thanks
Re: RAI v0.553
I put instructions up here: http://spring.clan-sy.com/wiki/AI:RAI
Re: RAI v0.553
Thanks. I don't know how I missed it. Now to figure out how to use CodeBlocks...
Re: RAI v0.553
Oh you don't really need to. Just open the "{spring source}/AI/Global/RAI/CodeBlocks/RAI.cbp" file with it, and click on Build-Build to compile or Build-Recompile to compile everything from scratch (you'll need to do that at some point in the guide I think).
I hope it works for you though, because the same instructions didn't for me but did for koshi.
I hope it works for you though, because the same instructions didn't for me but did for koshi.

Re: RAI v0.553
Thanks for posting those instructions on the wiki.
I think it might be a handy if linux users were told to put the .so file into:
since that doesn't require root access, and it saves a bit of hassle.
I have compiled a 32bit version of RAI v0.553 if anybody wants the .so.
I think it might be a handy if linux users were told to put the .so file into:
Code: Select all
~/.spring/AI/Bot-libs/
I have compiled a 32bit version of RAI v0.553 if anybody wants the .so.
Re: RAI v0.553
Oh! I didn't know it could go there (and I hate sudo'ing nautilus too
)
Upload the 32bit one here (http://spring.jobjol.nl/files.php?subcategory_id=3).

Upload the 32bit one here (http://spring.jobjol.nl/files.php?subcategory_id=3).
-
- Posts: 59
- Joined: 07 May 2005, 23:48
Re: RAI v0.553
RAI seems to build only turrets with the current CA builds. it says something about undefined unit lists.
Re: RAI v0.553
works fine with version 1675
The problem that you're describing is very common for mods and mod versions released prior to the current version of spring. In particular, I found cases in which you could start a game up without a problem but the units themselves had no weapons, hence RAI didn't know what to do with them.
The problem that you're describing is very common for mods and mod versions released prior to the current version of spring. In particular, I found cases in which you could start a game up without a problem but the units themselves had no weapons, hence RAI didn't know what to do with them.
Re: RAI v0.553
Hello Reth,
i converted the RAI code to Java, to have a real AI to test the Java interface. I even found some errors in JAI already, because of it. JavaRAI, as i called it, is now running, though not well
i test it with XTA, and there, the commander goes to the nearest geoSpot and builds 9 metal extractors there, and then stops doing anything.
I already solved some small issues, but now its getting too complex for me (with all the cross linked things which set remove and add values to each other in different places...). I took RAI from the SVN, about 1 week ago, so it should be a recent one. Would you like to have a look at it, and maybe fix it? I could give you a package of all you need to code on it and test it. Or is anyone else willing to do it?
i converted the RAI code to Java, to have a real AI to test the Java interface. I even found some errors in JAI already, because of it. JavaRAI, as i called it, is now running, though not well

i test it with XTA, and there, the commander goes to the nearest geoSpot and builds 9 metal extractors there, and then stops doing anything.
I already solved some small issues, but now its getting too complex for me (with all the cross linked things which set remove and add values to each other in different places...). I took RAI from the SVN, about 1 week ago, so it should be a recent one. Would you like to have a look at it, and maybe fix it? I could give you a package of all you need to code on it and test it. Or is anyone else willing to do it?
Re: RAI v0.553
Wow, good job hoijui! i'm afraid I've been too busy to help out with the Java interface development, but this is very exciting indeed!
Re: RAI v0.553
..so what? you gonna do it?

..if not... sh..

is ok.. i had the free time
but.. would you like to do something? eg fix JavaRAI?

..if not... sh..

is ok.. i had the free time

but.. would you like to do something? eg fix JavaRAI?
Re: RAI v0.553
A Java port already? Top work hoijui, good to see another person working on AI's!
Re: RAI v0.553
It seems that RAI has troubles playing against other AIs -- it doesn't register the other AI as a threat, and just stockpiles units near the initial base. I'm guessing there's a bug somewhere that assumes it's hunting for human players, rather than other bots.