Note that X Rebirth 4.22 was not released. Instead the version following 4.22 Beta 2 was 4.30 RC 1.

For X Rebirth VR Edition this applies to the change from 4.22 -> 4.30.

Lua function GetDate() changes

Prior to 4.30 RC 1, the Lua function GetDate() suffered an issue (Windows only) which could crash the game, if the passed format string contained invalid format specifiers (see ). In addition to this the behavior of GetDate() was platform dependent. In other words: It supported a different set of format specifiers when running the game on Linux, OSX, or Windows.

To solve both issues, XR 4.30 RC 1 restricts the list of valid format specifiers (see Lua function overview for details).

If you previously used format specifiers which are not in the list, please let us know and we'll consider extending the list, if possible.

Changed severity levels

XR 4.30 RC 1 introduced a new debug log severity "info" log messages which were placed before the "error" severity (previously level 1) log messages. Hence, all severity levels were shifted up by one:

severityold levellevel
important infon/a1
error12
panic45

This means that calls to the Lua function GetErrorSeverity() now return the new levels. See .

If you relied on the old level, please adjust your script. If you are having trouble with that change, please leave us a comment so we can work things out.