[v1.4] Minimap script giveaway - Printable Version +- TWLan Forum (https://twlan.org) +-- Forum: Legacy (https://twlan.org/forumdisplay.php?fid=61) +--- Forum: TWLan 1.x (DSLan) (https://twlan.org/forumdisplay.php?fid=62) +---- Forum: Deutsche Community (https://twlan.org/forumdisplay.php?fid=65) +----- Forum: Spielerprojekte (https://twlan.org/forumdisplay.php?fid=9) +------ Forum: Tools und Spielerprojekte (https://twlan.org/forumdisplay.php?fid=10) +------ Thread: [v1.4] Minimap script giveaway (/showthread.php?tid=4637) |
Minimap script giveaway - sinner - 21.08.2011 INFO: This scripts generates a PHP GD minimap, the right image from map screen ingame, it has the diplomacy too. DEMO: INSTALLATION:
Cheers, sinner. RE: Minimap script giveaway - Dsaddicted - 21.08.2011 Very good! i dont test it, but this must work a map with diplomacy is very wanted here. You get an positive rating RE: Minimap script giveaway - sinner - 21.08.2011 Thanks, Dsaddicted, my next goal is to remake the whole game_map.tpl , because it's loading quite slow when you have lots of villages. P.S. - I remade it already, but didn't test it for v1.4, i`ll test it as soons as possible. RE: Minimap script giveaway - ON21 - 21.08.2011 Hello Thanks for the tool to something I've been waiting even longer. That would be: good and neat job/work! And excuse for my horrible English best wishes, Nils RE: Minimap script giveaway - Dsaddicted - 21.08.2011 (21.08.2011, 04:30)sinner Wrote: Thanks, Dsaddicted, my next goal is to remake the whole game_map.tpl , because it's loading quite slow when you have lots of villages. oh this would be fantastic. i always get annoyed by the slow loading map RE: Minimap script giveaway - Steffen - 21.08.2011 @ON21 it is no class! RE: Minimap script giveaway - sinner - 21.08.2011 @Dsaddicted, i'll test it today, at the time that i made this v1.4 wasn't released, so I used v1.3 to develop it. In few hours I will post the patch for the map lag for v1.4 RE: Minimap script giveaway - Dsaddicted - 21.08.2011 thank you very much RE: Minimap script giveaway - Dsaddicted - 21.08.2011 thank you very much RE: Minimap script giveaway - ON21 - 21.08.2011 @Streffen, google übersetzer. Es sollte gute und Saubere Arbeit heißen! RE: Minimap script giveaway - Steffen - 21.08.2011 @ON21: That would be: good and neat job/work RE: Minimap script giveaway - ON21 - 21.08.2011 @Steffen, ist geändert. b2t RE: Minimap script giveaway - Dsaddicted - 21.08.2011 (21.08.2011, 13:19)sinner Wrote: @Dsaddicted, i'll test it today, at the time that i made this v1.4 wasn't released, so I used v1.3 to develop it. In few hours I will post the patch for the map lag for v1.4 thank you very much i will test it then this evening RE: Minimap script giveaway - SlimShady95 - 21.08.2011 Nice script, dude. Are there barbarian villages too, or not? (Didn´t test it yet) If not, it would be very nice from you, to implement them MfG Manuel RE: Minimap script giveaway - faust - 21.08.2011 first of all nice script... but wondering how it impacts the performance to use new generated minimap images on each page reload instead of cached ones... RE: Minimap script giveaway - sinner - 21.08.2011 blner, what chached images, there are no cached images even in v1.4, because everytime you have a different {$contime} so there are no cached images. Even though, it's ridiculous to have cached images, you will see an map like 2 weeks old when there are no barbarian villages beside you on the map. So no, there are no cached images in the v1.3 / v1.4 neither. Emanuel, yes, there are barbarian villages, you have like three barbarian villages in the demo too. The v2 of the map will be html one, one big array select for the minimap, then chunk a separate array to show the big map, both html, no GD included, no load, no lag. RE: Minimap script giveaway - SlimShady95 - 21.08.2011 (21.08.2011, 14:47)sinner Wrote: Manuel, yes, there are barbarian villages, you have like three barbarian villages in the demo too. Yeah I wasn´t sure if they are barbarian villages. So thanks for this script Nice work! MfG Manuel RE: Minimap script giveaway - sinner - 21.08.2011 The main problem is, that, still the lag is not solved, because the image still generates in graphic/continent/ i'll get this problem solved tonight. RE: Minimap script giveaway - Molt - 21.08.2011 (21.08.2011, 14:47)sinner Wrote: blner, what chached images, there are no cached images even in v1.4, because everytime you have a different {$contime} so there are no cached images. Even though, it's ridiculous to have cached images, you will see an map like 2 weeks old when there are no barbarian villages beside you on the map. Don't talk about things you don't understand or know well enough. The conmap is cached, you can test it: reload the map 60 times, there will no new conmap-image be generated. There's this comment line: PHP Code: // Karte neu laden, wenn sie älter als 5 minuten ist You can also test it like this: Load the map, then remove all the contents from htdocs/graphic/continent and then reload the map and baam, there's no conmap! RE: Minimap script giveaway - Chrissi - 21.08.2011 (21.08.2011, 16:48)Molt Wrote: Load the map, then remove all the contents from htdocs/graphic/continent and then reload the map and baam, there's no conmap! That supposedly shouldn't happen. The conmap-code actually tests whether the file exists, and if not, it'll regenerate a continental map. But, Molt and blner are right anyway: The continental map is indeed cached in htdocs/graphic/continent. |