NOTA v1.3 Config for NTai

NOTA v1.3 Config for NTai

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

Moderators: hoijui, Moderators

Rubenes
Posts: 84
Joined: 27 Apr 2005, 14:28

NOTA v1.3 Config for NTai

Post by Rubenes »

Here is a NOTA Config for NTai, made by myself. This link will always point to the latest version.

http://spring.unknown-files.net/file/32 ... NTAI_V0.2/

This AI loves to take in territory, and litters it with solars and metal extractors :P. Attacking works fairly good, but teching up is still an issue, due to the FARCK's building too many nanotowers, slowing down construction majorly. It will only play as ARM for the moment.
Have fun playing with this config, feel free to edit it, and if you manage to improve it, send your better config to rubenjacobs2006 at gmail dot com.
Last edited by Rubenes on 26 Jul 2007, 08:42, edited 8 times in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Have you tried running the stacktrace from the spring crash through the stacktranslator?

Also looking at the config, the way you've set up your atatck groups makes no sense, with an initial size of 5 and a maximum size of 5. Also the hardtarget tag is set to 1, I suggest you undo this if toolkit hasnt set it to this by default.

I'd have to see logs to get anything more useful to help.

It may also help if the ppl doing NOTA added the NTai tag to modinfo.tdf with the value NOTA.Look at BA and XTA for examples.
Rubenes
Posts: 84
Joined: 27 Apr 2005, 14:28

Post by Rubenes »

AF wrote:Have you tried running the stacktrace from the spring crash through the stacktranslator?

Also looking at the config, the way you've set up your atatck groups makes no sense, with an initial size of 5 and a maximum size of 5. Also the hardtarget tag is set to 1, I suggest you undo this if toolkit hasnt set it to this by default.

I'd have to see logs to get anything more useful to help.

It may also help if the ppl doing NOTA added the NTai tag to modinfo.tdf with the value NOTA.Look at BA and XTA for examples.
I'm not sure what I should change to the attack group configurations, could you be more precise? And I can't find anything about hardtarget in the config file or toolbox, where should I look?

Here is a NTai log and an unconverted infolog of the crash. 4 NTai AI's are mixed together, however, as I didn't know on which position the crash happens. The AI on the bottom right does work a lot slower for some reason.

http://www.temp-files.com/file/629744/n ... iglogs.rar

About the last thing, I'll post it in the NOTA thread so they can have a look at it.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Look in the global tab, as its not unit specific.

Also initial atatck size =5 and maximum attack size == 5.

This means your atatck group si always 5 because the smallest size and the largest size are identical.

Imagine a number line. Now place a marker after the initial attack group size, at 5. Everytime ti tries to increment it you've said to increment by 1. So 5+ 1 = 6, the max value is 5, 6 > 5, revert to 5, no change occurec. The attack group can never be bigger than 5 units.

Also attack group sizes are integers, whole numbers. Increasing via a percentage wotn work if its a ridiculously small icnrease. 1.01010101010101% extra may cause a small icnrease but then that icnrease is removed.

5.6% -> 5%
5.2% -> 5%
5.99999 - > 5%
6.1% -> 6%

This is how C++ converts decimal values into integers, it rounds downwards. This wouldnt be a problem if you didnt have a max attack group size because then the increment value fo 1 would eventually make the increase large enough for this percentage to actually have an effect. I'd say that when an attack group size of 400-500 units is reached the percentage increase will have an actual effect, its way too small.

Try to look at what option you've made and logically think through what it actually means and what effect it will have, and when that effect will kick in.
Rubenes
Posts: 84
Joined: 27 Apr 2005, 14:28

Post by Rubenes »

Thanks a lot, I adjusted the config and sent a new updated version to Unknown Files.

[EDIT] The Toolbox keeps reverting the maximum attack group size to 100 and the increment by percentage to 1%. Why is this?
Rubenes
Posts: 84
Joined: 27 Apr 2005, 14:28

Post by Rubenes »

Sorry for the double post, but I updated the config again.

http://spring.unknown-files.net/file/32 ... TAI_V0.03/

Have fun!

And please people, I need feedback! Tell me what needs changing, I am not that good at NOTA, and can't test everything.
User avatar
gamer17
Posts: 235
Joined: 21 Feb 2007, 23:51

Post by gamer17 »

How do I use this?
Rubenes
Posts: 84
Joined: 27 Apr 2005, 14:28

Post by Rubenes »

gamer17 wrote:How do I use this?
First, you need to install NTAI. Then you have to go to the folder Spring/AI/NTAI and extract the zip file there. (one file goes in the NTAI folder, the other one goes in the configs folder.

I've made a new version of the config. Look here:
http://spring.unknown-files.net/file/32 ... TAI_V0.04/
Last edited by Rubenes on 23 Jul 2007, 14:31, edited 1 time in total.
Rubenes
Posts: 84
Joined: 27 Apr 2005, 14:28

Post by Rubenes »

I redid the config, and here is the updated version:

http://spring.unknown-files.net/file/32 ... NTai_V0.1/

For some reason there seems to be a problem with the FARCK's. They don't want to build the Hatrack (the mobile LLT), which is somewhat annoying. Is there any way to prevent this problem?
User avatar
gamer17
Posts: 235
Joined: 21 Feb 2007, 23:51

Post by gamer17 »

Rubenes wrote:
gamer17 wrote:How do I use this?
First, you need to install NTAI. Then you have to go to the folder Spring/AI/NTAI and extract the zip file there. (one file goes in the NTAI folder, the other one goes in the configs folder.

I've made a new version of the config. Look here:
http://spring.unknown-files.net/file/32 ... TAI_V0.04/

I used this
http://spring.unknown-files.net/file/32 ... ring_0.75/

then downloaded the config, the AI loads but they dont do anything
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

install the latest NTAI toolkit
then
put NTAI in ta spring/AI/botlibs
then
run the latest version of NOTA with NTAI (currently no config)
it will create a blank config
then
replace the blank config with the full one

i'll have a look at this
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

You only need to generate a blank config if you haven't already got one.

Simply dropping in an existing NOTA config will work, no need to replace a blank one.
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

I'm seeing a similar issue to Gamer17, NTAI loads but doesn't do anything.

This is what NTAI log comes up with when i start a NOTA game on The Islands 2.5:

http://pastebin.com/m105ceb79

[EDIT] Fixed her up to appease the cookie monster [/EDIT]
Last edited by chillaaa on 25 Jul 2007, 01:38, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Chillaaa

- lack of context, I'm dont know what the problem is so i cant do anything about it.
- use a pastebin instead of posting a full log and ruining a threads layout in future.
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

Two things:

1) Cookies FTW

2) Context; The context of the whole damn page! Gamer17's issue.
Last edited by chillaaa on 25 Jul 2007, 01:39, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

@Chillaaa:

I dont take kindly to personal attacks.

I deal with numerous projects numerous forums and I spend a lot of time with a lot of people dealing with a lot of things. Dont be surprised if I suddenly loose track when someone makes a first post in a new thread thats just an NTai log with no adjoining text or explanation. Is it a previous error? Is it a new error? Is it something accidentally posted intended for another thread? Its the "*post starts*Theres something wrong*end of post*" all over again.

@Rubenes:

You should use the packaging mechanism in toolkit rather than doing it by hand. Try to load the config on UF in your copy of toolkit and it should give a torrent of errors. When I open the NOTA.tdf in the config folder, I see what I'm supposed to see, but when I open the on in th root fodler of the zip I see the wrong thing. Instead fo a section with two tags I see a copy of whats in the config folder which means NTai cant find any of that information.

for example:


/NTai/Kernel_Panic.tdf

Code: Select all

[NTai]
{
	learndata=learn/Kernel_Panic.tdf;
	modconfig=configs/Kernel_Panic.tdf;
	modname=Kernel Panic;
}
/NTai/configs/Kernel_Panic.tdf

Code: Select all

[AI]
{
	author=zwzsg;
	version=1.2;
	message=Kernel Panic AI for System and Hacker;

	abstract=0;
	use_mod_default_if_absent=0;

	defence_spac....
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

Fixed up first post...

Understood regarding the track loosing.
Rubenes
Posts: 84
Joined: 27 Apr 2005, 14:28

Post by Rubenes »

@AF: Ok, thanks, I'll upload a new version today.

@chillaa: The config doesn't work for Core. That's why it doesn't work.
The last line in your log says this:

Code: Select all

error loading tasklist :: CORBASE :: buffer empty, most likely because of an empty list
I haven't made any tasklists for Core yet, but I'm working on it!

http://spring.unknown-files.net/file/32 ... NTAI_V0.2/
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

Rubenes wrote: @chillaa: The config doesn't work for Core. That's why it doesn't work.
That would be good information to have in the first post. I admit i didn't try putting the AI as ARM mainly because I'm at work and had limited time.
[EDIT]Fix your first post link[/EDIT]
User avatar
Thor
NOTA Developer
Posts: 291
Joined: 05 Mar 2006, 10:26

Post by Thor »

It still has the same problem with the zip file, as AF described above. As for the ai itself, it is definitely a good start. It works the best of any ai I have seen so far in nota.

My biggest suggestion is to give much less importance to building nanotowers. As it is now, that is what it spends the vast majority of its resources on (they cost 1900 metal each). Really they're only worth getting at a strong chokepoint or on large maps, where the ability to build base defenses will make it worth it. It should be spending those resources on producing more units - it didn't have more than a handful at any one time in the game I played.

also, I don't know if you have any control over this, but while it is very good at expanding quickly, it wasn't using the units it had to protect its builders, leaving them vulnerable to any early attacks. Also, it never really tried to attack my expansions, but just sent everything straight to my main base. Another thing, it built around 5 or 6 lvl 1 kbot labs, and one aircraft plant, but never any vehicles. Really you usually want at least some of all 3 branches, so it would be preferable if it built a vehicle plant instead of a 2nd kbot lab. One last thing, is that when leveling up, it seemed to bypass the regular lvl 2 constructors (where you have to choose a branch) and went straight for the advanced one, which is much more expensive.

It shows a lot of promise though, keep it up!
Post Reply

Return to “AI”