0 Members and 2 Guests are viewing this topic.
That all sounds great, but that link turns up 404.
sweet! but:The requested URL /MAD2/imagemap.php was not found on this server.
But as the archives are done on-the-fly I can't really get filesize. (Might later make them save to server first but it's not really a big priority)
<?php//.......//start output buffering so we can see what would be sent outob_start();//whatever function you use to sent out the .newly generated .zip / .tgz.archive_send();//the size of what's in the buffer (your filesize)$file_size = ob_get_length;//send out the archive and kill the buffer.ob_ end_ flush();//update mysql database.. (I'm assuming all your map's have their own unique ID)mysql_query("update `maps` set `filesize` = '$file_size' where `id` = '$map_id' limit 1");?>
Yeah! Map Previews are not available at the moment. (Look at old MAD to see what I mean)
It seemed not to smooth before, but hopefully you'll reimplement it being smoother. It helps figuring out of the map you found is the map your looking for w/out downloading it. (Did the old version generate the map one time, and then saved the image; and next time it is requested, it would instead load the image? If not, hope newer version does this (deletes image if map is modified in any way, unless its something that doesn't effect the image))
Any way that we could "fix" the "bug" where if somebody update's their map, the new one will be on MAD? Maybe if the filesize is different, it'll save it as a subcategory under that map name?
BTW, I see it moved to http://www.soldathq.com/mad/ Date Posted: June 16, 2008, 02:40:19 am
You know what would be a nice feature? A list of servers the map has been seen on. (mayb a sublink off of a map)If you know of a not-so-popular gamemode, and know some maps; you may be able to find servers hosting it
Or you can upload your own mappacks
Maybe a search thing, and then you check off maps you want to put into a mappack?
maybe you can type in "(cs|de|)_.*" (regular expression of some sort, doesnt have to be POSIX) and it'll get all cs maps and put them into a mappack;