Jump to content

arves100

Former Staff
  • Posts

    620
  • Joined

  • Last visited

  • Days Won

    18
  • Feedback

    100%

Posts posted by arves100

  1. We do have the torrent patch source code inside the leaked src, we can also see the resources matches.

    I had no idea n2 used some portion of it, understandable actually I know nova and the other guys who got the full original leak of ymir has the src. (Not us that we only got the Metin2 one)

    I also believe SG people have the src as well as they used to have the src before the leaks according to some leaked emails

  2. On 1/21/2024 at 3:13 PM, Fuazmens said:

    looks like the korean folks didnt like it too much so it seems like ymir lost interest in this game after the second closed beta pretty quick. webzen does have the full source + assets but they probably are not interested either. so i fear the best chance we might have is to wait until "kraizy" blesses this community again...

     

    actually they have started to recycle some inferna stuff into metin and vice versa (the snowman & few others) - who would have thought 🙃

     

    Ingame screenshots:

      Reveal hidden contents

    .jpg
    .jpg
    .jpg
    .jpg

     

    From what we know yes the game didnt receive good reviews in south Korea, the project was dropped around 2010 I think according to the page that was shutted down in web archive. The game did receive some stuff in German forums but that's all. We know that in 2013 leak of the Metin2 source code, the whole entirety of ymir assets and game were leaked, including also metin1 and inferna, so we know that some people might still have the source but we will probably never see a leak.

    The game also used ypk and yix and some common libraries which we found the source inside mainline extern, we don't have the source but mantle, earth, ymirbase and ymirnetwork were all used for the project.

    According also to some KR posts of my Evan and the python UI leak they had used more proper things (like decorations) and probably even wxWidgets. We have some proof from there that the client was branched out of the original Metin2 client, probably the server also like Metin2 server had some stuff of metin1.

    Also no setup that I'm aware of was ever saved, neither from the web archive and neither from any Korean place that I searched (never, some posts on never cafe and Emule or a Korean torrent)

    • Smile Tear 1
    • Love 2
  3. Thank you for posting this, we know back in 2008 people on epvp used to have a game client and that the source code were leaked along with the famous 2013 ymir source code leak, but neither a client or any source code ever emerged online, I've tried to contact some people who had the client but it looks like nobody even has it.

    We know that the game uses a modified version of the Metin2 engine and it can be considered something like Metin2 2.0 in terms of how it works, some Python files have been posted in this forum in the past.

    I also hope one day more things of this game will be playable

    • Good 1
    • Love 2
  4. On 7/24/2021 at 1:30 PM, narcisxb said:

    I love the ideea! Keep it going and please, for the love of God, keep us updated. xD


    The project and the repo is still there, but we currently don't have a lot of time to focus on it, I'll see if I can do some things (I expected to do them this month but xD)

     

  5. 23 minutes ago, Karbust said:

    The project is dead.

    Nobody has officially declared the death of the project lmao, we just haven't found some time to work on it yet (I hope to restore some work on july)

    • Love 2
  6. Welcome hopeless developers, in an attempt to reduce some random questions, and considering I haven't found anything about this there, I'll share this small method to fix the packet errors, which requires thinking.
    There's no copy/paste here as it requires you to think of what you modified.

    This tutorial is, of course, indented for new people not for the rest.

    If you are interested in how to make a new packet, head here:


    What is it and how metin2 implementes it?

    Keeping things simple and understandable, a packet is an information exchanged between the Client or the Server. For example, when you press the button Space (to attack), the client will send an information (which is a packet), which will tell the server that we attacking the player Shiba324.
    Read this if you are more interested: https://en.wikipedia.org/wiki/Network_packet

    Each packet needs to be identified in an unique way between client and server otherwise the client or server won't understand which thing you are sending, that's why each packet of Metin2 starts with "BYTE bId".

    We see this numbers inside an enum block (like PACKET_CG_LOGIN2 which identifies the login packet), while it's content is defined inside a struct block (like TPacketGCLogin2). The files which this packets are defines are Packet.h inside UserInterface and game/src.
    There are two packet types, dynamic and static, the static ones have a fixed length (the structure size), the dynamic have an extra data called (length, usually WORD),  which tells the game the size of it.

    All the packets have a nomenclature, which I'll explain here:
    CG -> Client to Game (sent by the client)
    GC -> Game to Client (sent by the server)
    GG -> Game to Game (used by P2P packets for communicating two cores with eachother)


    Before seeing how to fix the errors, there's another thing that I will explain called Sequence system.

    What is the sequence system?
    It's a system introduced in newer clients (like 34k).

    It's basically a check which the client will send an extra data after a packet, and the server will verify if it's correct, in case it's not it will kick the player out of the server.

    The verision system works by sending a different number each time a packet is sent or received to the server, the client can send up to 32768 unique numbers before resetting itself to 0 (it's stored in a big array).

    Error type 1:
    Unknown packet header: XXX, last: YYY ZZZ

    Number explanations:

    XXX is the packet that the game/client cannot handle

    YYY and ZZZ are the last two packets sent before this error (usefull for investigating what packet caused this error)


    This error can happen before of the following issues:

    1. You modified the source and you haven't added inside PythonNetworkPhaseGame.cpp or packet_map.cpp the packet
    2. You have a packet which size mismatches between client and server

     

    Error type 2:
    SEQUENCE XXXXXXX mismatch 0xYY != 0xZZ header KK

     

    This error could happen for some reasons:

    1. You specified a packet which uses the sequence in packet_info (last value true/false) and in the client you forgot to add "SendSequence()" or viceversa
    2. You have a packet which size mismatches between client and server (the server is thinking a packet data is a sequence data)

     

    Error type 3:
    We don't really have syserrs here but we can see the client fuzzying around or doing wacky things (even crash at some point!) or the server/client fails to process all the data sent.

    This error could happen for some reasons:

    1. You have a packet which size mismatches between client and serve
    2. You forgot to add a Send() or forgot to Recv() the data inside the client

     

    tl;dr: always check for the following things if you are unsure:

    1. Check if you have added SendSequence and modified the true/false in packet_info (if you use sequence system)
    2. ALWAYS CHECK if Packet.h has the same ID and structures
    3. Check what action causes the issue so you can track down the code
    4. Always check the last headers sent, most of the time is just a byte not sent at the end
    5. Always check your implementation of input_main (Server) and PythonNetworkPhaseGamexxxxxxx (Client)

     


    Pro hack tip: __PACKETDUMP__ and ENABLE_SEQUENCE_SYSTEM are cool bois.
     

    Good luck.

    • Metin2 Dev 25
    • Smile Tear 1
    • Scream 1
    • Good 11
    • Love 2
    • Love 17
  7. This is the hidden content, please

    Metin2 Download

    Hello maniacs,

    I've made this post mostly to share knownledge, studies or questions about the Metin1 Server files (2008)

     

    I personally tried, and failed, to start the files correctly on a modern FreeBSD machine (due to issues with localization) I suppose some patching to the game will be required to get that running.

     

    This is the link to the server files:

    If you install FreeBSD 5 + Mysql 4 it should work

     

    I'll try to update this topic when I have time with some stuff I found on the files, but everyone can join I guess

     

    Here's some stuff I've discovered:

    Command lines

    "(-- )( --)" -> full screen "( --)(-- )" -> windowed

     

    Root files

    if the file "newpatch.exe" is found, MTS will launch "MetinPatchUpdater.exe" This behavour is similar to what METIN2 does when it launches PatchUpdater.exe is newpatch.exe is found

    if a file called "console" is found, MTS will create a probably DEBUG console

    If you create a file called "patch.exe" MTS will try to move "patch.exe" into "metin.exe"

     

    Tar unpacker

     

    This is a quick python unpacker of MTS files

    This is the hidden content, please

    You can also find a complete explaination of the file format here: https://metin2.dev/wiki/index.php?title=TarPackage

     

    Good luck with your experiments

     

    • Metin2 Dev 67
    • kekw 2
    • Eyes 2
    • Dislove 5
    • Not Good 1
    • Sad 2
    • Cry 1
    • Smile Tear 2
    • Scream 1
    • Good 24
    • Love 4
    • Love 32
  8. M2 Download Center

    This is the hidden content, please
    ( Internal )

    The new Metin2 client modified the way it loads the pack/Index file, while I can't be sure this changes are 100% identical to the official server, it work without a lot of issues.

    The second changes that the official server did, was changing the loading of Minimap waypoints (stored in locale/xx/map).

     

    You can find the two changes here:

    This is the hidden content, please

    This is the hidden content, please

     

    Good luck.

     

    (EDIT: I realzied later Penger already released the MarkInfo and I realized that after making this release lmao rip)

    • Metin2 Dev 97
    • Eyes 1
    • Dislove 2
    • Angry 1
    • Not Good 1
    • Sad 1
    • Think 2
    • Confused 1
    • Scream 2
    • Lmao 3
    • Good 22
    • Love 8
    • Love 24
  9. 1 hour ago, NinjaForcePT said:

    Being a open source core made by you does GameForge have rights to apply legal implications against Private Servers? I mean they dont own the core..

    they can't take down the core source code, but they can still take down any pserver (use of the client,use of assets, ...)

  10. 6 hours ago, Hik said:

    When I enter this command:

     

    
    ./vcpkg install devil cryptopp boost-system boost-container boost-unordered boost-algorithm boost-pool

     

    I get this error:

     

    
    Error: invalid triplet: x64-freebsd
    Available architecture triplets


     

    You can't build on a 64-bit freebsd due to cmake, crosscomplain boring things (blame FreeBSD bad multilib support)

    I have not submitted any patches to vcpkg to integrate a freebsd toolchain, so chances are you won't be able to build it until you make your own (I don't have a freebsd machine to do it atm)

  11. On 12/8/2020 at 5:42 PM, FuffyMiao said:

    Hello

    I'm FuffyMiao in real life my name is Symon!

    I'm Mapper, Youtuber, And pvserver Admin of yuhara2.com

    I hope to find myself well on metin2dev
     

    Have a nice evening to all! 

    Fuffymiao?  is this real?

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