Skip to content

v0.0.48

Choose a tag to compare

@github-actions github-actions released this 14 Apr 17:22
· 550 commits to master since this release

Added

  • Environment/player collisions are logged
  • New Collision event for plugins
  • New parameter TrafficDensity: It is used to scale the parameters MinAiSafetyDistanceSquared, MaxAiSafetyDistanceSquared and the number of AI cars
  • Dynamic traffic density based on time of day with new parameter HourlyTrafficDensity
  • New TimeDilationPlugin for dynamic time multiplier based on sun position
  • New AutoModerationPlugin to kick players driving the wrong way / blocking the road / driving without lights
  • Configuration for CSP server scripts (can be used with Lua function ac.configValues(layout))
  • Support for CSP CUSTOM_UPDATE feature (experimental, enable with EnableCustomUpdate)
  • Warning when welcome message is too long for CSP versions older than 0.1.77

Changed

  • /settime command now accepts time in the form H:mm instead of seconds of the day
  • Disallow LaneWidthMeters values smaller than 2.1m because they break adjacent lane detection
  • AI slot overbooking more accurately respects AiPerPlayerTargetCount
  • RainTrackGripReductionPercent limited to 0.5
  • AI spawn position finder now doesn't care about AI cars going in the opposite direction
  • Default SpawnSafetyDistanceToPlayerMeters increased to 150m
  • Do not overwrite file cm_content/content.json after loading
  • Parameter BatchedPositionUpdateBehavior deprecated. Batched updates will now always be used for AI cars

Removed

  • Removed commands /setafktime, /settimemult, /forcelights, /batchedpositionupdates.
    /set Extra.MaxAfkTimeMinutes, /set Server.TimeOfDayMultiplier, /set Extra.ForceLights can be used instead

Fixed

  • Server fails to start when ip-api.com returns invalid JSON
  • Lobby update failing after a Daylight Savings Time change in some cases
  • Issue with kd-tree lookups near (0, 0, 0) causing them to throw an exception
  • Server hang when selecting text in the server console window on Windows