Log in

View Full Version : Increase MMF_EQMAX_ITEMS?


AndMetal
10-27-2008, 04:43 AM
Any cons to increase MMF_EQMAX_ITEMS (http://code.google.com/p/projecteqemu/source/browse/trunk/EQEmuServer/EMuShareMem/Items.h#6) in EMuShareMem/Items.h (http://code.google.com/p/projecteqemu/source/browse/trunk/EQEmuServer/EMuShareMem/Items.h) to something greater than 100,000? According to 13th Floor (http://eqitems.13th-floor.org/itemsearch.php?searchtype=advanced&field_0=id&compare_0=%3E%3D&text_0=119000&next_0=1&field_1=id&compare_1=%3C&text_1=120000&next_1=0), the highest ID is currently 119462 (http://eqitems.13th-floor.org/item.php?id=119462), although pretty much everything above 107,000 are 76+ spells.

It might also give us an opportunity to add additional stat fields (which may not be used by the client anytime soon), but first things first.

paaco
10-27-2008, 05:03 AM
The only thing I can see it effecting is the amount of ram used. And I wouldn't think it would have a huge impact on that. I made a bunch of items on a server I was making last year and bumped that up by 1000 or something like that and had no problems.

trevius
10-27-2008, 05:17 AM
Ya, I think that limit was added a while back when servers were probably running on much lower RAM than they do now. With the memory leak issues being the main memory hog of the emu, I don't think a little extra RAM for more items is much of an issue. Really, I don't see why we couldn't just remove the cap completely. All of the other tables and stuff have the caps removed and just count the table and add 1 to make the max.