Hello!
I'm having a few issues with my mod:
It's a rather high money mod with fast building units. I know Generals is not necessarily made for that but still, with more or less non-stop action and a lowish unit count as a result it should still work IMO.
However, the game crashes with the default "technical issue: virus/ ..." message randomly. The (vanilla) game has always done that for me and a friend since 2003/ 2004 but right now pretty much every game is crashing at some point, even singleplayer skirmish vs AI. Some stuff/ issues that may or may not be related:
1) Units are getting stuck in the War Factory, like this:
http://superku.de/zh_units_stuck.jpgThey will just never move out and it only affects some (all types, not only my custom) units, seemingly randomly. This may happen early on or at later stages of a match. Units built in those Factories can still move out. What could be the reason?
2) This is most likely related to 1) but the game starts to seriously stutter after a few minutes of playing (singleplayer skirmish vs AI, < ~100 units simultaneously). This is rather new and did not happen with the vanilla game.
3) As mentioned before the game crashes at some point during a match (oftentimes when I attack/ approach the enemy base with a bigger force). This is the most recent ReleaseCrashInfo.txt:
Quote:Release Crash at Sun Feb 05 22:37:06 2017
; Reason Uncaught Exception in GameEngine::update
Last error:
Exception is access violation
WinMain at 401720
Error code: EXCEPTION_ACCESS_VIOLATION
Description: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Access address:00000064 was read from.
Stack Dump:
<Unknown>(-1) : <Unknown> 0x005D4963
Details:
Register dump...
Eip:005D4963 Esp:0019E7C8 Ebp:00000001
Eax:00000000 Ebx:1F31945C Ecx:1F31943C
Edx:00000000 Esi:1F31943C Edi:1F31943C
EFlags:00210246
CS:0023 SS:002b DS:002b ES:002b FS:0053 GS:002b
EIP bytes dump...
Bytes at CS:EIP (005D4963) : 8B 4A 64 74 65 83 78 08 17 75 5F 39 8E 98 01 00 00 75 28 8A 86 F4 01 00 00 84 C0 0F 84 D3 01 00
Current stack:
I've used IniChecker to look for serious mistakes. Fixed some stuff including issues from the base game. Ran IniChecker again, AFAIK no other major error remaining (like CommandSet issues/ ...).
What can I do to isolate the issue and find the cause for the crash?
4) I'm not quite sure what to put in most of the fields in the Teams editor in Worldbuilder. A big problem with my mod was that the AI enemy would put a ton of units in his base and just never attack with them. Most teams normally have "Guard Base" on create so I tried changing that to the "pre attack guard behavior" or other stuff. I've put attack scripts in the "Generic" scripts tab and tried it with "Execute associated actions" checked and unchecked. (This seemed to only work seldomly. Now I've put in a "set all of this player's units to hunt" script on an interval, this seems to work.) The scripts analyzer in IniChecker does not like any of my team changes though, "wrong script" (Generic/ on create) was the most common message.
Is there any more guidance on this topic available?
Thanks for reading!