EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Getting errors when i try to launch server (https://www.eqemulator.org/forums/showthread.php?t=38404)

Astal 06-23-2014 05:13 AM

Quote:

Originally Posted by lerxst2112 (Post 231525)
The screenshot you posted showed it being run from explorer. Running it from a command prompt after you cd to the directory ensures the working directory is correct, where running it from a batch file wouldn't. It also ensures that any output from the program would remain in the window for you to copy/paste.

I would delete the shared and logs directories, empty the trash if you use the recycle bin, then reboot. After that, from a command prompt navigate to the server directory, create both the shared and logs directories using mkdir, then run shared_memory again. There should be output both in the command prompt window as well as a log file in the logs directory.

k i did it, same error as before, nothing in logs

Scorpious2k 06-23-2014 05:14 PM

Start over. Use the guide to set up a vanilla system with the PEQ database. Run it.

If it works, then we change ONE thing at a time until it breaks.

The last thing changed is what is wrong.

This will be much better than everyone guessing at what is changed and what is going on.

lerxst2112 06-23-2014 07:18 PM

Any there are no files at all in the shared directory?

The problem is that MemoryMappedFile doesn't give nearly enough information to troubleshoot this without either changing the code or running it in the debugger. At a minimum you'd need to know the requested size that's passed in and what GetLastError() returns when it fails.

Astal 06-24-2014 03:47 AM

Quote:

Originally Posted by lerxst2112 (Post 231540)
Any there are no files at all in the shared directory?

The problem is that MemoryMappedFile doesn't give nearly enough information to troubleshoot this without either changing the code or running it in the debugger. At a minimum you'd need to know the requested size that's passed in and what GetLastError() returns when it fails.

is there any way to find that out?

Yes there are files in the directory up to base data

Uleat 06-24-2014 05:34 PM

What is the highest Item ID in-use in your database?

lerxst2112 06-24-2014 07:27 PM

Quote:

Originally Posted by Astal (Post 231542)
is there any way to find that out?

Yes there are files in the directory up to base data

This feels like pulling teeth...

Clean everything out of the logs and shared directories.
Run shared_memory
Post all of the filenames and sizes of all the files in the logs and shared directories.

As far as finding out exactly what is failing, the list of files will help since whatever is missing is probably the problem. The information about the size and type of error can be determined by running the code in the debugger with the proper working directory, using something like procmon, or changing the code to log that information.

You can also try generating each file by itself by passing the appropriate command line parameters to shared memory. They are base_data, items, factions, loot, skill_caps, and spells.


All times are GMT -4. The time now is 07:06 AM.

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