Jump to content
  • Register Now

    Sign up and take advantage of the features of our community! Some forums are only accessible to our members!

How to install map


Recommended Posts

  • VIP
Posted (edited)

Required level  Beginner

Estimated time :  15 minutes

 

This tutorial is to explain how to install a map on Metin2.

 

Needed :

  • A map, you can find many maps here.
  • You will need access to your server, with WinSCP for example, as well as a packer like EterNexus or PackMakerLite for depack your client.

 

I. Serveur side

Révélation

1. First time, go to your server folder metin2/share/locale/country/map. This is where all the maps of the server are located.

 

2. It will be necessary to add in this folder, the folder of your map. 3 mandatory files to put in this folder are :

 

  • The file Setting.txt, which contains all the information of your map such as coordinates.
  • The file server_attr, which contains the attributes of your maps. To be more precise, it is in this file that we find the places where we can fish and walk for example.
  • The file Town.txt which corresponds to the coordinates of respawn on your map.

 

This is what my file looks like on my side :

 

151233Capture.JPG

 

3. Once done, edit the index file located in the folder metin2/share/locale/country/map. Each line corresponds to a map, formatted as :

 

ID_MAP NAME_FOLDER_MAP

 

In my case, I added the folder metin2_map_nae (which contains the above files). You need have something like that :

 

152236Sans-titre.png

 

Warning ! ID of your map is unique ! Don't forget to note it.
Warning ! I advise you to put an ID higher than 250 to avoid problems.

 

4. Now tell your server to start your map when the server starts. You have two choices:

  • You can launch the map in a normal channel, which means that the map will be specific to each channel (CH1, CH2, etc.).
  • You can launch the map in channel99 (and only in this one), this will mean that the map is available only in one channel. When teleporting to this map, you will also change channels. What allows to have a single map for everyone.

 

Information. We generally use channel99 for dungeon maps but also when we want a map to be unique, regardless of the player's channel.

 

5. In both cases, you will have to add the ID of your map in the CONFIG file of your channels.

  • If you want to launch it in a normal channel, put the map in one of the cores of all channels. for example channel1/core2/CONFIG
  • If you only want to launch it in channel99, add it only in the CONFIG file of channel99.

 

Something like that :

 

153624Capture.JPG

 

Success! All you have to do, is restart your metin2 server . It will be installed correctly on the server side.

 

 

 

II. Client side

Révélation

1. Locate the client files on your map. Generally, you have an eix/epk pack. In my case, I have them in packaged format: metin2_map_nae.eix and metin2_map_nae.epk

 

Information. Just repack the map with EterNexus or other if the eix / epk are not provided to you.

 

Just place the eix/epk in your client's pack folder

 

2. Unpack the root file to be able to edit the atlasinfo.txt file. Each line has the following format:

 

Name_Folder_Of_Your_Map    COORDINATE_X    COORDINATE_Y    WIDTH_MAP    LENGTH_MAP

 

Information. All this information can be found in the Setting.txt file of your map.

 

3. In my case, I add this line in my atlasinfo : metin2_map_nae 2600000 2600000 3 4

 

155459Sans-titre.png

 

Warning ! If you don't see your altasinfo, repeat this part from step 2 but for the atlasinfo.txt file which is in your client's local pack (locale/XX/atlasinfo.txt).

 

4. Now just repack your packs and connect IG to test it. To teleport on it, use the command /wrap using the two numbers from the BasePosition of your map (removing the last two digits).

 

In the case of my map, the BasePosition is: 2600000 2600000

So to teleport, I remove two digits, and I write /warp 26000 26000

 

Information. Refer to the Setting.txt of your map to know the BasePosition of your map.
Success! It will be installed correctly on the client side.

 

 

 

  • A category Questions and Answers is available. If you have a problem or question, feel free to post a request!

 

Edited by Veltor88 (see edit history)
  • Love 5
Link to post

Nice tutorial, it is good to sum up it for beginners :)

 

Some things to mention:

 

1)

Quote

Information. We generally use channel99 for dungeon maps but also when we want a map to be unique, regardless of the player's channel.


Actually, dungeons are not good to be in ch99 at the most cases, because if the map where you want to teleport from, and the dungeon is not in the same core, it won't teleport. If you want to place a dungeon to ch99, you have to make a "lobby" level, like demon tower level 1. That level of demon tower is not a dungeon yet, it will be ported to dungeon after we destroy the metin there. Also the dungeon must be in same core with the map where you want to teleport to the dungeon. For example if you want to enter a dungeon from Map1 what is in ch1 core1, the dungeon should be in ch1 core1. If it's in core2/3/x, then it will not teleport, and you'll get a syserr like "cannot create dungeon".

 

2)

Quote

In the case of my map, the BasePosition is: 2600000 2600000


If the coordinates of the map can't be divided by 256, it will cause a lots of problem. (2600000/256=10156.25 so it will be bad)

For example the server_attr will be slided, so the block, pvp, water areas will not 100% there where you placed, also if you go to the slide's opposite side you'll get kicked out because there is nothing there according to the server, because it is slided in the other way   

(This is because the maps are stricted to areas, and 1 area's size is 256x256)

 

Maybe it is hard to understand with just text so i gonna show it in a picture:

Spoiler

 

So your map should be in a grid with 100% matching edges:

28461241wtfXC4umL.-SX342-.jpg

 

But if it's not dividable by 256 (the grid size) it will "slide" sligthly:

28404341wtfXC4umL.-SX342-1-.jpg

If you check Ymir's maps, every default map can be divided by 256 to prevent this problem.

 

This was not a criticism, please do not take it as that.

Edited by TMP4 (see edit history)
  • Love 3
Link to post
  • Administrator
9 minutes ago, TMP4 said:

Nice tutorial, it is good to sum up it for beginners :)

 

Some things to mention:

 

1)


Actually, dungeons are not good to be in ch99 at the most cases, because if the map where you want to teleport from, and the dungeon is not in the same core, it won't teleport. If you want to place a dungeon to ch99, you have to make a "lobby" level, like demon tower level 1. That level of demon tower is not a dungeon yet, it will be ported to dungeon after we destroy the metin there. Also the dungeon must be in same core with the map where you want to teleport to the dungeon. For example if you want to enter a dungeon from Map1 what is in ch1 core1, the dungeon should be in ch1 core1. If it's in core2/3/x, then it will not teleport, and you'll get a syserr like "cannot create dungeon".

 

2)


If the coordinates of the map can't be divided by 256, it will cause a lots of problem. (2600000/256=10156.25 so it will be bad)

For example the server_attr will be slided, so the block, pvp, water areas will not 100% there where you placed, also if you go to the slide's opposite side you'll get kicked out because there is nothing there according to the server, because it is slided in the other way   

(This is because the maps are stricted to areas, and 1 area's size is 256x256)

 

Maybe it is hard to understand with just text so i gonna show it in a picture:

  Reveal hidden contents

If you check Ymir's maps, every default map can be divided by 256 to prevent this problem.

 

This was not a criticism, please do not take it as that.

 

If a map is not divided by 256, can it generate a syserr? :o 

logo.png

 

miaw-network.png

Link to post

Yes, if you walk to where there is no server_attr and you'll get kicked. (So walk around the very edge of the map)

It will generate something i beleive "cannot find sectree/coordinates"

 

But if the edges are all mountain so players can't go there, you'll only face by the slided attrs for pvp, water, block zones.

(maybe the regen/npc/stone.txt spawns are also slided but i'm not sure)

Edited by TMP4 (see edit history)
  • Scream 1
Link to post
13 minutes ago, [email protected] said:

Thank mate , but for maps with dosent have attr sv and cleint how we do ? =D

You can dump your server_attr based from the client's attr.atr files with that tool. It will be in the first page when you open the world editor.

  • Love 1
Link to post
On 6/29/2020 at 2:37 PM, Chyuae said:

You don't need to add package into Index file?

do you need too add index of map pack or not ?
 

 

and  town file how i can creat town place or but cords i want to be back after dead ??

Edited by green (see edit history)
Link to post
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.