Jump to content

affect_jeokrang and affect_cheongrang error


Recommended Posts

hi, do not know why donot see the effects of these two skills

affect.h

Spoiler

AFF_MOV_SPEED_POTION,
    AFF_ATT_SPEED_POTION,

    AFF_FISH_MIND,

    AFF_JEOKRANG,        //AFF_RED_POSSESION
    AFF_CHEONGRANG,        //AFF_BLUE_POSSESION
    AFF_JEONGWIHON,        // Àü±ÍÈ¥
    AFF_GEOMGYEONG,        // °Ë°æ
    AFF_CHEONGEUN,        // õ±ÙÃß

playerssetingmodule.py

Spoiler

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_flame/flame_loop_w.mse")
    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+44, "", "d:/ymir work/pc3/common/effect/gyeokgongjang_loop_w.mse")

uiaffectshower.py

Spoiler

chr.AFFECT_JEOKRANG : (localeInfo.SKILL_JEOKRANG, "d:/ymir work/ui/skill/wolfman/red_possession_03.sub",),
            chr.AFFECT_CHEONGRANG : (localeInfo.SKILL_CHEONGRANG, "d:/ymir work/ui/skill/wolfman/blue_possession_03.sub",),

instancebace.h

Spoiler

AFFECT_ATT_SPEED_POTION,        // 12

            AFFECT_FISH_MIND,                // 13
            AFFECT_JEOKRANG,                // 43 AFFECT_RED_POSSESION
            AFFECT_CHEONGRANG,                // 44 AFFECT_BLUE_POSSESION
            AFFECT_JEONGWIHON,                // 14 Àü±ÍÈ¥       

pythoncharactermodule.cpp

Spoiler

PyModule_AddIntConstant(poModule, "AFFECT_FISH_MIND", CInstanceBase::AFFECT_FISH_MIND);
    PyModule_AddIntConstant(poModule, "AFFECT_JEOKRANG", CInstanceBase::AFFECT_JEOKRANG);
    PyModule_AddIntConstant(poModule, "AFFECT_CHEONGRANG", CInstanceBase::AFFECT_CHEONGRANG);
    PyModule_AddIntConstant(poModule, "AFFECT_JEONGWIHON", CInstanceBase::AFFECT_JEONGWIHON);

skill_proto in db

Spoiler

'YMIR','INVISIBILITY','SPAWN','POISON','SLOW','STUN','DUNGEON_READY','FORCE_VISIBLE','BUILDING_CONSTRUCTION_SMALL','BUILDING_CONSTRUCTION_LARGE','BUILDING_UPGRADE','MOV_SPEED_POTION','ATT_SPEED_POTION','FISH_MIDE','JEOKRANG','CHEONGRANG','JEONGWIHON','GEOMGYEONG','CHEONGEUN','GYEONGGONG','EUNHYUNG','GWIGUM','TERROR','JUMAGAP','HOSIN','BOHO','KWAESOK','MANASHIELD','MUYEONG','REVIVE_INVISIBLE','FIRE','GICHEON','JEUNGRYEOK','TANHWAN_DASH','PABEOP','CHEONGEUN_WITH_FALL','POLYMORPH','WAR_FLAG1','WAR_FLAG2','WAR_FLAG3','CHINA_FIREWORK','HAIR','GERMANY'

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I had the exact same problem with the Bleeding icon :)

How did I fixed it?

The AFF_CHEONGPRANG (for example) in affect.h must have the number of the AFFECT_CHEONGPRANG in your InstanceBase.h +1. That means that if in your InstanceBase.h the AFFECT_CHEONGPRANG is number 43, in affect.h it must be 44. If you don't know how to do that open the files with Visual Studio and hover your mouse over the items to see their numbers. Put a " = XX" (XX - ur number) and you are done. Also check your uiaffectshower.py in the root pack for records refered to those effects. Also in Database your table must be designed as your skill.h in game source (for example if Cheoungprang in skill.h is > 28, in Database the effect must be in the 28th position). If you are not talking about the icon but the effect, check your directory in playersettingmodule.py and then in your packs to see if it's correct. Warning! If the directory is correct and your .mse is also correct there is a posibility that you have double effect files. Check your d:\ymir work in all the nessesary packs and delete/rename any doubles of your files. Hope I helped :) That's all I know about fixing effects and effect icons. Good luck :)

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.