Page 1 of 1

Action B fatal errors aren't?

Posted: 14 May 2005 10:54
by DaleStan
Isn't this code

Code: Select all

1 * 9     07 8B 04 05 E9 01 0A 02 01
2 * 19    0B 03 1F 00 32 2E 30 2E 31 20 61 6C 70 68 61 20 34 39 00
supposed to make versions prior to a49 refuse to load the GRF with the message"$FILENAME requires at least TTDPatch version 2.0.1 alpha 49"?

Csaba got it to work for TTRSv2, but when I put it in the Desal Plant, a48 gives me an invalid sprite error[0] instead. Is there something I'm missing to make fatal errors actually abort loading?

[0] The error is on sprite 8. Admittedly, that sprite is invalid in a48, but it's an action 0, which is ignored during initialization, and it's after the action B, which should halt activation.

Posted: 14 May 2005 18:41
by Patchman
Yes, there was a bug in up to and including alpha 49 with fatal error messages not quite working. I guess you have to manually skip the rest of the file after generating the message.