• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Crash] Crash whenever specific building is selected

Status
Not open for further replies.
Level 23
Joined
Aug 27, 2013
Messages
4,051
So, I have been making this map in my spare time. It was fine until I placed Barracks, Arcane Sanctum, and Workshop in the map. Whenever I click any of these three, the game will crash. "The Application Encountered an unexpected error". No crash report pops up though. So I'm wondering what's the cause.

Please help me identify what's causing this, thanks.
 

Attachments

  • AoS Template.w3x
    767.2 KB · Views: 44

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,239
Sounds like the problem with the buildings is either the units it can upgrade/train or the abilities it has. Remove them 1 by 1 until the crash stops. Once the problematic object type is identified one can look into fixing it.

The reason it crashes on selection is that the reqirements for all command card buttons only gets loaded upon first selection. If one does something wrong with a unit dependency equivalence field one can create a crash upon selection.
 
Level 23
Joined
Aug 27, 2013
Messages
4,051
Remove them 1 by 1 until the crash stops. Once the problematic object type is identified one can look into fixing it.
Sounds like a hassle but will try.

The reason it crashes on selection is that the reqirements for all command card buttons only gets loaded upon first selection. If one does something wrong with a unit dependency equivalence field one can create a crash upon selection.
I see, but now that the reason is clear, I'm getting even more confused. I just made the map yesterday and haven't messed with Gameplay Constants or Object Editor just yet. But apparently, now that you mention it, after I checked them out, I found many of the values are modified by itself. I don't understand how could this happen. Any idea?

And thanks for the response!
 
Status
Not open for further replies.
Top