Jump to content

Recommended Posts

 

when i have my inventory 1 and 2 full and would trade get i the massage that i no empty slots have but i have 5 inventorys

 

You are add something codes in exchange.cpp?

 

Kind Regards

HaveBeen

 

 

I have change line 414 - 461

		else
		{
			int iPos = s_grid1.FindBlank(1, item->GetSize());

			if (iPos >= 0)
			{
				s_grid1.Put(iPos, 1, item->GetSize());
			}
			else
			{
				iPos = s_grid2.FindBlank(1, item->GetSize());

				if (iPos >= 0)
				{
					s_grid2.Put(iPos, 1, item->GetSize());
				}
				else
				{
					iPos = s_grid3.FindBlank(1, item->GetSize());

					if (iPos >= 0)
					{
						s_grid3.Put(iPos, 1, item->GetSize());
					}
					else
					{
						iPos = s_grid4.FindBlank(1, item->GetSize());

						if (iPos >= 0)
						{
							s_grid4.Put(iPos, 1, item->GetSize());
						}
						else
						{
							iPos = s_grid5.FindBlank(1, item->GetSize());

							if (iPos >= 0)
							{
								s_grid5.Put(iPos, 1, item->GetSize());
							}
							else
							{
								return false;
							}
						}
					}
				}
			}

and this:

	static CGrid s_grid1(5, INVENTORY_MAX_NUM/5 / 5); // inven page 1
	static CGrid s_grid2(5, INVENTORY_MAX_NUM/5 / 5); // inven page 2
	static CGrid s_grid3(5, INVENTORY_MAX_NUM/5 / 5); // inven page 3
	static CGrid s_grid4(5, INVENTORY_MAX_NUM/5 / 5); // inven page 4
	static CGrid s_grid5(5, INVENTORY_MAX_NUM/5 / 5); // inven page 5

	s_grid1.Clear();
	s_grid2.Clear();
	s_grid3.Clear();
	s_grid4.Clear();
	s_grid5.Clear();
Link to comment
https://metin2.dev/topic/791-metin2-4-inventory-page/page/2/#findComment-6273
Share on other sites

every time i try to add anything from this site i just can't don't know why O.o

can i give anyone my root and locale and make this to me ??

 

sorry for bad English  ><

 

You need the Source Code ! These things arent files in your client.

Link to comment
https://metin2.dev/topic/791-metin2-4-inventory-page/page/2/#findComment-6397
Share on other sites

  • Former Staff

 

every time i try to add anything from this site i just can't don't know why O.o

can i give anyone my root and locale and make this to me ??

 

sorry for bad English  ><

 

You need the Source Code ! These things arent files in your client.

 

 

which means???? 

 

Link to comment
https://metin2.dev/topic/791-metin2-4-inventory-page/page/2/#findComment-6423
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.