Two AI problems in deb-spring

Two AI problems in deb-spring

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Two AI problems in deb-spring

Post by keithjr »

Ok, my post here is twofold, both results of trying to get AI vs. AI demo matches to work with spring-setup.

First, the deb package for AAI in ubuntu will not install very nicely with apt as it claims dependence on spring 0.71b, and I have 0.72 installed. I've run apt-get update and the problem still remains. This is probably a simple fix.

Next, I can get a match to start with NTAI vs JCAI, but the JCAI commander just sits there while the NTAI starts playing. I've tried this on two maps (Mars and Smalldivide) and gotten the same results. The library file (JCAI.so) seems to be there (I assume the game would error if it were not found), and the depspring startscript looks fine, so I really am not sure what's wrong.

In the meantime, I'll go play against NTAI some more :).
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

JCAI is no logner under development.

AAI has a dependence on 0.71b1 because it needs recompiling for 0.72b1 and its closed source so no 0.72b1 compatible version exists for Linux as of yet.

The only AI for Linux under active development for 0.72b1 is NTai
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Using Gentoo here but helped setup AI for gentoo package system (ebuilds)

AAI current public release is for 0.71b & its closed source. So aint got a choice either downgrade to 0.71b or wait for the next release.

But for JCAI should be simply a lack of config files

Try the following
http://svn.berlios.de/svnroot/repos/tas ... obal/JCAI/
download settings.cfg & profiles (directory)
and save it to whereever fbo has aidll/globalai/jcai (might need to make the jcai directory)
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

The only problem with NTai i've found is the commander seems to think his base just isn't good enough :P
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

There's a B_RETREAT keyword to make the commander return to base in the buildtree but lindir doesnt use it that often and it isnt mentioned in the abstract build data.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Thats cause its properbly NTAI 7.5
play latest version on windows. Alot better & didnt notice that problem :)

Only problem atm is
someone for the love of god get latest NTAI to work under linux....
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

The latest NTai is in the svn, please test it.

Otherwise if there is a problem where the latest version works in Windows latest svn but not Linux svn then I cant do anything about it. However I do believe currently NTai does not work with the latest svn build due to changes in Sean mirseans rotateable buildings patch, but i have not checked to see if this has been fixed yet.

Please compile using 0.72b1 code and not the latest spring svn code for NTai XE9 compatability.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Unless u changed it in svn in last 8 days then it doesnt work i.e
http://taspring.clan-sy.com/phpbb/viewt ... &start=640
post from me. Even PM'ed u & emailed

Personnaly i cant see why there isnt a old version of NTAI 7.5 in svn alongside NTAI 9. Since 9 doesnt work for linux & havent heard anyone gettin it to work. Just odd peep tryin & gettin to same point as me.

Sent u logs with extra verbosin turned on. Sent u error on compile error that stopping me compile spring with debuggin turned on. Thus stopping me from gettin a backtrace on whats happening & possible help u figure whats going on.

*shrugs* as for no linux. Could get your hands on a livecd & compile spring on it. And see for yourself. And tarball up the compiled spring & save it somewhere on computer, so u dont need to recompile next time u use the livecd
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Linux + my computer == cannot detect wifi PCI card

I have never compiled anything in Linux, and I wouldn't know where to begin, and I cant use any ebuilds or debian packages as a result of Internet issues.

My only wifi add on that was Linux compatible was a USB wifi that was prism2 based, but my parents found it and threw it in the trash leaving me with a PCI card and a PCMIA card both based on the other NDIS variety of which i cant get to work with Linux despite many attempts.

Rotating buildings broke NTai, my attempt at running NTai in the latest SVN build required em to make changes which I've told you about and even then it wouldn't build units, only buildings, yet the same code works perfectly on the 0.72b1 installer build
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Post by keithjr »

ok thanks for all the responses, guys! I was unaware of about half a dozen things that have been mentioned. I'm just glad to know my installation isn't messed up or anything.
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

I'm pretty sure wifi card compaitbiility jumped within the past month or so try out a live cd of kubuntu or something.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

It's an engine issue involving rotation of buildings being added tot eh source. It changes how spring handles build orders. Thats why when i compile the svn code and run NTai it only builds buildings and no mobile units, but the same code works fine under 0.72b1 binaries that came with the spring standard release.
keithjr
Posts: 110
Joined: 30 Jun 2006, 18:45

Post by keithjr »

hollowsoul wrote: But for JCAI should be simply a lack of config files

Try the following
http://svn.berlios.de/svnroot/repos/tas ... obal/JCAI/
download settings.cfg & profiles (directory)
and save it to whereever fbo has aidll/globalai/jcai (might need to make the jcai directory)
This sounded like the most reasonable solution to getting JCAI to work, but no dice. Indeed, the installation I have lacked the /profiles directory, which I put into the JCAI directory in two seperate places (fbo's package installs game info like globalai folders in three seperate places... WHY?). But alas, the poor dumbfounded JCAI commander just sits there.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

ehhh for JCAI try
cp profile/*.cfg aidll/globalai/jcai
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

xe7.5 gives a better game than jcai
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

he was asking how to get JCAI to work. & already mentioned NTAI (most likey 7.5) is working
Post Reply

Return to “Linux”