Rumor

Fully untouched 34083 server files & DB

356 posts in this topic

For years now we've relied on various file leaks which were usually in some Asian language, up until 2010 when someone (nico_w?) released the SG database. Even after this date, we continued to use our old file structures and methods, and old bash scripts to manage our servers. In 2013, some files were released which came from a private server that was based off the SG files. This isn't a thread to talk about who's right or wrong, or who did what work or anything like that... just a place to release files. The reason this release is beneficial is we've never really had a full release of "clean" and "untouched" files. Every time someone releases files they have some stupid backdoor added or are heavily modified from the original. The goal of this release is to get the files to be as close as possible to an official server, and remove things like Xtrap which none of us are using anyway. Official files is what all the pservers are based off of, so having the official structure just makes sense. There are several threads online with files that have been modified by some person but I never see threads with the files the way they originally came.

These files in the game folder are from July, 2013 and the game/db cores are fully unmodified and straight from YMIR. That includes lack of modification to make them compatible with certain clients or anything like that. Garbage files like old logs are removed and ready to be generated when you launch your server. These are meant to be a "base server" for the one you want to create. For this reason, there are no customized quests or new items and stuff like that. It's only what SG had in 2013 of July.

The database structure is the one from this thread: http://metin2dev.org/board/topic/174-complete-34k-db-structure/#entry950

The item_proto and mob_proto is the one from SG in July 2013. I've included a tool in the download as well used to dump the server proto to the client.


Since the goal is purity of files, but some files had to be slightly modified for simplicity (and so they run at all) here's the list of things changed/removed:

- Removed panama folder.
- Removed old log files and pid files, etc..
- Removed Xcrap stuff
- Removed all traces to the above (Symlinks) from install.sh.
- Removed cshybridcrypt files.
- Modified CONFIG file to guide you into configuration for your own usage.
- The quests are from the leak of pserver files based off SG. Some of these may or may not work fully.
- Timebomb fix applied (Updated: March 13th, 2014)



Now in order to use these files:

1. Upload and untar the database and server files. "untouched_34083_db.tar.gz" goes in "/var/db".
2. Navigate with PuTTy to the game folder as a root user and run this command: "chown -R metin2 .".
3. Navigate to the game folder as the metin2 user and run install.sh. This will setup all the permissions and symlinks correctly.
4. Restart your database with the command "service mysql-server restart".


The server can be started and stopped by executing "run.sh" and "shutdown.sh" and logs can be cleared by executing "clear.sh". All of these are found in the game folder. Make sure to "/shutdown" ingame before using "shutdown.sh" or you may have data loss. Don't be alarmed when running the shutdown script, it's normal for PuTTy to not give you a prompt for a while (you haven't disconnected from SSH).


How to convert the database proto to a perfect client-side proto:

1. Grab the following files from the conf folder in the server files:

mob_proto.txt
mob_names.txt
item_proto.txt
item_names.txt

2. Put those files in a folder with the "dump_proto.exe" tool and run it. It will automatically generate the protos for your client assuming you have followed the correct structure of the txt files.




Download:

https://mega.co.nz/#!aNp3CJCa!UYpjfJvzWPDejhOTysXTqa-o0bQ_JsC5Q6emudCCQc4 (Updated: March 13th, 2014)
- No password (I don't believe in putting passwords on archives released to the public).

  • Like 34
  • Thanks 1

Share this post


Link to post
Share on other sites

I haven't tried that one but I know that 34669 and 36469 work. I don't have 34669 on hand but I have these 36469 ones working with 34083.

 

hackshield edition: https://mega.co.nz/#!WURm1QCY!v2d9s6KVBEtKYl21JQe1GtcHoQVe3KId8r9PpK3Rnlc (just copy hshield from official client)

 

non-hs edition: https://mega.co.nz/#!uQ5RhD5A!KkCCyZdrBtQdotuinVHbGze8odc6gqaOfO2yMRPCJjA

Share this post


Link to post
Share on other sites

yeah looks normal :)

 

by the way, cd means change directory, you don't need to do it every time you want to stay in the same folder before doing another command.

  • Like 1

Share this post


Link to post
Share on other sites

I use freebsd 8.3 32bit and in /usr/locale/lib/metin2 i dont have any libs... can you upload libs?
Thank you, and thank you for files and great support!

Share this post


Link to post
Share on other sites

Server not start, when i open config file from channel, config files haven't set map-allow and etc... sorry for my english

 

When you start with this script, it doesn't show you all the start data like how most admins of pservers are used to. The cores are launched in vrunner. Type "ps" to see what's running. 

 

How do i move the files to cd /usr/home?

Best Regards.

 

 

Here's an example of how to move the files in PuTTy, assuming that /home/metin2 is the directory where your files currently are.

mv /home/metin2 /usr/home
mv = move

/home/metin2 = current directory you wish to move

/usr/home = directory you want to move the entire "metin2" folder to

 

I use freebsd 8.3 32bit and in /usr/locale/lib/metin2 i dont have any libs... can you upload libs?

Thank you, and thank you for files and great support!

 

The libs don't belong in that directory. For a 32-bit system they belong in /usr/lib32.

 

https://mega.co.nz/#!gJZ3WKLA!Idqx_SYE4cqQ_wPfcj-ObWvdsCYEv0SSoBViyVUDIOY

  • Like 2

Share this post


Link to post
Share on other sites

It looks like something is missing that allows the game to be launched at all.

You could try this..

1) go to where your metin channels are..

2)

cd channel1/first && ./game &
3) After it's done sending text in PuTTy do CTRL+C.

You should see some output when starting the server this way.

Share this post


Link to post
Share on other sites
root# cd /home/game
root# cd channel1/first && ./game &
[1] 1649
root# /libexec/ld-elf.so.1: Shared object "libmd.so.4" not found, required by "game"

I wrote it right?

Share this post


Link to post
Share on other sites

Yes, you're missing the libs. Try this:

fetch http://176.31.181.168/libs.tar.gz
tar Jxpvf lib.tar.gz -C /
rm lib.tar.gz
Then try starting the server

Share this post


Link to post
Share on other sites

root# cd auth && ./auth &
[1] 2097
Dexter# PUBLIC_IP: MY IP interface em0
HOSTNAME: Auth01
AsyncSQL: connected to 127.0.0.1 (reconnect 1)
CommonSQL connected
COMMON_SQL: DirectQuery failed : SELECT mKey, mValue FROM locale

And this is new error :(:D

Libs working perfectly!

Share this post


Link to post
Share on other sites

root# cd auth && ./auth &
[1] 2097
Dexter# PUBLIC_IP: MY IP interface em0
HOSTNAME: Auth01
AsyncSQL: connected to 127.0.0.1 (reconnect 1)
CommonSQL connected
COMMON_SQL: DirectQuery failed : SELECT mKey, mValue FROM locale
And this is new error :(:D

Libs working perfectly!

Take a look in your files for the country name in the locale folder:

6ZCgJ.png

Make sure this is the same name when you check the database:

6ZCix.png

6ZCkV.png

  • Like 1

Share this post


Link to post
Share on other sites
/*
Navicat MySQL Data Transfer

Source Server         : Metin2Nirvana@CloudCom
Source Server Version : 50616
Source Host           : 
Source Database       : common

Target Server Type    : MYSQL
Target Server Version : 50616
File Encoding         : 65001

Date: 2014-02-17 07:54:27
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for `locale`
-- ----------------------------
DROP TABLE IF EXISTS `locale`;
CREATE TABLE `locale` (
  `mKey` varchar(255) NOT NULL DEFAULT '',
  `mValue` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`mKey`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- ----------------------------
-- Records of locale
-- ----------------------------
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL_TYPE0', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL_TYPE1', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL_TYPE2', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL_TYPE3', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL_TYPE4', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL_TYPE5', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL_TYPE6', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL_TYPE7', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');
INSERT INTO `locale` VALUES ('LOCALE', 'singapore');
INSERT INTO `locale` VALUES ('DB_NAME_COLUMN', 'locale_name');
INSERT INTO `locale` VALUES ('SKILL_DAMAGE_BY_LEVEL_UNDER_90', '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0');
INSERT INTO `locale` VALUES ('SKILL_DAMAGE_BY_LEVEL_UNDER_45', '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0');
INSERT INTO `locale` VALUES ('SKILL_POWER_BY_LEVEL', '0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125');

Run this query

  • Like 2

Share this post


Link to post
Share on other sites

Thank you, server started. And finish question:

Ports: 

CH1: 13001

Auth: 11000

Its okey?

SYSERR: Feb 17 16:26:56 :: pid_init: 
Start of pid: 1419

SYSERR: Feb 17 16:26:56 :: socket_connect: HOST 127.0.0.1:15000, could not connect.
SYSERR: Feb 17 16:26:59 :: socket_connect: HOST 127.0.0.1:15000, could not connect.
SYSERR: Feb 17 16:27:02 :: socket_connect: HOST 127.0.0.1:15000, could not connect.
SYSERR: Feb 17 16:27:05 :: socket_connect: HOST 127.0.0.1:15000, could not connect.
SYSERR: Feb 17 16:27:08 :: socket_connect: HOST 127.0.0.1:15000, could not connect.
SYSERR: Feb 17 16:27:11 :: socket_connect: HOST 127.0.0.1:15000, could not connect.
SYSERR: Feb 17 16:27:14 :: socket_connect: HOST 127.0.0.1:15000, could not connect.

;( :D

 

EDIT: OK, fixed and work great, thank you for support! Have a nice day ;)

Share this post


Link to post
Share on other sites

check if mysql is running:

service mysql-server status

If it isn't running, start it:

service mysql-server start

Did you make sure the CONFIG files have the correct username/password to connect to the database?

 

Also have you granted privileges to the user?

Share this post


Link to post
Share on other sites
SYSERR: Feb 17 20:03:46 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Feb 17 20:04:01 :: socket_bind: bind: Address already in use
SYSERR: Feb 17 20:04:01 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Feb 17 20:04:02 :: pid_deinit: 
End of pid

SYSERR: Feb 17 20:04:02 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Feb 17 20:04:09 :: pid_init: 
Start of pid: 1992

SYSERR: Feb 17 20:04:09 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Feb 17 20:04:20 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='IP.IP.IP.IP')
SYSERR: Feb 17 20:04:20 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='IP.IP.IP.IP')
SYSERR: Feb 17 20:04:38 :: Process: FDWATCH: peer null in event: ident 24
SYSERR: Feb 17 20:04:39 :: Process: FDWATCH: peer null in event: ident 23
SYSERR: Feb 17 20:04:42 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='IP.IP.IP.IP')
SYSERR: Feb 17 20:04:42 :: socket_bind: bind: Address already in use
SYSERR: Feb 17 20:04:42 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='IP.IP.IP.IP')
SYSERR: Feb 17 20:04:46 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Feb 17 20:04:47 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Feb 17 20:04:48 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='IP.IP.IP.IP')
SYSERR: Feb 17 20:04:49 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='IP.IP.IP.IP')

This is DB syserr...

When i try to login, klient only flash and kick to login screen...

(Sorry for my crap english)...

 

Share this post


Link to post
Share on other sites

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

  • Recently Browsing   0 members

    No registered users viewing this page.