LegacyClonk 4.9.11.0 [360]


HTTPS

The engine now uses libcurl for HTTP requests, thereby enabling the use of HTTPS for masterserver communication.

UPnP

grafik.png

The engine now supports automatic port forwarding via UPnP. If UPnP is enabled in the router, manual port forwarding is not needed anymore.

Note that some routers ship with nonconfirming implementations of UPnP; in such cases, manual forwarding may still be necessary.

Logging

grafik.png

The logging system has been completely overhauled.

Messages in the Clonk.log as well as the standard output are now always logged with a severity indicator. Subsystems in Clonk now have their own loggers with their own category, allowing for easier problem identification. All messages in the logfile as well as the standard output are now also encoded as UTF-8.

Configuration

Which loggers are logging with which levels can be controlled via the configuration. As those settings have yet to be exposed in the advanced settings, it needs to be manually set via the registry or the configuration file.

The following loggers can be configured:

  • C4AudioSystem
  • C4AulProfiler
  • C4AulExec
  • C4GameControl
  • C4Network2IO
  • C4Network2HTTPClient
  • C4Network2UPnP
  • C4Playback
  • CStdDDraw
  • CPNGFile
  • Glib
  • Network

Each logger has the following settings:

  • LogLevel: Messages with this log level or higher will be logged.
  • GuiLogLevel: Messages with this log level or higher will be shown in the GUI.
  • ShowLoggerNameInGui: Whether the logger name should be shown in the GUI. Valid values are true or false.

Valid log level values are trace, debug, info, warn, error, critical and off. The level include all levels higher than them - in other words, warn causes messages of the levels warn, error and critical to be logged, trace messages of all levels, and off completely deactivates the respective logger.

Example for the Windows Registry

grafik-2.png

Example for configuration files
[Logging]

  [C4AudioSystem]
  LogLevel=trace

New Gamma implementation

Until now, Clonk always applied its gamma ramps by directly controlling the monitor’s gamma ramp, which has always been suboptimal - it never worked for everyone, always clashed with helper utilities such as night mode or manually setting the screen gamma, and always colored the entire screen. The new implementation now uses shaders, only affecting Clonk’s window, and always works without touching any monitor settings.

The “Disable Gamma” setting is still functional, but is reset to its default value of false with the update, renabling gamma so that players don’t have to manually activate the new gamma implementation.

Hazard

Hazard 2.5 rev 2043 is now part of LC and has already received its first bugfixes.

Other features

  • Optimizing FindObjects has resulted in a drastic speed boost.
  • The console mode on Windows now uses the more modern version of the Common Controls (v6).
  • The console mode on Linux now uses GTK3 instead of GTK2.
  • DrawMap in scenarios using dynamic landscapes can now use named overlays from Landscape.txt, provided that KeepMapCreator=1 is set in Scenario.txt.
  • By means of the new -ga flag, the c4group command line tool can now create update groups that can be applied even if the target file is missing.
Objects.c4d
  • The goals Goldmine and Oremine now tell you in their descriptions how much of the gold / ore that still needs to be mined exists in the form of free objects in the landscape.

Bugfixes

  • The Mac version had an unintentional dependency on Homebrew’s version of LLVM. This has now been fixed.
  • Fixed a rare crash with menus.
  • Object commands are now correctly saved to and loaded from Objects.txt.
  • CustomMessage now correctly displays left-aligned messages via MSG_Left.
  • Error messages about unknown characters in scripts now always display them properly.
  • The engine doesn’t crash anymnore if an object sets itself inactive via a call to SetObjectStatus while in an engine callback (e.g. a TimerCall). This old bug caused the crashes in the Story of Harkon, which can now be played without issues.
  • If an object definition’s LineConnect is only set to C4D_EnergyHolder and nothing else, the object doesn’t have the OCF_LineConstruct flag set anymore. This previously caused weird error messages when connecting linekits, as the object didn’t support any line types, but was still being considered as a potential candidate.
  • Fixed resource loading in the lobby corrupting other loaded resources due to a race condition.
  • Fixed bugs regarding the packing of definitions for loading over the network.
  • Fixed a crash in effect removal.
  • Fixed the IRC client not properly displaying the server address if the dialog was closed and opened again.
Hazard.c4d
  • The shuttle entrance helper object now has a version number.
  • Fixed DeserializeObjects invoking special behavior callbacks incorrectly.
  • The ladder now longer causes a warning about incorrect parameter types.
  • Fixed broken umlauts in the german descriptions of the jetpack and the armor.
  • If the rule chooser only creates one goal, the emitted message no longer misses a comma.
Western.c4d
  • GatlingReload.wav is now played correctly.
  • Traps work properly again.

Files

Windows (recommended) 201 MB
Version 4.9.11.0 [360] Dec 01, 2024
Windows 32-bit 199 MB
Version 4.9.11.0 [360] Dec 01, 2024
Linux 225 MB
Version 4.9.11.0 [360] Dec 01, 2024
macOS 188 MB
Version 4.9.11.0 [360] Dec 01, 2024

Get LegacyClonk

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.