Closed G35Matt closed 2 years ago
Have you reloaded ASI Support ? If so, please note that some plugins such as ELS cannot be reloaded once they've already been loaded at least once, and will crash with an AccessViolationException
if you attempt to do so.
Yes I tried reloading ASI Support as well as unloading all ASI plugins and loading just ELS, got the same error
That's exactly what I'm saying. If ELS is loaded, then crashed and / or is unloaded, you have to restart your game for it to work again. Simply reloading it (or reloading ASI Support as a whole) would make it crash with an AccessViolationException
.
Alright I'll give it a shot, I noticed that ASI Support gets unloaded by RPH to prevent freezing if it is set to run at startup so I'll disable it and run it once I'm in game
If necessary, you can increase the plugin termination threshold in the RPH settings (accessible when you launch RPH)
I can try that as well, when I loaded it through the console I saw that RPH is unloading it because of the ELS-main fiber so it looks like the issue still persists when it's loaded for the first time
Another update, with an increased plugin termination threshold, LoadAllPluginsOnStartup set to False in the ASI Support cfg, and manually loading only ELS, it is working, however the framerate dips to about 10 or so FPS.
i was useing scripthook v for els and stuff none would work after 2245 update, REMOVED Scripthookv Installed ASI Support, RESTARTED PC... All works great THANKS FOR YOUR WORK ITS Awesome!!!! If Done Like I did they should'nt be Problems.
Unfortunately the FPS drop is to be expected. By design, ASI Support can't be as fast as ScriptHookV
i use els and other mods works fine not seen any problems dont see no differance yet
Since your initial problem was fixed, I'm closing this issue.
As for the FPS drop, as I previously said, it is due to the way AsiSupport works. There is unfortunately no way to increase performance without creating an entirely new and independant scripting framework.
I'm getting an error loading ELS using ASI Support
Here are the relevant lines from RagePluginHook.log: [3/17/2021 6:48:07 PM.920] ASI Support For RAGE Plugin Hook: [18:48:07] [INFO] Plugin "ELS" loaded successfully. [3/17/2021 6:48:07 PM.927] ASI Support For RAGE Plugin Hook: [18:48:07] [INFO] Starting new GameFiber: "ELS-main" [3/17/2021 6:48:11 PM.588] ASI Support For RAGE Plugin Hook: [18:48:11] [ERROR] GameFiber "ELS-main" has crashed: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. [3/17/2021 6:48:11 PM.588] at AsiSupport.ASI.AsiThread.RunFiber()