glemor123 1 Posted January 23, 2014 instead of editing the source code in order to add a map. why not just have a plugin that won't need to edit the src codes to add maps. Quote Share this post Link to post Share on other sites
0 Ehwaz 8 Posted January 23, 2014 What do you mean "source code" ? I think adding a custom map just edit "db" and it's very simple with tool existing in Hercules (Ex: Wee mapcache) Quote Share this post Link to post Share on other sites
0 Mumbles 193 Posted January 23, 2014 Making modifications to cache and index maps is easy. Use Shin's WeeMapCache to add new GATs to your cache in db/pre-re/map_cache.dat or db/re/map_cache.dat. You'll also need to add the map name in db/map_index.txt and conf/maps.conf, but that's about as much "source" modification you'd need to make. If you're concerned with the need to recompile, it really isn't a hassle if you only compile the map cache; similarly, you would have to do a similar process and compile your plugin anyway for it to work, which would likely end up being more time-consuming than necessary. To compile only the map cache (on Linux), run these commands from your server's root folder: ./configuremake tools ...and that's it! For MSVC builds, you'll need to recompile the mapcache project, which is just a matter of right-clicking and choosing Compile. Bottom line is, having a plugin-based method to update the map cache and index would be less efficient than simply adding them manually. Quote Share this post Link to post Share on other sites
0 glemor123 1 Posted January 24, 2014 What do you mean "source code" ? I think adding a custom map just edit "db" and it's very simple with tool existing in Hercules (Ex: Wee mapcache) i mean adding @go command Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted January 24, 2014 a simple Utility can done that Visit Mumble's Utility: @go command Quote Share this post Link to post Share on other sites
instead of editing the source code in order to add a map. why not just have a plugin that won't need to edit the src codes to add maps.
Share this post
Link to post
Share on other sites