Cargando...
Le gustan 0 archivos
5 comentarios
0 vídeos
0 subidas
0 seguidores
  • Default

    @mikeonlinux

    I THINK I got it working for the most part. On a whim I googled the error message ( GTA.Native.MemoryAccess..cctor() ) and found people posting on the ScriptHookVDotNet board about the script still being broken and getting the same error. The ScriptHook modder peeps posted 2 updated versions close together and I even saw that the first time and made sure to download the latest version (and the patch notes spoke specifically about memory fixes on the 2nd release). So I decided to download it again, clear all my mods, and do a fresh install.

    My first load in I finally got the message you talked about (I loaded in, ~ 5 seconds my screen goes totally black, then I "hop" down onto the ground and the message loads with a success message). But when I went to an ATM, it was the same old story. I made a save close to an ATM, exited the game entirely, and loaded back in, and finally I am able to rob ATM's. I MAY have to save and reload right next to ATM's/Banks in order to get to work, have to test it more, but for the moment it is finally working.

    21 de diciembre de 2017
  • Default

    @mikeonlinux

    Ya I have ScriptHookVDotNet.asi in the Script folder (the updated one, not the one that came with this Mod's download, though the outdated one also didn't make any difference, I tried that too).

    No, I don't get any notifications in the lower left, where you said it would display. I see the $ icons and such all over the map, and editing the .ini to turn on/off these works, but that's it. The ScriptHookVDotNet2.log has the same error I posted above every single time I run it on every attempt.

    [00:58:34] [DEBUG] Found 1 script(s) in 'ATMBankHeist.dll'.
    [00:58:34] [INFO] Loading assembly 'NativeUI.dll' ...
    [00:58:34] [DEBUG] Found 1 script(s) in 'NativeUI.dll'.
    [00:58:34] [DEBUG] Starting 2 script(s) ...
    [00:58:34] [DEBUG] Instantiating script 'RP.Bank' in script domain 'ScriptDomain_8C2B4BCA' ...
    [00:58:35] [DEBUG] Started script 'RP.Bank'.
    [00:58:35] [DEBUG] Instantiating script 'NativeUI.BigMessageThread' in script domain 'ScriptDomain_8C2B4BCA' ...
    [00:58:35] [DEBUG] Started script 'NativeUI.BigMessageThread'.
    [00:58:35] [ERROR] Caught fatal 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.IsModelAPed(Int32 modelHash)
    at GTA.World.CreatePed(Model model, Vector3 position, Single heading)
    at RP.Bank.onTick(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at GTA.Script.raise_Tick(Object value0, EventArgs value1)
    at GTA.Script.MainLoop()

    21 de diciembre de 2017
  • Default

    @mikeonlinux

    Ya, all of the above. I even watched a few tutorials to make sure I installed both ScripthookV and ScripthooV.net correctly.

    ScriptHookV 2 Files (Main GTA5 directory for install):
    dinput8.dll
    ScriptHookV.dll

    ScriptHookVDotNet 2 Files (Main GTA5 directory for install):
    ScriptHookVDotNet.asi
    ScriptHookVDotNet2.dll

    ATM Robberies & Bank, 3 Files: (Scripts Folder, found in steammaps\common\GTA5\scripts)
    ATMBankHeist.dll
    ATMBankHeist_Settings.ini
    NativeUI.dll
    (The download came with an older ScriptHookDotNet.asi, I tried deleting this out of the script folder, including this, including the updated one, etc etc)

    Have Windows 10, the install instructions on here say to ignore if you have Windows 10 (https://www.gta5-mods.com/tools/scripthookv-net). I tried to install it anyways, just said I already had it installed or a later version (as I should, the Fall Creators Update has 4.7.1 packaged with it).

    I have Microsoft Visual C++ Redistribuable Package for Visual Studio 2013 64bits. Just re-checked my installed files just to be certain (and per usual, ran the install anyways just in case, and installer said I already had it).

    Everytime I run it, I get all the icons, and even editing the .ini file works as far as icon changes. But I don't get any other notification, there are no guards in the banks, the key prompts (F1 to spawn them) does nothing, no prompt to do anything with the safe, I go up to an ATM and I don't get a prompt to Rob it (try smashing the necessary horn key anyways, no dice). I have no other mods, this is the one and only, and I can't get it to work at all. My only thought I have left is maybe the mod is designed to reach a certain point in the game before it works, as I haven't even completed the Jewel Heist yet.

    21 de diciembre de 2017
  • Default

    @Mikeonlinux

    I think that's a general game feature. If you die in general being chased by police, you retain everything you had minus a few hundred bucks for the hospital visit.

    My question to you is how did you manage to get the Mod to work? I've tried everything I thought. Have the required mods installed, ATMBankHeist.dll, NativeUI.dll, & ATMBankHeist_Settings.ini are all in the scripts folder. Don't know what else to do to get it working.

    21 de diciembre de 2017
  • Default

    Really great idea, however, doesn't appear to work with the newest scripts. Checked script logs and it error out. Icons show up on map just fine, but unable to interact with ATM's and such to rob. Log copied and pasted below.

    [INFO] Loading assembly 'ATMBankHeist.dll' ...
    [DEBUG] Found 1 script(s) in 'ATMBankHeist.dll'.
    [INFO] Loading assembly 'NativeUI.dll' ...
    [DEBUG] Found 1 script(s) in 'NativeUI.dll'.
    [DEBUG] Starting 2 script(s) ...
    [DEBUG] Instantiating script 'RP.Bank' in script domain 'ScriptDomain_AF733B4' ...
    [DEBUG] Started script 'RP.Bank'.
    [DEBUG] Instantiating script 'NativeUI.BigMessageThread' in script domain 'ScriptDomain_AF733B4' ...
    [DEBUG] Started script 'NativeUI.BigMessageThread'.
    [ERROR] Caught fatal 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.IsModelAPed(Int32 modelHash)
    at GTA.World.CreatePed(Model model, Vector3 position, Single heading)
    at RP.Bank.onTick(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at GTA.Script.raise_Tick(Object value0, EventArgs value1)
    at GTA.Script.MainLoop()

    19 de diciembre de 2017