Jump to content

guild icon problem


Recommended Posts

Hi, i have a problem like this, guild icons don't show

 

6jKvaab.png

 

update

when I try to load a signature it gives a syserr;

invalid idx 0

invalid idx 0

markmanager.cpp

bool CGuildMarkManager::GetBlockCRCList(DWORD imgIdx, DWORD * crcList)
{
	// Ŭ¶óÀ̾ğÆ®¿¡¼­ ¼­¹ö¿¡ ¾ø´Â À̹ÌÁö¸¦ ¿äûÇÒ ¼ö´Â ¾ø´Ù.
	if (m_mapIdx_Image.end() == m_mapIdx_Image.find(imgIdx))
	{
		sys_err("invalid idx %u", imgIdx);
		return false;
	}

	CGuildMarkImage * p = __GetImage(imgIdx);
	
	if (p)
		p->GetBlockCRCList(crcList);

	return true;
}

 

Uptade;

devil updated 1.8 problem persists.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
  • Confused 1
  • Good 1
Link to comment
Share on other sites

  • 3 years later...
#ifdef LONCA_INVALID_IDX_FIX
bool CGuildMarkManager::GetBlockCRCList(DWORD imgIdx, DWORD* crcList)
{
	// 클라이언트에서 서버에 없는 이미지를 요청할 수는 없다.
	if (m_mapIdx_Image.end() == m_mapIdx_Image.find(imgIdx))
	{
		sys_log(0, "invalid idx %u", imgIdx); // @warme668
		return false;
	}

	CGuildMarkImage* p = __GetImage(imgIdx);

	if (p)
		p->GetBlockCRCList(crcList);

	return true;
}

#else

bool CGuildMarkManager::GetBlockCRCList(DWORD imgIdx, DWORD* crcList)
{
	// Ŭ¶óÀ̾ğÆ®¿¡¼­ ¼­¹ö¿¡ ¾ø´Â À̹ÌÁö¸¦ ¿äûÇÒ ¼ö´Â ¾ø´Ù.
	if (m_mapIdx_Image.end() == m_mapIdx_Image.find(imgIdx))
	{
		sys_err("invalid idx %u", imgIdx);
		return false;
	}

	CGuildMarkImage* p = __GetImage(imgIdx);

	if (p)
		p->GetBlockCRCList(crcList);

	return true;
}
#endif

 

Edited by Ulas
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.