Jump to content

Krusty

Inactive Member
  • Posts

    221
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Krusty

  1. Hello im using this code for the different colors!

     

    InstanceBaseEffect.cpp
     
    Such nach: void CInstanceBase::__Warrior_SetGeomgyeongAffect(bool isVisible)
     
    Ersetz die Funktion mit:
     
    
    void CInstanceBase::__Warrior_SetGeomgyeongAffect(bool isVisible)
    {
    	if (isVisible)
    	{
    		if (IsWearingDress())
    			return;
     
    		if (m_kWarrior.m_dwGeomgyeongEffect)
    			__DetachEffect(m_kWarrior.m_dwGeomgyeongEffect);
     
    		m_GraphicThingInstance.SetReachScale(1.5f);
    		UINT iEffect = EFFECT_WEAPON + WEAPON_ONEHAND;
    		if (m_GraphicThingInstance.IsTwoHandMode())
    		{
    			iEffect = EFFECT_WEAPON + WEAPON_TWOHAND;
    			DWORD dwSkillGrade = 0, dwSlotIndex = 0;
    			if (CPythonPlayer::Instance().GetSkillSlotIndex(4, &dwSlotIndex))
    			{
    				if (dwSlotIndex < SKILL_MAX_NUM)
    				{
    					dwSkillGrade = CPythonPlayer::Instance().GetSkillGrade(dwSlotIndex);
    					if (dwSkillGrade == 0)
    						iEffect = EFFECT_AFFECT + 50;
    					else if (dwSkillGrade == 1)
    						iEffect = EFFECT_AFFECT + 51;
    					else if (dwSkillGrade == 2)
    						iEffect = EFFECT_AFFECT + 52;
    					else if (dwSkillGrade == 3)
    						iEffect = EFFECT_AFFECT + 53;
    				}
    			}
    		}
    		else
    		{
    			DWORD dwSkillGrade = 0, dwSlotIndex = 0;
    			if (CPythonPlayer::Instance().GetSkillSlotIndex(4, &dwSlotIndex))
    			{
    				if (dwSlotIndex < SKILL_MAX_NUM)
    				{
    					dwSkillGrade = CPythonPlayer::Instance().GetSkillGrade(dwSlotIndex);
    					if (dwSkillGrade == 0)
    						iEffect = EFFECT_AFFECT + 50;
    					else if (dwSkillGrade == 1)
    						iEffect = EFFECT_AFFECT + 51;
    					else if (dwSkillGrade == 2)
    						iEffect = EFFECT_AFFECT + 52;
    					else if (dwSkillGrade == 3)
    						iEffect = EFFECT_AFFECT + 53;
    				}
    			}
    		}
    		
    		m_kWarrior.m_dwGeomgyeongEffect = __AttachEffect(iEffect);
    	}
    	else
    	{
    		m_GraphicThingInstance.SetReachScale(1.0f);
     
    		__DetachEffect(m_kWarrior.m_dwGeomgyeongEffect);
    		m_kWarrior.m_dwGeomgyeongEffect=0;
    	}
    }
     
    Geh in die Playersettingmodule und fueg folgendes ein:
     
    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+50, "equip_right_hand", "d:/ymir work/pc/warrior/effect/Aura1-19.mse")
    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+51, "equip_right_hand", "d:/ymir work/pc/warrior/effect/AuraM.mse")
    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+52, "equip_right_hand", "d:/ymir work/pc/warrior/effect/AuraG.mse")
    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+53, "equip_right_hand", "d:/ymir work/pc/warrior/effect/AuraP.mse")

    As you see in the picture, if you have aura p you see all auras red, if you have aura m for example you the all auras in blue how can i fix this?

     

    3b72640bcdac4683b1c86627b36cdf13.png

  2. 12 minutes ago, PACI said:

    seconds * minutes * hours * days * years

    So to one day, keep only de 3600s (which is 60 * 60 * 1).

    #define GLOBAL_LIMIT_TIME 1604188800UL // 11/01/2020 @ 12:00am (UTC)

    i have only this, hope you can help me with this

     

  3. i have this error from  guildstorage,

    0324 03:09:21607 ::   File "ui.py", line 1550, in OnOverInItem

    0324 03:09:21607 ::   File "ui.py", line 88, in __call__

    0324 03:09:21607 ::   File "ui.py", line 79, in __call__

    0324 03:09:21607 ::   File "uiguildstorage.py", line 217, in OverInItem

    0324 03:09:21607 ::   File "uiToolTip.py", line 966, in AddRefineItemData

    0324 03:09:21607 ::   File "uiToolTip.py", line 1054, in AddItemData

    0324 03:09:21607 ::   File "uiToolTip.py", line 1465, in __AdjustMaxWidth

    0324 03:09:21607 ::   File "uiToolTip.py", line 1477, in __AdjustAttrMaxWidth

    0324 03:09:21607 :: IndexError
    0324 03:09:21607 :: :
    0324 03:09:21607 :: list index out of range
    0324 03:09:21607 ::

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