View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005000 | Spring engine | General | public | 2015-11-30 17:40 | 2016-02-06 23:04 |
| Reporter | Code_Man | Assigned To | Kloot | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 100.0 | ||||
| Summary | 0005000: Factories can only execute custom orders at end of production | ||||
| Description | My factory can only execute a custom order trough a button after unit has exited the factory, not when idle. The command also is queued up on the command stack and will not be removed, it will be executed after every production, even if it has been invoked only once. | ||||
| Steps To Reproduce | Use attached game for a demonstration, try hitting the custom button and mixing it with unit production orders, notice the output in console. It uses a modified gadget handler based on the one included in spring 100 to output debug messages when CommandFallback and AllowCommand are called. | ||||
| Additional Information | I really need this working properly for my game, its crucial, i would much appreciate if it was fixed in the next version. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
"Use attached game for a demonstration" No game is attached |
|
|
Oh i didnt know you had to press the 'upload file' button seperately, i thought it would do that automatic when you submit the report. |
|
|
"The command also is queued up on the command stack and will not be removed" That's because you return false from CommandFallback which keeps it on the queue. CommandFallback is only called when a unit's queue is *not* empty (for obvious reasons), so you probably need to rethink your approach. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-11-30 17:40 | Code_Man | New Issue | |
| 2015-12-02 00:17 | hokomoko | Note Added: 0015357 | |
| 2015-12-02 12:20 | Code_Man | File Added: broken_button.sdz | |
| 2015-12-02 12:21 | Code_Man | Note Added: 0015360 | |
| 2016-02-06 23:03 | Kloot | Note Added: 0015638 | |
| 2016-02-06 23:04 | Kloot | Note Edited: 0015638 | |
| 2016-02-06 23:04 | Kloot | Status | new => closed |
| 2016-02-06 23:04 | Kloot | Assigned To | => Kloot |
| 2016-02-06 23:04 | Kloot | Resolution | open => no change required |