AI Problems

AI Problems

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
ss2man45
Posts: 8
Joined: 18 Dec 2006, 01:53

AI Problems

Post by ss2man45 »

I have lots of problems with AI.

1. AAI Doesn't work with AA...

2. GlobalAI doesn't work at all...

3. Any other AI scripts Don't work at all.

Any help?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Go build an NTai config!
User avatar
ss2man45
Posts: 8
Joined: 18 Dec 2006, 01:53

Post by ss2man45 »

If it requires coding, count me out...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

The codings already been done.

And to top it off you neednt muddle through hundreds of lines of TDF configs as NTai toolkit is all graphical, point and click!
User avatar
ss2man45
Posts: 8
Joined: 18 Dec 2006, 01:53

Post by ss2man45 »

Ok, I'll give it a try as soon as .net framework 3.0 installs.

(Odd... I should have it already... I am a VB.net programmer...)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

.Net 3? I thought the current version was .Net 2? I have v2, are you on Vista at all?
User avatar
ss2man45
Posts: 8
Joined: 18 Dec 2006, 01:53

Post by ss2man45 »

Nope...

http://www.microsoft.com/downloads/deta ... layLang=en

EDIT: NTai gives me errors left and right -.-
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

AAI should work if you go into its mod folder and find the file named AASS***.cfg and change the numbers there to the latest version (223 IIRC)
User avatar
ss2man45
Posts: 8
Joined: 18 Dec 2006, 01:53

Post by ss2man45 »

It doesn't.
All AI scripts give me this right when the game starts:

Image
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Post by hughperkins »

AF wrote:.Net 3? I thought the current version was .Net 2? I have v2, are you on Vista at all?
.Net 3 is .Net 2 with some extra packages; no changes to the existing packages (in theory). The extra packages are things like Indigo or it's replacement.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

note quite, for example there are 2 variants of C# for F# style functional programming, and a number of extra syntax additions
User avatar
ss2man45
Posts: 8
Joined: 18 Dec 2006, 01:53

Post by ss2man45 »

What about my AI problem, here?
bamb
Posts: 350
Joined: 04 Apr 2006, 14:20

Post by bamb »

AAI works with latest official release, just copy a config file from the old config files. Ie copy and rename the aa config file to ba44.cfg. if you play balanced annihilation 4.4 etc.
They're in ai/aai/config/mod or something like that.
doncornelius
Posts: 1
Joined: 18 Dec 2006, 21:33

Post by doncornelius »

I think i'm having the same type of problems as ss2man45, I cant get certain versions AAI to work and after the game starting countdown it freezes for a second and then serves me the "spring.exe has encountered a problem" window. I'm having AI problems in general also, the only AI I've got to work properly is AAI(Some builds work), I've tried KAI, OTAI, and NTAI and none have worked eventhough I thought I installed them correctly(Though I think I've almost got NTAI to work)
User avatar
ss2man45
Posts: 8
Joined: 18 Dec 2006, 01:53

Post by ss2man45 »

doncornelius wrote:I think i'm having the same type of problems as ss2man45, I cant get certain versions AAI to work and after the game starting countdown it freezes for a second and then serves me the "spring.exe has encountered a problem" window. I'm having AI problems in general also, the only AI I've got to work properly is AAI(Some builds work), I've tried KAI, OTAI, and NTAI and none have worked eventhough I thought I installed them correctly(Though I think I've almost got NTAI to work)
Not the same type, THE SAME problem...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

With NTai not working what exactly happened?

Is that the NTai in the NTai Toolkit? If you tried any other version it'll crash instantly.
User avatar
ss2man45
Posts: 8
Joined: 18 Dec 2006, 01:53

Post by ss2man45 »

I tried NTai and it did the same as the above error, and the toolkit you said doesn't work on it's own and you need to write a better doc.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

What I said in the toolkit thread was a simple howto on how to get a builder or factory building in NTai, and there's loads of little labels and messages across toolkit, and I'll be adding many more, you must appreciate I've released 7 versions in the last 2 days addressing bugs and making the thing easier to use.

Also can you at least look for AI logs? AAI and NTai have logging folders.

And provide more info than 'it crashes', what OS? what cpu? does ti support SSE instructions? Graphics card even? The mods you tested with and the maps? Even the contents of the error report from that window you took a screenshot of? Info the debugger gives you when you press debug button in that window? What settigns your spring is running with?

And what do you mean 'doesnt work on its own', you mean your trying to look for a "NtaiToolkit.dll" in the lobby? That wont work. NTai Toolkit is a C# program for building NTai configs, and it comes with an NTai.
bma
Posts: 34
Joined: 31 Dec 2006, 12:46

Post by bma »

ss2man45 wrote:I tried NTai and it did the same as the above error, and the toolkit you said doesn't work on it's own and you need to write a better doc.
And you need to work on your punctuation

If you think you're that good, do a doc for AF then
Post Reply

Return to “AI”