Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
!-->
  • 0

Pickup all - lag


Minton

Question

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.

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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


  • Activity

    1. 0

      Need Help With Char_Item.cpp

    2. 0

      ULTERIUS2.COM

    3. 7

      Killua - Unholy God Set

    4. 2

      Visual studio 2022 compiling issue

    5. 991

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

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