Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 3 Next »

Icon

Note that X Rebirth 4.22 was not released. Instead the version following 4.22 Beta 2 was 4.23 Beta 2.

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

Lua function GetDate() changes

Prior to 4.23 Beta 3, the Lua function GetDate() suffered an issue (Windows only) which could crash the game, if the passed format string contained invalid format specifiers (see XRUIMOD-268 - Data cannot be retrieved due to an unexpected error ). 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.23 Beta 3 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.23 Beta 3 introduced a new debug log severity "important info" log messages which were placed in-between the severities for "info" (only internally used - level 0) and "error" (level 1) log messages. Hence, all severities including and above the "error" severity were shifted up by one:

severityold levellevel
info (internal use only)00
important infon/a1
error12
panic45

This means that calls to the Lua function GetErrorSeverity() now return the new levels. See XRUIMOD-270 - Data cannot be retrieved due to an unexpected error .

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 thigns out.