Log in

View Full Version : Shared Memory.


Zamthos
03-20-2013, 10:52 PM
My Shared_Memory.exe is crashing upon startup, it says it has an issue with the below line.

Error Message:
Error: EQEmu Exception <Shared Memory> in ..\..\common\memory_mapped_file.cpp at line (58): Could not open a file for this shared memory segment.

Line of Code:
EQ_EXCEPT("Shared Memory", "Could not open a file for this shared memory segment.");

Secrets
03-20-2013, 11:01 PM
My Shared_Memory.exe is crashing upon startup, it says it has an issue with the below line.

Error Message:
Error: EQEmu Exception <Shared Memory> in ..\..\common\memory_mapped_file.cpp at line (58): Could not open a file for this shared memory segment.

Line of Code:
EQ_EXCEPT("Shared Memory", "Could not open a file for this shared memory segment.");

Did you remember to create the folder shared?

werebat
03-26-2013, 07:03 PM
I am getting the following error after compiling today. I do have the shared folder in my server directory. Any ideas?

[03.26. - 18:57:42] Starting Log: logs/eqemu_error_zone_2384.log
[03.26. - 18:57:42] Error Loading Items: EQEmu Exception (Shared Memory) in ..\..\gitsource\common\memory_mapped_file.cpp at line (109): Could not open the file to find the existing file size.
[03.26. - 18:57:42] Error Loading npc factions: EQEmu Exception (Shared Memory) in ..\..\gitsource\common\memory_mapped_file.cpp at line (109): Could not open the file to find the existing file size.

Zamthos
03-26-2013, 07:26 PM
Line 109 of memory_mapped_file.cpp below. May I ask what your shared folder is named? Is it named 'shared'? Like exactly like that?

EQ_EXCEPT("Shared Memory", "Could not open the file to find the existing file size.");

werebat
03-26-2013, 08:09 PM
Line 109 of memory_mapped_file.cpp below. May I ask what your shared folder is named? Is it named 'shared'? Like exactly like that?

EQ_EXCEPT("Shared Memory", "Could not open the file to find the existing file size.");



Yes, shared

werebat
03-26-2013, 09:34 PM
Figured it out. In my startup.bat I moved the shared_memory call to the line before I call world.exe and it works now.

Tartarian
04-09-2013, 09:30 PM
I have the same issue, but the guide I followed didn't mention making a folder called shared, where is this folder supposed to be?

Tartarian
04-09-2013, 09:59 PM
Turns out the guide DID say to. This solved my issue!