Jump to content

Pickup all - lag


Recommended Posts

Hi,

There is a "pickup all" function in my client but it creates a little freeze when picking up items. As i see it iterates and sends a lot of SendItemClickPacket

	if (CPythonSystem::Instance().GetPickupMode() == CPythonSystem::PICKUP_MODE_ALL)
	{
		std::vector<uint32_t> vecCloseItems = rkItem.GetCloseMoneys(kPPosMain, __GetPickableDistance());
		for (uint32_t dwItemID : vecCloseItems)
		{
			SendClickItemPacket(dwItemID);
		}
	}

Any ideas to modify it in a way that doesn't create lag?

Thanks.

System Administrator @ Hungarian Government
System Administrator @ Vibestro
Freelancer Developer @ Various projects

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.