Page 31 of 95

Posted: 29 Jun 2006, 14:57
by AF

Posted: 29 Jun 2006, 19:35
by Lindir The Green
Yeah...

I tried to leave 2 comments about the more than 30 second stalling, but they never showed up.

So I will continue posting complaints and suggestions here.

Posted: 29 Jun 2006, 20:07
by AF
Mwha?!?!

Moth3r must have edited Wordpress specifically for sourceforge so I'll ahve to update it to the official version sorry.

The antistall algorithm will have to take into account planned constructions whereas atm it only takes into account ongoing cosntruction......

As for RC19 source, sorry about that as usual my efforts are thwarted by time. I'll try and get it to you before midnight

Posted: 30 Jun 2006, 03:10
by ILMTitan
I just thought I should let you know, an impending patch of mine adds "Fight" (id=16) to the available commands of mobile, air, and factory units, which breaks NTAI (the com fails to move, but will use his d-gun, unlike a truly dumb com).

It is not the fact that "Fight" exists, but the fact that it is an available command that breaks it.

Posted: 30 Jun 2006, 03:19
by Vassago
The RC19 release is REALLY great. Totally smooth as silk, regardless of how long the game goes. Great stuff, guys :)

Posted: 30 Jun 2006, 03:21
by Lindir The Green
AF wrote:The antistall algorithm will have to take into account planned constructions whereas atm it only takes into account ongoing cosntruction......
I really don't thinks so; the problem is new for RC19 and it just has to do with NTai ignoring either:

MaxStallTime

metalIncome

metalStored

Of possibly just a problem with the blocking of commands.

I set metalIncome=1, metalStored=1, and MaxStallTime=6. But the 1st thing NTai built was an advanced vehicle plant, which caused stall for about a minute.

Something is screwed up.

Posted: 30 Jun 2006, 04:19
by AF
reduce the stall tag, and chane the multipleirs to a non '1' value.

Are you usign B_FACTORY or B_FACTORY_CHEAP or B_RULE?

Posted: 30 Jun 2006, 04:26
by Lindir The Green
coravp.

Which used to be caught properly, but now isn't.

I really hope you didn't get rid of the specified units not being caught...

I guess I'll add it to always_antistall, just in case.

But I want everything to always_antistall, unless they are defined in never_antistall.

Posted: 30 Jun 2006, 04:28
by AF
I didnt change the antistall.

the onyl economy rule I changed was the estorage and mstorage which was meant to fix a crashbug...

It'll be your rule value modifiers, check antistall=3;

Posted: 30 Jun 2006, 04:30
by Lindir The Green
Hmm.. Well, this is a new problem.

I'll poke around, and make sure I didn't make a syntax error.

Posted: 30 Jun 2006, 04:33
by AF
fiddle your values....

Posted: 30 Jun 2006, 08:10
by Ringold
I agree with vassago; lag gone. dead. entirely. Much smaller logs too. Sw33t.

Posted: 30 Jun 2006, 15:48
by AF
huh? wouldnt ti be better to prefix CMD_ to the define? CMD_FIGHT...

It shouldnt affect NTai, can i see the logs?

http://ntai.from-hell.net

Comments and page postign work again now, I also tied in a login/logout/register int eh top menu so people cn finalyl post in the forums.

there's also a pastebin if you wanna put logs in there....

PS:: The menu I'm talking about is the one at the very top, press the link and the menu will pull down

btw dgunning was disabled in RC17 as it had a bug and needs rewritting, are you sure you're using RC18 code?.

Sorry about not posting the source code last night, I had to fix darkstars somewhat

Posted: 30 Jun 2006, 18:03
by AF
I fixed lindirs problem with antistall algorithms giving the go ahead for things it shouldnt have, and ti works better now. Although I ahve oen rot wo issues witht he buildtree currently in the installer.

AK's dotn do anythign they're nto beign picked up by any fo the classes in NTai, where they accidentally remvoed from the attackers/scouters tags?

NTai is now energy stallign more, this needs changing.

I'm gonan try and release RC20 soon enough, whcih will include proper ranged atatcks back in, and lindir, I'm making it look for plans too, so fi con a is due to build a adv kbot lab nearby and con b has a normal lvl 1 lined up narby to its planned position, it'll abandon and start the planned cosntruction of the adv kbotlab earlier while the original builder is still moving to the position.

I'll attempt to integrate plans into the antistall system too.

Posted: 30 Jun 2006, 19:31
by Lindir The Green
AF wrote:I fixed lindirs problem with antistall algorithms giving the go ahead for things it shouldnt have, and ti works better now. Although I ahve oen rot wo issues witht he buildtree currently in the installer.
Excellent.
AK's dotn do anythign they're nto beign picked up by any fo the classes in NTai, where they accidentally remvoed from the attackers/scouters tags?
Yes, in the version in the installer I made a typo. Actually I think you made a typo. Someone made a typo.

It's fixed in v0.8.0.1, and in v0.8.1, which I'll release tonight if I have access to a computer
NTai is now energy stallign more, this needs changing.
Now that antistalling is working again, I'll twiddle with the values.
I'm gonan try and release RC20 soon enough, whcih will include proper ranged atatcks back in, and lindir, I'm making it look for plans too, so fi con a is due to build a adv kbot lab nearby and con b has a normal lvl 1 lined up narby to its planned position, it'll abandon and start the planned cosntruction of the adv kbotlab earlier while the original builder is still moving to the position.

I'll attempt to integrate plans into the antistall system too.
Cool! I don't think it is absolutely neccessary, but it will still improve NTai's performance.

Posted: 01 Jul 2006, 18:12
by KDR_11k
This is probably the wrong place to ask but how does the current metatag system work? I've tried using a [TAGS] section and adding some key=unitlist entries but I still get errors that the tag doesn't exist.

Posted: 01 Jul 2006, 18:24
by AF
use lowercase tagnames

Posted: 01 Jul 2006, 18:31
by hollowsoul
sent email earlier rc20 not compiling under linux
also tried removin Potential.cpp/.h same result :|

Posted: 01 Jul 2006, 19:07
by KDR_11k
AF wrote:use lowercase tagnames
That didn't change anything, I'm still getting those errors and it even tells me repair is an invalid task keyword.

Posted: 01 Jul 2006, 19:11
by hollowsoul
List of changes to source sofar is
Tobi's fixes for RC18
Removed SunParser.cpp/.h
Removed Potential.cpp/.h

error on compiling under gentoo/linux is http://pastebin.ca/76457

scons: *** ParentOfRoot instance has no attribute 'must_be_a_Dir' ????

did quick google might need to edit SConstruct will check it out later. Was using svn revision 1523 cause of ai problems with it. Might test it later but gtg atm

opps :oops: