- Joined
- Jan 15, 2011
- Messages
- 150
- Reaction score
- 8
Well these bugs are kinda small, but it's really annoying if someone uses it to find you.
The 2 bugs are:
~ Right clicking on an invisible player still creates the player menu (with trade, duel, etc)
~ Moving your mouse over an invisible player still shows the char info at the top of your screen
This is my first release ever so please don't blame me if it's a little messy.
Here are the fixes:
First find this function:
CWndWorld::ShowMoverMenu
Then search for this (It's at the top of the function lol):
Below it add this:
This will fix the right clicking bug.
Now for the second bug find this function:
CWndWorld::RenderSelectObj
Inside that function find this:
And replace it with this:
That will fix the char info bug.
Well that's it, hope it's usefull for some of you!
CREDITS:
VisualChaser: 100%
The 2 bugs are:
~ Right clicking on an invisible player still creates the player menu (with trade, duel, etc)
~ Moving your mouse over an invisible player still shows the char info at the top of your screen
This is my first release ever so please don't blame me if it's a little messy.
Here are the fixes:
First find this function:
CWndWorld::ShowMoverMenu
Then search for this (It's at the top of the function lol):
Code:
// ¸Þ´º¸¦ ¶ç¿ì±â¿¡ Àû´çÇÑ °Å¸®ÀÎÁö È®ÀÎ.
D3DXVECTOR3 vDist = pTarget->GetPos() - g_pPlayer->GetPos();
FLOAT fDistSq = D3DXVec3LengthSq( &vDist );
#if __VER >= 15 // __IMPROVE_SYSTEM_VER15
if( (fDistSq < 20.0f * 20.0f) && ( m_bRButtonDown == FALSE || ( pTarget->IsPlayer() && m_bRButtonDown == TRUE ) ) )
#else // __IMPROVE_SYSTEM_VER15
if( (fDistSq < 20.0f * 20.0f) && m_bRButtonDown == FALSE )
#endif // __IMPROVE_SYSTEM_VER15
{
Below it add this:
Code:
if( !g_pPlayer->IsAuthHigher( AUTH_GAMEMASTER ) && ( pTarget->HasBuff( BUFF_SKILL, SI_ACR_SUP_DARKILLUSION ) || pTarget->IsMode( TRANSPARENT_MODE ) ) )
return;
This will fix the right clicking bug.
Now for the second bug find this function:
CWndWorld::RenderSelectObj
Inside that function find this:
Code:
if( pMover->IsAuthHigher( AUTH_GAMEMASTER ) == TRUE )
{
bSkip = TRUE;
if( pMover->HasBuffByIk3(IK3_TEXT_DISGUISE) )
bSkip = TRUE;
}
And replace it with this:
Code:
if( pMover->IsAuthHigher( AUTH_GAMEMASTER ) == TRUE || pMover->HasBuff( BUFF_SKILL, SI_ACR_SUP_DARKILLUSION ) || pMover->IsMode( TRANSPARENT_MODE ) )
{
bSkip = TRUE;
if( pMover->HasBuffByIk3(IK3_TEXT_DISGUISE) )
bSkip = TRUE;
}
That will fix the char info bug.
Well that's it, hope it's usefull for some of you!
CREDITS:
VisualChaser: 100%
Last edited: