Search the Community

Showing results for tags 'how'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feedback
  • Metin2
    • General
    • Questions and Answers
    • Frequently Asked Questions
    • Guides & HowTo
    • Design
    • Private Servers
    • Services
    • Videos
  • Releases
    • General
    • Tools
    • Programming / Scripts
    • Quests
    • Binaries & Clients/Serverfiles
    • 3D Models
    • 2D Graphics
    • Operating Systems
  • Safe Zone
    • Offtopic
    • Games Talk
    • Music/Videos/Art
  • D:\YMIR WORK\'s Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Discord


Skype


ICQ


Yahoo


Location

Found 6 results

  1. Could someone tell me how can I unpack the metin2 official files because I want to take some pets. Thanks
  2. I want to make a quest which gives the player any item they want by input. But I have an issue... the "vnum" from give_item2 does not work with my local input variable. The quest I have tried to make looks like this: quest giveItm begin state start begin when login begin say("test") local itm = input() pc.give_item2(itm, 1) say("test2") end end end
  3. mafianekcek

    [HOW TO]ADD NEW ALIGNMENTS

    Hi all.Today i work and tested how to add new alignments Now i finish it and create instructions for you. Now how do it: 1. edit game source open char_battle.cpp and find: int iAlignIndex; and edit for example: if (GetRealAlignment() == 300000) iAlignIndex = 0; else if (GetRealAlignment() >= 200000) iAlignIndex = 1; else if (GetRealAlignment() >= 120000) iAlignIndex = 2; else if (GetRealAlignment() >= 80000) iAlignIndex = 3; else if (GetRealAlignment() >= 40000) iAlignIndex = 4; else if (GetRealAlignment() >= 10000) iAlignIndex = 5; else if (GetRealAlignment() >= 0) iAlignIndex = 6; else if (GetRealAlignment() > -40000) iAlignIndex = 7; else if (GetRealAlignment() > -80000) iAlignIndex = 8; else if (GetRealAlignment() > -120000) iAlignIndex = 9; else if (GetRealAlignment() > -200000) iAlignIndex = 10; else if (GetRealAlignment() > -250000) iAlignIndex = 11; else iAlignIndex = 12; now find FPartyAlignmentCompute f(-20000, pkKiller->GetX(), pkKiller->GetY()); pkKiller->GetParty()->ForEachOnlineMember(f); if (f.m_iCount == 0) pkKiller->UpdateAlignment(-20000); else { sys_log(0, "ALIGNMENT PARTY count %d amount %d", f.m_iCount, f.m_iAmount); f.m_iStep = 1; pkKiller->GetParty()->ForEachOnlineMember(f); } } else pkKiller->UpdateAlignment(-20000); and replace with this: FPartyAlignmentCompute f(-30000, pkKiller->GetX(), pkKiller->GetY()); pkKiller->GetParty()->ForEachOnlineMember(f); if (f.m_iCount == 0) pkKiller->UpdateAlignment(-30000); else { sys_log(0, "ALIGNMENT PARTY count %d amount %d", f.m_iCount, f.m_iAmount); f.m_iStep = 1; pkKiller->GetParty()->ForEachOnlineMember(f); } } else pkKiller->UpdateAlignment(-30000); now find m_iRealAlignment = MINMAX(-200000, m_iRealAlignment + iAmount, 200000); and replace with this: m_iRealAlignment = MINMAX(-300000, m_iRealAlignment + iAmount, 300000); now you can compile game! 2. edit binary: open InstanceBase.h and find: TITLE_NUM = 9, TITLE_NONE = 4, and replace this: TITLE_NUM = 13, TITLE_NUM = 6, Now you can save and close InstanceBase.h. Now open InstanceBase.cpp and find: UINT CInstanceBase::GetAlignmentGrade() and edit for example this: UINT CInstanceBase::GetAlignmentGrade() { if (m_sAlignment == 30000) return 0; else if (m_sAlignment >= 20000) return 1; else if (m_sAlignment >= 12000) return 2; else if (m_sAlignment >= 8000) return 3; else if (m_sAlignment >= 4000) return 4; else if (m_sAlignment >= 1000) return 5; else if (m_sAlignment >= 0) return 6; else if (m_sAlignment > -4000) return 7; else if (m_sAlignment > -8000) return 8; else if (m_sAlignment > -12000) return 9; else if (m_sAlignment > -20000) return 10; else if (m_sAlignment > -25000) return 11; return 12; } now find int CInstanceBase::GetAlignmentType() and edit for example this: int CInstanceBase::GetAlignmentType() { switch (GetAlignmentGrade()) { case 0: case 1: case 2: case 3: case 4: case 5: { return ALIGNMENT_TYPE_WHITE; break; } case 7: case 8: case 9: case 10: case 11: case 12: { return ALIGNMENT_TYPE_DARK; break; } case 6: { return ALIGNMENT_TYPE_NORMAL; break; } } } now you can save and close InstanceBase.cpp and Build binari. 3. edit client Extract root files and open locale.py now find this: TITLE_NAME_LIST = ( PVP_LEVEL0, PVP_LEVEL1, PVP_LEVEL2, PVP_LEVEL3, PVP_LEVEL4, PVP_LEVEL5, PVP_LEVEL6, PVP_LEVEL7, PVP_LEVEL8, ) and replace with this: TITLE_NAME_LIST = ( PVP_LEVEL0, PVP_LEVEL1, PVP_LEVEL2, PVP_LEVEL3, PVP_LEVEL4, PVP_LEVEL5, PVP_LEVEL6, PVP_LEVEL7, PVP_LEVEL8, PVP_LEVEL9, PVP_LEVEL10, PVP_LEVEL11, PVP_LEVEL12, ) now you can save locale.py and open introloading.py find this: TITLE_COLOR_DICT and edit this: TITLE_COLOR_DICT = ( colorInfo.TITLE_RGB_GOOD_6, colorInfo.TITLE_RGB_GOOD_5, colorInfo.TITLE_RGB_GOOD_4, colorInfo.TITLE_RGB_GOOD_3, colorInfo.TITLE_RGB_GOOD_2, colorInfo.TITLE_RGB_GOOD_1, colorInfo.TITLE_RGB_NORMAL, colorInfo.TITLE_RGB_EVIL_1, colorInfo.TITLE_RGB_EVIL_2, colorInfo.TITLE_RGB_EVIL_3, colorInfo.TITLE_RGB_EVIL_4, colorInfo.TITLE_RGB_EVIL_5, colorInfo.TITLE_RGB_EVIL_6, ) now you can save introloading.py and open uicharacter.py find this: COLOR_DICT and edit this: COLOR_DICT = { 0 : colorInfo.TITLE_RGB_GOOD_6, 1 : colorInfo.TITLE_RGB_GOOD_5, 2 : colorInfo.TITLE_RGB_GOOD_4, 3 : colorInfo.TITLE_RGB_GOOD_3, 4 : colorInfo.TITLE_RGB_GOOD_2, 5 : colorInfo.TITLE_RGB_GOOD_1, 6 : colorInfo.TITLE_RGB_NORMAL, 7 : colorInfo.TITLE_RGB_EVIL_1, 8 : colorInfo.TITLE_RGB_EVIL_2, 9 : colorInfo.TITLE_RGB_EVIL_3, 10 : colorInfo.TITLE_RGB_EVIL_4, 11 : colorInfo.TITLE_RGB_EVIL_5, 12 : colorInfo.TITLE_RGB_EVIL_6, } now you can save uicharacter.py and open colorinfo.py and add this: TITLE_RGB_GOOD_6 = (255, 215, 0) TITLE_RGB_GOOD_5 = ( 0, 159, 0) TITLE_RGB_EVIL_5 = (127, 32, 0) TITLE_RGB_EVIL_6 = ( 48, 0, 0) save and you can compile root. now you extract locale and open locale_game.txt find: PVP_LEVEL0 and edit PVP levels for example this: PVP_LEVEL0 King PVP_LEVEL1 Machr PVP_LEVEL2 Rytířský PVP_LEVEL3 Vznešený PVP_LEVEL4 Dobrý PVP_LEVEL5 Přátelský PVP_LEVEL6 Neutrální PVP_LEVEL7 Agresivní PVP_LEVEL8 Úskočný PVP_LEVEL9 Zlomyslný PVP_LEVEL10 Krutý PVP_LEVEL11 Chudák PVP_LEVEL12 Ubožák save and compile locale. This is all. GOOD LUCK! PS: sorry for my bad english.
  4. Hey guys I added the Quiver function (unlimited arrows) to my char_battle.cpp and it's great no arrow counting, except that I haven't discovered yet how to make the quiver's damage ignore the archer's distance from the target. What do I mean by that: If the archer equips the quiver in the official server and is 1 meter away from his target, the damage he causes is the same as if he was 5 meters away from the target. In my quiver this is not happening - the distance reduces the arrow's damage. Is there someone who can show me how to make the quiver ignore the distance and make the arrow shots have the same damage from everywhere?
  5. Metin2KY

    dbg game.core

    I can't dbg game.core and see what is the error inside it. Can any one make dbg of that game.core and tell me what is the error? My game.core file: https://mega.nz/#!TwA3TBAA!WIYh67llUCfJ7Ha1543EQ1N-5lmpslctF4wdK0yc0CY My game file: https://mega.nz/#!Kh5nXbZB!r7i_hACjQHcdzN-9nVviUVqqBWHJvNSVPxOoaFOp53E
  6. Maslovicz

    Animation?

    Hi, is there a chance to make animation? Like: Short animation video, with pets, characters and mobs in for example in map1? What program is needed for this? Thank you