Construction starts but builder won't build

Construction starts but builder won't build

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Construction starts but builder won't build

Post by AF »

Im noticing this more and more in AI games, and it appears to be a known issue in games with human players in *A, sicne I was warned about it before I even knew of the bug, yet there is no sign of it on these forums that Im aware of.

Basically a unit goes to build some structure, and the wireframe starts, the building is at 0%, yet the builder is doing nothing. The player has to intervene and issue an order for it to continue. The consequences for AIs are somewhat devastating in the rare occasions when it happens.

It manifests in EvoRTS as engineers attempting to build factories yet they sit there blankly for a very long time doing nothing while the wire frame sits there at 0%
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Re: Construction starts but builder won't build

Post by yuritch »

I've seen this in AAI vs AAI games quite a long time ago (sometime previous year). I though that was AAI bug, but seems not.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Construction starts but builder won't build

Post by Kloot »

Warned by whom? Do "they" (or you) have 81.2 replays that show this happening?

Find a way to reproduce this bug reliably (which there should be if it is deterministic) and someone will take a look in due time, but without any other evidence we can only consider it an unconfirmed rumor.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Construction starts but builder won't build

Post by hoijui »

http://springrts.com/phpbb/viewtopic.php?f=11&t=22724

it definitely is a bug/problem somehow, but as you can see in the above thread, it seems to be hard to find out how to let it happen.
though, i guess if someone tried all the vague guesses mentioned in that thread, it should be possible to find out what really causes it, it is just boring/hard to do, eg. simulating an enemy getting close when the build starts.. what is close, when exactly does it have to be close? ...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Construction starts but builder won't build

Post by AF »

Play a game of Evolution RTS with several shards as a spectator and watch for engineers building factories. That's when I've seen it most.

( btw Evo engineers dont have any visible weapons Im aware of )
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Construction starts but builder won't build

Post by Forboding Angel »

They have a weapon as an emit (it's the glowy blue thing when they're building), but that's it. All are canattack=0.

I've had this happen to me in both Evo and BA within the past 3 or 4 months.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Construction starts but builder won't build

Post by aegis »

does someone have a replay where this happens I can run tests against?

I was going to look into it last thread but I couldn't reproduce it (spawning enemies while building/terraforming, before, etc)
Chamrin
Posts: 33
Joined: 05 Mar 2010, 12:31

Re: Construction starts but builder won't build

Post by Chamrin »

Not sure if this is the same bug, but it happens fairly consistently if you have a lot of things building, say lots of builders focusing on one object and another builder building something else by itself, it often gets stuck and doesn't build till there are more resources.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Construction starts but builder won't build

Post by hoijui »

if it happens often for in games with lots of Shards, could you please upload a demo for aegis, AF?
as he is on linux, he can not run Shard himself.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Construction starts but builder won't build

Post by AF »

I have a coursework due in tomorrow so I'm not really in a position to setup games and watch at the moment
Post Reply

Return to “Engine”