Jump to content
  • 0
Sign in to follow this  
OmarAcero

How create new maps and filds (Files.mcache)

Question

 

1.- How can I create files " .MCACHE ", to add new maps to the emulator? 
2.- And how can I add a renewal map to PRE-RE, because if I set the server as a pre-re, some maps renewall are disabled.

Spoiler

maps.thumb.jpg.f8b26baac4bc51365a46e2aa9b5e24d8.jpg

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

build server

build mapcache plugin

make plugin.mapcache

run command for help about command line parameters

./map-server --load-plugin mapcache --help

See all commands about map cache and select what you want.

For add map probably you want

./map-server --load-plugin mapcache --map youmapname

 

Share this post


Link to post
Share on other sites
  • 0

Ty friends I already learned to compiler plugins.

Now the problem is that i don't create plugins, to perform all those processes I need the files mapcache.c  or  mapcache.so

Spoiler

1.jpg.f7ec52e318f51d5489f46b315abcbf74.jpg

2.jpg.d136a8cb6332966ce6d6c0da3dc4cb10.jpg

3.jpg.434a2e553c45dabbc4833032d4a1613c.jpg

If you have some free time, please could you create an archive plugin mapcache.c to edit and add new maps.

Thank you very much

 

 

Edited by OmarAcero

Share this post


Link to post
Share on other sites
  • 0

probably you changed some make files?

or may be using old hercules version where no mapcache plugin? see in src/plugins, should be file mapcache.c

Share this post


Link to post
Share on other sites
  • 0

in Windows:

Well I tried it all day and I don't get it...  :(

Add the mapcache.c plugin and compile everything without errors, but I still can not create the .MCACHE files. 

Here: Note 1

 

In linux: 

if this is my data folder, how would I to write in my file grf-files.txt?

Note:  Note 2

Edited by OmarAcero

Share this post


Link to post
Share on other sites
  • 0

in windows copy plugin binary mapcache.dll into plugins directory in hercules.

then open command line in hercules directory

and run commands what was in previous messages.

 

in linux you using wrong directory. put files in /home/data/data.

dir /home/data is your client root, /home/data/data is data directory in client.

 

Share this post


Link to post
Share on other sites
  • 1
Thank you very much... --> FINAL NOTE 

The truth was i had two mistakes of his own:

1.- I had to copy the file "mapcache.dll" in the folders plugin and the folder of the emulator.

.2-  Never use as a final folder for grf-files.txt a folder called "data", because by default, the emulator reads to data folder as the final destination, that is, if you have your .gat files in your data directory, you should ideally write the path without placing the data folder :

*Example

*In my directory real:

F:\Gravity\Ragnarok\RO\data\lasagna.gat

*In "grf-files.txt" you would apply the following route:

F:\Gravity\Ragnarok\RO\

On 17/3/2018 at 7:08 PM, 4144 said:

in windows copy plugin binary mapcache.dll into plugins directory in hercules.

then open command line in hercules directory

and run commands what was in previous messages.

 

in linux you using wrong directory. put files in /home/data/data.

dir /home/data is your client root, /home/data/data is data directory in client.

 

 

Edited by OmarAcero

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.