Jump to content

Recommended Posts

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

  • Active Member

Hello @VII, I had the exact same problem with Maxmi SF. To fix this:

  1.  Check in your ETC and metin2_patch_pc3_m and make sure there is ONLY 1 file named "bleeding_loop.mse" in metin2_patch_pc3_m/ymir work/effect/hit/blow_poison. If you find this file anywhere in ETC delete it or rename it.
  2. Open root/playersettingmodule.py file and find
    Spoiler

    # LOCALE
    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+0, "Bip01", localeInfo.FN_GM_MARK)
    # END_OF_LOCALE

    Replace the lines below from

    Spoiler

    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+3

    to

    Spoiler

    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+44

    (43 and 44 may be commented with a # or two)
    with these lines

    Spoiler

        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+3, "Bip01", "d:/ymir work/effect/hit/blow_poison/poison_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+4, "", "d:/ymir work/effect/affect/slow.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+5, "Bip01 Head", "d:/ymir work/effect/etc/stun/stun_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+6, "", "d:/ymir work/effect/etc/ready/ready.mse")
        #chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+8, "", "d:/ymir work/guild/effect/10_construction.mse")
        #chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+9, "", "d:/ymir work/guild/effect/20_construction.mse")
        #chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+10, "", "d:/ymir work/guild/effect/20_upgrade.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+3, "Bip01", "d:/ymir work/effect/hit/blow_poison/poison_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+4, "", "d:/ymir work/effect/affect/slow.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+5, "Bip01 Head", "d:/ymir work/effect/etc/stun/stun_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+6, "", "d:/ymir work/effect/etc/ready/ready.mse")
        #chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+8, "", "d:/ymir work/guild/effect/10_construction.mse")
        #chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+9, "", "d:/ymir work/guild/effect/20_construction.mse")
        #chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+10, "", "d:/ymir work/guild/effect/20_upgrade.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+14, "Bip01", "d:/ymir work/effect/hit/blow_flame/flame_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+15, "", "d:/ymir work/pc3/common/effect/gyeokgongjang_loop_w.mse")
        #chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+16, "", "d:/ymir work/pc/warrior/effect/gyeokgongjang_loop.mse")
        #chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+17, "Bip01", "d:/ymir work/effect/hit/blow_flame/flame_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+18, "", "d:/ymir work/pc/warrior/effect/gyeokgongjang_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+19, "", "d:/ymir work/pc/assassin/effect/gyeonggong_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+21, "Bip01 R Finger2", "d:/ymir work/pc/sura/effect/gwigeom_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+22, "", "d:/ymir work/pc/sura/effect/fear_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+23, "", "d:/ymir work/pc/sura/effect/jumagap_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+24, "", "d:/ymir work/pc/shaman/effect/3hosin_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+25, "", "d:/ymir work/pc/shaman/effect/boho_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+26, "", "d:/ymir work/pc/shaman/effect/10kwaesok_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+27, "", "d:/ymir work/pc/sura/effect/heuksin_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+28, "", "d:/ymir work/pc/sura/effect/muyeong_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+30, "Bip01", "d:/ymir work/effect/hit/blow_flame/flame_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+31, "Bip01 R Hand", "d:/ymir work/pc/shaman/effect/6gicheon_hand.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+32, "Bip01 L Hand", "d:/ymir work/pc/shaman/effect/jeungryeok_hand.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+33, "", "d:/ymir work/pc3/common/effect/gyeokgongjang_loop_w.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+34, "Bip01 Head", "d:/ymir work/pc/sura/effect/pabeop_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+35, "", "d:/ymir work/pc/warrior/effect/gyeokgongjang_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+37, "", "d:/ymir work/effect/etc/guild_war_flag/flag_red.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+38, "", "d:/ymir work/effect/etc/guild_war_flag/flag_blue.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+39, "", "d:/ymir work/effect/etc/guild_war_flag/flag_yellow.mse")

        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+42, "Bip01", "d:/ymir work/effect/hit/blow_poison/bleeding_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+43, "Bip01", "d:/ymir work/effect/hit/blow_poison/bleeding_loop.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+44, "", "d:/ymir work/pc3/common/effect/gyeokgongjang_loop_w.mse")

    Pack and done :)
    Btw, this should also fix your Blue Possession skill to be purple instead of Mental Warrior-like blue

I hope that I helped you :)

Kind regards ~ Mind Rapist

Link to comment
Share on other sites

check affect.h from server source and instancebase.h from client source , count your affects to see if they are on the same position number:

exemple:

aff_fasfa -> this in number 0 

aff_2qe -> number 1

aff_hfdh

aff_qwewq

aff_hdsfhds -> number 4

AFFECT_BLEEDING,                // 42 (in my source this is affect number 42)

In pythoncharactermodule.cpp it must be like that

    PyModule_AddIntConstant(poModule, "AFFECT_BLEEDING",                    CInstanceBase::AFFECT_BLEEDING);

also check uiaffectshower.py : if the bleeding is affect number 42 in affect.h and instancebase.h you should add like this

42 : (localeInfo.SKILL_BLEEDING, "d:/ymir work/ui/skill/wolfman/hwayeom_03.sub",), //NOTE , this is only an example if you want to see how it is check a client which has already this for example m2rage , what i gave you is only an example SKILL_BLEEDING i don't know if that exist and this is not the right location of the image d:/ymir work/ui/skill/wolfman/hwayeom_03.sub this is only an example , hope it helped

 

Link to comment
Share on other sites

  • 3 weeks later...
  • Active Member

Bleeding debuff icon fix:

Step 1

  • Go to game/src/affect.h and find
    Spoiler

    enum EAffectBits

     

  • Replace the whole enum with this:
    Spoiler

    AFF_NONE,

        AFF_YMIR,
        AFF_INVISIBILITY,
        AFF_SPAWN,

        AFF_POISON,
        AFF_SLOW,
        AFF_STUN,

        AFF_DUNGEON_READY,        // 던전에서 준비 상태
        AFF_DUNGEON_UNIQUE,        // 던전 유니크 (클라이언트에서 컬링되지않음)

        AFF_BUILDING_CONSTRUCTION_SMALL,
        AFF_BUILDING_CONSTRUCTION_LARGE,
        AFF_BUILDING_UPGRADE,

        AFF_MOV_SPEED_POTION,
        AFF_ATT_SPEED_POTION,

        AFF_FISH_MIND,
        AFF_JEOKRANG,
        AFF_CHEONGRANG,
        AFF_JEONGWIHON,        // 전귀혼
        AFF_GEOMGYEONG,        // 검경
        AFF_CHEONGEUN,        // 천근추
        AFF_GYEONGGONG,        // 경공술
        AFF_EUNHYUNG,        // 은형법
        AFF_GWIGUM,            // 귀검
        AFF_TERROR,            // 공포
        AFF_JUMAGAP,        // 주마갑
        AFF_HOSIN,            // 호신
        AFF_BOHO,            // 보호
        AFF_KWAESOK,        // 쾌속
        AFF_MANASHIELD,        // 마나쉴드
        AFF_MUYEONG,        // 무영진 affect
        AFF_REVIVE_INVISIBLE,    // 부활시 잠시동안 무적
        AFF_FIRE,            // 지속 불 데미지
        AFF_GICHEON,        // 기천대공
        AFF_JEUNGRYEOK,        // 증력술
        AFF_TANHWAN_DASH,        // 탄환격용 달리기어펙트
        AFF_PABEOP,            // 파법술
        AFF_CHEONGEUN_WITH_FALL,    // 천근추
        AFF_POLYMORPH,
        AFF_WAR_FLAG1,
        AFF_WAR_FLAG2,
        AFF_WAR_FLAG3,

        AFF_CHINA_FIREWORK,
        AFF_HAIR,    // 헤어
        AFF_GERMANY, // 독일 
        AFF_BLEEDING,

        AFF_BITS_MAX

     

  • Build game

Step 2

  • Go to UserInrerface/InstanceBase.h and find
    Spoiler

    enum
            {
                AFFECT_YMIR,

     

  • Replace the whole enum with this

    Spoiler

    enum
            {
                AFFECT_YMIR,
                AFFECT_INVISIBILITY,
                AFFECT_SPAWN,

                AFFECT_POISON,
                AFFECT_SLOW,
                AFFECT_STUN,

                AFFECT_DUNGEON_READY,            // 던전에서 준비 상태
                AFFECT_SHOW_ALWAYS,                // AFFECT_DUNGEON_UNIQUE 에서 변경(클라이언트에서 컬링되지않음)

                AFFECT_BUILDING_CONSTRUCTION_SMALL,
                AFFECT_BUILDING_CONSTRUCTION_LARGE,
                AFFECT_BUILDING_UPGRADE,

                AFFECT_MOV_SPEED_POTION,        // 11
                AFFECT_ATT_SPEED_POTION,        // 12

                AFFECT_FISH_MIND,                // 13

                AFFECT_JEOKRANG,                // 43
                AFFECT_CHEONGRANG,                // 44
                AFFECT_JEONGWI,                    // 14 전귀혼
                AFFECT_GEOMGYEONG,                // 15 검경
                AFFECT_CHEONGEUN,                // 16 천근추
                AFFECT_GYEONGGONG,                // 17 경공술
                AFFECT_EUNHYEONG,                // 18 은형법
                AFFECT_GWIGEOM,                    // 19 귀검
                AFFECT_GONGPO,                    // 20 공포
                AFFECT_JUMAGAP,                    // 21 주마갑
                AFFECT_HOSIN,                    // 22 호신
                AFFECT_BOHO,                    // 23 보호
                AFFECT_KWAESOK,                    // 24 쾌속
                AFFECT_HEUKSIN,                    // 25 흑신수호
                AFFECT_MUYEONG,                    // 26 무영진
                AFFECT_REVIVE_INVISIBILITY,        // 27 부활 무적
                AFFECT_FIRE,                    // 28 지속 불
                AFFECT_GICHEON,                    // 29 기천 대공
                AFFECT_JEUNGRYEOK,                // 30 증력술 
                AFFECT_DASH,                    // 31 대쉬
                AFFECT_PABEOP,                    // 32 파법술
                AFFECT_FALLEN_CHEONGEUN,        // 33 다운 그레이드 천근추
                AFFECT_POLYMORPH,                // 34 폴리모프
                AFFECT_WAR_FLAG1,                // 35
                AFFECT_WAR_FLAG2,                // 36
                AFFECT_WAR_FLAG3,                // 37
                AFFECT_CHINA_FIREWORK,            // 38
                //AFFECT_PREMIUM_SILVER,        // 39 <-- Noticed the comment here? You need to comment a line so the bleeding icon can be fixed :)
                AFFECT_PREMIUM_GOLD,            // 40
                AFFECT_RAMADAN_RING,            // 41 초승달 반지 착용 Affect
                AFFECT_BLEEDING,                // 42

                AFFECT_NUM = 64,

            };

     

  • Build binary

Step 3

  • Go to root/uiAffectShower.py and find
    Spoiler

    chr.AFFECT_STUN : (localeInfo.SKILL_STUN, "d:/ymir work/ui/skill/common/affect/stun.sub"),

     

  • If there is no bleeding record in this array, add this under the line you just searched

    Spoiler

    chr.AFFECT_BLEEDING : (localeInfo.SKILL_BLEEDING, "d:/ymir work/ui/skill/common/affect/poison.sub"),

     

  • Pack root

That's it :)

Kind regards ~ Mind Rapist

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.