Skip to content

Release 8193.34.23

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Jan 00:42

Added

  • Added ANVIL_ENCODING environment variable for specifying a custom encoding when converting native strings from nwserver.
  • Added EncodingService for changing the server encoding at runtime.
  • NUI: Added StrRef support with NuiBindStrRef and NuiValueStrRef types.
  • Events: Added OnDoorSetOpenState event.
  • Events: Added OnObjectUse event.
  • Extensions: Added TryParseObject extension for parsing object ID strings.
  • NwCreature: Added GetInitiativeModifier,SetInitiativeModifier,ClearInitiativeModifier methods.
  • NwCreature: Added IsDMAvatar property.
  • NwCreature: Added IsFlanking method.
  • NwDoor: Added DoorOpenState property.
  • NwRuleset: Added NwDomain ruleset table and replaced constant usages with table references.
  • NwServer: Added IsActivePaused property.
  • NwServer: Added IsTimestopPaused property.

Package Updates

  • Microsoft.CodeAnalysis.CSharp: 4.3.1 -> 4.4.0
  • NWN.Core: 8193.34.7 -> 8193.34.10
  • NWN.Native: 8193.34.4 -> 8193.34.5
  • LightInject: 6.6.1 -> 6.6.3
  • Newtonsoft.Json: 13.0.1 -> 13.0.2
  • NLog: 5.0.5 -> 5.1.1
  • Paket.Core: 7.1.5 -> 7.2.0
  • NWNX: fe195ec -> 2692ecb

Changed

  • Events: OnSpellAction Domain and Feat is now nullable.
  • Events: OnSpellInterrupt Domain and Feat is now nullable.
  • Events: OnSpellSlotMemorize Domain is now nullable.
  • System.Random usages now use the System.Random.Shared instance, instead of individual instances.

Fixed

  • Fixed an issue where a GameObject or Player could become stuck in a hash-based collection when it became invalid.
  • NwPlayer: IsDM now correctly returns true when a DM is possessing a creature. Use ControlledCreature.IsDMAvatar for the prior behaviour.