Jump to content

MT2Dev

Active Member
  • Posts

    14
  • Joined

  • Feedback

    0%

About MT2Dev

  • Birthday 01/01/1997

Informations

  • Gender
    Male
  • Country
    Turkey
  • Nationality
    Turkish

Development

Recent Profile Visitors

675 profile views

MT2Dev's Achievements

Collaborator

Collaborator (7/16)

  • One Year In
  • Collaborator
  • Very Popular Rare
  • One Month Later
  • Week One Done

Recent Badges

189

Reputation

  1. INTRODUCTION & PROBLEM Hello, today we will fix a few errors, especially the error that caused the core down by giving an unexpected negative (-) arg (number) in the commands (Example; /mob 101 -1), and we will also regulate the use of "ChatPacket" in this functions. WHY ? GMs are already part of the team, you may ask why we need this, you are right, but do not forget that a GM who does not have coding knowledge may accidentally trigger this, let's not leave it to chance. SOLUTION The process we will do is simple, it will be enough to make sure that the given arg value is within the range we want, let's get started. [Hidden Content]
  2. We only have a very small part of the 200 GB leak, I would love to review the whole thing, maybe one day kraizy will return..
  3. It may challenge even someone with a good level of C++ knowledge, because it is a very poorly written game. The main things I can list are a unique homemade network packet system, an incredible amount of unused garbage code, systems written by different software developers in very different styles, and a lot of missing controls (especially the null pointer). It is not difficult to work on it, but it is difficult to make it problem-free, because it really has a lot of shortcomings. If you spend enough time in the Metin2 source to understand how it works and what it is connected to, you can master everything, but it will take years. Best Regards..
  4. Interesting topic, thank you Mali. I wonder if they also cleaned up the old and unused systems in the source? (Passpod, matrix card, pcbang etc.)
  5. Thanks for the fix, i think after that we need gonna add extra check for possible dupe problems we will face in the future. input_main.cpp Find; case HEADER_CG_ITEM_MOVE: Add Under; if (ch->m_pkTimedEvent) // DevFix 74 { ch->ChatPacket (CHAT_TYPE_INFO, LC_TEXT ("취소 되었습니다.")); event_cancel (&ch->m_pkTimedEvent); } I don't remember the exact time but WebZen add this check for almost all actions few years ago, this is not a "fix" exactly but extra check always needed, best regards. (PS; You can add this check for other actions, if you want tho.)
  6. I think OWSAP's ENB Mode what is your looking for, best regards.
  7. I'm not know what is your jigsaw event codes but logicly if your add the event flag check in play func, it's may be solve your problem, regards.
  8. Here is your advice; Open notepad++ and search "gold" in all src folders, check each one and make sure you have changed all int's to long long int, i'm pretty sure you forgot some of these, best regards.
  9. Thanks for the release but someone need to say it, it's look ugly af.
  10. I think that's not the right way to do it, we need this checks, so don't do this ! This is the correct place, change it like this; if (item->GetVnum() == 71151 || item->GetVnum() == 76023) { if ((item2->GetType() == ITEM_WEAPON) || (item2->GetType() == ITEM_ARMOR) || (item2->GetType() == ITEM_BELT)) { bool bCanUse = true; for (int i = 0; i < ITEM_LIMIT_MAX_NUM; ++i) { if (item2->GetLimitType (i) == LIMIT_LEVEL && item2->GetLimitValue (i) > 40) { bCanUse = false; break; } } if (false == bCanUse) { ChatPacket (CHAT_TYPE_INFO, LC_TEXT ("Àû¿ë ·¹º§º¸´Ù ³ô¾Æ »ç¿ëÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù.")); break; } } else { break; } } item2->ChangeAttribute(); Best Regards, MT2Dev.
  11. Hi, For FreeBSD 64 Bit compiling, you need to do too much change in your srcs. If you are new in this, you should stay away for this kind a big update. About 32 Bit machine, just use localhost server that's a best way to do it. Download a 32 bit freebsd .iso on the original site and make a your own local server with VirtualBox. There is too much video about to do this so feel free the check that, good luck. Best regards, MT2Dev.
  12. Hi, If you want to maximize your capacity, best way the do that; give 4GB Ram to each core. ( Ex; 3 Core to 1 Channel 4 * 3 = 12 GB, suppose there are 4 channels 12 * 4 = 48 GB ) So you need minimum 48 GB Ram, also you need new generation SSD and kind a new processor and lastly, good internet speed. Best Regards, MT2Dev.
  13. Hi Devs, Today i wanna share with you my version(edited for metin) of Artistic Style 3.1. [Hidden Content] [Hidden Content] [Hidden Content] What is this ? Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C++/CLI, Objective‑C, C# and Java programming languages. AStyle allows you to change your coding style in bulk without messing with files one by one. It is a great program for editing your sloppy and unsafe source code. (hi Korean devs..) This version edited by me is specially prepared for editing M2 source codes, it does not break the codes or file format. How To Use ? Download the repo, move the folders in your src, double click the .bat files (each folder) and thats it! Have fun, best regards, MT2Dev.
×
×
  • 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.