NTai XE10.1b - Page 67

NTai XE10.1b

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

Moderators: hoijui, Moderators

User avatar
DJ
Posts: 355
Joined: 17 Jan 2007, 13:26

Post by DJ »

not in the one you sent me, just a solution file...
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

will this me made to work with the new version?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

You find the answer to that question in the 0.75 news thread, posted 5-6 hours before your post was written.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Viktor
Spring Developer
Posts: 19
Joined: 21 Jun 2007, 22:22

Post by Viktor »

Is save/load supported?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I havent a clue as to how spring implements Save Load, and nor does anyone else, mainly because you went and implemented it for everyone in svn anyway, and theres been no effort to document or explain how it all works.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

NTai and toolkit are now in the svn
User avatar
DJ
Posts: 355
Joined: 17 Jan 2007, 13:26

Post by DJ »

NTai and toolkit are now in the svn
quality, been away for a week. seems like alot has happened!
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

I was getting crashes about a minute in with the latest NTAI and this config file in BA 5.5: http://spring.unknown-files.net/file/31 ... for_BA5.4/

I didn't try BA 5.4, but the two versions are very similar.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

No infolog.txt? No stacktraces?

If there's no infolog.txt It didnt happen.

If an AI crashes upload infolog.txt to the stacktrace translator and post the end stacktrace in here (not the entire thing complete with chat etc), or post a link to a pastebin post (preffered method).

If you dont do the above then Ill assume you've simply not installed NTai correctly and move on to the next post for lack of useful information.

Remember, there's no point posting 'it doesnt work' because that doesnt help me fix it and gives no clue whatsoever as to where the problem lies.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

AF wrote:No infolog.txt? No stacktraces?

If there's no infolog.txt It didnt happen.

If an AI crashes upload infolog.txt to the stacktrace translator and post the end stacktrace in here (not the entire thing complete with chat etc), or post a link to a pastebin post (preffered method).

If you dont do the above then Ill assume you've simply not installed NTai correctly and move on to the next post for lack of useful information.

Remember, there's no point posting 'it doesnt work' because that doesnt help me fix it and gives no clue whatsoever as to where the problem lies.
Yeah I know, sorry. I'm away from that computer now, so I won't be able to provide it until maybe later this week. I just wanted to check that that config file isn't a known bad or anything like that.

I'm pretty sure it wasn't an installation issue, as it ran fine until about a minute in - AI building factories and everything included. This was repeated twice until I gave up and played something else.

Actually, I'm not even sure it was a proper crash. Spring closed, but the process was still open in taskmanager taking up about half the CPU time. I had to manually kill the process before Spring would run it again.

Regardless, I won't get back to that Windows machine to post a log for you for a while, but in the meantime maybe someone else interested in NTAI and balanced annihilation could test out that combo.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

No, I think the config files good, and it should work just as well for BA 5.4 as 5.5.

I look forward to your stacktrace
Viktor
Spring Developer
Posts: 19
Joined: 21 Jun 2007, 22:22

Post by Viktor »

YokoZar wrote:I was getting crashes about a minute in with the latest NTAI and this config file in BA 5.5: http://spring.unknown-files.net/file/31 ... for_BA5.4/

I didn't try BA 5.4, but the two versions are very similar.
On what map? If map has not any geothermals NTAI crashes when trying to build geothermal.(NTAI crashes on Aavikko V2 with BA)
User avatar
DJ
Posts: 355
Joined: 17 Jan 2007, 13:26

Post by DJ »

I've never seen that, i'd try it with BA 5.4 first. Last time I tested was with 0.74 and BA 4.5. I'll check the config when i get chance it's just I'm working to an August 1st deadline so everything is a bit manic at the moment
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

can you get me a stacktrace using infolog.txt fo NTai after a geothermal?
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Victor wrote:
YokoZar wrote:I was getting crashes about a minute in with the latest NTAI and this config file in BA 5.5: http://spring.unknown-files.net/file/31 ... for_BA5.4/

I didn't try BA 5.4, but the two versions are very similar.
On what map? If map has not any geothermals NTAI crashes when trying to build geothermal.(NTAI crashes on Aavikko V2 with BA)
The map did have geothermal points (delta siege dry), and I suppose about a minute or so in is a good time for the AI to start claiming them.
User avatar
DJ
Posts: 355
Joined: 17 Jan 2007, 13:26

Post by DJ »

its definitely when it tries to build a geo that it crashes, I couldn't get a stack trace though cos bloody JIT got in the way and i didn't have time to try again.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Stacktraces are useless.

I managed to get a stacktrace for a crash on EE Conquerors isle remake and fed it through the stacktrace translator and ti just gave 0: ? for all the lines in NTai.dll which was really unhelpful.

Ontop of that, addr2line is quite confusing, google doesnt give any info save the linux man page which has no examples and isnt particularly clear about its usage. There's no -h or /? or help message when running it either via command line.
User avatar
DJ
Posts: 355
Joined: 17 Jan 2007, 13:26

Post by DJ »

can you run it through a debugger now? it's pretty easy to reproduce...

This bug was definitely not present in 0.74b3 so its either something new with spring or to do with the version you released for 0.75 but I can't think of anything that would have caused that.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Netbeans wont let me and codeblocks + gdb + library(dll/so/lib anything that isnt an executable such as .exe/.com/etc) == utter phail.

My only choice is to compile both in Visual studio 2005 and then test them then walka way pissed off about ELF errors that shouldnt be happening.

Ontop of that in order to build a geothermal I need an Arm NTai. But for that I need tasclient. And to get tasclient I need to remove the debugger out of the equation which defeats the whole point.

In future if you build a config, start on the race it gives you when you run with spring.exe, if I have to run tasclient to switch from arm to core or some other faction then thats it I cant debug whatever problem you have.
Post Reply

Return to “AI”