View Full Version : [SOLVED] Vendor Page Cap?

03-02-2016, 06:01 AM
Latest TrinityCore

I am trying to figure out how to increase the maximum pages in a vendor (max 15 default) I want to increase it past that? Anyone have any idea of how to go about this?

03-02-2016, 05:32 PM
I think the client crashed or similar if more than 150 items ( which is the hardcoded limit ) were sent.
150 is the limit in TC.

With scripts like multivendor you can have N vendors, so N*150 items where N is the amount of options in the gossip.
A normal gossip window can have 32 options (or something) so one NPC with no submenus could have 32*150=4800 items.

if there was 10 items per page, then the limit is likely 150/10 = 15 pages in total.