'PACI 2,317 Posted August 3, 2015 Tão putos tasse bem O PT qd lançou os pets lançou esta feature que permite ver o nível dos mobs ao lado dos respetivos nomes, como se fossem personagens normais. Eu não sabia, então qd soube (hoje LOL) decidi fazê-lo. Nota: Estão a chegar novas dungeons e.e Quando compilarem o exe há-de ficar assim: /* @PACI - 03.08.15 The following changes will allow you to see the Monsters Level without clicking on them. Like a normal character, you'll see the level before the monster's name. Apply these changes on InstanceBaseEffect.cpp (located at InstanceBase). Replace your AttachTextTail() function with mine, don't forget to add the include! */ #include "PythonNonPlayer.h" void CInstanceBase::AttachTextTail() { if (m_isTextTail) { TraceError("CInstanceBase::AttachTextTail - VID [%d] ALREADY EXIST", GetVirtualID()); return; } m_isTextTail=true; DWORD dwVID=GetVirtualID(); float fTextTailHeight=IsMountingHorse() ? 110.0f : 10.0f; static D3DXCOLOR s_kD3DXClrTextTail=D3DXCOLOR(1.0f, 1.0f, 1.0f, 1.0f); CPythonTextTail::Instance().RegisterCharacterTextTail(m_dwGuildID, dwVID, s_kD3DXClrTextTail, fTextTailHeight); if (!m_dwLevel && !IsPC() && !IsNPC() && !IsWarp() && !IsGoto()) { const CPythonNonPlayer::TMobTable * pMobTable = CPythonNonPlayer::Instance().GetTable(GetVirtualNumber()); if (!pMobTable) { TraceError("Could not get mob table %d", GetVirtualNumber()); return; } float fAverageLevel = floor(pMobTable->bLevel+0.5f); m_dwLevel = int(fAverageLevel); } if (m_dwLevel) UpdateTextTailLevel(m_dwLevel); } 12 ' Bruno, Witness, thecrazy and 9 others reacted to this Share this post Link to post Share on other sites
rafaelxte2 38 Posted August 3, 2015 +1 pelo iniciativa que é sempre boa compartilhar conhecimento.Apesar de eu não saber como usar tal script. Share this post Link to post Share on other sites
'PACI 2,317 Posted August 3, 2015 Tem que usar a source para poder aplicar este update 1 Witness reacted to this Share this post Link to post Share on other sites
quenii 981 Posted August 3, 2015 Tem que usar a source para poder aplicar este update:O 1 'PACI reacted to this Share this post Link to post Share on other sites
kimameixede 70 Posted August 5, 2015 testado e comprovado. http://prntscr.com/812j6d 1 'PACI reacted to this Share this post Link to post Share on other sites