Problem .tmx from tiled latest build

Hello

My mac had problems with the current release of tiled so I updated to the latest build. Still buggy and ended up running it on a PC.

On running the source I get the error

“mte.lua:8099: ‘for’ limit must be a number”

Source files can be found at

http://www.shapeshifterdesign.com/stephenftp/mte/issue.zip

(old and new .tmx files included)

Also noted in the file maybe a problem with goto in the docs. But then maybe just how I’m using it.  :slight_smile:

Thanks

Hello St3v3,

The object group in the daily build TMX file has no width or height property. It reads like this:

\<objectgroup name="sprite"\>

MTE expects this:

\<objectgroup name="sprite" width="0" height="0"\>

I’ll correct for this change in 980-10. I hope the folks at Tiled aren’t planning any more property omissions!

Thanks dyson122

Have left an issue with Tiled at

https://github.com/bjorn/tiled/issues/618

Cheers

Tiled people updated me with this

"These properties were always written as 0 and had no meaning, hence they have been removed.

Please make sure that your tile engine does not rely on these properties being present. In the TMX Map Format they have been marked as deprecated and described as meaningless since many years."

Cheers

Thanks for getting in touch with them about this issue, St3v3. I’ll release a new MTE patch correcting this bug within the next few days.

Hello St3v3,

The object group in the daily build TMX file has no width or height property. It reads like this:

\<objectgroup name="sprite"\>

MTE expects this:

\<objectgroup name="sprite" width="0" height="0"\>

I’ll correct for this change in 980-10. I hope the folks at Tiled aren’t planning any more property omissions!

Thanks dyson122

Have left an issue with Tiled at

https://github.com/bjorn/tiled/issues/618

Cheers

Tiled people updated me with this

"These properties were always written as 0 and had no meaning, hence they have been removed.

Please make sure that your tile engine does not rely on these properties being present. In the TMX Map Format they have been marked as deprecated and described as meaningless since many years."

Cheers

Thanks for getting in touch with them about this issue, St3v3. I’ll release a new MTE patch correcting this bug within the next few days.