adding custom maps

Linux
 
i. Make sure mapcache in plugins in src/plugins/makefile.in
ii. Make sure that in conf/plugins.conf  "HPMHooking", - is not commented (remove // before)
iii. Make plugins
 
0. Define datafolder  in conf/grf-files.txt  ex :  data_dir: /home/hercuser/Hercules/conf/client_data
1. Add ".gat", ".gnd", ".rsw" files to clients data folder AND  /home/hercuser/Hercules/conf/client_data.

2. Edit "mapnametable.txt" and "resnametable.txt" files in clients data folder AND  /home/hercuser/Hercules/conf/client_data.

3. Edit "map_index.txt" in db folder.

4. Edit conf/map/maps.conf 

5. cache maps ex: ./map-server --load-plugin mapcache --map prontera

6. Add flags/warps/monsters to the map as a script in npc folder

For more information you can read a guide written by Myriad


 
Last edited by a moderator:
Linux
 
i. Make sure mapcache in plugins in src/plugins/makefile.in
ii. Make sure that in conf/plugins.conf  "HPMHooking", - is not commented (remove // before)
iii. Make plugins
 
0. Define datafolder  in conf/grf-files.txt  ex :  data_dir: /home/hercuser/Hercules/conf/client_data
1. Add ".gat", ".gnd", ".rsw" files to clients data folder AND  /home/hercuser/Hercules/conf/client_data.

2. Edit "mapnametable.txt" and "resnametable.txt" files in clients data folder AND  /home/hercuser/Hercules/conf/client_data.

3. Edit "map_index.txt" in db folder.

4. Edit conf/map/maps.conf 

5. cache maps ex: ./map-server --load-plugin mapcache --map prontera

6. Add flags/warps/monsters to the map as a script in npc folder

For more information you can read a guide written by Myriad
Hi dear,

Thanks for your guide. 

Im a little bit confused on your step # 0 and 1. On #0, this dir must be on my local drive location? And on #1, where should i upload these files? Is it on the winscp? Im running now a online server btw. 

TIA for the help. 

Best regards,

Janh

 
Hi dear,

Thanks for your guide. 

Im a little bit confused on your step # 0 and 1. On #0, this dir must be on my local drive location? And on #1, where should i upload these files? Is it on the winscp? Im running now a online server btw. 

TIA for the help. 

Best regards,

Janh
The data folder and/or GRF should lie where your map server is.

So if you want to do it in your PC, compile the mapcache plugin and map-server in your PC

 
The data folder and/or GRF should lie where your map server is.

So if you want to do it in your PC, compile the mapcache plugin and map-server in your PC
Hi Dastgir,

Im trying to add custom map on a running online server directly. Previous version of Hercules, there is mapcache and I know how to do it but at this time I cannot. 

  /home/hercuser/Hercules/conf/client_data.
What do you mean by this? Is it an example of a local drive? Can I make it C:\Ro\data?

 
Yes, if you doing it on windows, it can be.
Hi Habilis,

Thanks for your response. 

Btw i dont have offline, im using online directly. My files of it is in winscp. I tried earlier but the map files i have from my local drive cannot be detected. I recompile using putty and it doesnt work 100%. 

Can you help me what is the proper procedure?

Sorry newbie here. 

 
Back
Top