Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/02/21 in all areas

  1. This tutorial is going to teach you how to compile, run and configure a server on Windows. I needed something like this a few days ago and since it doesn't exist, I decided to make it There is no addition or modification in the source or client (except for small bonuses). 0. Beginning At the end of the topic there will be two links where you will need to download: Client + Server + Source MySQL The client is based on the Metin2 Client fur r40250, I just edited it to have the classic format. Regardless the Server and Client source. 1. The files We will need to download the following files: Visual Studio Community 2019 - In order to compile both the server and the binary, we're going to need this MySQL - Connect and create the database 2. Installing The installation is easy enough for me to consider that I don't need to spend much time on this, however I hope this two pictures will facilitate (more) on what you need to do: Visual Studio Community Note: You actually just need the MSVC v142, C++ CMake, C++ ATL, C++ MFC and C++/CLI for this to work MySQL: Warning: In this tutorial we're going to use Mysql Server 5.7.33 X64 but you can (must) upgrade it to 8.0 2.1 Installing Server / Client / Database Here you need to pay attention because there's a limitation: Warning: You must unzip the file "dev" on C:\ If you don't want, follow the Mali61's topic and you need to create manually the symlinks for each core on the server. This is how it should be. Client: There isn't much to say, in pack/ you already have root and locale_de unpacked but since this is going to be localhost only, you don't need to change nothing on the serverinfo.py Bonus: I translated the client to English, just because Database: 1) Windows Key + R and write services.msc 2) Search for MySQL57 (or the version you installed) and click on Stop Since Im portuguese, yeah 3) Go to directory C:\ProgramData\MySQL 4) In the folder MySQL Server 5.7 (or the version you installed) and in the folder Data, paste the files you previously downloaded and unziped from mysql_dev.rar 5) On services.msc, start the MySQL process Back it again with the portuguese Server: These images are referenced in each core's CONFIG and conf.txt, respectively where the location is on directory C:\dev\2. Server. Warning: Don't forget to change the MySQL's user password! You need to put the same password you had when installing the MySQL. 3. Compile Server / Client Source There is nothing introductory since it is something very simple that you will be able to. Server: It's quite simple, to build the server source, we just need to open the file dev_server.sln which is located in C:\dev\1. Svn\Server\build You can build all at once or separately. Bonus: I linked the files to go to the directory C:\dev\2. Server\share\ so you don't need to c&p multiple times. Client: Same as before, open the dev_solution.sln which is located in C:\dev\1. Svn\Client Since I have a good computer, I enabled the multi-processor compilation option. If your computer is very slow while you are compiling, I suggest you deactivate by going to Properties in all the builds. 4. Starting the Server On the main directory of the server (C:\dev\2. Server) you'll have 2 bat files: start.bat* - As the name says, it will start the server clear.bat - It will clear all the server's logs * I forgot the make it dynamic so if you don't want to have on the C:\dev, you'll need to change the directory. Execute start.bat and it will show up first the db.exe, then auth's game.exe and last channel1's game.exe And there you have it, your server is now online! 5. Debug You can debug by going to Debug -> Start New Instance Bonus: I linked everything so you don't have to worry about anything 5. Credits I like to say that I don't know anything about anything and as such, everything here has its credits. @Mali61 - Client/Server compilable with VS2019 (Server & Client) @Karbust - If it wasn't for him, I couldn't have done this ThatGuyPT - The base was from his Windows Serverfiles 6. FAQ Q: Why didn't you use xampp instead of MySQL? A: At the moment I use MySQL a lot even outside of Metin2, so it makes more sense to me that it be this way. However, it is exactly the same, especially on localhost. Q: Can I migrate the source to FreeBSD? A: Yes, you can! As long as you have cmake configured, you can distribute to FreeBSD and use it there. Q: What is the id and password to enter the game? (I put this question because I know there will be someone asking this) A: You can create an account in the database, but you can use id: admin pw: 123 7. Links dev - mysql_dev All In One (Internal) If you have any questions that I can answer, feel free to write a post here.
    3 points
  2. GF v21.1.3.0 patch (Metin2 Download) Contents: root-meta, dumped binary, protos New chat filter GUI resources New pet, new costume(Ramadan) + Hairstyle All files unpacked in a folder Soon comes the Looting System resources. Well.. They are so geniuses.
    3 points
  3. Open char_item.cpp and find this line case 70057: item->SetCount(item->GetCount()-1); and change with this if (true) { item->SetCount(item->GetCount()-0); } else { item->SetCount(item->GetCount()-1); } Thanks Mali61 for helping this system @Mali61
    2 points
  4. BR v21.1.1.0 Patch (Metin2 Download) Contents: root-meta, dumped binary some extra informations about the upcoming features inside the binary, uiscript and meta. GF v21.0.8 Full Client - AllInOne
    2 points
  5. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) [Hidden Content]
    1 point
  6. M2 Download Center Download Here ( Internal ) Download Here ( GitHub )
    1 point
  7. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) [Hidden Content]
    1 point
  8. M2 Download Center Download Here ( Internal NEW V2 ) Download Here ( GitHub ) Includes winter and day-night change.
    1 point
  9. M2 Download Center Download Here ( Internal ) Hi, from what I saw some of you are looking for a tutorial wich is showing you how to upgrade the granny version from 2.9 to 2.11.8 so I thought I have a tutorial for you guys. I explained as much as possible that no one has any error. Otherwise any error leave a reply. Thanks in advance and good luck! [Hidden Content]
    1 point
  10. Add syserr + syslog + debug your core and post your results here.
    1 point
  11. GF v21.0.8 Patch (Metin2 Download) (Full client) Contents: root-meta, dumped binary, locales with protos new monsters, maps, dungeon, armors, 2021 easter costumes and mount the package contains the separated folders(m00xxx) and the unpacked files together in one folder.
    1 point
  12. Python version. Work in both ways. From inventory to safebox and from safebox to inventory. [Hidden Content]
    1 point
  13. GF v20.6.5 Patch (Metin2 Download) Contents: Locales with decrypted protos root+meta, uiscript, dumped binary About the protos: I'm not sure if the structs are 100% right because I did not find any reference in the binary about the new values but here are the changes I found: Item proto: Sockets increased to 6 from 3 | Added elemental refine element values Mob proto: Definetely unsure, sungmahee stats and exp, reorganised raceflags string arMRFVRaceFlag[] = { "ANIMAL", "UNDEAD", "DEVIL", "HUMAN", "ORC", "MILGYO", "INSECT", "DESERT", "TREE", "DECO", "HIDE", "ZODIAC", "AWEAKEN", "SUNGMAHEE", "OUTPOST", };
    1 point
  14. GF v20.6.2 Patch (Metin2 Download) All files together Separated folders m_* New pet, mount, costume + hairstyle root metas Who knows
    1 point
  15. GF v20.5.4 Patch (Metin2 Download) Dunno what is inside GF v20.5.4 Whole client resources ( M2 Download Center )
    1 point
  16. Due the loss of backup or whatever is happened, here are the last patches: GF v20.4.9 Whole client (Metin2 Download) GF v20.4.9 Metadata (Metin2 Download) GF v20.4.10 Patch (Metin2 Download)
    1 point
  17. The WorldEditorRemix v26 is out! (after 5 years) The v24 was compiled with vs2010, but the v26 is compiled with vs2019. If you find any regressions, report me all of them. (for the download, check the mediafire folder) Changes: Fixed locale/ymir/mob_proto load (autodetect struct) Fixed <map>/regen.txt save/load/edit (very nice for "m" regens) Fixed ./group.txt load Added water texture change in msenv (you need additional client c++ code; ignore it for now) Added wind strength change in msenv (for speedtree; you need additional client c++ code; ignore it for now) Fixed some crashes Added generation of logs/WorldEditorRemix_{target}_{date}.dmp in case of crashes Updated some icons (logo, menus) Updated granny to 2.11 Changed WorldEditor.txt config file to WorldEditorRemix.ini Load from PACK is available if property/ is missing and pack/property is present! Be sure pack/Index exists! (textureset from PACK ignores textureset/ if the relative pack exists) Added config flag SERVERATTR_REMOVE_WEIRD_FLAGS Bugs to fix in the future releases: ObjectList empty in PACK mode SkyBox textures not cleared when switching maps Some random asserts (if you get any, write me which ones, so that I at least suppress them) I'll probably add some more config options
    1 point
  18. Something I wrote in a hurry. introLogin.py (add it to the end of the lines) [Hidden Content]
    1 point
  19. M2 Download Center Download Here ( Internal ) little detail not mob only players. Download VT
    0 points
  20. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) What's the issue? SYSERR: Aug 22 18:36:42.624296 :: ReadEtcDropItemFile: No such an item (name: Èò»ö ´ó±â+) SYSERR: Aug 22 18:36:42.624379 :: Boot: cannot load ETCDropItem: locale/germany/etc_drop_item.txt Some people fixed it long time ago by replacing the column name from item_proto (which is korean) with vnum. If you want to do it like this and don't want the source change (from below) or you don't have the source code of your game core, you can use a update query and copy the vnum to name just if the vnum from item_proto exists inside of mob_proto.drop_item by a specific mob. UPDATE player.item_proto SET name = vnum WHERE vnum IN (SELECT drop_item FROM player.mob_proto WHERE drop_item >= 10); # Affected rows: 83 # Time: 35.919ms How can i know where the items are dropped? So, the structure of etc_drop_item.txt is based on dropping a item with a probability from a specific mob where that mob have the item vnum attached in column mob_drop -> drop_item. SELECT DISTINCT locale_name, vnum, drop_item FROM player.mob_proto where drop_item >= 10; locale_name vnum drop_item Wolf 102 30028 Alpha Wolf 103 30069 Alpha Blue Wolf 105 30027 Grey Wolf 106 30070 How-To-Fix Default structure: item_proto.name prob 늑대발톱 2.0 늑대발톱+ 2.0 늑대털 2.0 멧돼지의 어금니 2.0 With the fix you can use both of methods: item_proto.[name or vnum] prob 30028 2.0 30069 2.0 30027 2.0 멧돼지의 어금니 2.0 Repository: [Hidden Content]
    0 points
×
×
  • 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.