Jump to content

guild icon problem


Recommended Posts

  • Active+ Member

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...
  • Active Member
#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



  • Similar Content

  • Activity

    1. 10

      Multi Language System

    2. 0

      We are looking for a C++ and Python programmer

    3. 0

      [Quest Scheduler Request] Is there a way to make a quest run independet of player events? Lets say start quest automatically at server startup?

    4. 111

      Ulthar SF V2 (TMP4 Base)

    5. 0

      Quest function when 102.kill definition whereabouts help

    6. 5

      [M2 FILTER] Customized Client Filter

    7. 0

      [INGAME] RGB Color on chat broken

    8. 5

      [FREE] 1x1 pvp/event map by Davian

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.