Page 82 of 95

Re: NTai XE9.8 experimental for 0.76b1

Posted: 11 Jan 2008, 10:39
by AF
The problem with using scons that way is I'd get an NTai.so not an NTai.dll, the server environment is debian based not Windows NT/Server

Re: NTai XE9.8 experimental for 0.76b1

Posted: 11 Jan 2008, 11:08
by Tobi
aptitude install mingw32

(ie. buildbot is debian (now ubuntu) based too)

EDIT: if it is ubuntu gutsy I have mingw32 4.2.1 packages for it (it only has 3.4 in it's repository right now)

Re: NTai XE9.8 experimental for 0.76b1

Posted: 11 Jan 2008, 11:12
by AF
Root access I have not.

Re: NTai XE9.8 experimental for 0.76b1

Posted: 11 Jan 2008, 11:15
by Tobi
Ah then you can probably forget any kind of automatic setup :-)

Re: NTai XE9.8 experimental for 0.76b1

Posted: 13 Jan 2008, 02:24
by lurker
I grabbed the version for 76b1, and in almost every game the Evolution commander only builds one single unit. Maybe it's giving a failed move order?

Re: NTai XE9.8 experimental for 0.76b1

Posted: 13 Jan 2008, 12:41
by AF
It built something?

There was no evolution config included. As far as I'm aware nobody ahs ever tried to build one. If you are trying to build an evo config and thats your result, then please look at the logs. It'll say why it skipped that task and the next one etc.....

Re: NTai XE9.8 experimental for 0.76b1

Posted: 13 Jan 2008, 21:48
by lurker
I'm building a config. For this test I removed all tasklists except the com's. It doesn't say anything about skipping a task: http://pastebin.ca/853834 It just builds one unit and idles forever.
The config, generated by the toolkit: http://pastebin.ca/853840

The one time it actually worked: http://pastebin.ca/853845

Re: NTai XE9.8 experimental for 0.76b1

Posted: 14 Jan 2008, 13:49
by DJ
In the toolkit you need to check that the task list has been allocated to eengineer, from the config you posted it looks like it hasn't...

Re: NTai XE9.8 experimental for 0.76b1

Posted: 14 Jan 2008, 14:19
by lurker
I said right there I had removed all task lists except the com's to make the log as simple and clear as possible. The commander, ecentralprocessing, is ordered to start off by building 4 eengineers, and it only builds one before stopping forever.

Re: NTai XE9.8 experimental for 0.76b1

Posted: 14 Jan 2008, 22:59
by AF
And lua gadgets never intervene in the construction process? What happens if you force a unitidle following the commander locking up by pressing stop or issuing a command?

Re: NTai XE9.8 experimental for 0.76b1

Posted: 06 Feb 2008, 23:57
by theotherhiveking
Hi there, i dont know if i should post this here or in linux, but anyway here it is.


when I run(any) mod with this ai (compiled from source from the svn trunk of spring(6 of febrary) y get multiple buffer errors, then the commander does nothing.


Code: Select all

 :: NTAI XE9.79 Log File 
 :: Programmed and maintained by AF/T.Nowell 
 :: Copyright (C) 2004-7 Tom Nowell/AF 
 :: Game started: 6.1.2008  23:43:11

[-]|23:43:11| < Frame: 0 >error in buffer
 :: Balanced Annihilation V6.1
 :: Moooooo!
 :: First instance of NTAI
[-]|23:43:11| < Frame: 0 >file script.txt not found
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: spring_engine
 :: AI DLL's in game

[-]|23:43:11| < Frame: 0 >logging started
[-]|23:43:11| < Frame: 0 >error in buffer
KAI Metal Class by Krogothe
Metal Spots loaded from file
Metal Spots Found 26
 :: Found 26 Metal Spots
[-]|23:43:11| < Frame: 0 >Unitdef loader constructed
[-]|23:43:11| < Frame: 0 >Order Router constructed
[-]|23:43:11| < Frame: 0 >DTHandler constructed
[-]|23:43:11| < Frame: 0 >RadarHandler constructed
[-]|23:43:11| < Frame: 0 >Planning constructed
[-]|23:43:11| < Frame: 0 >Economy constructed
[-]|23:43:11| < Frame: 0 >Manufacturer constructed
[-]|23:43:11| < Frame: 0 >BuildingPlacer constructed
[-]|23:43:11| < Frame: 0 >Chaser constructed
[-]|23:43:11| < Frame: 0 >Initialisising
[-]|23:43:11| < Frame: 0 >error in buffer
[-]|23:43:11| < Frame: 0 >Mod TDF loaded
 :: mod.tdf failed to load, assuming default values
[-]|23:43:11| < Frame: 0 >abstract == true
[-]|23:43:11| < Frame: 0 >values filled
[-]|23:43:11| < Frame: 0 >Arrays filled
 :: Using abstract buildtree

[-]|23:43:11| < Frame: 0 >Loading unit data
 :: error loading file :: AI/NTai/learn/BA.tdf
[-]|23:43:11| < Frame: 0 >failed to save :AI/NTai/learn/BA.tdf
[-]|23:43:11| < Frame: 0 >failed to load :AI/NTai/learn/BA.tdf
[-]|23:43:11| < Frame: 0 >Unit data loaded
 :: TartarusV7.smf
 :: BA61.sd7
 :: map size 8 x 8
[-]|23:43:11| < Frame: 0 >Planner Init'd
[-]|23:43:11| < Frame: 0 >Manufacturer Init'd
[-]|23:43:11| < Frame: 0 >This map does not have identifiablegeothermal vents
[-]|23:43:11| < Frame: 0 >BuildingPlacement Init'd
[-]|23:43:11| < Frame: 0 >Chaser Init'd
[-]|23:43:11| < Frame: 1 > error loading tasklist for unit :: "armcom" :: buffer empty, most likely because of an empty list
[01:57]|23:45:9| < Frame: 3523 >failed to save :AI/NTai/learn/BA.tdf
 :: Closing LogFile...
This with BA 6.1

and the the AI/NTai/learn/BA.tdf file:

Code: Select all

[NTai]
{
	learndata=learn/BA.tdf;
	modconfig=configs/BA.tdf;
	modname=Balanced Annihilation V6.1;
}
I get the same error with CA, and every other mod i tried.

Im using Ubuntu linux, with the relase compiled from source. the game installation and the datadir are both in my home folder. So, no root permissions are required.

Sorry for my bad english :wink:

Re: NTai XE9.8 experimental for 0.76b1

Posted: 07 Feb 2008, 10:18
by DJ
looks like it can't find or access the configs directory to me....

Re: NTai XE9.8 experimental for 0.76b1

Posted: 07 Feb 2008, 12:41
by AF
hmm, it seems you compiled NTai but then thought that was all that was needed and never bothered to put in the needed folders and config files to make it actually do stuff.

Re: NTai XE9.8 experimental for 0.76b1

Posted: 08 Feb 2008, 22:38
by AF
I've made more changes in the svn which might interest the kernel panic people (last half hour or so), and might speed things up in general for everyone else.

Re: NTai XE9.8 experimental for 0.76b1

Posted: 10 Feb 2008, 07:45
by overkill
Is it possible to make ntai upgrade mexes?

Re: NTai XE9.8 experimental for 0.76b1

Posted: 10 Feb 2008, 10:59
by AF
Not quite, but patches are welcome!

Re: NTai XE9.8 experimental for 0.76b1

Posted: 13 Apr 2008, 01:23
by zenzike
I've just downloaded spring from the SVN repository (HEAD), and I'm trying to compile NTai which I found in the AI directory. There's a netbeans project that seems configured there, but there are a few problems:

Assigner.cpp, Assigner.h, Scouter.cpp, Scouter.h, GlobalAI.cpp, GlobalAI.h, helper.cpp, helper.h, Information.h, and InitUtil.h are all missing, though the project expects them to be there.

I haven't started hunting these down in previous commits, but they seem important, since the build spits this out when I try to compile:

Code: Select all

make[1]: *** No rule to make target `NTai/Core/GlobalAI.cpp', needed by `build/Release/GNU-Windows/NTai/Core/GlobalAI.o'.  Stop.
make[1]: Leaving directory `/home/nick/projects/spring/AI/Global/NTai/AI'
make: *** [.build-impl] Error 2
Should I be using the nbproject as a base to look at this code from, or ought these files be there? Should I be working off another version from the repository (I'm currently taking from HEAD).

Cheers,

zenzike

Re: NTai XE9.8 experimental for 0.76b1

Posted: 13 Apr 2008, 14:19
by AF
The netbeans project is very old, do not assume it will work out of the box, there are files referenced in the project that no longer exist and there are files that exist that aren't referenced.

You would be best building a new netbeans project from scratch and submitting a patch.

Re: NTai XE9.8 experimental for 0.76b1

Posted: 13 Apr 2008, 14:51
by imbaczek
scons should build NTai (try scons GlobalAI.)

Re: NTai XE9.8 experimental for 0.76b1

Posted: 15 Apr 2008, 16:24
by 1v0ry_k1ng
hey AF you got a working version of NTAI with the current sprang that I can plug my configs into?