Releases: ikkentim/SampSharp
0.7.6133.31753-alpha
- Added
Matrix
struct - Added
Quaternion
struct - Added
Vector4
struct - Added various calcuation methods to the
Vector2
andVector3
structs andMathHelper
class - Added
AddItem
andAddItems
methods to theListDialog
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
- Fixed random debug messages being displayed in the server output
0.7.6119.33589-alpha
- 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 ofBaseVehicle
orGlobalobject
for example, theId
of the instance will not have been set yet. In these cases, you can overrideInitialize
to provide your own initialization logic. - Updated mono to 4.6
- Changed visibility of
LinqHelper
andVehicleParameterValueHelper
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
- Fixed an error when generating a proxy object for virtual methods for
- Renamed
BasePlayer.GetPlayerLastShotVectors
toBasePlayer.GetLastShot
0.7.6107.36375-alpha
- Added abstraction layer between interop and implementation
0.7.6104.38929-alpha
- 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
toBasePlayer
- Renamed
GtaVehicle
toBaseVehicle
- Renamed
GtaPlayerController
toBasePlayerController
- Renamed
GtaVehicleController
toBaseVehicleController
- Fixed the the diploma font not being available
- Removed setters from Vector2/Vector3
v0.6.2
- Added various
Color
constructors and operators (includingColor * float
). - Added
Color.Lerp()
,Color.Lighten()
andColor.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 aNullReferenceException
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
- 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
- Added
Dialog.ShowAsync
. - Added
InputDialog
,ListDialog
,MessageDialog
andTabListDialog
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 toVector3
. - Removed
GetHashCode
from wrapper classes. - Removed
double
constructors fromVector3
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
- 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
toBaseMode
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
andGtaVehicle.CreateStatic
. - Added door/window parameter properties and methods to
GtaVehicle
class. - Added various other new methods and properties.
- Added
- Renamed
GtaVehicle.GetParams
toGtaVehicle.GetParameters
. - Renamed
GtaVehicle.SetParams
toGtaVehicle.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.