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)

joligario 06-22-2014 10:24 AM

Quote:

Originally Posted by Astal (Post 231505)
Also if anyone could do me this favor, compile the 32bit server with vc++ 2013 and send me the exes maybe this is a problem with VC++ 2010

Done: https://github.com/EQEmu/Server/wiki/EQEmu-Binaries

Astal 06-22-2014 11:08 AM

those are built with 2013? they are not valid win 32 applications, u sure u did 32bit

yeah u might wanna recheck em, im on xp and its saying not a valid win 32 application

thanks for tryin tho

unless maybe you just uploaded the wrong ones i dunno

joligario 06-22-2014 12:52 PM

Yes, I'm sure. Now that you mention XP, I'm thinking they aren't backwards compatible on an XP machine. I'll build one on an XP machine for you to try if you want. Clarified the build on GIT.

EDIT: Hmm, or maybe not. I forgot I dumped my XP virtual machine...

lerxst2112 06-22-2014 07:26 PM

http://msdn.microsoft.com/en-us/library/jj851139.aspx

joligario 06-22-2014 08:10 PM

Ah, I wonder if Express doesn't allow it. I'll toy around with it.

Astal 06-22-2014 08:51 PM

yeah i dont think u can use 2013 on xp i tried, oh well no biggy ill just wait to work on my server till next month when i get more ram, also if anyone has ddr 2 2gb or bigger sticks for sale lemme know haha i hate to spend 50-60 bucks on 2gb

lerxst2112 06-22-2014 09:03 PM

Although those instructions refer to 2012 even though they are marked as for 2013, I do have the 120xp and 110xp toolsets available in my 2013 express installation. That may be because I also have 2012 installed, but worth a shot.

I don't believe your issues are related to 32-bit or XP, since the shared memory error relates to not being able to create the file. I suspect your working directory or the permissions of the shared directory are the issue. I tried to eliminate the working directory as a problem by asking you to run it from the command prompt but you didn't, so I gave up.

Astal 06-22-2014 09:20 PM

Quote:

Originally Posted by lerxst2112 (Post 231519)
Although those instructions refer to 2012 even though they are marked as for 2013, I do have the 120xp and 110xp toolsets available in my 2013 express installation. That may be because I also have 2012 installed, but worth a shot.

I don't believe your issues are related to 32-bit or XP, since the shared memory error relates to not being able to create the file. I suspect your working directory or the permissions of the shared directory are the issue. I tried to eliminate the working directory as a problem by asking you to run it from the command prompt but you didn't, so I gave up.

I ran it from a command prompt, how does that eliminate the working directory as the problem? The file is still held in that folder in windows? Im confused, ive ran shared mem from a command prompt, same error as I posted in the image

lerxst2112 06-22-2014 11:47 PM

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.

Astal 06-23-2014 03:47 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 run it using cd on command prompt but ill do that

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?


All times are GMT -4. The time now is 12:43 PM.

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