View Issue Details

IDProjectCategoryView StatusLast Update
0004620Spring engineGeneralpublic2018-10-24 00:02
ReporterGoogle_Frog Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version98.0.1+git 
Fixed in Version104.0 +git 
Summary0004620: maxSpeed with SetGroundMoveTypeData relies of CMD_SET_WANTED_MAX_SPEED and fails to work correctly.
DescriptionChanging maxSpeed for ground units seems to rely on CMD_SET_WANTED_MAX_SPEED, this makes it vulnerably and buggy in a few ways.

If a unit is moving at a certain speed and has its maxSpeed changed it only notices when it is given a new order.

This has been broken since at least 91.0. My workaround has been to call SetGroundMoveTypeData every 3 frames for every affected unit. This workaround seems to be slower with the dev engine (and is slow regardless) so I would like to be able to remove it.

The tag 'requestedSpeed' looked promising but apparently it is incompatible movetype data for SetGroundMoveTypeData.
Steps To ReproduceGet https://github.com/ZeroK-RTS/ExampleMod

Spawn slowtank. This tank switches between slow and fast mode every 8 seconds. Due to this bug the speed which it travels at depends on when its move order was given.

Spawn blockedtank. This tank sets itself to be slow 8 seconds after it is created. There is a gadget which blocks CMD_SET_WANTED_MAX_SPEED for this tank. It will always travel at its original speed, effectively ignoring SetGroundMoveTypeData.

TagsNo tags attached.
Checked infolog.txt for Errors

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-11-27 04:53 Google_Frog New Issue
2018-10-24 00:02 Kloot Assigned To => Kloot
2018-10-24 00:02 Kloot Status new => resolved
2018-10-24 00:02 Kloot Resolution open => fixed
2018-10-24 00:02 Kloot Fixed in Version => 104.0 +git