Jump to content

How to create a Metin2 private server on dedicated server with Metin2 Project


Message added by AZICKO,

In dev, please use this project ⬇️

 

Recommended Posts

6 minutes ago, ASIKOO said:

 


UPPER(CONCAT('*', SHA1(UNHEX(SHA1(___my___password___)))))

you can use this instead of the old PASSWORD() function.

Tankyou but

$pass="asikoo";
$hash = UPPER(CONCAT('*', SHA1(UNHEX(SHA1($pass)))));
echo $hash;

return

PHP Fatal error: Uncaught Error: Call to undefined function UPPER()

Link to comment
Share on other sites

  • Management
Just now, CjMt2 said:

Tankyou but


$pass="asikoo";
$hash = UPPER(CONCAT('*', SHA1(UNHEX(SHA1($pass)))));
echo $hash;

return

PHP Fatal error: Uncaught Error: Call to undefined function UPPER()

it's a MySQL query (not php)

Link to comment
Share on other sites

This is from my auth server (compiled game_debug from source):

...
Apr  6 22:26:22.511710 :: Cube_Init locale/france/cube.txt
Apr  6 22:26:22.515996 :: Blend_Item_init locale/france/blend.txt 
Apr  6 22:26:22.540655 :: [PackageCryptInfo] . is not crypt file. pass!
Apr  6 22:26:22.540687 :: [PackageCryptInfo] .. is not crypt file. pass!
SYSERR: Apr  6 22:26:54.340195 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
Apr  6 22:26:54.340366 :: <shutdown> Starting...
Apr  6 22:26:54.340423 :: Queries 0
Apr  6 22:26:54.340453 :: <shutdown> Destroying CArenaManager...
Apr  6 22:26:54.340485 :: <shutdown> Destroying COXEventManager...
...

All channels (cores) is up with same game_debug, just auth is down

Update:

pkg remove cryptopp && cd /usr/ports/security/cryptopp/ && make install clean

and auth is up and running

Edited by CjMt2
solution
Link to comment
Share on other sites

When I pass from map 1 to map 2 (on the red kingdom) can pass through the portal but when I come from map2 on map1 I can no longer pass through the portal.
I know I have to go to /usr/m2_project/2014.1/resources/locale/france/map but I don't know what the name is for map2 so I can't check npc.txt.
Also, I don't know what is vnum or another keyword to look for in mob_proto to find that portal.

Link to comment
Share on other sites

  • Management
7 hours ago, Kirisanga said:

Asikooo where is the pack.eix ? i only see pack.epk ?

You can delete it. It is not useful. (normally)

Link to comment
Share on other sites

  • 2 weeks later...

Hey asikoo, thanks for the tutorial!

I've done every step and i'm almost there :)

Spoiler

[X1GLN5V.png

 

I mean my server is online right? But when i'm trying to connect to, the channels seems to be offline:

Spoiler

zEGZxRy.png

The serverinfo.py of root arquive is already changed to the Virtual Machine IP in localhost line, what should I do?

Thanks!

Edited by Metin2 Dev
Core X - External 2 Internal
  • Good 1
Link to comment
Share on other sites

  • Management
4 minutes ago, deathga said:

Hey asikoo, thanks for the tutorial!

I've done every step and i'm almost there :)

  Reveal hidden contents

 

I mean my server is online right? But when i'm trying to connect to, the channels seems to be offline:

  Hide contents

zEGZxRy.png

The serverinfo.py of root arquive is already changed to the Virtual Machine IP in localhost line, what should I do?

Thanks!

recompile everything with m2sh 

in this order (one per one):

310 307 308 309 305 306 304 303 302 301

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
Link to comment
Share on other sites

7 hours ago, ASIKOO said:

recompile everything with m2sh 

in this order (one per one):

310 307 308 309 305 306 304 303 302 301

it's done, in the end of '302' and '301' there's errors, and the client still not connecting :( 

maybe it's a virtual machine problem?

Spoiler

beR2ZlA.png

2v1fOU2.png

EDIT: Recompiled it all again without the errors, but the client still unable to connect in server channels...

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 2 weeks later...
  • Management

As I indicated, I did not thoroughly test the serverfiles. Currently I am working on Metin2 Download, I will check for issues a bit later.

  • Metin2 Dev 1
Link to comment
Share on other sites

  • 3 weeks later...

Hello guys,

First of all, thank u for the effort of making this great tutorial, I really appreciate it. 

I followed the step by step and everything went great until the compilation, let me explain. 

When I tried to compile the DB src (302) with the shell, it printed me 60k lines in the terminal with some errors. I executed the following order 310 309 306 305 304 307 308 303 before the 302

Here are some screenshots:

1:

spacer.png

 

2:

2.png

 

3:

3.png

 

I remain at your entire disposal for any extra information. 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Good 3
Link to comment
Share on other sites

  • 2 weeks later...

Hello, I managed to install the server with all the steps  as the guide mentioned, however after starting the server i logged in everything was working properly I guess, but after rebooting 
the state of the CHANNEL 1 all cores needs cleaning same for CHANNEL 99 and for AUTH  and the server doesn't start.

I checked the syserr_start  and syslog_start for every one and the only error msg I found in all of them was Cannot get public ip address.

I tried to get some info before posting it without any luck except a post here mentioning that I should edit game file and replace 192.168 with 999.999.

Something I forgot to mention is that I already compiled everything and If someone has the knowledge and the time to answer I would like some explanation and not only the solution.

Thank you for your time.

  • Sad 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 3 weeks later...
On 6/10/2021 at 12:07 AM, Ace628 said:

i cant connect with navicat.. i dont know what i do wrong i use the ip from the virtualbox and the id: root und

passwort: dev 

 

Start your FreeBSD vm and connect via PuTTY. Then connect to your mysql server as root user with the password option.

This is the hidden content, please

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 19
  • Eyes 3
  • Dislove 2
  • Angry 1
  • Sad 2
  • Think 1
  • Lmao 1
  • Good 7
  • Love 3
  • Love 13
Link to comment
Share on other sites

  • 2 weeks later...

Hey guys,

The server is currently running, thanks for the great description!
But ... currently I have the "0 Yang / Not enough Yang" error, I can't buy itemshop things from Gemi. E.g .: Wind shoes and (+), valor cloaks, enchant an object & bless.
Even through Googling I didn't get any helpful information, the Gold & Shop_Buy_price in the database had already changed to 1/10/100 ... No changes.

That's why I urgently ask for help!

Does anyone also know on which Dif base / version the files run? I haven't been able to find out any information about this at the moment.

1

2

 

Greetings!

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



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