[Crash] Map not loading

Status
Not open for further replies.
Level 8
Joined
Mar 30, 2013
Messages
180
So i'll preface this, i imported a model and saved the map as a different filename, knowing fully well that some models can cause a map to be unloadable; then yes i didn't load, so i went in to mpq editor and deleted that model from the map so it should open again, it didn't, so i tried opening the map from BEFORE i imported the model and bam, wouldn't open, immediately confused.

So i remembered a placed a dummy unit using a glow.mdx model before i saved, so i deleted that model from the second map as a test and it loaded fine, so i changed the model of that unit to null and then reimported the glow model (It was working fine before this, i was using it for terrain) and now it won't load again, so i went and deleted the glow model again and it won't open still.

I'm confused to high hell as i have no idea what's causing it, it crashes the game on units 67/75 so a unit is causing it, no idea why it suddenly worked fine and then not when i removed the model, anyone know what might cause this? my backup is before a couple of hours of work so i'd like not to lose it, i'll be willing to share the two maps and more details through pm if you would help.

Edit: Okay so i've deleted all the recent imports and all the recent placed units, reimported and placed them and it's working fine...? leaving this open to see if anyone can explain the hell just happened so i can avoid it in the future
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
Some malformed models are prone to crashing in very obscure and indirect ways. This is likely because their content violates some logical requirement of Warcraft III due to the converters that made the model not conforming with the mdx/mdl specification.

One example of such malformed model are ones that have their geosets randomly attach to other working models in view, showing some sort of dangling data reference. If such data reference was to dangle to invalid memory, a crash would likely occur.
 
Status
Not open for further replies.
Top