|
Post by kapula on May 9, 2015 20:50:55 GMT 1
Greetings, just a short Q - is it possible to activate a crash log of some kind for when the editor crashes during loading? The reason I ask is that a custom map I was editing started crashing during the loading bar sequence and I can't figure out the reason. Thanks in advance.
|
|
Mat
General
Posts: 1,814
|
Post by Mat on May 9, 2015 21:52:06 GMT 1
i dont know if there is a possibility but for sure the reason is because some obj units in the mod has been removed/renamed
|
|
|
Post by Major Pain on May 9, 2015 22:27:08 GMT 1
Hey kapula
What did you do just before you started the map?
Did you create a new object, or rename an object?
Did you move a folder to a new Parent Folder?
Did you remove and object from the objects.xml or modobjects.xml that was on the map?
Did you change either the objects.xml or modobjects.xml, possibly corrupting them?
Did you change a 1.xml for any object, which may have become corrupt?
Just a few of the causes of a crash while loading.
|
|
|
Post by Quintaxel on May 10, 2015 8:24:02 GMT 1
Kapula, Go through MP's checklist, I had maps crashing for all these reasons You might try the trick with the "Dummy.mod". See the website of my friend @boltz. (link below). www.geocities.jp/kwx50/en/Boltzscontents.html- Put the mod in the mod folder. - activate the dummy mod in the editor - then open the map that crashes Opening the map might take longer than normal but if a missing object is causing the crash then this will be logged in a log file that can be found in the \Run\data\logs folder. I hope this helps.
|
|
|
Post by kapula on May 19, 2015 18:41:41 GMT 1
Thanks for the replies guys, I'll try it out and report back. @major Pain The only thing I changed that I recall is editing the 1.xml of the Sdkfz 251/7 from MK to turn it back into a dedicated engineering vehicle (I tried changing it so I could have it do all the eng actions and also move aggressively and stand ground, but that removed some of the engineering commands so I reverted it back to the original). I tried putting it in another map and testing it and it didn't crash on loading, so I don't think that's it. :/ Edit: I just tried reverting the Sdkfz's xml to the original one and it didn't change anything. Also tried the Dummy mod but the map never manages to load so I'm not getting a different loadmap_log I did however save the map in xml before it started crashing on load, so if I could find the reason for the crash I might be able to edit it out of the map file itself using Notepad or anything, but I have to figure out what might be causing it. :/
|
|
|
Post by Major Pain on May 20, 2015 5:26:40 GMT 1
Did you add any new units at all? Most likely, you possibly renamed a unit or added a unit that is not able to be loaded on the map, or you changed an 1.xml that has an error. Without knowing the eact steps, it is hard to know where to look first. I'd start at checking the 1.xml that you changed. Send it to me by email. I can determine if it has an issue in about a minute. If is not the issue, we'll try the next thing. -> My Email: majorpain.one@gmail.com
|
|