This release brings many many bug fixes, performance improvements and some new features relating to remote methods.
Some of the changes include:
OmsiRemoteMethods
is no longer static and can be accessed through the instance ofOmsiHook
/Memory
- Updated dependent classes to use the instance of
OmsiRemoteMethods
D3DTexture
implementsIDisposable
to prevent memory leaksMemory
andOmsiHook
now implementIDisposable
to tidy up resources- Implemented fast path for local plugins for all Memory read/write/allocate operations in
Memory
- Enabled
unsafe
compilation ofOmsiHook
to support fast path forMemory
operations - Various other local plugin related bug fixes
- Fixed dereferencing bug in
OmsiCreateTextureAsync
when using local plugins - Improved D3D hooking reliability
- Implemented small test for
D3DTexture
usage in a local plugin - Updated DNNE
- Added
D3DTexture
mipmap support - Added RPC method to get texture level count
- Added a few null checks to the local plugin path for Memory Read/Write operations to prevent crashes
- Fixed some bugs with
MonitorStateTask
(used for OmsiHook events) in local plugins - Disposing of
OmsiRemoteMethods
(which is done automatically when disposing ofOmsiHook
) now closes the RPC session correctly CloseRPCSession()
is now awaitable- Implemented
MakeVehicle()
andTempRVListCreate()
- Added
MemArray
forTOList
- Fixed some broken arrays in
OmsiComplObj
- Fixed an incorrectly parsed string in
OmsiMap
- Improved error reporting in
Memory.cs
- Improved safety/performance of some core methods in
Memory.cs
- Slightly improved the performance of string reading
- Rewrote
MarhsalStruct
/UnMarshalStruct
to make use of compiled Expression Trees to allow for much faster marshalling of data without the need for reflection every time. (A cached reflection based fallback has been implemented as well) - Fixed
OmsiAmpelGroup
marshalling - Fixed
OmsiOFTTex
marshalling - Some bugfixes to multiple sessions with
OmsiHookRPCPlugin
What's Changed
-
- Revert Docs Action by @amathieson in #90
-
- Correct URLs in docs by @amathieson in #91
- Clickable plane demo by @amathieson in #94
-
- Update Paths by @amathieson in #95
- Make Vehicle & Remote Method Enhancements by @space928 in #102
- Remote method fixes by @space928 in #98
Full Changelog: v2.4.4...v2.5.3