• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Crash] Crash whenever specific building is selected

Status
Not open for further replies.
Level 22
Joined
Aug 27, 2013
Messages
3,973
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: 42

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,223
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 22
Joined
Aug 27, 2013
Messages
3,973
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