LemonUIbyLemon / LemonUI

LemonUI for .NET (FiveM, RageMP, RagePluginHook and ScriptHookVDotNet 3)
MIT License
177 stars 40 forks source link

Fix BaseScaleform.Dispose not using pointer value in RPH and RageMP #110

Closed kagikn closed 1 year ago

kagikn commented 1 year ago

I don't mess with the game using RPH plugins that much and I had never tried playing RageMP, but this was not that hard to catch.

By the way, NativePointer of RPH allocates 128 bytes in the constructor with no parameters. You can confirm by dumping nethelper.dll or rockstarupdater.dll that are created after having RPH loaded and analyze them with ILSpy.

justalemon commented 1 year ago

Works fine in RPH! Couldn't test RageMP sadly.