Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 12-25-2009, 03:37 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Items.h (and any file with a .h or .cpp) extension are C++ source files, not SQL commands.

To have the change to Items.h take effect, you need to re-compile the server using a compiler such as Visual C++ 2008, if you are using Windows.

There is a guide on how to compile the source code:

http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008

But it would be easier for you to keep all your Item IDs below 120,000, then you won't have to recompile.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:40 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3