CCC-Public merge requestshttps://staging.gitlab.com/ScreepsCCC/public/-/merge_requests2017-06-01T05:06:22Zhttps://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/1Update README to CCC info2017-06-01T05:06:22Zusername-removed-1357539Update README to CCC infoChange OCS info to CCC infoChange OCS info to CCC infohttps://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/2@karlthepagan - explainSaysAssignment2017-08-27T22:32:05Zusername-removed-1357377@karlthepagan - explainSaysAssignmentI believe this was your baby karl?I believe this was your baby karl?0.7.1username-removed-1357664username-removed-1357664https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/3Fix findRoute to correctly consider SK rooms2017-07-07T03:03:29Zusername-removed-1357377Fix findRoute to correctly consider SK roomsI believe this is what was going to get merged into 0.7.0b? If not, it's a candidate.I believe this is what was going to get merged into 0.7.0b? If not, it's a candidate.0.7.0bhttps://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/4hotfix/robbingNoPrivateers - stop privateers from spawning on adjacent robbin...2017-08-16T19:51:16Zusername-removed-1357377hotfix/robbingNoPrivateers - stop privateers from spawning on adjacent robbing roomsThis stops privateers from being triggered when robbing a room adjacent to the one we own.This stops privateers from being triggered when robbing a room adjacent to the one we own.0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/5hotfix/determinatedStorage - miners were trying to work on top of storage/ter...2017-08-16T13:31:07Zusername-removed-1357377hotfix/determinatedStorage - miners were trying to work on top of storage/terminal at timesStop miners from trying to sit on terminals and storage when they are used as storage for sourcesStop miners from trying to sit on terminals and storage when they are used as storage for sources0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/6hotfix/defenseMemory - attempt to get Memory.tasks.defense to clean up properly2017-07-29T01:20:49Zusername-removed-1357377hotfix/defenseMemory - attempt to get Memory.tasks.defense to clean up properlySo far, this fixes a bug where the cleanup check wasn't being triggered as often as it should, however there's likely still an error in the cleanup code itself.So far, this fixes a bug where the cleanup check wasn't being triggered as often as it should, however there's likely still an error in the cleanup code itself.0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/7hotfix/collapseWorkerRecycle - don't recycle the collapseWorker right away2017-07-05T06:46:22Zusername-removed-1357377hotfix/collapseWorkerRecycle - don't recycle the collapseWorker right awayAlso a candidate for 0.7.0bAlso a candidate for 0.7.0b0.7.0bhttps://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/8fix/upgraderCount - manually add upgraders, fix a typo that prevented upgrade...2017-07-17T01:52:14Zusername-removed-1357377fix/upgraderCount - manually add upgraders, fix a typo that prevented upgraders from spawning sometimesMake it possible to manually add upgraders to a room using room.memory.addUpgrader, also fix a typo in the setup to still spawn upgraders when there are construction sites and storage is present.Make it possible to manually add upgraders to a room using room.memory.addUpgrader, also fix a typo in the setup to still spawn upgraders when there are construction sites and storage is present.0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/9fix/singleSourceWorkerCount - base the number of workers on the number of sou...2017-08-16T13:32:25Zusername-removed-1357377fix/singleSourceWorkerCount - base the number of workers on the number of sourcesSee titleSee title0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/10fix/setupSpawning - minMulti was never implemented2017-09-18T10:53:13Zusername-removed-1357377fix/setupSpawning - minMulti was never implementedImplement minMulti and clean up the code to make it easier to understand.Implement minMulti and clean up the code to make it easier to understand.0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/11feature/virtualFlags2017-07-10T09:15:24Zusername-removed-1357377feature/virtualFlags@Spedwards can you recall the details here?@Spedwards can you recall the details here?username-removed-898568username-removed-898568https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/12feature/terminalUpgrading - allow upgraders to use terminal as upgrade container2017-07-17T01:52:24Zusername-removed-1357377feature/terminalUpgrading - allow upgraders to use terminal as upgrade containerthis should allow upgraders to use the terminal as an upgrade containerthis should allow upgraders to use the terminal as an upgrade container0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/13feature/optimizeMemoryCosts - save Memory parsing costs where possible2017-08-16T13:31:41Zusername-removed-1357377feature/optimizeMemoryCosts - save Memory parsing costs where possibleOnly serialize and deserialize memory when the server instance has changed, otherwise use the global.Only serialize and deserialize memory when the server instance has changed, otherwise use the global.0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/14feature/idleFlags - save CPU use on idling creeps2017-08-27T22:32:43Zusername-removed-1357377feature/idleFlags - save CPU use on idling creepsThis adds white/brown flags as designated idle spots. These changes cache idle paths as directions, and reduces the pathfinding costs from 1-2CPU/idle to 0.1-0.2
Ultimately, I believe we should have target structures determine a set ...This adds white/brown flags as designated idle spots. These changes cache idle paths as directions, and reduces the pathfinding costs from 1-2CPU/idle to 0.1-0.2
Ultimately, I believe we should have target structures determine a set of nearby idle spots, possible on the room level as well. It's very expensive to generate it every time a creep idles.0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/15feature/disableMineralMiners - set memory to disable mineral miners2017-07-10T09:14:24Zusername-removed-1357377feature/disableMineralMiners - set memory to disable mineral minersset room.memory.noMineralMiners to tell them to stop spawning.set room.memory.noMineralMiners to tell them to stop spawning.0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/16feature/defineTaskSpawnRoom - define spawn room for creep type in memory2017-08-23T10:57:43Zusername-removed-1357377feature/defineTaskSpawnRoom - define spawn room for creep type in memoryThis allows you to override where either all creeps or creeps of specific types spawn from, useful for SK rooms.
room.memory.spawn = 'E5N5' for all creeps
room.memory.spawn = { for only SKK creeps from E5N5, the rest select as usual
...This allows you to override where either all creeps or creeps of specific types spawn from, useful for SK rooms.
room.memory.spawn = 'E5N5' for all creeps
room.memory.spawn = { for only SKK creeps from E5N5, the rest select as usual
'SKK': 'E5N5,
}0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/17change/switchRamparts2017-09-18T08:44:05Zusername-removed-1357377change/switchRampartsOpen friendly ramparts when a creep is travelling (action.travelling only currently)
Creep calls out for them to be opened, and if the ally is running this version, they will open for the creep and close behind it.
The CPU cost of ch...Open friendly ramparts when a creep is travelling (action.travelling only currently)
Creep calls out for them to be opened, and if the ally is running this version, they will open for the creep and close behind it.
The CPU cost of checking is actually quite low ~ 0.2 - 0.6 / room that gets activated, negligible for others.0.7.1username-removed-898568username-removed-898568https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/18change/brokerAllMinerals - rooms can sell any mineral type when they have too...2017-07-08T05:58:37Zusername-removed-1357377change/brokerAllMinerals - rooms can sell any mineral type when they have too muchEnable rooms to sell all mineral types rather than the “type” of the room.
This becomes particularly relevant when you are mining an SK room as the mineral type will usually be different than the host room's type.Enable rooms to sell all mineral types rather than the “type” of the room.
This becomes particularly relevant when you are mining an SK room as the mineral type will usually be different than the host room's type.0.7.1https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/19hotfix/invalidateDismantle - properly invalidate on dismantle success2017-07-08T06:00:51Zusername-removed-1357377hotfix/invalidateDismantle - properly invalidate on dismantle successThe costmatrix invalidation was in the wrong part of the action, it would only ever get called if somehow a new dismantle flag was found which didn't have a structure underneath it, not once the current flag becomes invalid as intended.The costmatrix invalidation was in the wrong part of the action, it would only ever get called if somehow a new dismantle flag was found which didn't have a structure underneath it, not once the current flag becomes invalid as intended.https://staging.gitlab.com/ScreepsCCC/public/-/merge_requests/20hotfix/dropping - fix typo in dropping2017-07-07T03:02:20Zusername-removed-1357377hotfix/dropping - fix typo in droppingThis likely prevented creeps from properly avoiding unpathable destinations when dropping.This likely prevented creeps from properly avoiding unpathable destinations when dropping.