Jump to content
  • 0
Sign in to follow this  
glemor123

adding map using plugin

Question

4 answers to this question

Recommended Posts

  • 0

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)

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.