Summary / Systems -> "X Turn(s)" fix (+1 if exact amount)

Fixes Compilation (GalaxyII 640points beam, enraged antedeans, german taskforce/inhabitant descriptions); support/discussion/questions

Moderator: thunderchero

Post Reply
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 840
Joined: Sun Apr 27, 2008 2:00 am

Summary / Systems -> "X Turn(s)" fix (+1 if exact amount)

Post by Spocks-cuddly-tribble » Mon Dec 24, 2018 2:53 pm

Here comes a small bug-fix for christmas. Not worth mentioning, but i thought a small contribution is better than no contribution at all. :smile:


Summary / Systems -> "X Turn(s)" fix (+1 if exact amount)

Code: Select all

at 0x40D72

8D 78 01 83 FF 01 76 25 -> 85 D2 74 01 40 89 C7 90


at 0x40E59

8D 78 01 83 FF 01 0F 86 3A FF FF FF -> 85 D2 74 01 40 89 C7 90 90 90 90 90


at 0x40EEC

8D 78 01 83 FF 01 0F 86 CF 00 00 00 -> 85 D2 74 01 40 89 C7 90 90 90 90 90


-asm- 441972, 441A59 & 441AEC

test edx, edx     // 85 D2
jz skip next      // 74 01
inc eax           // 40
mov edi, eax      // 89 C7
nop               // 90 (...)
Note: The build-queue turn prediction still has some bugs. For some reason ships show sometimes only one turn to finish (wrong).
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.

Post Reply

Return to “Fixes Compilation (GalaxyII 640points beam, enraged antedeans, german taskforce/inhabitant descriptions)”

Who is online

Users browsing this forum: No registered users