DDNet client 10 editor bug

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
User avatar
Ñı©Ø
Posts: 1927
Joined: Sat Sep 06, 2014 5:22 pm
Location: Italy
Player profile: http://ddnet.org/players/-209--305--169--216-/
Mapper profile: http://ddnet.tw/mappers/-209--305--169--216-/

Re: DDNet client 10 editor bug

Post by Ñı©Ø »

hi_leute_gll wrote:The "cleaner" is on ID 0 (most top-left), that's why it is always free. This bug here occurs with ID 1&2, and from what I've seen even with other IDs (saw random bonus-tiles in an unpublished map).
Oh so it occurs in the spaces where hookable and unhookable should be in game layer...

In game layer you have:
cleaner hook unhook
In front layer you have:
cleaner empty empty

Maybe he detects the empty as hook and unhook because the system takes the game layer resource instead of the front one (that is like the game one but without the hook, unhook and no entities)...

Can I suggest to try with the no-entities tile place in front layer to see if this teory is true?
User avatar
timakro
Posts: 414
Joined: Mon May 05, 2014 6:05 pm
Location: Germany
Player profile: http://ddnet.org/players/timakro/
Mapper profile: http://ddnet.tw/mappers/timakro/
Clan: unique

Re: DDNet client 10 editor bug

Post by timakro »

The reason why this is happening is that there is only one entities clear tileset for all layers. In 10.0 a new button called 'Unused' was added in the editor, disable it to prevent yourself from placing unused indexes (like index 1 in the front layer).
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.org/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: DDNet client 10 editor bug

Post by Soreu »

I still don't get though how that update made random blocks appear in maps when they were not there in previous one...
„Vince te ipsum”

         :3             |     GSP Founder     Honorary iMTGmember
Graphic-guy     |     Website & Forum Team Leader (Ex)     [ToP] Leader (Dead)

Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
Chairn
Posts: 399
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.org/players/Chairn/
Clan: QuintessenZ

Re: DDNet client 10 editor bug

Post by Chairn »

They were there, we just could'nt see them.
User avatar
Ryozuki
Posts: 1748
Joined: Tue Feb 24, 2015 7:28 am
Location: Catalonia
Player profile: http://ddnet.org/players/Ryozuki/
Mapper profile: http://ddnet.tw/mappers/Ryozuki/
Clan: Unique
Website: https://edgarluque.com
Discord: Ryozuki#2188

Re: DDNet client 10 editor bug

Post by Ryozuki »

They selected a invisible/useless tile from game layer i suppose (and now this tile is used..)
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.org/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Re: DDNet client 10 editor bug

Post by BannZay »

It is since DDNet client using 1 picture for all entites layers. Now you can see any existing tile in any entitie layer (for example teles in front layer) (ingame only, and its ids in editor).
P.s: this picture located at DDNET-XX.XX.XX/data/editor/entities_clear/ddnet.png
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.org/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: DDNet client 10 editor bug

Post by Soreu »

Was also using one layer in previous versions, it was just named/placed in editor/entities_clear.png and that's the thing...

I guess that we see these "random" entities is somehow caused by the code of unused button-switch
„Vince te ipsum”

         :3             |     GSP Founder     Honorary iMTGmember
Graphic-guy     |     Website & Forum Team Leader (Ex)     [ToP] Leader (Dead)

Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.org/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Re: DDNet client 10 editor bug

Post by BannZay »

Soreu wrote:Was also using one layer in previous versions
Oh probly I`m wrong then. Idk old DDNet updates. My thought just based on fact that
BannZay wrote:you can see any existing tile in any entitie layer
wasnt possible before
User avatar
timakro
Posts: 414
Joined: Mon May 05, 2014 6:05 pm
Location: Germany
Player profile: http://ddnet.org/players/timakro/
Mapper profile: http://ddnet.tw/mappers/timakro/
Clan: unique

Re: DDNet client 10 editor bug

Post by timakro »

For those who want to know why indexes that are unused in the layer they are placed in but used in another layer weren't visible in older versions:
In older versions unused tiles were removed from the game and front layer when the client (and server) loaded the map. I removed this when adding clear entities support for other gametypes because this would remove for example some openfng gametiles which are unused in ddrace. I'm aware that someone could just remove unused ddrace tiles on ddrace servers, but its bad practice to have unused tiles in your map anyways. So why not removing some code instead of adding more (hacky) code and additionally making players aware of unused tiles in their maps. Thanks to deen, who removed unused tiles from all old maps those tiles shouldn't appear on maps released before 10.0. As always I recommend using the 'Unused' button when mapping for ddnet to prevent placing those tiles by accident in your map.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests