drgos001 20 Posted June 19, 2016 Share Posted June 19, 2016 (edited) 1: Hello, I installed New Pet System and installation went perfectly, but I have a lvl probleama to display the characters. Lvl not display correctly. I source if you must have a function to post 2: Can you give a position where if I have a stone armor effect to emerge from the stone? Spoiler case CItemData::ITEM_TYPE_ARMOR: __ClearArmorRefineEffect(); // 갑옷 특화 이펙트 if (pItem->GetSubType() == CItemData::ARMOR_BODY) { DWORD vnum = pItem->GetIndex(); if (12010 <= vnum && vnum <= 12049) { __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_SPECIAL); __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_SPECIAL2); } if (28443 == socket0 || 28443 == socket1 || 28443 == socket2 ) { __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_STONE); } } if (refine < 7) //현재 제련도 7 이상만 이펙트가 있습니다. return 0; if (pItem->GetSubType() == CItemData::ARMOR_BODY) { m_armorRefineEffect = EFFECT_REFINED+EFFECT_BODYARMOR_REFINED7+refine-7; __AttachEffect(m_armorRefineEffect); } break; Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Management AZICKO 7330 Posted June 20, 2016 Management Share Posted June 20, 2016 Hello ! Try this for ur first problem : Spoiler void CInstanceBase::UpdateTextTailLevel(DWORD level) { //static D3DXCOLOR s_kLevelColor = D3DXCOLOR(119.0f/255.0f, 246.0f/255.0f, 168.0f/255.0f, 1.0f); static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f); char szText[256]; #ifdef NEW_PET_SYSTEM static D3DXCOLOR s_kPetLevelColor = D3DCOLOR_XRGB(255, 255, 0); if(IsNewPet()) { sprintf(szText, "[Lv. %d] ", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kPetLevelColor); } else{ sprintf(szText, "[Lv. %d]", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } #else sprintf(szText, "[Lv. %d] ", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); #endif } Scamming ? Reselling ? metin2.download | metin2.dev | fr.metin2.dev | metin2dev.org | metin2.top | top-metin2.org Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now