Image crashes editor

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.tw/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Image crashes editor

Post by BannZay »

Not got yet why, but adding this as picture for map broke the map, and after saving ddnetclient got dropped and then map not loading anymore.
WARNING!!! Do not test it on unique maps that u have, u`ll lost it!
Picture :
SpoilerShow
How to save with true size :
click on picture, and only then choose save as...
bg.png
bg.png (196.23 KiB) Viewed 2814 times
Danger things, cuse of map broking! Many thx to god I has copy of my map <333
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Editor Virus

Post by deen »

No crash for me. Are you using the most recent DDNet client version?
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: Editor Virus

Post by Chairn »

Just tried it out, works fine. Did you have this bug several times or just once?
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.tw/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Re: Editor Virus

Post by BannZay »

@deen, yes, 9.0.2. win32. Did u upload 1024x1024 picture?
@Chairn, I got it 4 times in a row.
Edited : +2 times in a row, using uploaded picture from forum
Same situation with standart teeworlds client...
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: Editor Virus

Post by Soreu »

For me also client disappear after saving map which contains this image - Win32, DDNet 9.0.2
„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
Lady Saavik
Posts: 1763
Joined: Tue May 13, 2014 4:02 pm
Player profile: http://ddnet.tw/players/Lady-32-Saavik/
Mapper profile: http://ddnet.tw/mappers/Saavik/

Re: Editor Virus

Post by Lady Saavik »

Soreu wrote:For me also client disappear after saving map which contains this image - Win32, DDNet 9.0.2
same same

btw why the background is white and not transparent?
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: Editor Virus

Post by Soreu »

Because there's something wrong with the way image was saved
„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
hi_leute_gll
Posts: 2525
Joined: Mon Jul 21, 2014 1:15 am
Player profile: http://ddnet.tw/players/hi-95-leute-95-gll/
Mapper profile: http://ddnet.tw/mappers/hi-95-leute-95-gll/
Clan: iMTG

Re: Editor Virus

Post by hi_leute_gll »

Obviously the failure is in the image:
screenshot_2015-09-18_16-19-06.png
screenshot_2015-09-18_16-19-06.png (222.35 KiB) Viewed 2783 times
.hi._.leute._.gll. | iMTGmember
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.tw/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Re: Editor Virus

Post by BannZay »

Lady Saavik wrote: btw why the background is white and not transparent?
I`m just making tileset,only miss this thing(make transparent bg). But I was wondering after save =0

Anyway, its very danger things with "wrong" images... Hopefully its fixable
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: Editor Virus

Post by Soreu »

Yes, use properly saved images... You can see while loading / after dilate if image is fine - hi_leute_gll screen shows it pretty clear actually...

You know how image looks, so if you see it looks different in editor - just don't load it, or at least do it on empty (new) map
„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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests