Página 1 de 1

[SA-Help] Crash in EHI after saving game using the mod

Enviado: 03 Jul 2022, 01:19
por Tigercat
Before Anything: This was tested in a Clean Game, only using ESSENTIALS and using a clean SaveGame from another OG clean Game without even ESSENTIALS.
********************************************************************************************************************************************************************
If you save the game using Enterable Hidden Interiors, and then, you load that SaveGame and you drive around the desert specially in Tierra Robada, and between Fort Carson and the Old Abandoned Airport Grave Yard, after half an hour more or less, the game crash, this is what CrashInfo said:

Error: 0x49646550 (in the "Backtrace" at the end of the log will have "0x005A3FDE")
Solution 1: This is already resolved by removing Enterable Hidden Interiors.
Solution 2: This has already been resolved when using Crack 1.0 US Compact.
About: This crash can vary a lot, it can be caused by many different things. 

I saved the log from CrashInfo:
SpoilerAbrir
GTA SA 1.0.0.0 US
Unhandled exception at 0x49646550 in gta_sa.exe: 0xC0000005: Access violation reading location 0x49646550.
    Register dump:
        EAX: 0x00000098  EBX: 0x00BB7CB0  ECX: 0x16C4BB14  EDX: 0x00863C40  
        EDI: 0x00BB7EEC  ESI: 0x00BBB2B0  EBP: 0x00BBA860  EIP: 0x49646550  
        ESP: 0x0177F504  EFL: 0x00210206  CS: 0x00000023   SS: 0x0000002B   
        GS: 0x0000002B   FS: 0x00000053   ES: 0x0000002B   DS: 0x0000002B   
        
    Stack dump:
        0x0177F504:  005A3FDE 0000014C 00C071BC 00B6F9CC 00C08EE8 00000007
        0x0177F51C:  005DB6ED 00C071BC 00C071BC 005DC1EE 0000031A 00B6F9CC
        0x0177F534:  1E34D528 197E0340 42BC29B8 42324640 4031BAC0 429999B8
        0x0177F54C:  4283A320 40DA5D60 42B9D468 4256EE40 40083AC0 42C9F1B8
        0x0177F564:  423EC240 BE605400 42AAE1B8 425CC640 40999D60 42B8A9B8
        0x0177F57C:  42694240 3FE6F580 0177F5F4 04388080 BEE05400 0054EF2F
        0x0177F594:  0177F60C 41199D60 04388080 19BD6DB0 4066F580 005DCDC8
        0x0177F5AC:  00C08EE8 00B6F9CC 00000004 00000000 0000031A 0177F684
        0x0177F5C4:  00B6F9CC 00C08EE8 00000004 000002BC 00000000 C4559149
        0x0177F5DC:  44E5E5B2 42790BAC 42C80000 C1076180 C28EEC00 40BD4746
        base: 0x01580000   top: 0x0177F504   bottom: 0x01780000
        
    Backtrace (may be wrong):
        =>0x49646550 in unknown (+0x49646550) (0x0177F500) 
          0x005A3FDE sub_5A3F70+0x6e in gta_sa.exe (+0x1a3fde) (0x0177F518) 
          0x005DB6ED sub_5DB6D0+0x1d in gta_sa.exe (+0x1db6ed) (0x0177F524) 
          0x005DC1EE sub_5DBF20+0x2ce in gta_sa.exe (+0x1dc1ee) (0x0177F58C) 
          0x0054EF2F _Z15TransformPointsP5RwV3diRK7CMatrixPKS_+0x3f in gta_sa.exe (+0x14ef2f) (0x0177F5A4) 
          0x005DCDC8 _ZN9CPlantMgr34_ProcessEntryCollisionDataSectionsEP17CPlantColEntEntryRK7CVectori+0x48 in gta_sa.exe (+0x1dcdc8) (0x0177F62C) 
          0x005DD028 _ZN9CPlantMgr6UpdateERK7CVector+0x88 in gta_sa.exe (+0x1dd028) (0x0177F64C) 
          0x0053C15E _ZN5CGame7ProcessEv+0x27e in gta_sa.exe (+0x13c15e) (0x0177F668) 
          0x710DE086 CLEO_GetVersion+0x766 in CLEO.asi (+0xe086) (0x0177F684) 
          0x701DB8E9 in modloader.asi (+0x1b8e9) (0x0177F6CC) 
          0x701DFC02 in modloader.asi (+0x1fc02) (0x0177F6E0) 
          0x701DE267 in modloader.asi (+0x1e267) (0x0177F6FC) 
          0x701E0246 in modloader.asi (+0x20246) (0x0177F870) 
          0x701E013C in modloader.asi (+0x2013c) (0x0177F87C) 
          0x0053ECC2 AppEventHandler+0xb2 in gta_sa.exe (+0x13ecc2) (0x0177F884) 
          0x00619B71 _RsEventHandler+0x11 in gta_sa.exe (+0x219b71) (0x0177F898) 
          0x00748DA0 _WinMain+0x690 in gta_sa.exe (+0x348da0) (0x0177F938) 
          0x701DFB94 in modloader.asi (+0x1fb94) (0x0177F958) 
          0x701DDE46 in modloader.asi (+0x1de46) (0x0177F988) 
        
    


Re: [SA/Help] Crash in EHI after saving game using the mod

Enviado: 22 Set 2022, 11:02
por E2001
The error told you straight away what the problem is. You need to be running the 1.0 US version of the executable, WITH the largeaddress patch, otherwise you're going to crash randomly after some period of time. The more addons you have, the sooner it will happen. The log is kinda useless in this case, because it only tells you the last thing it tried to run; which in this case was just the straw that broke the camel's back.

Re: [SA/Help] Crash in EHI after saving game using the mod

Enviado: 30 Out 2022, 17:51
por Tigercat
E2001 escreveu:
22 Set 2022, 11:02
The error told you straight away what the problem is. You need to be running the 1.0 US version of the executable, WITH the largeaddress patch, otherwise you're going to crash randomly after some period of time. The more addons you have, the sooner it will happen. The log is kinda useless in this case, because it only tells you the last thing it tried to run; which in this case was just the straw that broke the camel's back.
I made this test, in a clean game, and yes I was using 1.0 with largeaddress patch. So why I did it on a clean game? Because at that moment if I can remember.. I was using like 49 mods, including essentials and everything to have a decent San Andreas experience, and I realize that EHI, will make any game crash, you can do the same, save a clean game, or a game of your preference, preferably in tierra in the old airport at the desert, then drive around for like an hour. You will see, your game will crash, this mod needs to be fixed

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 31 Out 2022, 13:02
por E2001
Tigercat escreveu:
30 Out 2022, 17:51
E2001 escreveu:
22 Set 2022, 11:02
 
save a clean game, or a game of your preference, preferably in tierra in the old airport at the desert, then drive around for like an hour. You will see, your game will crash, this mod needs to be fixed 
The only way I can see EHI causing that is if: A) you're hitting the limit on ENEX markers. That can happen if you delete the SimpleLimitAdjuster_Enex.asi, or have EHI set at lower Modloader priority than OLE or fastman32. In that case, you have to increase their enex limit (I forget the exact number, but I think it's somewhere around 500).

B) You're hitting some other limit (you said you had 49 mods installed... I can do it in under 20! :) )

C) one of your ENEX markers has a syntax error.
 

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 31 Out 2022, 13:29
por E2001
There is a fourth possibility that I think few people ever think about: D) You have your draw distance set above 1000 Meters. "Heaven", as it is affectionately known, is where all of your interiors are located. Most are located about 1200M up (give or take 100M). Normally these aren't rendered, because the default max draw distance is below 1000 (correct me if I'm wrong, but I think it's like 800). These all bring with them extra geomety; .col files; LODs; etc; all of which your machine has to be able to render all at once, lest you crash. If you've got your draw distance turned way up above 1000 and you get beneath a bunch of interiors, you'll go over the limit. You may have noticed that your performance starts to drop off pretty quickly as you go above 1200M, especially in the flat, empty areas where you'd expect everything to run better. That's why.

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 31 Out 2022, 21:27
por Tigercat
E2001 escreveu:
31 Out 2022, 13:02
Tigercat escreveu:
30 Out 2022, 17:51
E2001 escreveu:
22 Set 2022, 11:02
 
The only way I can see EHI causing that is if: A) you're hitting the limit on ENEX markers. That can happen if you delete the SimpleLimitAdjuster_Enex.asi, or have EHI set at lower Modloader priority than OLE or fastman32. In that case, you have to increase their enex limit (I forget the exact number, but I think it's somewhere around 500).

B) You're hitting some other limit (you said you had 49 mods installed... I can do it in under 20! :) )

C) one of your ENEX markers has a syntax error.       
Let me try putting the EHI priority in modloader higher than any other map mod or any of my Limit Adjusters, I don't remember if it was higher than other mods last time, may be it was, cause I always considered that mod, very intrusive and delicate to manage, but I'm gonna do it again just to confirm.

About SimpleLimitAdjuster Enex.asi, well.. that would be crazy even from me, I don't have any reason to delete that, that's just crazy I think nobody that has atleast minimal experience modding this game would do that.
Enex Markers.. I'm not sure, I never messed with any of that, as far as I know, I think last time I was just using Propper Fixes, and.. yeah the only mod that actually alters the enex in the game would be EHI. Well, I know that I would never do something crazy like deleting SimpleLimitAdjuster Enex.asi, but I think at the time I was having problems with other mods, because of IPL limits, some map mods were incompatible one to each other on a specific combination, because of the IPL limit, and I tried to set higher limits, but I wasn't able, for some reason the limit adjuster I was using (OLA) was ignoring the values I was giving to it, now Junior recently updated OLA, and he mentioned that OLA was ignoring the adjustments on IPL limits and it seems that now it is finally working, so I might just give it a try. Regarding the ENEX limit, yeah may be i'll try that but, I don't know why I would do that since I've never deleted SimpleLimitAdjuster Enex.asi.

Yeah I mean for me 49 mods it's like nothing lol, normally I would use something like 85 Cleo Mods.
    

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 31 Out 2022, 21:42
por kaiqueknup
I don't use the EHI because its have a lot of bugs. always crashes in few minutes, never worked to me

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 31 Out 2022, 21:45
por Tigercat
E2001 escreveu:
31 Out 2022, 13:29
There is a fourth possibility that I think few people ever think about: D) You have your draw distance set above 1000 Meters. "Heaven", as it is affectionately known, is where all of your interiors are located. Most are located about 1200M up (give or take 100M). Normally these aren't rendered, because the default max draw distance is below 1000 (correct me if I'm wrong, but I think it's like 800). These all bring with them extra geomety; .col files; LODs; etc; all of which your machine has to be able to render all at once, lest you crash. If you've got your draw distance turned way up above 1000 and you get beneath a bunch of interiors, you'll go over the limit. You may have noticed that your performance starts to drop off pretty quickly as you go above 1200M, especially in the flat, empty areas where you'd expect everything to run better. That's why.
I barely understand this, but well.. I did the test in a clean game just with essentials, since I have a good amount of ram, I'm use to set the draw distance at maximum, to be honest I don't know if the max draw distance in the game is below 1000, if it is I don't know exactly what value is. 

I mean I was just using ESSENTIALS, not something like Improve Streaming or Project2DFX, which I don't know if any of those has something to do with draw distance, but anything else than that, I think none of the mods of the ESSENTIALS pack alters the draw distance, but I'm not sure, never got to that part of the knowledge.

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 01 Nov 2022, 00:21
por E2001
If you're not using something like Project2DFX to increase the draw distance, then that's not likely the issue. Honestly, I don't know what else is could be other than going over the ENEX limit, or there being a problem with some other mod that adds enexes. There WERE problems with older versions of EHI, but that was mostly about falling through floors or being teleported into the abyss. If you're running the most recent version from MixMods, then I don't know what else to tell you. Personally, I don't start having crashes until I crank the draw distance up over 1500 (I've got a bunch of high-poly rooms floating at that altitude). I can run 6000 (full map) for maybe ten minutes, before it crashes. That's with or without EHI, so..

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 01 Nov 2022, 01:03
por E2001
FYI: As the name suggests, simple_limit_adjuster_enex.asi increases the limit of enex markers. Increasing it in OLA or fastman32 does the same thing. I have to do that because I've altered some of the default enexes, and if I run EHI at high it cancels them. This makes simple_limit_adjuster_enex.asi redundant. It probably doesn't hurt anything to leave it active, but I have mine commented (.) out (just one less thing to load).

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 16 Nov 2022, 17:05
por L34ND20
Tigercat escreveu:
31 Out 2022, 21:45
não sei se a distância máxima de empate no jogo estiver abaixo de 1000, se for, não sei exatamente qual é o valor.
I would also like to know what the game's maximum draw distance number is. 

Re: [SA-Help] Crash in EHI after saving game using the mod

Enviado: 14 Fev 2023, 15:54
por E2001
Theoretically there isn't one, but there's nothing to see past 6000 in the default game. And for me, anything over 3000 drags my framerate so low that the game is unplayable. I only ever use 6000 for screen caps.

Added after 9 minutes 1 second:
I don't know how many are aware of it, but the increase in draw distance (above 1000) means that your interiors are being rendered along with everything else. It might be a good idea to assign LODs to all of those, and stick them into Proper Fixes, if that isn't already on the agenda.