For some reason, if the AI uses the "Hail" command for ships and there is also a station, it just locks the station's weapons instead of giving the "Hail" command directly to the station. Aside of the fact that this code should be only for AI, it mistakenly includes the commands "Retreat & Hold" i.e. at least one ship must use a command 1-9 (see commands in tactical combat) to unlock station's weapons.
The below fix restricts this limitation to the "Hail" command:
Code: Select all
trek.exe at 0x129094 replace: (14 bytes) 08 0F 87 B7 FD FF FF FF 24 8D F0 99 52 00 with: 0B 0F 84 B7 FD FF FF 90 90 90 90 90 90 90 code changes: 529C92 83F9 0B CMP ECX, 0B 529C95 ^0F84 B7FDFFFF JE 529A52 529C9B 90909090909090 NOP