@lordblackhand this mod does not affect any chairs/tables, all it does is send a command to the character to go to the nearest scenario spot and use it.
Are you sure its not some other mod that causes this? (anything YMAP/menyoo)
@THEAETIK Yea, tested with no .asi files and scripts folder removed. Funny enough, it starts on cracked outdated GTA, but obviously does not load assets. On legit up to date version it gives me that error :(
[23:32:41] [ERROR] Caught unhandled exception:
System.TypeInitializationException: The type initializer for 'GTA.Native.MemoryAccess' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.Native.MemoryAccess..cctor()
--- End of inner exception stack trace ---
at GTA.Native.MemoryAccess.GetVehicleHandles()
at GTA.World.GetAllVehicles()
at ComplexControl.GameGlobalGenericCleanup()
at ComplexControl.OnKeyUp(Object sender, KeyEventArgs e)
at GTA.Script.raise_KeyUp(Object value0, KeyEventArgs value1)
at GTA.Script.MainLoop()
its basically a wrapper around
var playerPed = PLAYER::GET_PLAYER_PED(PLAYER::GET_PLAYER_INDEX());
Vector3 coords = ENTITY::GET_ENTITY_COORDS(playerPed, true);
AI::TASK_USE_NEAREST_SCENARIO_TO_COORD(playerPed, coords.x, coords.y, coords.z, 1000.0f, -1);
someone who makes FiveM server sided mods can integrate this without much trouble
I can post full source if needed.
I can't replicate the problem, there is me using this very mod to sit in chair near Redemption Cafe at Little Portola in Rockford Hills.
https://i.imgur.com/8VAAemY.jpg
Is there any other places I can check?
@lordblackhand you said Redemption cafe have this problem? any others? gonna check when I get home.
@lordblackhand this mod does not affect any chairs/tables, all it does is send a command to the character to go to the nearest scenario spot and use it.
Are you sure its not some other mod that causes this? (anything YMAP/menyoo)
@THEAETIK made it work (i am a dumbass), and this thing is NUTS! I can't believe how polished this is!
@THEAETIK Yea, tested with no .asi files and scripts folder removed. Funny enough, it starts on cracked outdated GTA, but obviously does not load assets. On legit up to date version it gives me that error :(
Oh well, such is my fate.
Does not work, I redownloaded scripthook and hook .NET, did not helped either.
OW YEA!
Yea, I got bunch of other mods, suspect maybe Enhanced Native Trainer can conflict.
8GB of RAM is not super but should be enough.
i get
[23:32:41] [ERROR] Caught unhandled exception:
System.TypeInitializationException: The type initializer for 'GTA.Native.MemoryAccess' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at GTA.Native.MemoryAccess..cctor()
--- End of inner exception stack trace ---
at GTA.Native.MemoryAccess.GetVehicleHandles()
at GTA.World.GetAllVehicles()
at ComplexControl.GameGlobalGenericCleanup()
at ComplexControl.OnKeyUp(Object sender, KeyEventArgs e)
at GTA.Script.raise_KeyUp(Object value0, KeyEventArgs value1)
at GTA.Script.MainLoop()
any idea what may cause it?