Aller au contenu
Top-Metin2.org - Vous êtes à la recherche d'un serveur Metin 2 ? ×
×
×
  • Créer...

Set up your client for the first time


Metin2 Dev

Messages recommandés

  • Robot

 

Required Level  : Beginner

Estimated Time : Between 5 & 10 minutes

 

Hello everyone,

 

The configuration of your client is a crucial step to the creation of a private server Metin2, it should be known for example that we do not yet have solutions to run the 2013+ files under no-ip and Hamachi publicly. (with players)

 

About : You will need to bring of Notepadd++, and Eternexus (Files 2013-). or EterManager (Files 2013+).

 

  • Notepad++ : 

    Hidden Content

      Give reaction to this post to see the hidden content.
  • EterManager : Download
  • Eternexus : Download

 

Configure your client

 

To get started please depack your root file located in your client's pack folder.

After that, open the serverinfo.py file with Notepadd ++ and let's analyze the lines a bit.

import app

app.ServerName = None

STATE_NONE = '...'
		
STATE_DICT = {
	0 : '....',
	1 : 'NORM',
	2 : 'BUSY',
	3 : 'FULL'	}

SERVER1_CHANNEL_DICT = {
	1:{'key':11,'name':'CH1   ','ip':'YOUR-IP','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},
	2:{'key':12,'name':'CH2   ','ip':'YOUR-IP','tcp_port':62210,'udp_port':62210,'state':STATE_NONE,},
	4:{'key':14,'name':'CH3   ','ip':'YOUR-IP','tcp_port':62310,'udp_port':62310,'state':STATE_NONE,},
}
REGION_NAME_DICT = {
	0 : 'TAIWAN',
}

REGION_AUTH_SERVER_DICT = {
	0 : {
		1 : { 'ip':'YOUR-IP', 'port':11002, }, 
		
		}	
}

REGION_DICT = {
	0 : {
		1 : { 'name' : 'SERVERNAME', 'channel' : SERVER1_CHANNEL_DICT, },
		},
}

MARKADDR_DICT = {
	10 : { 'ip' : 'YOUR-IP', 'tcp_port' : 13001, 'mark' : '10.tga', 'symbol_path' : '10', },
	}

TESTADDR = { 'ip' : 'YOUR-IP', 'tcp_port' : 50000, 'udp_port' : 50000, }

STATE_NONE = The status of your Server when it is closed (Default ... which you can change to Closed)

STATE_DICT = The different status of your server writes ( ... = Reboot, NORM = Open, BUSY = BUSY, Full = FULL)

 

Let's go to the most important, the lines below. First of all did not put the same figure for two CH.

 

CH1,CH2 = The names of the channels that you can modify (Example: Channel, Channel, World, Dimension etc ...)

YOUR-IP = This is important because it's the first thing to change !

  • Local: You will need to set your IP address from 192.168, (it is the IP that you return the console when you run the ifconfig command).
  • Hamachi: For you and only you (admin) you have to put your ip hamachi ending with .100 (Example your ip is 23.65.124.27 you will have to put 23.65.124.100) If you have players (2013- files) put your normal ip hamachi (using the example before 23.65.124.27)
  • NoIP: For you and for you alone (admin), you must place your ip router (192.168.X.X) and for your players, you must put the no-ip domain which provides you no-ip.org. (Example: exemplemt2.no-ip.org)
  • Dedicated: Just put the IP that gives you your host, whether it's for you or your players.

 

tcp_port & udp_port = This must correspond to the port used by the channel (take the port of core2 if you are under 2013+) the port is available in the CONFIG files of your channel

HOSTNAME: channel1_core2
CHANNEL: 1
PORT: 13001
P2P_PORT: 14001
DB_PORT: 15000
DB_ADDR: localhost
MAP_ALLOW: 21 22 23 24 25 26

Go down a little further, you will find YOUR-IP replace them as explained above.

Also check the auth port at this code:

REGION_AUTH_SERVER_DICT = {
	0 : {
		1 : { 'ip':'YOUR-IP', 'port':11002, }, 
		
		}

Check if the port is the same as the one declared in the CONFIG file of your auth.

HOSTNAME: auth
CHANNEL: 1
PORT: 11002
P2P_PORT: 12000
DB_PORT: 15000

So, if you go down, you will find YOUR-IP replace again depending on your type of server !

At this code, you can add the name of your server:

REGION_DICT = {
	0 : {
		1 : { 'name' : 'SERVERNAME', 'channel' : SERVER1_CHANNEL_DICT, },
		},

Once this done all your serverinfo is configured! In this case save your work and repack it !

 

End of the tutorial !

 

If you have any problem with this topic, I invite you to create a help request in the support section.

This tutorial is based on that of Calypso with some additions

  • Metin2 Dev 1
  • Love 11

french_banner.gif

Lien vers le commentaire
Partager sur d’autres sites

  • 6 mois après...


  • brilliantdiscord_widget
  • Flux d'Activité

    1. 21

      Metin2 en 2020 peut-on en parler?

    2. 0

      METIN2Project

    3. 3

      Ressources - UnPack - Metin2 Client - Officiel

    4. 0

      Barre des tâches d'argent étendue

    5. 16

      Redémarrage automatique des channels

    6. 16

      Multi Logo GM / SGM / GA

    7. 0

      comment extraire les fichiers locale.epk locale.eix sur le serveur officiel ?

    8. 2

      Funky-emu.net -> fr.metin2.dev

  • En ligne récemment

    • Aucun utilisateur enregistré regarde cette page.

Information importante

Conditions d’utilisation / Politique de confidentialité / Règles / Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.