[Help]Model Viewer

09/10/2016 06:24 banktakung#1
[Only registered and activated users can see links. Click Here To Register...]

Img : [Only registered and activated users can see links. Click Here To Register...]


anyone who can fixed this please i'm try to replace the source from my olde source to my new source.


i try to do it again and again about 2-3 time's


it seem m_Mover.m_aEquipInfo is not take from item

when i try to change to g_pPlayer->m_aEquipInfo

it's work same inventory.
09/10/2016 12:54 Capt. Jack#2
I had the same issue at char creation. Take a look at the initialisation of m_aEquipInfo! If you have __LOOKCHANGE you should also set the Look to NULL_ID:
Code:
	memset( m_Player.m_aEquipInfo, 0, sizeof(EQUIP_INFO) * MAX_HUMAN_PARTS );
	{
		for( int i = 0; i < MAX_HUMAN_PARTS; i++ )
		{
			m_Player.m_aEquipInfo[i].dwId	= NULL_ID;
#ifdef __LOOKCHANGE
			m_Player.m_aEquipInfo[i].dwLook = NULL_ID;
#endif // __LOOKCHANGE
		}
	}
09/10/2016 13:30 banktakung#3
Quote:
Originally Posted by Capt. Jack View Post
I had the same issue at char creation. Take a look at the initialisation of m_aEquipInfo! If you have __LOOKCHANGE you should also set the Look to NULL_ID:
Code:
	memset( m_Player.m_aEquipInfo, 0, sizeof(EQUIP_INFO) * MAX_HUMAN_PARTS );
	{
		for( int i = 0; i < MAX_HUMAN_PARTS; i++ )
		{
			m_Player.m_aEquipInfo[i].dwId	= NULL_ID;
#ifdef __LOOKCHANGE
			m_Player.m_aEquipInfo[i].dwLook = NULL_ID;
#endif // __LOOKCHANGE
		}
	}

Thank you i solve it already with your point of dwLook .