• 0
wasaru

adding custom maps

Question

10 answers to this question

Recommended Posts

  • 1
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

 

Edited by Habilis

Share this post


Link to post
Share on other sites
  • 0
On 6/28/2018 at 9:00 PM, Habilis said:
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

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, janhussien said:

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

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, Dastgir said:

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. 

 

6 hours ago, janhussien said:

  /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?

Share this post


Link to post
Share on other sites
  • 0
22 minutes ago, Habilis said:

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. 

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.   Paste as plain text instead

  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...