Replies: 1 comment 1 reply
-
This cannot happen any other way due to the way the server sends the information to the client |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am relatively new to the Dalamud internals so forgive me if I am misunderstanding anything. I noticed while developing a plugin that if you set the visibility of party finder listings, the remaining listings will still appear on their original page instead of being pushed to the front page.
I decided to see if I was just missing something; so I cloned ascclemens's repo (BetterPartyFinder) to see if they had any better luck than me figuring it out. Lo and behold, after modifying it a bit to get it to actually start, I set the Min & Max ilvl requirements to 999 and still the remaining listings were spread out across multiple pages.
I checked the source for PartyFinderGui and looked at how it hides the entries which are set invisible during the ReceiveListing invokation. During this loop
the hidden listings are set to a null listing to prevent them from being displayed.
I am wondering if
packet.Listings
were sorted so that the visible listings came first in the list and the invisible (null) listings came after, would this fix the issue and display them in a more regular way on the Party Finder window? This method certainly would avoid under/overwriting the allocated memory, since the listings are only permuted. My concern is that I cannot say I understand the whole breadth of this system in the larger context, so perhaps there might be another part of the Party Finder system that wants these listings in their original order.Any input from experts would be appreciated. Apologies that I am not willing to rebuild Dalamud with this change to test it out, but that seems like a tall order to me, and I am also apprehensive because, like I said before, I am not well versed on what consequences come from reordering the packet listings.
Edit: Fixed the hyperlinks.
Beta Was this translation helpful? Give feedback.
All reactions