// verify that this is, in fact, a png (and not html, or an exe, or whatever
// NOTE: this is a security measure, but probably a very weak one
content_type = DM_GetContentType(downloadHandle);
if(content_type != "image/png") {
show_message("Invalid download data.#Exiting");
DM_StopDownload(downloadHandle);
DM_CloseDownload(downloadHandle);
file_delete("Maps/" + global.currentMap + ".png");
game_end();
exit;
}
what the hell it looks like the game is attempting to download a non png file
that's really unusual
You know what, I just thought of something that MIGHT have something to do with it...
My parents have installed a parental filter that blocks most image hosting sites (tinypic, etc.), and that might block the client from downloading the .png...
I didn't say anything about it before, because the filter isn't on my router, only the computer, and I've only known it to work on browsers...but that might be the problem. Thanks for looking through the source.