Skip to content

Releases: ikkentim/SampSharp

0.7.6133.31753-alpha

16 Oct 17:41
Compare
Choose a tag to compare
0.7.6133.31753-alpha Pre-release
Pre-release
  • Added Matrix struct
  • Added Quaternion struct
  • Added Vector4 struct
  • Added various calcuation methods to the Vector2 and Vector3 structs and MathHelper class
  • Added AddItem and AddItems methods to the ListDialog class
  • Added support for setting the debugger address and the starting game mode using environment variables
  • Fixed a bug which caused the permission system of commands not to work
  • Fixed a bug where using the debugger would cause the server to crash on startup
  • Fixed a bug where sending an empty string to a native would cause the server to crash

0.7.6119.35177-alpha

02 Oct 19:35
Compare
Choose a tag to compare
0.7.6119.35177-alpha Pre-release
Pre-release
  • Fixed random debug messages being displayed in the server output

0.7.6119.33589-alpha

02 Oct 18:42
Compare
Choose a tag to compare
0.7.6119.33589-alpha Pre-release
Pre-release
  • Added NativeObjectSingleton class for easy access to singleton native object instances
  • Added mono soft debugger support
  • Added a virtual Initialize method to all pooled types (BasePlayer, BaseVehicle, etc.). You can override this function to initialize your instance. If you have custom initialization logic in subclasses of BaseVehicle or Globalobject for example, the Id of the instance will not have been set yet. In these cases, you can override Initialize to provide your own initialization logic.
  • Updated mono to 4.6
  • Changed visibility of LinqHelper and VehicleParameterValueHelper from public to internal
  • Fixed textdraw(global/player) properties not updating properly when changed
  • Fixed a bug where the .All accessors of pooled types may cause exceptions when an item is added to it during iteration

If you encounter problems or crashes, please ensure you have installed mono 4.6. If you use
the standalone Windows version of mono, you can download an updated version here: http://deploy.timpotze.nl/packages/mono-portable46.zip
Simply extract the contents of the archive to your server directory.

0.7.6107.37493-alpha

20 Sep 20:52
Compare
Choose a tag to compare
0.7.6107.37493-alpha Pre-release
Pre-release
  • Fixed an error when generating a proxy object for virtual methods for
  • Renamed BasePlayer.GetPlayerLastShotVectors to BasePlayer.GetLastShot

0.7.6107.36375-alpha

20 Sep 20:14
Compare
Choose a tag to compare
0.7.6107.36375-alpha Pre-release
Pre-release
  • Added abstraction layer between interop and implementation

0.7.6104.38929-alpha

17 Sep 22:41
Compare
Choose a tag to compare
0.7.6104.38929-alpha Pre-release
Pre-release
  • Added support for using any codepage
  • Added server configuration reader
  • Added support for boolean reference native argument type
  • Added BaseVehicleFactory
  • Added system for automatically loading extensions
  • Added support for SA-MP 0.3.7R2
  • Added a way of automatically loading controllers
  • Added BasePlayer.IsSelectingTextDraw
  • Added BasePlayer.GetPlayerLastShotVectors
  • Added missing documentation
  • Added mechanism for extension dependencies
  • Rewritten the command processor
  • Rewritten the way native calls are handled
  • Improved performance of of all pooling types
  • Renamed GtaPlayer to BasePlayer
  • Renamed GtaVehicle to BaseVehicle
  • Renamed GtaPlayerController to BasePlayerController
  • Renamed GtaVehicleController to BaseVehicleController
  • Fixed the the diploma font not being available
  • Removed setters from Vector2/Vector3

v0.6.2

26 Jun 16:00
Compare
Choose a tag to compare
  • Added various Color constructors and operators (including Color * float).
  • Added Color.Lerp(), Color.Lighten() and Color.Darken().
  • Added MathHelper class.
  • Added BaseMode.CallbackException event. This event is raised if an exception has been thrown in a callback without being handled.
  • Changed sender of menu related events to player.
  • Fixed a bug where Sync.Run() causes a NullReferenceException if called before controllers are loaded.
  • Fixed a bug where LogWriter (used by Console.Write) causes buffer overflow errors when handling long strings.
  • Fixed a bug causing .mdb files not to be loaded properly.

The SampSharp.GameMode library is available on NuGet:
http://sampsharp.timpotze.nl/package-manager

The attached binaries contains the Windows plugin. If you need the linux version of the plugin you need to compile it yourself.

v0.6.1

25 Jun 18:25
Compare
Choose a tag to compare
  • Fixed a bug in return value conversion of callbacks.
  • Fixed a bug where using the build-in MapAndreas might crash the server.

The SampSharp.GameMode library is available on NuGet:
http://sampsharp.timpotze.nl/package-manager

The attached binaries contains the Windows plugin. If you need the linux version of the plugin you need to compile it yourself.

v0.6.0

25 Jun 11:57
Compare
Choose a tag to compare
  • Added Dialog.ShowAsync.
  • Added InputDialog, ListDialog, MessageDialog and TabListDialog classes which contain useful methods for it's type of dialog.
  • Added Vector2 structure.
  • Updated vehicle parameter setters to use the VehicleParameterValue to maintain the proper states of other vehicle parameters.
  • Updated mono API used to 4.0.0. The minimum mono version required is 4.0 now.
  • breaking The Vector structure has been renamed to Vector3.
  • Removed GetHashCode from wrapper classes.
  • Removed double constructors from Vector3 sructure.
  • Fixed auto loading of empty filterscript (which allows OnRconCommand to be used)
  • Fixed a small memory leak in the initialization script in the plugin.
  • Fixed a bug where Callnative array throws errors when a out float[] argument is used.
  • Fixed TextEventArgs.SendToPlayers (#118).
  • (incomplete) Started creating interfaces of wrapper classes.

The SampSharp.GameMode library is available on NuGet:
http://sampsharp.timpotze.nl/package-manager

The attached binaries contains the Windows plugin. If you need the linux version of the plugin you need to compile it yourself.

v0.5.0

02 May 14:49
Compare
Choose a tag to compare
  • Added GtaPlayer.DefaultClientMessageColor
  • Added the ability to add commands in a class derived from GtaPlayer class without the method having to be static.
  • Added a basic IServiceProvider to BaseMode class.
  • Updated for SA-MP 0.3.7:
    • Added Actor class.
    • Added constructors to Dialog class for tab lists.
    • Added siren related arguments to GtaVehicle.Create and GtaVehicle.CreateStatic.
    • Added door/window parameter properties and methods to GtaVehicle class.
    • Added various other new methods and properties.
  • Renamed GtaVehicle.GetParams to GtaVehicle.GetParameters.
  • Renamed GtaVehicle.SetParams to GtaVehicle.SetParameters.
  • Added overload of GtaVehicle.GetParameters which properly takes care of the 'unset' (-1) values the parameters may contain.
  • Removed deprecated methods.
  • Removed unused and out-of-date documentation from the Native class.

The SampSharp.GameMode library is available on NuGet:
http://sampsharp.timpotze.nl/package-manager

The attached binaries contains the Windows plugin. If you need the linux version of the plugin you need to compile it yourself.