Doesn't work with the latest Scripthook, the latest community Scripthookdotnet, and the latest game version (bottom dollar DLC) as of 7/62024.
Here is what I get from the .log file of Scripthookdotnet, I don't know much but it was working fine before the update, I'm assuming it's an issue with the version of either the game or scripthookdotnet.
[18:45:42] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[18:45:42] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[18:45:43] [DEBUG] Loading scripts from C:\Games\Grand Theft Auto V\scripts ...
[18:45:43] [DEBUG] Successfully compiled RadioStationFavorites.cs.
[18:45:43] [INFO] Found 1 script(s) in RadioStationFavorites.cs resolved to API 2.11.6.
[18:45:43] [DEBUG] Instantiating script RadioStationFavorites.Main ...
[18:45:43] [INFO] Started script RadioStationFavorites.Main.
[18:45:43] [ERROR] Caught fatal unhandled exception:
System.TypeInitializationException: The type initializer for 'SHVDN.NativeMemory' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SHVDN.NativeMemory..cctor()
--- End of inner exception stack trace ---
at SHVDN.NativeMemory.GetGameVersion()
at RadioStationFavorites.Main.Init() in c:\Games\Grand Theft Auto V\scripts\RadioStationFavorites.cs:line 78
at RadioStationFavorites.Main.OnTick(Object sender, EventArgs e) in c:\Games\Grand Theft Auto V\scripts\RadioStationFavorites.cs:line 134
at SHVDN.Script.DoTick()
[18:45:43] [ERROR] The exception was thrown while executing the script RadioStationFavorites.Main.
[18:45:43] [WARNING] Aborted script RadioStationFavorites.Main.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()
Doesn't work with the latest Scripthook, the latest community Scripthookdotnet, and the latest game version (bottom dollar DLC) as of 7/62024.
Here is what I get from the .log file of Scripthookdotnet, I don't know much but it was working fine before the update, I'm assuming it's an issue with the version of either the game or scripthookdotnet.
[18:45:42] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[18:45:42] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[18:45:43] [DEBUG] Loading scripts from C:\Games\Grand Theft Auto V\scripts ...
[18:45:43] [DEBUG] Successfully compiled RadioStationFavorites.cs.
[18:45:43] [INFO] Found 1 script(s) in RadioStationFavorites.cs resolved to API 2.11.6.
[18:45:43] [DEBUG] Instantiating script RadioStationFavorites.Main ...
[18:45:43] [INFO] Started script RadioStationFavorites.Main.
[18:45:43] [ERROR] Caught fatal unhandled exception:
System.TypeInitializationException: The type initializer for 'SHVDN.NativeMemory' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SHVDN.NativeMemory..cctor()
--- End of inner exception stack trace ---
at SHVDN.NativeMemory.GetGameVersion()
at RadioStationFavorites.Main.Init() in c:\Games\Grand Theft Auto V\scripts\RadioStationFavorites.cs:line 78
at RadioStationFavorites.Main.OnTick(Object sender, EventArgs e) in c:\Games\Grand Theft Auto V\scripts\RadioStationFavorites.cs:line 134
at SHVDN.Script.DoTick()
[18:45:43] [ERROR] The exception was thrown while executing the script RadioStationFavorites.Main.
[18:45:43] [WARNING] Aborted script RadioStationFavorites.Main.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()
@stayingnoided What mod? Im having the same issue.