Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/02/14 in all areas

  1. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) & Download Here ( GitHub ) Hi guys, Today I'm gonna show you how to build enhanceMT server sources on Windows. Read carefully 1. Softwares needed Git : [Hidden Content] CMake : [Hidden Content] Visual Studio (Express) 2013 : [Hidden Content] 2. Get the sources First, create a new folder where you want to checkout the sources then open "Git Bash". A command prompt will open, now you need to go in your folder with the "cd" command. An easy way to do it is to write "cd " (with space after "cd") and drag/drop the folder in the command prompt. The path will be automatically added. Press "Enter". In the command prompt write the following command to checkout the sources from our repo (you need to register here : [Hidden Content] git clone [Hidden Content] Wait until the download is finished then go into the sources folder "Server" : cd Server Finally get the needed headers and libs with the command below : git clone [Hidden Content] 3. Configure the solution with CMake Open CMake and choose the path where the source code is (Server folder) and choose the "Server/build" folder for the "Where to build the binaries" field : Click on "Configure" and choose your compiler (Visual Studio (Express) 2013) then press "Finish" : Finally click on "Generate" to build the solution and check that you don't get any errors : 4. Let's build it ! You'll find the VS solution in the folder "Server/build", open "enhanceMT.sln" with Visual Studio (Express) 2013 : In the menu, choose "Release" mode and click on "Build -> Build solution" (or press F7). When building is done you'll find the "db.exe" and "game.exe" binaries in the folder "Server/build/bin/Release". And that's it ! It wasn't to hard right ? I just want you to remember that enhanceMT is an open source and community project, everyone can work on it. So if you have any suggestions, bugs, fix, etc. just open an issue on GitHub here : [Hidden Content]). Sgt Fatality
    8 points
  2. Here new unlocked metin2_patch_pc3 & metin2_patch_pet2. [Hidden Content]
    2 points
  3. Hello everyone! Many, many users didn't know how to save DDS file with Photoshop. I want to change that. Step one Download NVIDIA DDS plugin for Photoshop from here: [Hidden Content] (You must choose between x86 and x64 version). Step two After downloading ends you must install this application. Step three Run Photoshop and open your file. (i'll open ymir work/pc2/assassin/assassin_4-1.dds) Step four Save your file! You can easily find information about saving format - on this forum every men talking about DXT3... Yep, that's right and textures will show without blank spaces... But this saving only in 8 bpp (byte per pixel)... And that sucks. I strongly recommend to use 8.8.8.8 ARGB 32 bpp. Why? Because if you create HD model with HD texture... You must save texture in highest resolution. If you creating texture for armor you also need to save MIP-Maps (i can be wrong with that), while coding interface based on DDS files this isn't required. Of course you can use all ARGB file outputs, it depends on what you actually need. Anyway, this should look like that. BONUS! Reflection effect! In this forum i never noticed how to make reflection effect on texture. I figure out how to do that and I'll share this information. I'll show you how to repair reflection on assassin_4-1.dds (this texture is copied from female assassin and someone didn't care about reflection... since Metin2 was released ). 1. Switch to "Channels" on right side of Photoshop. 2. Compare "Alpha 1" and "RGB". It didn't match right? 3. Make Alpha 1 channel likely RGB channel (but leave only this thing you want to reflect! (honestly, i just copy Green channel to anoter file, remove things and copy that into right file channel)). Before (anyone can see it in client ^^): After: Thanks for reading my not very good English ^^ Peace!
    1 point
  4. M2 Download Center Download Here ( Internal ) Hi everyone, Maybe just in my country, but it looks so many people started using this annoying PM flooder which cause a buffer overflow in the target client. It can be fixed easily on server-side, so let's do it: Add these functions as public to char.h: void ClearPMCounter(void) { m_iPMCounter = 0; } void IncreasePMCounter(void) { m_iPMCounter++; } void SetLastPMPulse(void); int GetPMCounter(void) const { return m_iPMCounter; } int GetLastPMPulse(void) const { return m_iLastPMPulse; } Add these to char.h too, but as protected: int m_iLastPMPulse; int m_iPMCounter; Add this function to char.cpp: void CHARACTER::SetLastPMPulse(void) { m_iLastPMPulse = thecore_pulse() + 25; } Still in char.cpp search for the Initialize and add these to the function: m_iLastPMPulse = 0; m_iPMCounter = 0; Now navigate to the Whisper function in input_main.cpp and add this after the iExtraLen variable checking at the top: if (ch->GetLastPMPulse() < thecore_pulse()) ch->ClearPMCounter(); if (ch->GetPMCounter() > 3 && ch->GetLastPMPulse() > thecore_pulse()) { ch->GetDesc()->SetPhase(PHASE_CLOSE); return -1; } Search for this still in the Whisper function: if (pkChr == ch) return (iExtraLen); Add these after that: ch->IncreasePMCounter(); ch->SetLastPMPulse();
    1 point
  5. I think: {"index":COSTUME_START_INDEX + 2, "x":5, "y":7, "width":32, "height":96}, (two handed weapon) and edit the picture, that show the "slots"! P.S: Sorry for my english
    1 point
  6. Hey, Giovy : Some boost libs where missing, I updated Server and Extern, can you try again please ? Galet : It's already on FE, just waiting to be approved
    1 point
  7. Vanilla sell new version (with wolfman inculded)
    1 point
  8. linking ... /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../db_r40146] Error 1 root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src # Can someone help me? Thanks
    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.