- Joined
- Apr 29, 2007
- Messages
- 140
I was recently updating one of my old maps and when testing the map in Warcraft I came upon a problem I haven't ever encountered on this map.
Basically I pressed Build for my custom builder and it gave me a fatal error.
After a couple of hours of expirimenting I limited it down to one building.
I removed the building and made a new one and I was able to build again without crashing.
As I started to add the tech tree back to that building, when I tested it crashed yet again.
So what I'm wondering is what I need to look at, the values in editor have never changed and have always worked, until this one building now. Has anyone ever had a similar problem? I'm wondering if it has something to do with the last patch but I'm not sure. Any help is appreciated!
---------------------------------------------------------------------------------------------------------------
Nevermind, I looked all night last night to try and find the problem and I look today and I found the problem in 2 minutes.
Basically here's what the problem was: The building that I knew was causing the crashes had 2 building requirements. One of the building requirements was a Nightelf race base building.
Even though the builder can still build structures that aren't of his race, apparently, you cant have requirements for a Human based structure being a Nightelf based structure.
For example, lets say you have a builder that has Human Guard Tower, a Black Smith and a Night Elf Altar of Elders. He can build all 3 with no problem, however lets say the Guard tower has a requirement of a Blacksmith and Altar of Elders. When you press build, the game will crash. If you change the race of the Altar of Elders to Human the game won't crash.
I didn't know this until now, hope it helps you guys.
Basically I pressed Build for my custom builder and it gave me a fatal error.
After a couple of hours of expirimenting I limited it down to one building.
I removed the building and made a new one and I was able to build again without crashing.
As I started to add the tech tree back to that building, when I tested it crashed yet again.
So what I'm wondering is what I need to look at, the values in editor have never changed and have always worked, until this one building now. Has anyone ever had a similar problem? I'm wondering if it has something to do with the last patch but I'm not sure. Any help is appreciated!
---------------------------------------------------------------------------------------------------------------
Nevermind, I looked all night last night to try and find the problem and I look today and I found the problem in 2 minutes.
Basically here's what the problem was: The building that I knew was causing the crashes had 2 building requirements. One of the building requirements was a Nightelf race base building.
Even though the builder can still build structures that aren't of his race, apparently, you cant have requirements for a Human based structure being a Nightelf based structure.
For example, lets say you have a builder that has Human Guard Tower, a Black Smith and a Night Elf Altar of Elders. He can build all 3 with no problem, however lets say the Guard tower has a requirement of a Blacksmith and Altar of Elders. When you press build, the game will crash. If you change the race of the Altar of Elders to Human the game won't crash.
I didn't know this until now, hope it helps you guys.