Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/26/19 in all areas

  1. M2 Download Center Download Here ( Internal 2.9 ) Download Here ( Last Release ) This is an archiver I've created, and it looks quite stable so far. The PackMakerLite (PML) supports type 0-1-2-3-4-5-6. As a summarize, the metin2 types are handled like this: Type 0 - only storage (no encryption/compression; it can be read fully from the .epk) Type 1 - compressed - lzo(file) Type 2 - compressed and encrypted - xtea(lzo(file)) Type 3 - encrypted with Panama - you must save an .iv key server-side in the panama/ folder. (content readable only after auth phase) The official used it only for patch2. Type 4 - encrypted with a mix of ciphers (cshybridcrypt) - you must save a .dat key server-side in the package/ folder. (content readable only after auth phase) Practically all the metin2_patch files. Type 5 - like type 4, but a server-side map/<map_name> is also provided. (content readable only after accessing the <map_name> map as a player) The official used it only for the catacomb data. Type 6 - compressed and encrypted - xtea(snappy(file)) Usage: Its settings (xtea keys, extensions, pack types to use) can be changed inside PackMakerLite.json: You can actually integrate the tool in the menu context (running the .reg files) for packing folders and unpacking .eix files: Remove "--nolog" from the .bat files if you want to see the logs again. Command-line options get overwritten by JSON config options. Last but not least: since the client handles all the filenames in lowercase, this tools automatically converts them as well. Thanks also to: blackdragonx61 / Mali - type4-5 extract code / type 6 compress code metin2team - type6 extract code By martysama0134
    1 point
  2. M2 Download Center Download Here ( Internal ) Download: Forevermetin2.rar (80.92 MB) Forevermetin2 Summary Do you want to start mapping, modelling or create your own pserver? Then you can have a look at FEM2. The foundation is finished and things are being added. It is made with love, and wants to be treated with love. Before you read on I am still on it, and I will continue to run this project. Although I'm not very active, but it's a long-term project. I dedicate it to the metin2 community. If you want to release this tool somewhere else you are welcome to do so. The best thing is to mention this original thread in the credits. I myself only release it on metin2.dev as I am not active anywhere else. mostly I just keep a lookout for files that are being searched for. Interfaces or Maps Download and test it for yourself These threads were linked in Forevermetin2 FAQ Credits Kind regards Ace
    1 point
  3. auto it_tree = m_neighbor_list.ebing();
    1 point
  4. cmd.h open: search> extern void SendNoticeMap(const char* c_pszBuf, int nMapIndex, bool bBigFont); add on top> extern const char * userDC(const char * userName); cmd_gm.cpp open: search> void SendLog(const char * c_pszBuf) { const DESC_MANAGER::DESC_SET & c_ref_set = DESC_MANAGER::instance().GetClientSet(); std::for_each(c_ref_set.begin(), c_ref_set.end(), log_packet_func(c_pszBuf)); } add on top> const char * userDC(const char * userName) { LPDESC d = DESC_MANAGER::instance().FindByCharacterName(userName); LPCHARACTER tch = d ? d->GetCharacter() : NULL; if (!tch) { return "Player not in game"; }else{ DESC_MANAGER::instance().DestroyDesc(d); return "Player kicked out"; } } input.cpp open: search: else if (!stBuf.compare(0, 3, "DC ")) change code completely else if (!stBuf.compare(0, 3, "DC ")) { std::string msg = stBuf.substr(3, LOGIN_MAX_LEN); /// dev_log(LOG_DEB0, "DC : '%s'", msg.c_str()); stResult = userDC(msg.c_str()); /*TPacketGGDisconnect pgg; pgg.bHeader = HEADER_GG_DISCONNECT; strlcpy(pgg.szLogin, msg.c_str(), sizeof(pgg.szLogin)); P2P_MANAGER::instance().Send(&pgg, sizeof(TPacketGGDisconnect)); // delete login key { TPacketDC p; strlcpy(p.login, msg.c_str(), sizeof(p.login)); db_clientdesc->DBPacket(HEADER_GD_DC, 0, &p, sizeof(p)); }*/ } @xP3NG3Rx @WeedHex Test:
    1 point
×
×
  • 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.