Skip to content

0.10.0-alpha1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ikkentim ikkentim released this 11 Mar 19:52
· 69 commits to master since this release

SampSharp plugin

  • Added automatic coreclr and gamemode detection
  • Added support for "fastnative" calls (#365)
  • Added callback name to "Callback parameters count mismatch" error (#342)
  • Changed hosted mode to be the default, multi-process mode can be enabled with the use_multi_process_mode=1 server setting
  • Fixed a possible server crash when a callback is handled with an unexpected parameter count
  • Fixed a possible server crash when calling the CallRemoteFunction native (#363)
  • Codepage files are no longer provided in the plugin release package. Codepages are available as embedded resources in SampSharp.Core via the GameModeBuilder.UseEncodingCodePage method. The codepage files are available in the codepages repository if you still need these files for some reason.

SampSharp.Core

  • Added support for "fastnative" calls, this improves time consumed by calls to native functions by 95% (#365)
  • Added support for varargs in "fastnative" calls (#260)
  • Added IGameModeClient.NativeObjectProxyFactory
  • Added option NativeMethodAttribute.ReferenceIndices which provides the option to invoke a native with input parameters which should be passed by reference.
  • Added embedded codepages into the library which are available through GameModeBuilder.UseEncodingCodePage(string pageName)
  • Updated to .NET Standard 2.1
  • Removed setter from IGameModeClient.NativeLoader
  • Deprecated multi-process mode and native-handle related types and methods

SampSharp.Entities

  • Added support for player names as command arguments (#354)
  • Added timers (#326)
  • Updated to .NET Standard 2.1
  • Updated documentation links from SA-MP wiki to open.mp docs
  • Fixed OnDestroyComponent not being called when the component is destroyed, but the entities remains alive (#358)
  • Fixed an error which could occur when event's occur with IDs of entities which don't exist, but aren't 0 (#355, #353, #352, #350)
  • Fixed exception thrown when a dialog is shown with no null button2 text (#376)

SampSharp.GameMode

  • Added BasePlayer.CancelEdit (#362)
  • Added BasePlayer.SetMapIcon and BasePlayer.RemoveMapIcon (#364)
  • Updated to .NET Standard 2.1
  • Updated documentation links from SA-MP wiki to open.mp docs
  • Fixed PlayerTextLabel.Text, PlayerTextLabel.AttachedPlayer and PlayerTextLabel.AttachedVehicle not being set
  • Fixed command group help commands not being invoked in some cases (#361)
  • Fixed command overloading not working in some cases (#344)
  • Fixed BasePlayer.IsNPC not returning true when the NPC has not yet connected (#346)
  • Fixed typo in Server.GetWeaponName result for Weapon.ThermalGoggles (#380)
  • Fixed a problem which caused successive calls to ShowAsync not to show the dialog (#384, #389)