Jump to content

Belt inventory bug


Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Hello people,
I have two minor bugs belt inventory.

Could someone advise a solution?

Thanks for any help

 

https://youtu.be/eyos21mTEzM

 

Open char_item.cpp

Search:

INVENTORY_MAX_NUM / 2

Replace all : 

INVENTORY_MAX_NUM / 5

					BYTE bPage = bCell / (INVENTORY_MAX_NUM / 5);

					do
					{
						BYTE p = bCell + (5 * j);

						if (p >= INVENTORY_MAX_NUM)
							return false;

						if (p / (INVENTORY_MAX_NUM / 5) != bPage)
							return false;

						if (m_pointsInstant.bItemGrid[p])
							if (m_pointsInstant.bItemGrid[p] != iExceptionCell)
								return false;
					}
					while (++j < bSize);

It is all set to write

Link to comment
Share on other sites

Hello people,
I have two minor bugs belt inventory.

Could someone advise a solution?

Thanks for any help

 

https://youtu.be/eyos21mTEzM

 

Open char_item.cpp

Search:

INVENTORY_MAX_NUM / 2

Replace all : 

INVENTORY_MAX_NUM / 5

					BYTE bPage = bCell / (INVENTORY_MAX_NUM / 5);

					do
					{
						BYTE p = bCell + (5 * j);

						if (p >= INVENTORY_MAX_NUM)
							return false;

						if (p / (INVENTORY_MAX_NUM / 5) != bPage)
							return false;

						if (m_pointsInstant.bItemGrid[p])
							if (m_pointsInstant.bItemGrid[p] != iExceptionCell)
								return false;
					}
					while (++j < bSize);

It is all set to write

Hello people,
I have two minor bugs belt inventory.

Could someone advise a solution?

Thanks for any help

 

https://youtu.be/eyos21mTEzM

 

Open char_item.cpp

Search:

INVENTORY_MAX_NUM / 2

Replace all : 

INVENTORY_MAX_NUM / 5

					BYTE bPage = bCell / (INVENTORY_MAX_NUM / 5);

					do
					{
						BYTE p = bCell + (5 * j);

						if (p >= INVENTORY_MAX_NUM)
							return false;

						if (p / (INVENTORY_MAX_NUM / 5) != bPage)
							return false;

						if (m_pointsInstant.bItemGrid[p])
							if (m_pointsInstant.bItemGrid[p] != iExceptionCell)
								return false;
					}
					while (++j < bSize);

It is all set to write

Yeah

Hello people,
I have two minor bugs belt inventory.

Could someone advise a solution?

Thanks for any help

 

https://youtu.be/eyos21mTEzM

 

Open char_item.cpp

Search:

INVENTORY_MAX_NUM / 2

Replace all : 

INVENTORY_MAX_NUM / 5

					BYTE bPage = bCell / (INVENTORY_MAX_NUM / 5);

					do
					{
						BYTE p = bCell + (5 * j);

						if (p >= INVENTORY_MAX_NUM)
							return false;

						if (p / (INVENTORY_MAX_NUM / 5) != bPage)
							return false;

						if (m_pointsInstant.bItemGrid[p])
							if (m_pointsInstant.bItemGrid[p] != iExceptionCell)
								return false;
					}
					while (++j < bSize);

It is all set to write

Yeah

Link to comment
Share on other sites

Hello people,
I have two minor bugs belt inventory.

Could someone advise a solution?

Thanks for any help

 

https://youtu.be/eyos21mTEzM

 

Open char_item.cpp

Search:

INVENTORY_MAX_NUM / 2

Replace all : 

INVENTORY_MAX_NUM / 5

					BYTE bPage = bCell / (INVENTORY_MAX_NUM / 5);

					do
					{
						BYTE p = bCell + (5 * j);

						if (p >= INVENTORY_MAX_NUM)
							return false;

						if (p / (INVENTORY_MAX_NUM / 5) != bPage)
							return false;

						if (m_pointsInstant.bItemGrid[p])
							if (m_pointsInstant.bItemGrid[p] != iExceptionCell)
								return false;
					}
					while (++j < bSize);

It is all set to write

 

Hello people,
I have two minor bugs belt inventory.

Could someone advise a solution?

Thanks for any help

 

https://youtu.be/eyos21mTEzM

 

Open char_item.cpp

Search:

INVENTORY_MAX_NUM / 2

Replace all : 

INVENTORY_MAX_NUM / 5

					BYTE bPage = bCell / (INVENTORY_MAX_NUM / 5);

					do
					{
						BYTE p = bCell + (5 * j);

						if (p >= INVENTORY_MAX_NUM)
							return false;

						if (p / (INVENTORY_MAX_NUM / 5) != bPage)
							return false;

						if (m_pointsInstant.bItemGrid[p])
							if (m_pointsInstant.bItemGrid[p] != iExceptionCell)
								return false;
					}
					while (++j < bSize);

It is all set to write

Yeah

Hello people,
I have two minor bugs belt inventory.

Could someone advise a solution?

Thanks for any help

 

https://youtu.be/eyos21mTEzM

 

Open char_item.cpp

Search:

INVENTORY_MAX_NUM / 2

Replace all : 

INVENTORY_MAX_NUM / 5

					BYTE bPage = bCell / (INVENTORY_MAX_NUM / 5);

					do
					{
						BYTE p = bCell + (5 * j);

						if (p >= INVENTORY_MAX_NUM)
							return false;

						if (p / (INVENTORY_MAX_NUM / 5) != bPage)
							return false;

						if (m_pointsInstant.bItemGrid[p])
							if (m_pointsInstant.bItemGrid[p] != iExceptionCell)
								return false;
					}
					while (++j < bSize);

It is all set to write

Yeah

It is there all the time.
Still the same error.

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.