View Single Post
  #71  
Old 07-31-2010, 10:21 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Quote:
Originally Posted by Nagus69 View Post
It appears the Item Editor Portion of the PEQ Editor runs into an issue as it starts out with Item IDs around 119k. Anything beyond 120k will not be loaded from the EQEmu Server.

Can we tune in Items.php

Code:
function get_max_id () {
  global $mysql;

  $query = "SELECT max(id) AS iid FROM items"; 
  $result = $mysql->query_assoc($query);
  $newid = $result['iid'] + 1;
to take the next FREE Item ID, like Georges? Alternatively, is there a reason the Server won't load Item IDs > 120k?
It isn't the editor at fault, the EQEmu code has a current limit of 120000, to prevent items from using too much shared memory. If you are able to compile the EQEmu code yourself, you'll need to change #define MMF_EQMAX_ITEMS 120000 in EMuShareMem/Items.h and recompile.
Reply With Quote