Selecteer een van de volgende categorieën om de laatste GTA 5 PC mods te vinden:
@splifman54385 calm down
Doesn't work anymore on the latest patch of the game.
[13:20:15] [DEBUG] Instantiating script IRFlares.Script.ScriptMain ...
[13:20:15] [ERROR] Failed to instantiate script IRFlares.Script.ScriptMain because constructor threw an exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Runtime.InteropServices.Marshal.ReadInt64(IntPtr ptr, Int32 ofs)
at System.Runtime.InteropServices.Marshal.ReadIntPtr(IntPtr ptr)
at IRFlares.Script.MemoryAccess.GetPtfxRuleDictionaryItems(String ptxAssetName, IntPtr& address)
at IRFlares.Script.MemoryAccess.GetPTFXAssetRule(String baseAsset, String fxName)
Hey, I fixed your code and it should now just write the archive directly to the disk instead of caching everything in memory. Here's an image of the new code: https://imgur.com/a/j8xOyBx
Turns out using the Update file mode will cache everything into memory. All you have to do is instead just create an archive directly using ZipFile.Open for the zipArchive variable, with ZipArchiveMode.Open as the 2nd argument and the 1st argument needs to be the path + file name and extension.
Nvm, I do have a problem unfortunately. I only have 8 GB of RAM, and this program doesn't seem to be properly coded in that regards. I run out of memory when packing huge files (like over 2 GB).
Yoo, you have no idea how much time this saved me. I was modifying a big mod by myself that modified around 5k files, I spent all day sorting them in folders and this was perfect for the sorting thing that I did. Can easily make a package for it in less than a minute thanks to this, thank you!
rip i cant
wtf now that im properly looking back at all these comments, im cringing so hard, holy shit, how do i delete them
@MAFINS for dlc car spawning, are you using a global from the shop_controller script? i'm really curious, as i do have the current global and i know how to use it, but you can also set the vehicle model as no longer needed and then it wouldn't despawn, right?
I'm back into modding GTA V and I'm currently making a trainer in C++ and it's gonna be called MunyooTrainer. It's gonna take a long time for the development, since I'll try making a really big trainer, such as Simple Trainer, Menyoo, etc. So, coming soon!
@Angad75 learn how to use natives and done