wurstscript / WurstScript

Programming language and toolkit to create Warcraft III Maps
https://wurstlang.org
Apache License 2.0
225 stars 30 forks source link

Changes to mapfile results in status and mpq errors #334

Closed Cokemonkey11 closed 9 years ago

Cokemonkey11 commented 9 years ago

If I change wurstscript files and save my map, the wurst is compiled correctly and test-map works as expected.

However, if changes are made to the map and then saved in the editor (for example, removing a placed unit or adding a tree), a number of errors occur:

1

If I save a second time, a different error occurs (this error repeats if saving a third, fourth... time):

2

peq commented 9 years ago

Does it happen every time?

Maybe the problem is that you are not using a frozen throne map (.w3m vs *.w3x). Can you please check, if that problem occurs with (.w3x) maps?

Cokemonkey11 commented 9 years ago

turns out that if you place a blood mage the map becomes .w3x

but if you remove the blood mage it revert to .w3m

today I learned

peq commented 9 years ago

So then we have #335 for this bug, right?