Warlock 2: the Exiled

Warlock 2: the Exiled

View Stats:
 This topic has been pinned, so it's probably important
Shidan Nov 28, 2015 @ 5:01am
Warlock 2 Crash Help Thread
I've decided to make public my list of Array Errors and other crashes that I've been collecting for about a year now. In hopes that it will possibly help some people looking for info on their crashes. And hopefully cut down on the time it takes to help someone.

If you experience a crash not listed or listed as cause unknown, please report it here and mention what if any mods you were using. Along with any detail about what was happening when the crash occurred. Uploading logs from right after the crash can also be extremely helpful in figuring out the problem, particularly game_debug.log. Though I prefer just zipping up the whole folder in order to prevent a back and forth of asking for specific logs.

I prefer Dropbox for uploading and downloading, but as long as it's free for me to download I don't care where you upload them.

Logs are located at:
C:\Program Files (x86)\Steam\userdata\<YourSteamID>\205990\local\logs

CAUTION: Running the game after the crash can overwrite the logs. Please avoid doing so until after you upload logs.

=====================

Most Common Errors
The Most common of problems. Odds are pretty good one of these is your problem.

  • Array<20, 20, itemsize=60>: overflow 21 of 20 -- Infamous Perk Crash; Caused by having over 20 perks available to a specific unit. Delete buildings that provide perks, or actually apply the perks to the unit before you get there to avoid it. Can also happen to AI units, if you get the crash in between turns kill some AI Units/Buildings/Cities and it might help. More detailed info on the crash here courtesy of SerPounceALot.

  • Array<256, 256, itemsize=41>: index -65537 out of range [0..1] -- Terrain Corruption; No fix beyond avoiding terraforming afflicted tiles. Usually only affects a small cluster of tiles.

  • Array<256, 256, item size=41>: index -6553> out of range [0.1] -- Terrain Corruption; Suspicious this was the same error as above, but was reported as it is. So it gets it's own entry.

  • Array<256, 256, itemsize=41>: index -65537 out of range [0..2] -- Terrain Corruption(?); Probably just the normal Terrain Corruption. But it's message is different, and was reported as being related to a quest. Fix was to decline the quest.

  • Array<20, 20, itemsize=1132>: index 2 out of range [0..0] -- DLC Spell Trading; Multiplayer only! Caused by receiving a deal involving trading DLC spells. Likely a remnant of the old DLC code failing when checking for ownership of DLC. As it only appeared after the new DLC system was implemented, and only in MP. Just don't trade DLC spells between each other if possible. And if you receive an offer from the AI just reload until they don't offer it.

  • Array<20, 20, itemsize=1132>: index 5 out of range [0..0] -- DLC Spell Trading; Same as above. No idea why it's error is different, but I personally have gotten them both.

  • Array<20,20, itemsize=1132>: index 7 out of range [0..0] -- Probably also the same as the two above.

Other Errors
All other normal Array Errors.

  • Array<6, 6, itemsize=41>: overflow 7 of 6 -- Unknown; Was something on an AI turn.

  • Array<0, 0, itemsize=1>: overflow 200 of 0 -- Unknown; Happened during the download of mods on main menu. But I have no way to know what actually caused it as it only happened once.

  • Array<<9, -1, itemsize=8>: overflow 15 of 9 -- Unknown; Was happening when loading a multiplayer game. Never fixed IIRC.

  • Array<32, 32, itemsize=1>: overflow -1 of 0 -- Unknown; Absolutely no info here.

  • Array<100, 100, itemsize=101>: overflow 101 of 100 -- Unknown; Caused by manually editing the Building trees in the XML, unsure what changes may have caused it ATM.

  • Array <100, 100, itemsize = 41>: overflow 101 of 100 -- Unknown; Could possibly be related to my outdated "Larger and More Varied Worlds" mod. If you are using it try turning it off.

  • Array <32, 32, itemsize = 1>: overflow -1856688107 of 0 -- Unknown

  • Array<32, 32, itemsize=8>: overflow 33 of 32 -- An issue with the number of resolution options with a 4k monitor. No known workaround.

Modding Limitations
If you put in too many of something while modding you'll get these. So be careful with how much you add. You can also get these by have multiple mods that add the same types of items. You'll have to turn one off in that case.

For modders: Disabling any of the offending type of items will allow you to bypass these limits, as it removes them from the count.

  • Array<100, 100, itemsize=664>: overflow 101 of 100 -- Too many Improvements; Caused by going over the limit of 100 "Improvements", AKA the perks you pick during mage creation.

  • Array<220, 220, itemsize=41>: overflow 232 of 0 -- Too many spells; Caused by going over the limit of 220 spells. The "232" in this error will change depending on how many spells you currently have in the mod(s).

  • Array<40, 40, itemsize=1128>: overflow 41 of 40 -- Too many Great Mages; Caused by going over the limit of 40 Great Mages.

  • SortedArray<490>: overflow 491 -- Too many units; Caused by going over the limit of 490 units, including combat buildings.

  • Array<5, 5, itemsize=41>: overflow 6 of 5 -- Too many effects on an artifact; Caused by going over the limit of 5 effects on an artifact. Any spells based on the "Create Artifact" series of spells must be limited to 5 effects.

Special Errors
Special cases. These are formatted totally differently.

  • ArrayCachedIdx<734>: overflow 734 -- World Corruption; Behaved exactly like the Terrain Corruption except it was the entire world, and it's error is totally different.

  • ArrayCacheIdx<772>:Overflow 772 -- Unknown
No Message
No message pops up or just a generic windows crash. Check your game_error.log in that case.

  • step=0 exceptionCode=0xC0000005 -- Windows Access Violation; Often fixed by running in Admin mode and/or updating drivers or system. Can usually find a wealth of info on these kinds of errors through Google.

  • Blank Game_error.log -- If you come across a blank game_error.log, and you're certain it's right after the crash, please upload your logs so I can look them. Common cause is improperly deleted cities/forts. Raising/lowering the terrain under one to a mountain/water.

==============

PS - I am in no way a representative of Paradox or Ino-Co. Just another fan like yourselves with too much time on his hands for modding, helping others, and making these long lists. ;)

PPS - Thanks to anyone else who might help out in here. Occasionally there are things like sleep and Fallout 4 that come up and I disappear for several hours at a time. And people have a tendency to post right after I check. :D
Last edited by Shidan; Dec 15, 2016 @ 1:22pm
< >
Showing 1-15 of 147 comments
Chumley Dec 1, 2015 @ 7:46am 
Excellent post, Shidan! Thank you for compiling all of this info. Very helpful! This should be stickied.
Shidan Dec 2, 2015 @ 12:15am 
I only wish I had been keeping track a lot sooner. I personally saw at least a half dozen various errors that I'm fairly certain aren't here. Though that was back when we all thought there was a patch coming soon. So I hadn't seen it as necessary.
dradano1 Dec 9, 2015 @ 7:07am 
Hey !
you are saying those array errors are happening in pure game without any mods ?
I deleted renaissance mod coz i got many array errors, some i could fix my selfe and other were game breaking, which is really bad coz i love this mod (expansion).And in game with no mods i didnt saw those errors in 5 plays for now.
Shidan Dec 9, 2015 @ 7:29am 
Mods can sometimes increase the chances of array errors ocurring depending which error it is exactly, but the vast majority I've seen can easily happen without them.

I've seen people complaining about getting array errors with Renaissance, but also plenty others not. So I'm not sure the mod is entirely at fault. But until I get to look at logs it's pretty hard to say.
dradano1 Dec 9, 2015 @ 7:49am 
It was Array<256, 256, itemsize=41> but i will install renaissance again and play it, and when i get errors i will post log
Iv Dec 21, 2015 @ 12:37pm 
When I changed building tree by manual XML editing I recieve crash with error:
Array<100, 100, itemsize=101>: overflow 101 of 100
Shidan Dec 21, 2015 @ 1:38pm 
Originally posted by Iv:
When I changed building tree by manual XML editing I recieve crash with error:
Array<100, 100, itemsize=101>: overflow 101 of 100
Any idea what you did that caused it?
heliq Dec 22, 2015 @ 12:36am 
help please! My error is logic_Error, create log with nothing.
heliq Dec 22, 2015 @ 12:52am 
May be save upload?
Shidan Dec 22, 2015 @ 12:01pm 
Originally posted by heliq:
help please! My error is logic_Error, create log with nothing.
Can you please upload all the logs so I can take a look at them? Or are they all empty?
heliq Dec 22, 2015 @ 8:25pm 
Originally posted by Shidan:
Originally posted by heliq:
help please! My error is logic_Error, create log with nothing.
Can you please upload all the logs so I can take a look at them? Or are they all empty?
all create log after crash is empty =( Only save. End turn and crash,
Shidan Dec 22, 2015 @ 8:58pm 
Originally posted by heliq:
Originally posted by Shidan:
Can you please upload all the logs so I can take a look at them? Or are they all empty?
all create log after crash is empty =( Only save. End turn and crash,
Are you on Linux or Mac? The game doesn't work on either terribly well, so if you are that could be your problem.

If you're on Windows upload the save and I'll take a look it. Though I can't promise I'll find anything.

In case you don't already know, upload a save by hitting export on the save/load screen. Navigate to the directory shown on export and you'll find the saves. Upload those to Dropbox or some other service for me to download.
heliq Dec 22, 2015 @ 9:17pm 
3 file for save.
Shidan Dec 22, 2015 @ 9:56pm 
It looks like it's something the AI right after you is doing on their turn. The end of debug.log looks like it's failing to render something. But I have no idea what.

Have you tried loading an earlier save to see if it still happens?
< >
Showing 1-15 of 147 comments
Per page: 1530 50