iFruitAddon2 icon indicating copy to clipboard operation
iFruitAddon2 copied to clipboard

I can't run it

Open dky4 opened this issue 3 years ago • 5 comments

I tried to use this with a mod for Cayo Perico heist in SP but it keeps giving an error. Here is the log:

[18:22:44] [DEBUG] Instantiating script iFruitAddon2.iFruitAddon2 ...
[18:22:44] [INFO] Started script iFruitAddon2.iFruitAddon2.
[18:22:44] [ERROR] Caught fatal unhandled exception:
System.MissingMethodException: Method not found: 'UInt64* SHVDN.NativeFunc.Invoke(UInt64, UInt64*, Int32)'.
   at GTA.Native.Function.Call[T](Hash hash)
   at iFruitAddon2.iFruitAddon2.Initialize(Object sender, EventArgs e)
   at SHVDN.Script.MainLoop()
[18:22:44] [ERROR] The exception was thrown while executing the script iFruitAddon2.iFruitAddon2.
[18:22:44] [WARNING] Aborted script iFruitAddon2.iFruitAddon2.

dky4 avatar May 14 '22 16:05 dky4

Hi, are you using ScriptHookVDotNet2 or 3? iFruitAddon2 is only compatible with ScriptHookVDotNet2 atm.

It might also come from an update of ScriptHookVDotNet2, I will check. Edit : it seems to compile fine with the latest SHVDN2 version.

Bob74 avatar May 17 '22 14:05 Bob74

I have both installed

dky4 avatar May 17 '22 15:05 dky4

Could you tell me which mod you are using so I could try on my side?

Bob74 avatar May 17 '22 15:05 Bob74

It happened with other mods aswell, I will try removing all other mods and running iFruitAddon2 alone and see what happens

dky4 avatar May 17 '22 15:05 dky4

i am facing the same issue and i am using the DotNet2

morpheuslord avatar Feb 04 '23 14:02 morpheuslord