Page 1 of 1

editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 4:39 pm
by Nex
i mapped a bit
then i found this awesome rainbow-img in this forum download/file.php?id=3895&mode=view
a picture uploaded by Lady Saavik (rainbow looks awesome anyway)

I go to ddnet editor map/test/map/test and so on. then I found this image. I embedded it add a quad, saved.

the client crushed

i go back try to load the map i'm working on nothing happens. no error notification or so. i try load an other map and that works fine.
so i load my map again and see what the console says:
bla bla bla tried to load (big number) got=0
so the client trys to load the map but it gets no information then i switchen to appdata\teeworlds\maps\ and I see that my map is 0kb big. so the map is empty

ddnet just deleted my map :< just because I embedded rainbow particles.


is there a way to get my map back AND PLEASE FIX THIS BUG

I testet on some other maps. all gets deleted.

and yes I use the newest and "most stabel" client

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 4:44 pm
by Soreu
you embedded way too big picture, so client couldn't handle it... none of clients would...

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 4:46 pm
by Nex
and my map? gone 4ever?

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 4:48 pm
by Lady Saavik
I can just send you a 'map' with this picture, it was made in editor.
You don't have your map in downloadedmaps?

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 4:51 pm
by deen
Works totally fine for me, how did you make it crash exactly?

Edit: Ok, crashes on Windows but not Linux.

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 5:07 pm
by Nex
oh my god thank you lady saavik there are a tons of copies, thank you

if you also could give me the map i would be even more happy? (wow my english XD)

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 5:08 pm
by Nex
@deen Spiele gibts halt mehr für windows normalerweise startet mein pc auch mit ubuntu aber ich hab ferien also arbeite ich nicht sondern spiele:D

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 5:13 pm
by Lady Saavik
Nex, just Append this map in Editor, it's exactly this picture you want.

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 5:39 pm
by Soreu
deen wrote:Edit: Ok, crashes on Windows but not Linux.
Damn, this wonderful windows...

Re: editor dont save map, client crash, 4hours work are gone

Posted: Sat Apr 04, 2015 5:49 pm
by deen
Soreu wrote:
deen wrote:Edit: Ok, crashes on Windows but not Linux.
Damn, this wonderful windows...
Not Windows' fault. The code is totally broken for RGB images, only works with RGBA. I'm trying to fix currently.

Edit: This should have fixed it: http://git.io/veGPi

You can try this version and tell me if it works fine on Windows too: http://ddnet.tw/downloads/DDNet-image-win32.zip

I don't know of a way to get your map back, sorry.