Skip to content

Releases: nwn-dotnet/Anvil

Release 8193.34.17

18 Sep 19:38

Choose a tag to compare

Added

  • NwCreature: Added SittingObject property.
  • NwArea: Added LoadScreen property.
  • ResourceManager: Added CreateResourceDirectory.

Fixed

  • NwBaseItem: Fixed ItemClass returning a type name instead of the item class name.
  • Fixed a rare compile issue when using ToNwObject caused by exposed native types.

Release 8193.34.16

02 Sep 23:05

Choose a tag to compare

Added

  • Events: Added OnDebugPlayVisualEffect, OnDebugRunScript, OnDebugRunScriptChunk events.
  • NwGameObject: Added AnimationState.
  • Effect: Added Effect.VisualEffect(VisualEffectTableEntry, bool, float, Vector3, Vector3) overload.

Package Updates

  • NWN.Core 8193.34.6 -> 8193.34.7
  • LightInject 6.4.1 -> 6.5.1
  • NLog 5.0.1 -> 5.0.4
  • NWNX 5ade7de -> 8faa9d4

Changed

  • SchedulerService: Use PriorityQueue to improve main server loop performance.

Release 8193.34.15

13 Aug 22:17

Choose a tag to compare

Added

  • ItemProperty: Added SubTypeTable.

Fixed

  • Fixed CalculateValidItemsForProperty returning false for base items using column 0.

Release 8193.34.14

12 Aug 21:24

Choose a tag to compare

Added

  • NuiText: Added Border and Scrollbars properties.
  • ItemProperty: Added properties for referencing 2da data.
  • ItemProperty: Added Create() factory method overload using the new table class types.
  • NwGameTables: Added ItemPropertyTable, ItemPropertyItemMapTable, ItemPropertyCostTables, ItemPropertyParamTables

Changed

  • BREAKING CHANGE: TwoDimArrays must now be initialized via NwGameTables.GetTable.

Fixed

  • Fixed a server crash when using TwoDimArray after the native array structure was evicted from the 2da cache.
  • Fixed updating the weight of a equipped item with NwItem.Weight not correctly updating creature weight and encumbrance.
  • Fixed NwBaseItem.ArmorCheckPenalty returning an unsigned integer.

Release 8193.34.13

16 Jul 02:35

Choose a tag to compare

Package Updates

  • NLog 5.0.0 -> 5.0.1
  • NWN.Core 8193.34.5 -> 8193.34.6
  • NWNX 95e700a -> 5ade7de

Changed

  • NUI: DrawList is now supported on all NUI elements, instead of just layout elements.
  • NUI: NuiGroup now supports a non-layout element.

Release 8193.34.12

23 May 22:07

Choose a tag to compare

Added

  • NwGameTables: Exposed armor (armor.2da) and parts (parts_*.2da) tables.

Release 8193.34.11

17 May 19:32

Choose a tag to compare

Added

  • NwCreature: Added GetSlotFromItem
  • NwCreature: Added RunEquip(item, EquipmentSlots)
  • ItemAppearance: Added ChangeAppearance
  • NuiWindowToken: Added Get/SetUserData()
  • Effect: Added SkillIncreaseAll, SkillDecreaseAll

Package Updates

  • NWNX 4842f60 -> 95e700a
  • NWN.Native 8193.34.3 -> 8193.34.4
  • NWN.Core 8193.34.4 -> 8193.34.5
  • NLog 4.7.15 -> 5.0.0

Deprecated

  • ItemAppearanceArmorModel enum. Use CreaturePart instead.
  • NwPlayer.NuiDestroy. Use NuiWindowToken.Close instead.
  • NwPlayer.NuiGetUserData. Use NuiWindowToken.NuiGetUserData instead.
  • NwPlayer.NuiSetUserData. Use NuiWindowToken.NuiSetUserData instead.
  • NwPlayer.NuiGetWindowId. Use NuiWindowToken.NuiGetWindowId instead.

Fixed

  • Fixed NwGameObject.Location setter not working for newly deserialized game objects.
  • Fixed a crash when an equipped item was sent to limbo with NwModule.MoveObjectToLimbo.
  • Fixed NuiWindowToken.WindowId returning an empty string from events.
  • Speculative fix for a rare native crash when fetching 2da strings.

Release 8193.34.10

06 May 19:39

Choose a tag to compare

Added

  • Added ClientVersion/ClientPlatform properties to OnClientConnect event.

Package Updates

  • NWNX 3227d60 -> 4842f60
  • NWN.Core 8193.34.3 -> 8193.34.4

Release 8193.34.9

04 May 22:51

Choose a tag to compare

Added

  • NwCreature - Added setters for base armor & shield arcane spell failure
  • NuiWindowToken - small structure with helper methods for controlling NuiWindow instances. Can be created from NwPlayer.TryCreateNuiWindow
  • NwCreature - Added getter for BaseAttackCount
  • NwCreature - Added setter for ChallengeRating.

Package Updates

  • Paket 7.1.4 -> 7.1.5

Changed

  • NwCreature.Position will no-longer block the action queue from being modified.
    • This fixes inconsistencies with actions queued after setting the position, but the new position can sometimes not apply for players using drive mode.
    • For players, it is recommended to immobilize them before setting their position.

Deprecated

  • NwPlayer.TryCreateNuiWindow - use the NuiWindowToken overload instead.
  • NwPlayer.CreateNuiWindow - use TryCreateNuiWindow instead.
  • ModuleEvents.OnNuiEvent.WindowToken - use ModuleEvents.OnNuiEvent.Token instead.

Fixed

  • Fixed NwGameObject.Location setter re-triggering Area Enter events.
  • Fixed NwPlayer.PartyMembers throwing a NRE when a party contained associate creatures.
  • Fixed a typo in PlayOptions.OnePartyOnly.

Release 8193.34.8

23 Apr 19:47

Choose a tag to compare

Deprecated

  • NwObject.Destroy(float delay) - Use the non-delay overload instead, with the SchedulerService.

Fixed

  • Fixed NwEncounter.Destroy() not destroying the encounter object.
  • Fixed PlaceableEvents.OnPhysicalAttacked event always returning no data.