• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

NAVIGATOR v19 in v18 server

Junior Spellweaver
Joined
Feb 27, 2021
Messages
106
Reaction score
9
I i wanna help with the Navigator v19 he show like that how to resolve that pls ? :)

GNGPQvf - NAVIGATOR v19 in v18 server - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Feb 27, 2021
Messages
106
Reaction score
9

Thx. But what is v19 edit in WndItemCtrl.cpp ? Beceause when I search
Code:
[COLOR=#666666]CWndItemCtrl::RanderIcon[/COLOR]
I found this
Code:
void CWndItemCtrl::RanderIcon( C2DRender* p2DRender, CItemElem* pItemElem, int x, int y, int nParent, int nalpha ) 
{
	int bRander = 0;

	if( nParent == APP_SHOP_ )
	{
  ItemProp* pItemProp  = pItemElem->GetProp();
  if( pItemProp == NULL ) return;

  switch( pItemProp->dwItemKind2 )
  {
   case IK2_WEAPON_DIRECT:
//   case IK2_WEAPON_RANGE:
   case IK2_WEAPON_MAGIC:
//   case IK2_WEAPON_DOLL:
//   case IK2_WEAPON_GUN:
   case IK2_ARMOR:
   case IK2_ARMORETC:
   case IK2_CLOTH:
   case IK2_CLOTHETC:
   {
     
    // ¹«±â : Á÷¾÷, ´É·ÂÄ¡ ½ºÅÝ, °¡°Ý
    if( pItemProp->dwItemSex != 0xffffffff && pItemProp->dwItemSex != g_pPlayer->GetSex() )
    {
     bRander = 1;
     break;
    }

    if( JOB_VAGRANT != pItemProp->dwItemJob )
    {
     if( pItemProp->dwItemJob != 0xffffffff && JOB_VAGRANT < pItemProp->dwItemJob && !(g_pPlayer->IsInteriorityJob( pItemProp->dwItemJob ) ) )
     {
      bRander = 1;
      break;
     }
    }
#if __VER >= 14 // __NEW_ITEM_LIMIT_LEVEL
    if( pItemProp->dwLimitLevel1 != 0xffffffff && pItemElem->IsLimitLevel( g_pPlayer ) )
#else // __NEW_ITEM_LIMIT_LEVEL
#if __VER >= 11 // __SYS_IDENTIFY
    if( pItemProp->dwLimitLevel1 != 0xffffffff && g_pPlayer->GetLevel() < pItemElem->GetLimitLevel() )
#else	// __SYS_IDENTIFY
    if( pItemProp->dwLimitLevel1 != 0xffffffff && g_pPlayer->GetLevel() < pItemProp->dwLimitLevel1 )
#endif	// __SYS_IDENTIFY
#endif // __NEW_ITEM_LIMIT_LEVEL
    {
     bRander = 1;
     break;
    }
    break;
   }
   case IK2_RIDING:
//   case IK2_BOARDING:
//   case IK2_HATCH:
   {
    // ºñÇà : ºñÇà·¹º§
    if( g_pPlayer->GetFlightLv() < (int)( pItemProp->dwFlightLimit ) )
    {
     bRander = 1;
     break;
    }
    break;
   }
  }
 
  // ¸ðµç¾ÆÀÌÅÛ °¡°Ý ºñ±³
#if __VER >= 11 // __CSC_VER11_3
  if( nParent == APP_SHOP_ )
  {
   CWndShop* pWndBase = (CWndShop*)g_WndMng.GetWndBase( APP_SHOP_ );
   LPCHARACTER lpCharacter = pWndBase->m_pMover->GetCharacter();
   if(lpCharacter && lpCharacter->m_nVenderType == 1)
   {
    if( bRander == 0 && g_pPlayer->m_Inventory.GetAtItemNum( II_CHP_RED ) < (int)pItemElem->GetChipCost() )
     bRander = 1;
   }
  }
  else
  {
   if( bRander == 0 && g_pPlayer->GetGold() < (int)pItemProp->dwCost )
    bRander = 1;
  }
#else //__CSC_VER11_3
  if( bRander == 0 && g_pPlayer->GetGold() < (int)pItemProp->dwCost )
   bRander = 1;
#endif //__CSC_VER11_3
	}

	if( pItemElem->IsFlag( CItemElem::expired ) )
	{
  bRander = 1;
	}


	if( !g_eLocal.GetState(EVE_SCHOOL) )
	{
  if( bRander == 0 )
  {
   pItemElem->GetTexture()->Render( p2DRender, CPoint( x, y ), nalpha );
  }
  else
  if( bRander == 1 )	// »ç¿ëÇÒ¼ö ¾ø´Â°Í
  {
   pItemElem->GetTexture()->Render2( p2DRender, CPoint( x, y ), D3DCOLOR_ARGB( nalpha, 255, 100, 100 ) );
  }
	}
	else
  pItemElem->GetTexture()->Render( p2DRender, CPoint( x, y ), nalpha );
}
 
Upvote 0
Junior Spellweaver
Joined
Sep 29, 2021
Messages
133
Reaction score
26
you dont have to go to WndItemCtrl to fix the navigator. Navigator fixes is at the bottom page 4 u will see similar image like yours.

disable/remove this part in WndWorld
Code:
#ifdef __KIA_GOALDATA_FIX
    if (nBlend == 0)
        return;
#endif
 
Upvote 0
Junior Spellweaver
Joined
Feb 27, 2021
Messages
106
Reaction score
9
you dont have to go to WndItemCtrl to fix the navigator. Navigator fixes is at the bottom page 4 u will see similar image like yours.

disable/remove this part in WndWorld
Code:
#ifdef __KIA_GOALDATA_FIX
    if (nBlend == 0)
        return;
#endif

MB thx to you i'll go try



Thx work for me :)



I have that error what is it ?
Code:
 Exception at address 0x0031F29D
 
Upvote 0
Junior Spellweaver
Joined
Sep 29, 2021
Messages
133
Reaction score
26
I dont know about that, never got that when im implement v19 navigator
 
Upvote 0
Back
Top