Survival Egypt (survival game mode)

ImageImageTalking about Modding for EE2 and EE2 AOS. New maps, patches, programs and Multiplayer scenarios.
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Survival Egypt (survival game mode)

Post by Dr.MonaLisa »

Mortis wrote: 06 Mar 2020, 23:02 You disabled walls and palisades i want to redo it, because i hate it when the Computerally get to MY ressorces...

Added after 3 hours 12 minutes 48 seconds:
When i try to apply your scipt:

EXCEPTION: ACCESS VIOLATION
0x00abc208
0x00000000
EAX:00000001h ESI:1a0f6f9ch
EBX:1a349308h EDI:1a6e5e68h
ECX:1a59da24h EBP:1a6e9e34h
EDX:002c3000h ESP:0248eb7ch
EIP:00abc208h EID:00000000h
SS: 0000002bh CS: 00000023h
DS: 0000002bh FS: 00000053h
ES: 0000002bh GS: 0000002bh
Flags: 00010293h CF:1 PF:0 AF:1 ZF:0 SF:1 OF:0

and

EXCEPTION: ACCESS VIOLATION
0x00abc208
0x0044f54a
0x006e9f64
EAX:3eb80000h ESI:12d29ad8h
EBX:1fffffffh EDI:12900dc0h
ECX:12d7dfe4h EBP:0248f85ch
EDX:002e3000h ESP:0248dd70h
EIP:00abc208h EID:00000000h
SS: 0000002bh CS: 00000023h
DS: 0000002bh FS: 00000053h
ES: 0000002bh GS: 0000002bh
Flags: 00010293h CF:1 PF:0 AF:1 ZF:0 SF:1 OF:0


Reminds me of: https://www.ee2.eu/patch/changes/#155010
* Added a Fix for unhandled exception crashes when loading a big .ies script:
#To enable it, in UP1.5 Settings add the custom configuration command: "FixForIESLoadingCrashes=1";
#To disable it, in UP1.5 Settings add the custom configuration command: "FixForIESLoadingCrashes=0";
#Warning: This fix causes a memory leak every time you load a script. Large Address Aware option should be enabled.
#The fix works only for the DirectX 9 executables, so you need to "Enable DirectX 9" in UP1.5 Settings before.
Basically, you should try to apply this fix by UP1.5 Settings (FixForIESLoadingCrashes=1), but disable it right after you successfully load it (FixForIESLoadingCrashes=0). Otherwise game will be leaking memory, even during normal playing. It's because the fix removes memory free function (CALL DWORD PTR DS:[<&MSVCRT.free>]) to fix crashes.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

Mortis
Posts: 8
Joined: 05 Mar 2020, 15:38

Re: Survival Egypt (survival game mode)

Post by Mortis »

Thanks! btw an error is in the script fot the Easy mode (Line 7434: ClearSelection(/*); ) please delete the /*.
User avatar
calsch03
Posts: 43
Joined: 04 Dec 2015, 11:24
Location: The Netherlands
Has thanked: 7 times
Been thanked: 2 times
Contact:

Re: Survival Egypt (survival game mode)

Post by calsch03 »

I've looked in to it and that error is only in Loewenherz script collection, so he needs to update his zip to change it. But it isn't a huge problem as the game tells you the error and you can fix it easily.
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Survival Egypt (survival game mode)

Post by Dr.MonaLisa »

That's strange. Why would he modify it? Maybe there was an error that stopped script when selection was empty, hmmm...
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
calsch03
Posts: 43
Joined: 04 Dec 2015, 11:24
Location: The Netherlands
Has thanked: 7 times
Been thanked: 2 times
Contact:

Re: Survival Egypt (survival game mode)

Post by calsch03 »

Idk, but that change results in an error when loading it in the scenario
Post Reply

Return to “EE2 Files, Modding, Maps, Scenarios, Scripting, Testing, etc.”