View Single Post
  #1  
Old 12-25-2009, 02:13 PM
bthomsen0312
Fire Beetle
 
Join Date: Nov 2009
Posts: 21
Default #define MMF_EQMAX_ITEMS error

received this error
also my highest item ID is 300100
Code:
Error: EMuShareMem: pDLLLoadItems: iMaxItemID > MMF_EQMAX_ITEMS
You need to increase the define in Items.h.
was directed to change items.h, did that and it looks as follows
Code:
#include "../common/types.h"
#include "../common/eq_packet_structs.h"
#include "../common/EMuShareMem.h"

// MMF_EQMAX_ITEMS:  Make sure this is bigger than the highest item ID#
#define MMF_EQMAX_ITEMS		400000
// MMF_MEMMAX_ITEMS: Maxium number of items to load into memory. Make sure this is bigger
//                   than the total number of items in the server's database!
//#define MMF_MEMMAX_ITEMS	40000

struct MMFItems_Struct {
	uint32		MaxItemID;
	uint32		NextFreeIndex;
	uint32		ItemCount;
	uint32		ItemIndex[MMF_EQMAX_ITEMS+1];
	Item_Struct	Items[0];
};

//#define MMF_MAX_ITEMS_MEMSIZE	sizeof(MMFItems_Struct) + 512

can someone tell me whats going wrong here? when i tried to source it in i got a error
Code:
Failed to open file 'C:\eqemu server files\trunk\EQEmuServer\EMuShareMem', error
: 13
clues my dear watson?




also i launched zone again just to be sure that it didn't work and it didn't
Reply With Quote