Jump to content
Phishing - Beware of identity theft... ×
  • 0

Channel Syserr : Boot: shop table size error (Shop Extensions)


Tkmt2x11

Question

common/lengt.h

---------------------------------------------

SHOP_HOST_ITEM_MAX_NUM = 40,
SHOP_PRICELIST_MAX_NUM = 40,

 

REPLACE ;

 

SHOP_HOST_ITEM_MAX_NUM = 100,
SHOP_PRICELIST_MAX_NUM = 100,

---------------------------------------------

game/shop.cpp

m_pGrid = M2_NEW CGrid(5, 9);

 

REPLACE ;

 

m_pGrid = M2_NEW CGrid(12, 9);

 

 

I did shop expands the boundaries of the slot 40 to slot 100 and I get the error channels are not opened Waiting for your help!

Channel Syserr :  Boot: shop table size error (Shop Extensions)

 

EXAMPLE; Channel Syserr :  Boot: shop table size error (Shop Extensions) HELP ME!

 

rmR1qB.jpg

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

21 answers to this question

Recommended Posts

  • 0
  • Bronze

 

Try to put breakpoint. It's the best way for check.

sys_log(0,"%d",sizeof(TShopTable));

Kind Regards

Zerelth ~ Ellie

Skype, so you could not quite understand

 

 

Maybe you don't want to understand that and what do you mean via skype?

 

 

input_db.cpp

	/*
	 * SHOP
	 */

	if (decode_2bytes(data) != sizeof(TShopTable))
	{
		sys_err("shop table size error");
		thecore_shutdown();
		return;
	}
	data += 2;

	size = decode_2bytes(data);
	data += 2;
	sys_log(0, "BOOT: SHOP: %d", size);


	if (size)
	{
		if (!CShopManager::instance().Initialize((TShopTable *) data, size))
		{
			sys_err("shop table Initialize error");
			thecore_shutdown();
			return;
		}
		data += size * sizeof(TShopTable);
	} 

 

Kind Regards

Zerelth ~ Ellie

Edited by Zerelth™
  • Love 1

Do not be sorry, be better.

Link to comment
Share on other sites

  • 0

 

 

Try to put breakpoint. It's the best way for check.

sys_log(0,"%d",sizeof(TShopTable));

Kind Regards

Zerelth ~ Ellie

Skype, so you could not quite understand

 

 

Maybe you don't want to understand that and what do you mean via skype?

 

 

input_db.cpp

	/*
	 * SHOP
	 */

	if (decode_2bytes(data) != sizeof(TShopTable))
	{
		sys_err("shop table size error");
		thecore_shutdown();
		return;
	}
	data += 2;

	size = decode_2bytes(data);
	data += 2;
	sys_log(0, "BOOT: SHOP: %d", size);


	if (size)
	{
		if (!CShopManager::instance().Initialize((TShopTable *) data, size))
		{
			sys_err("shop table Initialize error");
			thecore_shutdown();
			return;
		}
		data += size * sizeof(TShopTable);
	} 

 

Kind Regards

Zerelth ~ Ellie

 

https://metin2.download/picture/1trD2tnuWbUgjMPZiUp9to17NDBXUz0P/.pngCorrect me?

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

  • 0
  • Bronze

 

 

 

Try to put breakpoint. It's the best way for check.

sys_log(0,"%d",sizeof(TShopTable));

Kind Regards

Zerelth ~ Ellie

Skype, so you could not quite understand

 

 

Maybe you don't want to understand that and what do you mean via skype?

 

 

input_db.cpp

	/*
	 * SHOP
	 */

	if (decode_2bytes(data) != sizeof(TShopTable))
	{
		sys_err("shop table size error");
		thecore_shutdown();
		return;
	}
	data += 2;

	size = decode_2bytes(data);
	data += 2;
	sys_log(0, "BOOT: SHOP: %d", size);


	if (size)
	{
		if (!CShopManager::instance().Initialize((TShopTable *) data, size))
		{
			sys_err("shop table Initialize error");
			thecore_shutdown();
			return;
		}
		data += size * sizeof(TShopTable);
	} 

 

Kind Regards

Zerelth ~ Ellie

 

https://metin2.download/picture/1trD2tnuWbUgjMPZiUp9to17NDBXUz0P/.pngCorrect me?

 

 

If you are delete these things, game is not load your shop system :D I am only say put a breakpoint for understand the error.

 

Kind Regards

Zerelth ~ Ellie

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

Do not be sorry, be better.

Link to comment
Share on other sites

  • 0

 

 

 

 

Try to put breakpoint. It's the best way for check.

sys_log(0,"%d",sizeof(TShopTable));

Kind Regards

Zerelth ~ Ellie

Skype, so you could not quite understand

 

 

Maybe you don't want to understand that and what do you mean via skype?

 

 

input_db.cpp

	/*
	 * SHOP
	 */

	if (decode_2bytes(data) != sizeof(TShopTable))
	{
		sys_err("shop table size error");
		thecore_shutdown();
		return;
	}
	data += 2;

	size = decode_2bytes(data);
	data += 2;
	sys_log(0, "BOOT: SHOP: %d", size);


	if (size)
	{
		if (!CShopManager::instance().Initialize((TShopTable *) data, size))
		{
			sys_err("shop table Initialize error");
			thecore_shutdown();
			return;
		}
		data += size * sizeof(TShopTable);
	} 

 

Kind Regards

Zerelth ~ Ellie

 

https://metin2.download/picture/1trD2tnuWbUgjMPZiUp9to17NDBXUz0P/.pngCorrect me?

 

 

If you are delete these things, game is not load your shop system :D I am only say put a breakpoint for understand the error.

 

Kind Regards

Zerelth ~ Ellie

 

Error resolving the channels are opened? I expanded the shop that he was giving an error

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

  • 0

 

 

 

 

Try to put breakpoint. It's the best way for check.

sys_log(0,"%d",sizeof(TShopTable));

Kind Regards

Zerelth ~ Ellie

Skype, so you could not quite understand

 

 

Maybe you don't want to understand that and what do you mean via skype?

 

 

input_db.cpp

	/*
	 * SHOP
	 */

	if (decode_2bytes(data) != sizeof(TShopTable))
	{
		sys_err("shop table size error");
		thecore_shutdown();
		return;
	}
	data += 2;

	size = decode_2bytes(data);
	data += 2;
	sys_log(0, "BOOT: SHOP: %d", size);


	if (size)
	{
		if (!CShopManager::instance().Initialize((TShopTable *) data, size))
		{
			sys_err("shop table Initialize error");
			thecore_shutdown();
			return;
		}
		data += size * sizeof(TShopTable);
	} 

 

Kind Regards

Zerelth ~ Ellie

 

https://metin2.download/picture/1trD2tnuWbUgjMPZiUp9to17NDBXUz0P/.pngCorrect me?

 

 

If you are delete these things, game is not load your shop system :D I am only say put a breakpoint for understand the error.

 

Kind Regards

Zerelth ~ Ellie

 

Error resolving the channels are opened? I expanded the shop that he was giving an error HELP ME BROOOOOOOO xD

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

  • 0
  • Premium

Try to put breakpoint. It's the best way for check.

sys_log(0,"%d",sizeof(TShopTable));

Kind Regards

Zerelth ~ Ellie

 

I found this already there:

sys_log(0, "sizeof(TShopTable) = %d", sizeof(TShopTable));

@Tkmt2x11, did you build your dbcache (database / db) with your current settings? If not, give it a try.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.