scelight icon indicating copy to clipboard operation
scelight copied to clipboard

Add more information about commands issued for cmdTargetUpdateUnit

Open Ahli opened this issue 5 months ago • 1 comments

Is it possible to translate a cmdTargetUpdateUnit to the actual input?

For example:

  • targetUnitFlags=111 looks to me like the smart command (= right click).
  • targetUnitFlags=175 looks to me like the universal attack command (a-click).

Analyzing the commands issued seems to be an excellent tool to identify maphackers, e.g. issuing commands to a attack an enemy combat unit that should clearly be not visible to them.

Ahli avatar Aug 10 '25 12:08 Ahli

Can you give concrete example from screp's output? Flags are already handled in some cases, e.g. see TargetedOrderCmd.Queued. Also note that just from a replay (without the game engine recalculating the game) you can't tell what areas of the map are visible for 100% probability.

icza avatar Aug 11 '25 08:08 icza