EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Shared Memory. (https://www.eqemulator.org/forums/showthread.php?t=36674)

Zamthos 03-20-2013 10:52 PM

Shared Memory.
 
My Shared_Memory.exe is crashing upon startup, it says it has an issue with the below line.

Error Message:
Code:

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:
Code:

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

Secrets 03-20-2013 11:01 PM

Quote:

Originally Posted by Zamthos (Post 219723)
My Shared_Memory.exe is crashing upon startup, it says it has an issue with the below line.

Error Message:
Code:

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:
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?

Code:

[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?

Code:

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

werebat 03-26-2013 08:09 PM

Quote:

Originally Posted by Zamthos (Post 219941)
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?

Code:

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!


All times are GMT -4. The time now is 09:07 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.