View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003155 | Spring engine | General | public | 2012-07-07 13:58 | 2012-07-07 21:56 | ||||
Reporter | abma | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | sometimes | ||||
Status | closed | Resolution | no change required | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003155: units sometimes stay in factories | ||||||||
Description | not sure how to reproduce, i guess, just give a unit a command while its leaving factory... | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2012-07-07 14:21 |
that can happen to air-labs, too! |
abma (administrator) 2012-07-07 14:22 |
to reproduce: build unit in lab, select unit, give move order, press s... unit stays in lab |
Kloot (developer) 2012-07-07 18:36 |
if you give a STOP order, why wouldn't a new unit stay inside its factory? you are telling it to stop moving, so... |
abma (administrator) 2012-07-07 18:42 |
the units in the factory should move away, because a unit is going to be built at the position... like a mobile builder building a structure at the pos where a unit is... |
Kloot (developer) 2012-07-07 19:32 Last edited: 2012-07-07 19:34 |
there was some code that periodically issued move orders to idle units in/near factories, but as usual players complained about that so it went. and if a user is stupid enough to block his lab, well... |
abma (administrator) 2012-07-07 19:33 Last edited: 2012-07-07 19:34 |
meh... then it should be customizeable?! i set this as major, because ais are affected by this bug/feature, too... |
abma (administrator) 2012-07-07 19:48 Last edited: 2012-07-07 19:53 |
hmm, can this be easily fixed by a lua gadget? |
Kloot (developer) 2012-07-07 20:09 |
yes |
abma (administrator) 2012-07-07 21:38 |
then, how can this be done in a clean way? (i just a point to start...) -> the answer closes this bug report imo :) |
Kloot (developer) 2012-07-07 21:48 |
simple: gadget maintains a list of all (ground) factories currently alive, and every so often checks for finished idle units inside their footprints. if any found, they are issued move commands along the factory's facing-direction. |
abma (administrator) 2012-07-07 21:54 Last edited: 2012-07-07 21:56 |
hm, isn't there a callin like: FactoryWantsToStartbuild() ? or PreCreateUnit() ? maybe "CanBuildAt" is a keyword ? |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-07 13:58 | abma | New Issue | |
2012-07-07 14:21 | abma | Note Added: 0008895 | |
2012-07-07 14:21 | abma | Severity | minor => major |
2012-07-07 14:22 | abma | Note Added: 0008896 | |
2012-07-07 14:50 | abma | Relationship added | has duplicate 0003158 |
2012-07-07 18:36 | Kloot | Note Added: 0008903 | |
2012-07-07 18:42 | abma | Note Added: 0008904 | |
2012-07-07 18:42 | abma | File Added: 20120707_184122_AI: Proving Grounds v01_88.0.1-497-g30a7a2b release.sdf | |
2012-07-07 19:32 | Kloot | Note Added: 0008908 | |
2012-07-07 19:33 | abma | Note Added: 0008909 | |
2012-07-07 19:34 | Kloot | Note Edited: 0008908 | View Revisions |
2012-07-07 19:34 | abma | Note Edited: 0008909 | View Revisions |
2012-07-07 19:34 | abma | Note Edited: 0008909 | View Revisions |
2012-07-07 19:48 | abma | Note Added: 0008910 | |
2012-07-07 19:52 | abma | Note Edited: 0008910 | View Revisions |
2012-07-07 19:53 | abma | Note Edited: 0008910 | View Revisions |
2012-07-07 20:09 | Kloot | Note Added: 0008911 | |
2012-07-07 21:38 | abma | Note Added: 0008912 | |
2012-07-07 21:38 | abma | Status | new => feedback |
2012-07-07 21:48 | Kloot | Note Added: 0008914 | |
2012-07-07 21:49 | Kloot | Status | feedback => closed |
2012-07-07 21:49 | Kloot | Assigned To | => Kloot |
2012-07-07 21:49 | Kloot | Resolution | open => no change required |
2012-07-07 21:54 | abma | Note Added: 0008917 | |
2012-07-07 21:56 | abma | Note Edited: 0008917 | View Revisions |