• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Crash] When Peasant Opens Build Commandcard With Custom Model "Lordaeron Blacksmith"

Ok it actually also works on a fresh map in 2.04. Maybe it's something else on the specific map. I need to investigate more.

I'm very puzzled. I set everything on the blacksmith the default values. Set "structures built" of the Peasant to this custom blacksmith unit. Any time I click the build menu, wc3 crashes to desktop. Hmm.
 
Are they any blacksmith built on the map already? If not, try to place some to see if it crash.
Try ordering via trigger to an unit to build it to see if it's player oriented or not?

I once had an issue with a model working well on older maps but not on reforged. Once model was set to mdx 800 it worked fine.
 
Does reverting to normal blacksmith icon solve the issue?
No. Everything has been reverted and it still crashes when I push build. There must be some other cause from the map. It has nothing to do with the custom asset. I misunderstood.

Is the icon 64x64 dimensions? Does the blacksmith do anything in particular?
More testing revealed it is not related to the custom assets.

Are they any blacksmith built on the map already? If not, try to place some to see if it crash.
Try ordering via trigger to an unit to build it to see if it's player oriented or not?

I once had an issue with a model working well on older maps but not on reforged. Once model was set to mdx 800 it worked fine.
It seems to allow a blacksmith on the map. The problem is when the build menu is opened, not order to build. Hmm.

Thanks for replies everyone. I'll test more and try to narrow it down more. I thought I narrowed it down to it being the custom asset but I was mistaken.
 
Is there a trigger event that will run when a player opens the build menu? Map only has 441 custom units. No way that's some limit that could cause a crash. Not sure where else to troubleshoot this strange crash. Crash occurs when custom peasant (h050:hpea) opens its build menu with custom unit on it.

 
Last edited:
Is there a trigger event that will run when a player opens the build menu? Map only has 441 custom units. No way that's some limit that could cause a crash. Not sure where else to troubleshoot this strange crash. Crash occurs when custom peasant (h050:hpea) opens its build menu with custom unit on it.

????
build.webp
 
works on 1.26
Worked fine for me on 1.31.
Note that not crashing does not mean "works". It might be doing some really buggy or crash prone things behind the scenes that just happen to not crash in older versions, at least at that time of interaction.
Is the icon 64x64 dimensions?
Should not make a difference? As far as I am aware the engine handles icons of every size just fine.
That's what I was thinking. So after I ruled out the custom assets, I defaulted everything. It's just a custom unit based off a totally default blacksmith.
Remove all dependency equivalents from all units in the build command card to make sure, even if they are standard.
 
Back
Top