View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0006201 | Spring engine | General | public | 2019-04-11 00:48 | 2019-04-11 12:30 | ||||
Reporter | sprung | ||||||||
Assigned To | hokomoko | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 104.0 +git | ||||||||
Target Version | Fixed in Version | 104.0 +git | |||||||
Summary | 0006201: CmdCescrCache overflow is caused by stockpile | ||||||||
Description | Using maintenance-1200's debug mode: [cmdDescr=315 hashIndex=<1700572634,449>] [f=0074032] id =100 [f=0074032] type =0 [f=0074032] refc =2 [f=0074032] hash =612364489 [f=0074032] [f=0074032] queueing =1 [f=0074032] hidden =0 [f=0074032] disabled =0 [f=0074032] showUnique =0 [f=0074032] onlyTexture=0 [f=0074032] [f=0074032] name =7/102 [f=0074032] action =stockpile [f=0074032] iconname =bitmaps/armsilo1.bmp [f=0074032] mouseicon = [f=0074032] tooltip =stockpile: Queue up ammunition for later use [f=0074032] [f=0074032] params={ [f=0074032] } Look at the `name` field. I got a bunch of stockpile commands in the cache for various X/Y combinations. | ||||||||
Steps To Reproduce | Get a stockpiling unit, queue up 1024 missiles (one by one, so it goes through all the tooltips: 0/0, 0/1, 0/2... etc). | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | Yes | ||||||||
Attached Files |
|
![]() |
|
sprung (reporter) 2019-04-11 00:53 |
https://github.com/spring/spring/blob/develop/rts/Sim/Units/CommandAI/CommandAI.cpp#L1627 |
sprung (reporter) 2019-04-11 01:19 |
Additionally, doing /nocost causes a second copy of most build commands because the costs change. [f=0074032] [cmdDescr=21 hashIndex=<-1836451234,469>] [f=0074032] id =-528 [f=0074032] type =20 [f=0074032] refc =1 [f=0074032] hash =-1090967416 [f=0074032] [f=0074032] queueing =1 [f=0074032] hidden =0 [f=0074032] disabled =0 [f=0074032] showUnique =0 [f=0074032] onlyTexture=0 [f=0074032] [f=0074032] name =staticmex [f=0074032] action =buildunit_staticmex [f=0074032] iconname = [f=0074032] mouseicon =staticmex [f=0074032] tooltip =Build: Metal Extractor - Produces Metal Health 400 Metal cost 75 Energy cost 75 Build time 75 [f=0074032] [f=0074032] params={ [f=0074032] } [f=0074032] and the one from after /nocost: [f=0074032] [cmdDescr=143 hashIndex=<-423599523,116>] [f=0074032] id =-528 [f=0074032] type =20 [f=0074032] refc =2 [f=0074032] hash =72205023 [f=0074032] [f=0074032] queueing =1 [f=0074032] hidden =0 [f=0074032] disabled =0 [f=0074032] showUnique =0 [f=0074032] onlyTexture=0 [f=0074032] [f=0074032] name =staticmex [f=0074032] action =buildunit_staticmex [f=0074032] iconname = [f=0074032] mouseicon =staticmex [f=0074032] tooltip =Build: Metal Extractor - Produces Metal Health 400 Metal cost 1 Energy cost 1 Build time 10 [f=0074032] [f=0074032] params={ [f=0074032] } |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-11 00:48 | sprung | New Issue | |
2019-04-11 00:53 | sprung | Note Added: 0019936 | |
2019-04-11 01:19 | sprung | Note Added: 0019937 | |
2019-04-11 03:05 | Kloot | Assigned To | => Kloot |
2019-04-11 03:05 | Kloot | Status | new => resolved |
2019-04-11 03:05 | Kloot | Resolution | open => fixed |
2019-04-11 03:05 | Kloot | Fixed in Version | => 104.0 +git |
2019-04-11 12:30 | Kloot | Assigned To | Kloot => hokomoko |